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):
|
||||
|
||||
Reference in new issue
Block a user