AIR: types island<T>, frozen<T>, arc<T>, iref<T>; 16 instructions (island.create/alloc/root/borrow/freeze/destroy, frozen.root/borrow/ release, arc.from_frozen/new/clone/release/root/borrow, iref.eq); features islands (depends on heap) and arc (depends on islands) published. Verifier: IslandSafe/ArcSafe (E2111 at the owner type), container child borrows (one mut access per island), Send/Share rows (island not Share), linear owners, mem.alloc effect, element rules (recursion through iref). Interpreter: graphs with never-reused identities, T0010 for a foreign iref, O(1) freeze/conversion/transfer, arc counts in a trace hook (Options.arc_events), budgets per the quota table, collector support. .aji layer 9: types, operations, island.at/frozen.at/arc.at as borrow places with explicit container borrows, iref ==/!=. Frontend fix: joins carry only variables the construct assigns (and that are read again), so an unchanged linear value is never a block argument while borrowed. Tests: 10 AIR (phase4), 6 .aji run + 12 rejects (layer9), the reference program island-pipeline in .aji, equivalent to an independently hand-written AIR program (36 on 30 schedule seeds); unit tests for the arc count trace and O(1) transfer. Quick Reference §7 graphs (checked excerpt of quickref/graphs.aji); coverage 61/61. Bundle growth: AIR +7.0%, Quick Reference +0.6k, source docs +4.2k (recorded). Spec: quota rows match the header-reserved count; idioms and iref recursion in spec 03 §22; P4-11 (air-text.ebnf gaps) recorded.
80 lines
3.3 KiB
Plaintext
80 lines
3.3 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
|
|
|
|
# Tasks, loans, Send/Share, scheduler
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 33. Tasks in AIR
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 34. Lending borrows to tasks
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 35. Send and Share in AIR
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 36. The deterministic scheduler
|
|
|
|
# Waiting, cancellation, channels, select, mutex
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 37. Waiting and cancellation
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 38. Channels in AIR
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 39. `select` in AIR
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 40. Mutex in AIR
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 41. The critical-section rule
|
|
|
|
# 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
|
|
docs/spec/03-memory-model.md :: ## 22. Islands in AIR
|
|
docs/spec/03-memory-model.md :: ## 23. Frozen graphs in AIR
|
|
docs/spec/03-memory-model.md :: ## 24. Arc 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
|