- docs/evaluation/results/2026-10-05-p6a-9.md: 12 paired cells on p6a-candidate, criteria fixed before the runs (output-token criterion reported as not met), owner's assessment and hypothesis statuses - phase 6 plan: P6A-9 and P6A-10 done, exit review; plan README: P6A done, P4/P5 unpaused, next held-out benchmark Rust/Zig/Aji-source with three difficulty levels, Aji/AIR only as a control - checkpoint note renamed to its actual date (2026-10-05)
7.1 KiB
2026-10-05 — P6A-9: Aji/AIR vs Aji/source, official run (Phase 6A)
Non-normative. The official dev regression of Phase 6A: tasks M (memory-safety-heavy streaming task) and C (concurrency-heavy bounded task), the private former smoke tasks, not named here. Each cell ran once, so this is not statistical evidence for the protocol's hypotheses (protocol §39a). Negative findings are kept (protocol §37). The private-side work was split between a clean-context operator (task variants, evaluator support, freeze, runs) and an independent reference writer. The reference writer saw only the task statement, the aji_source starter workspace and the Source Reference Bundle. This repository received only numbers, diagnostic codes, gate names and documentation file names.
Setup
- Matrix: 2 tasks × {Aji/AIR, Aji/source} × 3 native agents = 12 cells.
- Cells were shuffled and the order frozen before the first run (order seed 1574333046).
- They ran one at a time, each with a fresh workspace and HOME.
- Nothing was changed between the freeze and the last cell.
- Toolchain: tag
p6a-candidate(591f0ae).- AIR bundle sha256
0052fa75…f939. - Source Reference Bundle sha256
43c050ed…7d597b.
- AIR bundle sha256
- Agents: native configurations identical to both M checkpoints:
- N1 Codex +
gpt-6.1-sol(high); - N2 Claude Code +
claude-opus-5-5(high); - N3 OpenCode +
zai-coding-plan/glm-5.3-flash.
- N1 Codex +
- Tasks and evaluators: version 2 of both tasks. M and C use one evaluator implementation, whose
aji_airpath is unchanged. - References. All 8 pass their final evaluator with every gate true: M and C × {Rust, Zig, Aji/AIR, Aji/source}. The two Aji/source references were written independently and passed the public test on the first attempt.
- Baseline. The earlier AIR results (native smoke, checkpoints) are dev material only. Both conditions were run again here on one toolchain.
Outcome
| Aji/AIR | Aji/source | |
|---|---|---|
| M | 2/3 (N3 FAIL) | 3/3 |
| C | 2/3 (N3 FAIL) | 2/3 (N3 FAIL) |
| total | 4/6 | 5/6 |
The three failures are alike. N3 wrote no source file: one reply hit the output length limit after about 32k reasoning tokens. All three are classified toolchain no, evaluator integration no, model logic not applicable (there is no program). No Aji diagnostic was produced in those cells.
Paired cells (AIR → source)
| Task · agent | result | IR-form | output tokens | uncached input | tool calls | repair cycles | seconds | docs read |
|---|---|---|---|---|---|---|---|---|
| M · N1 | PASS → PASS | 2 → 0 | 15.0k → 15.7k | 46.7k → 52.1k | 20 → 36 | 2 → 5 | 523 → 703 | AIR 33.5k → QR 3.6k + 7.8k |
| M · N2 | PASS → PASS | 5 → 0 | 35.9k → 20.2k | 90.7k → 56.3k | 29 → 27 | 2 → 5 | 404 → 375 | AIR 9.6k → QR + 0.7k (AIR 0.4k) |
| M · N3 | FAIL → PASS | 0 → 0 | 32.3k → 53.8k | 54.0k → 221.8k | 12 → 39 | 0 → 2 | 839 → 2 078 | AIR 33.3k → QR + 8.6k |
| C · N1 | PASS → PASS | 2 → 0 | 14.8k → 11.6k | 43.6k → 52.5k | 18 → 27 | 3 → 4 | 595 → 475 | AIR 13.5k → QR + 5.4k |
| C · N2 | PASS → PASS | 0 → 0 | 36.2k → 18.2k | 112.0k → 53.3k | 24 → 20 | 1 → 1 | 453 → 269 | AIR 6.2k → QR + 0.4k |
| C · N3 | FAIL → FAIL | — | 32.3k → 41.0k | — | 11 → 15 | — | 896 → 1 086 | AIR 33.6k → QR + 8.2k (AIR 1.6k) |
How to read the table:
- IR-form counts
E0001–E0006,E5001andE5002. - Docs read counts distinct tokens read: the AIR bundle in the AIR condition; the Quick Reference plus the language and diagnostics files in the source condition.
- Program size: 17–26 KB of AIR against 7–11 KB of
.aji.mechanical_air_eliminated_rawis 0.82–0.88. - Source diagnostics that appeared:
E7005,E7001,E7006,E7007. There was noE1001, noE7900and no IR-form code.
Against the criteria fixed before the runs (plan, P6A-9)
| Criterion | Result |
|---|---|
| IR-form diagnostics decrease ≥ 80 % | met: 9 → 0 |
| agent output tokens decrease ≥ 50 % | not met: N2 −44 % and −50 %; N1 +4 % and −22 %; N1+N2 together −36 % (101.9k → 65.7k) |
| tool calls decrease materially | not met: N1 up, N2 slightly down |
| Aji semantic guarantees unchanged | met: the same verifier and the same evaluator gates |
| VSR no regression | met: 4/6 → 5/6 |
| uncached input decrease (strong agents) | partly: N2 −38 % and −52 %; N1 +12 % and +20 % |
| weakest agent: earlier AIR failure becomes PASS | met on M (second time, now on one toolchain); not on C |
The output-token criterion is reported as not met. It was not revised after the result.
Owner's assessment (2026-10-05)
Phase 6A: PASS. The architecture agent → .aji → AIR → verifier is confirmed. There is no reason to return to agents writing AIR directly.
Phase 6A validated the separation between the agent-facing source language and the machine-facing AIR. Direct AIR imposed substantial representation and documentation overhead. The
.ajifrontend eliminated observed manual IR-form failures while preserving AIR verifier semantics and improved aggregate reliability from 4/6 to 5/6 in the frozen P6A-9 experiment. Cost improvements were model-dependent: substantial for Claude, mixed for Codex. GLM showed a repeated AIR-fail/source-pass result on task M, providing preliminary evidence for Model Capability Compression, while task C demonstrated that source representation cannot compensate for failures in higher-level problem reasoning.
| Hypothesis | Status |
|---|---|
| Direct AIR imposes a large representation tax | confirmed |
.aji removes the manual IR tax |
confirmed |
| The Quick Reference lowers the documentation tax | strongly supported |
.aji keeps AIR's safety guarantees |
confirmed by architecture and tests |
.aji does not reduce reliability |
P6A-9 passed |
.aji lowers the cost for strong models |
mixed |
| Aji helps a weaker model | preliminary, repeated signal (N3 on M: AIR FAIL → source PASS in checkpoint 2 and in P6A-9) |
| Model Capability Compression as a general effect | not yet shown |
| Aji is cheaper than Rust/Zig | not tested by this experiment |
Task C marks a boundary. N3 failed before writing any code in both conditions, after about 32k tokens of reasoning about the task. The language can remove programming-language reasoning; it cannot replace the model's problem-solving.
Follow-ups
- Language. Phase 6A is closed and the later phases are unpaused. The source syntax is not tuned to P6A-9, and the N1 cost is not "fixed".
- Next held-out benchmark.
- Conditions: Rust, Zig and Aji/source; Aji/AIR stays only as a research control.
- Difficulty levels:
- easy: a ceiling for strong models;
- medium: near the weak model's limit;
- hard: beyond it.
- Where H4 should show: tasks where a weaker model understands the task and starts implementing, but fails on memory, resources or concurrency.
- Harness.
- Documentation accounting for partial reads (N2 opened many files with low distinctive-line coverage).
- Where
agent_statusandevaluation_statuslive in the run record.