E-N0: native-agent mode (Track B) and the native dev-echo gate
ajieval native: Codex, Claude Code and OpenCode in bubblewrap with a shared network (backend only matters), a fresh HOME holding only the credential file and a harness-written minimal config (no user skills, MCP, memory, agents, plugins, global instructions), /work, read-only /docs and toolchain; evaluator and Aji repository invisible. Codex: workspace-write sandbox (shell without network), web search and product features off. Claude Code: tools Bash/Read/Edit/Write, strict MCP, slash commands off. OpenCode: pure, no MCP, webfetch/websearch/task off. Record aji-eval-native/1: CLI version, requested/transcript model, effort, account mode, config, command line, times, transcript, usage (normalized), patch, final repository, verdict. Gate on dev-echo (Aji/AIR) accepted for all three: codex 0.160.0 + gpt-6.1-sol (high), Claude Code 2.1.288 + claude-opus-5-5 (high), OpenCode 1.18.34 + zai-coding-plan/glm-5.3-flash. Protocol §39b and plan: Track B first (E-N0 done, E-N 18 runs), Track A after analysis.
This commit is contained in:
1 parent
2c1fdf1cc6
commit
00cbb65447
8 files changed
+521
-17
No files matched your search
@@ -140,6 +140,59 @@ For the smoke test it also records the cause, decided before any language change
|
||||
- `model_capability`
|
||||
- `task_ambiguity`
|
||||
|
||||
## Track B: native agents
|
||||
|
||||
```sh
|
||||
python3 -m ajieval native --task DIR --language aji_air --agent codex --model gpt-6.1-sol --effort high --label N1 \
|
||||
--evaluator CMD --out runs/
|
||||
```
|
||||
|
||||
In Track B the agent product is the scaffold: Codex, Claude Code or OpenCode runs with its own prompt, tools and context management (protocol §39b). The harness only:
|
||||
|
||||
- copies the pristine workspace;
|
||||
- starts the CLI with the shared task message (the same preamble as Track A plus the task);
|
||||
- collects the repository;
|
||||
- runs the same evaluator.
|
||||
|
||||
These runs are never evidence for H4.
|
||||
|
||||
**Isolation.** bubblewrap with a shared network, because the CLI must reach its model backend. The sandbox contains:
|
||||
|
||||
- `/work` (read-write), `/docs` (read-only), the language toolchain and the CLI (read-only);
|
||||
- a fresh `HOME` holding only the CLI's credential file and a minimal configuration written by the harness.
|
||||
|
||||
User-level skills, MCP servers, memory, custom agents, plugins and global instructions therefore do not exist. Neither the evaluator nor the Aji repository is visible.
|
||||
|
||||
Per agent:
|
||||
|
||||
| Agent | Configuration | Shell network |
|
||||
|---|---|---|
|
||||
| `codex` | `codex exec --json`; `approval_policy=never`; web search off; product features off (multi-agent, apps, browser, computer use, plugins, skills, goals, hooks…) | off (Codex `workspace-write` sandbox) |
|
||||
| `claude` | `claude -p --output-format stream-json`; tools limited to `Bash`, `Read`, `Edit` and `Write`; `--strict-mcp-config`; slash commands off | on |
|
||||
| `opencode` | `opencode run --pure --format json`; no MCP; `webfetch`, `websearch` and `task` off | on |
|
||||
|
||||
**Record (`aji-eval-native/1`).** The run directory holds:
|
||||
|
||||
| Path | Contents |
|
||||
|---|---|
|
||||
| `run.json` | the record below |
|
||||
| `transcript.jsonl` | the CLI's JSON event stream |
|
||||
| `stderr.log` | the CLI's error output |
|
||||
| `patch.diff` | the diff from the initial to the final workspace |
|
||||
| `initial/`, `workspace/` | the pristine and the final repository |
|
||||
|
||||
`run.json` holds:
|
||||
|
||||
- the CLI version and path;
|
||||
- the requested model and the model from the transcript, where the CLI reports it;
|
||||
- the effort setting and the account mode (subscription or API key; only the source is recorded, never a credential);
|
||||
- the written configuration and the command line;
|
||||
- start and end time;
|
||||
- tool calls and token usage as reported by the CLI, normalized to input, output and cached input;
|
||||
- the evaluator verdict.
|
||||
|
||||
A first-generation snapshot is not available in Track B.
|
||||
|
||||
## Smoke test (E-S)
|
||||
|
||||
[`smoke-plan.example.json`](smoke-plan.example.json) is the shape of the 36-run plan (owner decision):
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"comment": "E-N native-agent smoke, Track B (protocol §39b): 2 tasks x 3 languages x 3 native agents x 1 run = 18 runs on subscriptions. Never evidence for H4. Run from tools/eval: python3 -m ajieval matrix plan.json. Model ids are the exact ids the CLIs accept, recorded per run.",
|
||||
"tasks": ["../aji-bench/tasks/<segmented-telemetry-decoder>", "../aji-bench/tasks/<bounded-fanout-aggregator>"],
|
||||
"languages": ["aji_air", "rust", "zig"],
|
||||
"models": [
|
||||
{"label": "N1", "agent": "codex", "model": "gpt-6.1-sol", "effort": "high"},
|
||||
{"label": "N2", "agent": "claude", "model": "claude-opus-5-5", "effort": "high"},
|
||||
{"label": "N3", "agent": "opencode", "model": "zai-coding-plan/glm-5.3-flash"}
|
||||
],
|
||||
"runs": 1,
|
||||
"evaluator": "../aji-bench/evaluate",
|
||||
"evaluator_hash_path": "../aji-bench/evaluators",
|
||||
"out": "runs-native-smoke"
|
||||
}
|
||||
@@ -1578,7 +1578,7 @@ Track B — native agent language × coding-agent product (each model in it
|
||||
tests the practical economics of development
|
||||
```
|
||||
|
||||
Track B measures model + system prompt + context management + tool policy + compaction + agent heuristics together, so its results are never used as evidence for H4. A first Track B run follows the smoke test: 2 tasks × 3 languages × 3 native agents × 1 run = 18 runs.
|
||||
Track B measures model + system prompt + context management + tool policy + compaction + agent heuristics together, so its results are never used as evidence for H4. Order (owner decision): the first experiment is Track B on existing subscriptions — a native dev-echo gate, then 2 tasks × 3 languages × 3 native agents × 1 run = 18 runs — and its analysis decides whether the controlled 36-run Track A (direct APIs, one scaffold) is bought next. Track B agents run with model, filesystem, shell, compiler, tests, documentation and the task statement only: web and search tools, MCP, skills, custom agents, subagents, external memory and global instructions are disabled where the product allows. Track B results never label models by capability; they describe how Aji behaves on three different agent stacks.
|
||||
|
||||
---
|
||||
|
||||
|
||||
+2
-1
@@ -99,7 +99,8 @@ Evaluation runs alongside the phases; each stage starts when the language featur
|
||||
| E-C | todo | Model calibration: models labelled M1–M3 run 5–10 neutral coding tasks unrelated to Aji in `tools/eval`; classes assigned from scores; live `dev-echo` per model (protocol §2, §39a) | E0-3 | calibration report; model IDs, endpoints and reasoning modes frozen |
|
||||
| E-G | todo | Smoke gates: Rust, Zig and hand-written Aji references pass the frozen evaluators; task-statement and hidden-test review (protocol §39a) | E0-2, E0-4 | all gates pass |
|
||||
| E-S | todo | Engineering smoke test, Track A: 2 families (binary/stream parser, concurrent bounded pipeline) × 3 languages × 3 models (M1–M3) × 2 runs = 36 runs on one Aji commit (protocol §39a); plan shape `docs/evaluation/smoke-plan.example.json`; failures classified by cause after the matrix, before any language change | E-C, E-G | harness, bundle sufficiency, accounting and traces verified |
|
||||
| E-N | todo | Track B native-agent run: 2 tasks × 3 languages × 3 native agents × 1 run = 18 runs (protocol §39b); never evidence for H4 | E-S | native-agent report: cost and outcome per agent product |
|
||||
| E-N0 | done | Native dev-echo gate (Aji/AIR): Codex + `gpt-6.1-sol` (effort high), Claude Code + `claude-opus-5-5` (effort high), OpenCode + `zai-coding-plan/glm-5.3-flash` all accepted; versions and model IDs in the run records | E0-3 | `ajieval native` |
|
||||
| E-N | todo | Track B native smoke, first experiment (owner decision): 2 tasks × 3 languages × 3 native agents (N1–N3) × 1 run = 18 runs on subscriptions (protocol §39b); never evidence for H4; plan shape `docs/evaluation/native-smoke-plan.example.json` | E-N0, E0-2, E-G | native-agent report; failures classified before any language change |
|
||||
| E-A | todo | Stage A pilot (condition `Aji/AIR`): T01–T04 families × Aji/Rust/Zig × 3 model classes × 3 runs = 108 runs (protocol §39); not headline evidence | E-S, basic Phase 3 | pilot report: effect size, broken tasks, cost, instrumentation |
|
||||
| E-B | todo | Stage B: T05–T07 | Phase 3 | stage report |
|
||||
| E-C | todo | Stage C: T08, litmus repair | Phase 5 | stage report |
|
||||
|
||||
Reference in new issue
Block a user