# 2026-10-06 — P5-0: M/C regression on the frozen Phase 4 (Aji/source) Non-normative. This is a regression gate, not evidence for any hypothesis (protocol §39a). M and C are a regression corpus. They decide no semantic question, and the language is not tuned to them. Negative findings are kept (protocol §37). The private side was run by a clean-context operator. This repository received only: - numbers; - diagnostic codes and their structured type fields; - gate names; - hashes; - a synthetic reproducer the operator wrote itself. ## Setup - **Matrix:** M, C × Aji/source × 3 native agents, 6 cells. One run per cell, sequential, fresh workspace and HOME. The order was frozen before the first run (order seed 3776241291). - **Toolchain:** tag `p4-frozen` (`702d69b`). - AIR bundle sha256 `fa621787…4c88`; - Source Reference Bundle sha256 `94cfa6a3…424b`; - the worktree was clean before and after the matrix. - **Same as P6A-9:** - task versions (2) and task hashes; - the evaluator hash; - agent fingerprints (CLI version, CLI hash, configuration hash); - limits. The plan differs from P6A-9 only in `languages: ["aji_source"]` and the output directory. - **No journal entries.** No HTTP 429, no re-run, no infrastructure failure. ## Result | Cell (frozen order) | Result | P6A-9 source | |---|---|---| | M · N3 | PASS | PASS | | M · N1 | PASS | PASS | | M · N2 | PASS | PASS | | C · N3 | PASS | FAIL (no program; output length limit) | | C · N2 | PASS | PASS | | C · N1 | PASS | PASS | Total: **6/6**, against 5/6 in P6A-9. ## Against the gate fixed before the runs (plan, P5-0) | Criterion | Result | |---|---| | R1: the four Aji references pass on `p4-frozen` | **met**: M and C × AIR and source, each accepted with 8/8 gates | | R2: no FAIL with a toolchain or evaluator cause | **met**: no FAIL | | R3: no IR-form code, `E7900` or `E1001` in source cells | **not met, then fixed**: IR-form 0 and `E7900` 0, but `E1001` ×4 in M · N1 (frontend defect A below) | | R4: codes not seen in P6A-9 source cells | `E2101` ×2 in C · N1: correct verifier feedback on a genuine program error (model), repaired in one cycle. `E1001`: see R3 | | R5: a P6A-9 PASS now fails | none | | R6: source/AIR ratio (`mechanical_air_eliminated_raw`) | 0.73–0.85, against 0.77–0.86 for the P6A-9 programs lowered by the same frontend. The spread follows the programs, not the toolchain | **Defect A (frontend, `toolchain_bug = yes`).** - The bug: a `ref` of an array field reached through a `mut` borrow was lowered as `borrow.field` on the `mut`, then `slice.make`. That gives `slice_mut` where the source said `ref`, and the verifier rejected the `call` with `E1001` (expected `slice`, found `slice_mut`). - The same `ref` of a scalar field through `mut` was rejected by the frontend with `E7005`, although it is a valid program. - The agent worked around it by changing the parameter to `slice_mut`. - Synthetic reproducer (the operator's, unrelated to the tasks): `fn g(s: mut) -> usize { return f(ref s.buf); }` with `f(x: slice)`. - **Fix:** a `ref` borrow of a place reached through `mut` is now a shared reborrow (`borrow.ref`, spec 07a). Both cases are accepted. - **Regression test:** `tests/conformance/source/typecheck/ref_through_mut.aji`. It is rejected on `p4-frozen` and runs on the fix. - This is the same symptom as checkpoint 2 (N1, `E1001` ×4), which led to P6A-12. P6A-12 closed the cast, `slice.copy` and owner cases, not this one. ## Paired cells (P6A-9 → P5-0, source) | Task · agent | output tokens | uncached input | tool calls | repair cycles | seconds | codes in P5-0 | |---|---|---|---|---|---|---| | M · N1 | 15.7k → 9.5k | 52.1k → 52.3k | 36 → 23 | 5 → 6 | 703 → 313 | `E1001` ×4, `E7007` ×3, `E7005` ×1 | | M · N2 | 20.2k → 32.8k | 56.3k → 83.1k | 27 → 44 | 5 → 2 | 375 → 776 | `E7005` ×2 | | M · N3 | 53.8k → 91.5k | 221.8k → 146.8k | 39 → 88 | 2 → 1 | 2 078 → 2 520 | `E7001` ×1 | | C · N1 | 11.6k → 14.2k | 52.5k → 46.8k | 27 → 28 | 4 → 5 | 475 → 429 | `E2101` ×2, `E7005` ×1 | | C · N2 | 18.2k → 20.7k | 53.3k → 57.4k | 20 → 22 | 1 → 1 | 269 → 387 | `E7007` ×1 | | C · N3 | 41.0k (no program) → 56.3k | — → 171.6k | 15 → 39 | — → 0 | 1 086 → 1 369 | none | These columns are reported only. With one run per cell they are noise. The Quick Reference grew by about 550 tokens with §7 Graphs (`quick_reference_unique` 3 568 → 4 123), so the documentation columns are not comparable one to one. ## Harness notes - `ajieval checkpoint` lowers both sides with the current toolchain. The P6A-9 programs were re-lowered here with `p4-frozen`, so their ratios differ from the values recorded in the P6A-9 results. - The operator's first report named the two private task ids. The names were not copied anywhere in this repository. ## Verdict (owner, 2026-10-06) **PASS. No rerun.** > Regression passed; one latent frontend defect was discovered and subsequently fixed. - No evaluator or toolchain problem invalidated a cell. - The fix comes with its own regression test. - For a scientific comparison, metrics of this frozen run must not be mixed with a later commit. For the go/no-go gate this result is sufficient.