From c1391eb3c54e61207bbbd30d0b18ea7301ee21f4 Mon Sep 17 00:00:00 2001 From: "A.Shakhmatov" Date: Mon, 5 Oct 2026 13:21:08 +0300 Subject: [PATCH] plan: M checkpoint before layers 7-8; official P6A-9 after them --- .../source-checkpoint-m-plan.example.json | 14 ++++++++++++++ .../source-regression-plan.example.json | 2 +- docs/plan/phase-6-source-language.md | 16 +++++++++------- 3 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 docs/evaluation/source-checkpoint-m-plan.example.json diff --git a/docs/evaluation/source-checkpoint-m-plan.example.json b/docs/evaluation/source-checkpoint-m-plan.example.json new file mode 100644 index 0000000..a7c56c7 --- /dev/null +++ b/docs/evaluation/source-checkpoint-m-plan.example.json @@ -0,0 +1,14 @@ +{ + "comment": "M checkpoint before layers 7-8 (plan: P6A-9 order, step 1): task M in Aji/source x 3 native agents x 1 run = 3 runs, diagnostic only; compared with the frozen Aji/AIR smoke runs of M. Run from a worktree of tag p6a-m-checkpoint (zig build && zig build agent-reference there), from its tools/eval: python3 -m ajieval matrix plan.json. Task M needs an aji_source variant first (harness.md, task variants).", + "tasks": ["../aji-bench/tasks/"], + "languages": ["aji_source"], + "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-source-checkpoint-m" +} diff --git a/docs/evaluation/source-regression-plan.example.json b/docs/evaluation/source-regression-plan.example.json index e21e8dd..549c826 100644 --- a/docs/evaluation/source-regression-plan.example.json +++ b/docs/evaluation/source-regression-plan.example.json @@ -1,5 +1,5 @@ { - "comment": "P6A-9 dev regression, Track B: the dev tasks M and C (former smoke tasks) in Aji/source x 3 native agents x 1 run = 6 runs, compared with the frozen Aji/AIR smoke runs of the same agents. Dev material only, never evidence for H4. The tasks need an `aji_source` variant first (harness.md, task variants). Run from tools/eval: python3 -m ajieval matrix plan.json; then python3 -m ajieval profile on both run directories.", + "comment": "Official P6A-9 (after layers 7-8, from one frozen Phase 6A commit): the dev tasks M and C (former smoke tasks) in Aji/source x 3 native agents x 1 run = 6 runs, compared with the frozen Aji/AIR smoke runs of the same agents. Dev material only, never evidence for H4. The tasks need an `aji_source` variant first (harness.md, task variants). Run from tools/eval: python3 -m ajieval matrix plan.json; then python3 -m ajieval profile on both run directories.", "tasks": ["../aji-bench/tasks/", "../aji-bench/tasks/"], "languages": ["aji_source"], "models": [ diff --git a/docs/plan/phase-6-source-language.md b/docs/plan/phase-6-source-language.md index 18be6b0..7097999 100644 --- a/docs/plan/phase-6-source-language.md +++ b/docs/plan/phase-6-source-language.md @@ -56,14 +56,16 @@ Also reported: - source bytes, lowered AIR bytes (raw and normalized); - type mismatches (`E1001` + `E7005`), counted apart from the IR-form classes so that relabeling cannot improve them. -Order: +Order (owner decision, after P6A-8): -1. source bundle and harness profile (P6A-8); -2. Quick Reference examples checked automatically (P6A-8); -3. M/C `Aji/source` dev runs; -4. comparison with the frozen AIR results; -5. Phase 6A review; -6. only then any decision about further frontend changes. +1. **M checkpoint (diagnostic, not P6A-9).** Task M only, `Aji/source`, the three native agents, run from the frozen commit tagged `p6a-m-checkpoint`. The Quick Reference and the Source Reference Bundle stay unchanged until this run is done, so the comparison stays clean. Bundle hash at the tag: `sha256 24cca814c7be1826ea797a1cc9759d0e0dd996bc6561f7b46f0ad1f4e77a2843`, over `sha256sum` of the files of `zig-out/agent/source/`, sorted. +2. Compare with the frozen `Aji/AIR` runs and classify the effect. Nothing changes automatically on the strength of M. +3. Task C waits for layers 7–8. +4. Layer 7, then layer 8; the concurrency programs of the Quick Reference (`tests/conformance/source/quickref/`) leave PENDING and pass. +5. Freeze one Phase 6A commit and run M + C × 3 agents: this is the official P6A-9. +6. Phase 6A review (P6A-10); only then any decision about further frontend changes. + +Type mismatches (`E1001`, `E7005`) stay a separate category from the IR-form diagnostics. Lowering layers (P6A-3/4), each with accepted (golden AIR), rejected (`E7xxx`) and verifier-caught tests in `tests/conformance/source/`: