E0-1: Agent Reference Bundle and Phase 2 baseline

- docs/agent/bundle.txt: minimal AIR reference by file and section
  (grammar, instructions, types, traps, verifier rules, resources,
  effects, capabilities, intrinsics, heap/regions, unsafe, runtime
  contract, diagnostics and registries); syntax-example.air verifies
  and runs
- zig build agent-reference: deterministic bundle and report (files,
  sections, bytes, lines, words); section extraction ignores fenced code
- tools/agent_bundle_tokens.py: cl100k_base, o200k_base and Qwen2.5 BPE
  counts; growth warnings >10 % and review >20 % against history.json
- baseline after Phase 2: 104 250 bytes, 16 197 words, ~27.3k tokens
- CI builds the bundle and counts tokens (non-blocking)
- evaluation protocol 0.2: benchmark families, Aji/AIR and Aji/source
  conditions, 36-run engineering smoke test, order of work
- RFC template and AGENTS.md: report bundle growth
This commit is contained in:
dev committed 2026-10-04 15:44:26 +03:00
1 parent 72192c2331
commit 6eceb4405b
13 files changed
+470 -11

No files matched your search

+6 -5
View File
@@ -92,18 +92,19 @@ Evaluation runs alongside the phases; each stage starts when the language featur
| ID | Status | Task | Depends | Done when |
|---|---|---|---|---|
| E0-1 | todo | Define the Agent Reference Bundle (spec 14 §3.7) and a deterministic size measurement (bytes and tokens) recorded per release | — | bundle manifest in the repository; size reported in CI |
| E0-2 | todo | Private benchmark repository: task specs, evaluators, reference implementations, hidden tests for T01–T04; dev/validation/test split | — | evaluator hashes published; nothing hidden in this repository |
| E0-3 | todo | Language-neutral agent scaffold and run recorder (protocol §5, §28) | — | identical loop drives Aji, Rust and Zig; every run record complete |
| E0-1 | done | Define the Agent Reference Bundle (spec 14 §3.7) and a deterministic size measurement (bytes and tokens) recorded per release | — | `docs/agent/bundle.txt`, `zig build agent-reference`, `tools/agent_bundle_tokens.py`; Phase 2 baseline recorded; measured in CI |
| E0-2 | todo | (owner; in parallel with Phase 3, outside this repository) Private benchmark repository: task specs, evaluators, reference implementations, hidden tests for T01–T04; dev/validation/test split | — | evaluator hashes published; nothing hidden in this repository |
| E0-3 | todo | (after basic Phase 3) Language-neutral agent scaffold and run recorder (protocol §5, §28) | — | identical loop drives Aji, Rust and Zig; every run record complete |
| E0-4 | todo | Rust and Zig baseline solutions and pinned local documentation | E0-2 | baselines pass the hidden tests |
| E-A | todo | Stage A pilot: T01–T04 × Aji/Rust/Zig × 3 model classes × 3 runs = 108 runs (protocol §39); not headline evidence | E0-1…E0-4, Phase 2 | pilot report: effect size, broken tasks, cost, instrumentation |
| E-S | todo | Engineering smoke test: 2 families × 3 languages × 3 model classes × 2 runs = 36 runs (protocol §39a); infrastructure only | E0-2, E0-3, E0-4 | harness, bundle sufficiency, accounting and traces verified |
| E-A | todo | Stage A pilot (condition `Aji/AIR`): T01–T04 families × Aji/Rust/Zig × 3 model classes × 3 runs = 108 runs (protocol §39); not headline evidence | E-S, basic Phase 3 | pilot report: effect size, broken tasks, cost, instrumentation |
| E-B | todo | Stage B: T05–T07 | Phase 3 | stage report |
| E-C | todo | Stage C: T08, litmus repair | Phase 5 | stage report |
| E-D | todo | Stage D: T09, T10 | Phases 3–5, stable features | stage report |
| E-E | todo | Stage E: maintenance campaign M1–M8 | E-D | stage report |
| E-1 | todo | First confirmatory experiment: 8 held-out tasks × 3 languages × 4 model classes × 6 runs = 576 runs (protocol §40); thresholds frozen beforehand (§35) | E-A fixes | published evaluation |
Until Phase 6 delivers the source language, agents write text AIR directly; Stage A results must state this.
Until Phase 6 delivers the source language, Aji runs use the condition `Aji/AIR`; after Phase 6, `Aji/source` is evaluated as a separate condition. Every Phase 3+ semantic RFC re-measures the Agent Reference Bundle (`docs/agent/README.md`).
## Task conventions