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

+1
View File
@@ -68,6 +68,7 @@ Required for semantic features (spec 14 §6):
- Interaction with existing features:
- Expected effect on repairability:
- Could existing primitives express it?
- Agent Reference Bundle growth (`zig build agent-reference` + `tools/agent_bundle_tokens.py`, tokens before → after; > 20 % needs a justification):
## Alternatives considered