- 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
64 lines
2.4 KiB
Plaintext
64 lines
2.4 KiB
Plaintext
# Agent Reference Bundle manifest (spec 14 §3.7).
|
|
#
|
|
# The minimal material a model must receive to write correct AIR without the
|
|
# rest of the repository. One entry per line:
|
|
# <path> the whole file
|
|
# <path> :: <heading prefix> one section: the heading that starts with the
|
|
# prefix and everything up to the next heading
|
|
# of the same or a higher level
|
|
# Order is the order of the bundle. Rationale (RFCs), plans, design history,
|
|
# README prose and benchmark descriptions are deliberately absent.
|
|
|
|
# Minimal syntax reference
|
|
docs/agent/syntax-example.air
|
|
|
|
# AIR text grammar and format rules
|
|
docs/reference/air-text.ebnf
|
|
docs/spec/07-air.md :: ## 8. Text AIR
|
|
|
|
# Instruction set, run results, canonical record
|
|
docs/spec/07a-air-instructions.md
|
|
|
|
# Types and integer semantics
|
|
docs/spec/02-types-and-values.md :: ## 2. Integer semantics
|
|
|
|
# Traps
|
|
docs/spec/01-language-overview.md :: ## 6. Trap
|
|
|
|
# Verifier: limits and accounted sizes, borrows, facts, initialization, stage order
|
|
docs/spec/08-verifier.md :: ## 7. Bounded analysis
|
|
docs/spec/08-verifier.md :: ## 11. Borrow verification
|
|
docs/spec/08-verifier.md :: ## 12. Bounds facts
|
|
docs/spec/08-verifier.md :: ## 13. Initialization
|
|
docs/spec/08-verifier.md :: ## 14. Stage order
|
|
|
|
# Effects, capabilities, intrinsics
|
|
docs/spec/05-effects-and-capabilities.md :: ## 9. Effects in AIR
|
|
docs/spec/05-effects-and-capabilities.md :: ## 10. Capabilities in AIR
|
|
docs/spec/05-effects-and-capabilities.md :: ## 11. Intrinsic calls
|
|
docs/spec/05-effects-and-capabilities.md :: ## 12. Runtime
|
|
|
|
# Resources and I/O errors
|
|
docs/spec/06-resources-and-errors.md :: ## 6. Resources in AIR
|
|
docs/spec/06-resources-and-errors.md :: ## 7. I/O errors
|
|
|
|
# Heap, regions, budgets
|
|
docs/spec/03-memory-model.md :: ## 18. Allocation authority in AIR
|
|
docs/spec/03-memory-model.md :: ## 19. Heap in AIR
|
|
docs/spec/03-memory-model.md :: ## 20. Regions in AIR
|
|
|
|
# Unsafe boundaries
|
|
docs/spec/13-contracts-and-unsafe.md :: ## 6. Unsafe code in AIR
|
|
|
|
# Deterministic runtime contract: fuel, profiles, PRNG
|
|
docs/spec/11-determinism-and-replay.md :: ## 7. Execution limits
|
|
docs/spec/11-determinism-and-replay.md :: ## 8. Execution profiles
|
|
|
|
# Diagnostics format and registries
|
|
docs/spec/10-diagnostics-and-agent-protocol.md :: ## 2. Stable codes
|
|
docs/reference/error-codes.md
|
|
docs/reference/air-features.md
|
|
docs/reference/effects.md
|
|
docs/reference/capabilities.md
|
|
docs/reference/intrinsics.md
|