P6A-8: Source Reference Bundle and harness profile aji_source

- source bundle: a /docs directory with QUICK.md (Quick Reference plus a
  where-to-read table), language/*.md, diagnostics/errors.md and the AIR
  bundle only under air/; built from docs/agent/source-bundle.txt
  (> output files, @manifest includes) by zig build agent-reference
- Quick Reference examples are checked: every aji block must be an
  excerpt of a conformance program in tests/conformance/source/quickref
  (zig build test fails otherwise); QR fixes found by the check
  (mut d = data, region not auto-borrowed, statement/borrow blocks that
  could not verify, io_error match)
- frontend: task.*/channel.*/mutex.* are not-yet-implemented, not E7006
- aji lower --stats: mechanical_air_eliminated_raw and _normalized (each
  byte-string materialization counted as one constant; spec 15 §11)
- harness: profile aji_source (doc_groups), per-file and per-group docs
  metrics on distinctive lines, profile columns (tool calls, lowered AIR
  raw/normalized, docs files read, IR-form and type-mismatch counts),
  dev-echo aji_source variant, scripted run and test, source token report
- plan: P6A-8 done, P6A-9 criteria; Q-021/Q-022 resolved; unsafe block
  deferred
This commit is contained in:
dev committed 2026-10-05 13:16:51 +03:00
1 parent 61be766634
commit 3e2d9b63a7
35 files changed
+1170 -106

No files matched your search

@@ -0,0 +1,14 @@
{
"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.",
"tasks": ["../aji-bench/tasks/<task-M>", "../aji-bench/tasks/<task-C>"],
"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-regression"
}