M checkpoints recorded; harness statuses; memory test split; P6A-12

- results note docs/evaluation/results/2026-10-06-m-checkpoints.md:
  both checkpoints, owner's assessment (IR-tax closed at the engineering
  level, layer 7 GO; cost hypothesis open); plan status and order
- P6A-12: source type-check completeness (E1001 reached the verifier
  from a source run); not a layer 7 blocker
- harness: metrics.agent_status (max_tokens for a reply cut at its
  length limit, provider_rate_limited for 429/usage limits) and
  metrics.evaluation_status (accepted/rejected/evaluator_error/
  infrastructure_failure/not_evaluated), kept apart; termination records
  max_tokens; checkpoint rows show both; evaluator contract: an
  infrastructure failure sets "infrastructure": true
- interpreter memory test: fast form (20k-320k iterations, 256 KiB
  threshold via Options.collect_threshold) in zig build test; full form
  (100k/1M/4M) in zig build test-extended; CI job 'extended' also runs
  conformance with --collect-every-step
This commit is contained in:
dev committed 2026-10-05 17:43:55 +03:00
1 parent 222c0c884c
commit c2c238d9b1
13 files changed
+251 -19

No files matched your search

+11
View File
@@ -33,6 +33,7 @@ Targets and the evaluation order are in `README.md`. Phase 6A is specified by RF
| P6A-8 | done | Source Reference Bundle (directory, `QUICK.md` front door, AIR reference only under `air/`), harness profile `aji_source` with per-group documentation metrics, Quick Reference examples checked against conformance programs, raw and normalized size metrics | P6A-6 | `docs/agent/source-bundle.txt`, `tools/eval/languages/aji_source.json` | bundle measured; every Quick Reference example is an excerpt of a checked program |
| P6A-9 | todo | Dev regression on tasks M and C: the frozen `Aji/AIR` runs vs new `Aji/source` runs, same agents (all three native agents) | P6A-8 | results note | criteria below reported |
| P6A-10 | todo | Phase 6A exit review | all | plan status | targets reported |
| P6A-12 | todo | Source type-check completeness: errors fully determined by the source type system are reported by the frontend as `E7xxx` at the source construct, never left to the verifier on the lowered AIR (checkpoint 2: `E1001` ×4 in a source run). Not a layer 7 blocker; to be closed before the Phase 6A freeze | P6A-4 | `src/frontend/lower.zig` | for each verifier type rule reachable from source, a source test expecting the `E7xxx` |
| P6A-11 | todo | Malformed generated AIR is a compiler bug: when a `.aji` module passed the frontend but its AIR fails to parse or is structurally invalid, report an internal compiler diagnostic (with the source construct), not the AIR parse error mapped back (found by the M checkpoint: void fall-through lowered to `ret %`) | P6A-4 | `src/check.zig`, error registry | a test that injects malformed lowering gets the internal diagnostic |
### P6A-9 criteria (owner decision, fixed before the runs)
@@ -68,6 +69,16 @@ Order (owner decision, after P6A-8):
Type mismatches (`E1001`, `E7005`) stay a separate category from the IR-form diagnostics.
**Status (2026-10-06).** Steps 1–2 are done in two checkpoints ([results](../evaluation/results/2026-10-06-m-checkpoints.md)). Checkpoint 1 found two toolchain defects, fixed in `222c0c8`. Checkpoint 2 gave AIR 2/3 and source 3/3, with IR-form diagnostics at 0 in source. The owner closed the IR-tax diagnosis at the engineering level: **layer 7 GO**. Remaining order:
1. layer 7 (tasks, channels);
2. layer 8 (`lock`, `select`, cancellation);
3. every concurrency example of the Quick Reference passes;
4. Phase 6A candidate freeze;
5. official P6A-9: M + C × 3 agents.
The cost hypothesis stays open: it needs repetitions.
Lowering layers (P6A-3/4), each with accepted (golden AIR), rejected (`E7xxx`) and verifier-caught tests in `tests/conformance/source/`:
| Layer | Content | Status |