Files
aji/docs/agent/bundle.txt
T
dev 1eaf968f4f cli: add explicit built-in error values
Add the error_values feature and error.const through specification, AIR,
verification, interpretation and source lowering. Error values are Copy data
with no allocation, effects or authority. Keep enum.make semantics frozen.

Cover all registered tags, feature negotiation, payload/type errors and
authority rejection in AIR/source; verify canonical and hosted CLI behavior.
Record reference-bundle costs and the map preflight-validation prerequisite.
2026-10-07 08:09:49 +03:00

96 lines
4.1 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
docs/spec/05-effects-and-capabilities.md :: ## 14. Explicit error values
# 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
# Whole-value linear aggregates (STD-5)
docs/spec/03-memory-model.md :: ## 25. Linear aggregates in AIR
# Dynamic initialized storage (STD-6a)
docs/spec/03-memory-model.md :: ## 26. Dynamic initialized buffers