AIR: linear atomic<T> (AtomicScalar), atomic.new/take/load/store/RMW/ cmpxchg (two results)/fence with explicit orderings; feature atomics published. Verifier: ordering tables (E4201), ordinary access (E4202), effects [atomic] / [atomic, atomic.weak], linearity, take while lent (E4101, also for mutex.take). Interpreter: timestamped message machine (src/interp/weak.zig); views travel through spawn/join, channels, mutexes, close and cancel; seq_cst reads the latest message and programs without weak reads make no extra draw (existing records unchanged). aji explore: exhaustive exploration that branches only before visible operations. Litmus: 20/20 tests give exactly the oracle's sets; differential test (1500 random programs) found no unsound outcome. .aji layer 10, Quick Reference atomics, source coverage 67/67, audit report atomic_operations. AIR bundle +5.9 %, QUICK.md +0.5k.
89 lines
3.9 KiB
Plaintext
89 lines
3.9 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
|
|
|
|
# Atomics: types, orderings, effects, mixing, instructions (the formal model of §20 is not included)
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 22. DRF-SC guarantee
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 23. Atomic types
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 24. Atomic ordering
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 25. Weak atomics
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 28. Mixing atomic and ordinary access
|
|
docs/spec/04-concurrency-and-atomics.md :: ## 42. Atomics in AIR
|
|
docs/spec/05-effects-and-capabilities.md :: ## 13. Atomic effects
|
|
|
|
# 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
|