Files
aji/docs/agent/source-bundle.txt
T
dev 4138a52af6 cli: add initialized buffers and safe owning vectors
Introduce linear_buffers through the specification, AIR parser/serializer,
verifier, deterministic interpreter and source lowering. A buffer owns an
initialized prefix with explicit reserve, bounded push, moving pop/views and
recoverable empty-only free. Growth charges old+new capacity; failed growth,
full push and nonempty free preserve or return complete ownership.

Implement compiler-pinned safe std.vec with nine operations for Copy values,
owners, files and channel endpoints. Permit complete Copy moves inside
specialized generic bodies without weakening monomorphic or borrow rules.
Update RFC 0024, Q-036, STD-6a/b, reference grammar, Quick Reference, bundles,
source coverage and CI. Remaining collections stay STD-6c.

Validation: unit tests and AIR round-trip; 757 conformance cases; 56 dedicated
buffer cases with per-instruction collection and 32-seed schedule stress;
extended memory test; hosted smoke; 36 module, 20 generic, 49 linear and
118 buffer CLI checks; 91/91 source constructs; Zig fmt and reference bundles.
Full source bundle: 49,589 -> 52,384 cl100k tokens (+5.6%); AIR 175,736 bytes.
The reference interpreter's push copies its initialized prefix; no native
performance or empirical MCC benefit is claimed.
2026-10-06 23:26:41 +03:00

110 lines
4.6 KiB
Plaintext

# Source Reference Bundle manifest (condition Aji/source, spec 14 §3.7).
#
# A directory mounted at /docs. QUICK.md is the front door: it covers most
# programs and says which file to open for the rest. The agent reads the
# other files only when it needs them; air/ is the AIR reference, for
# reading the output of `aji lower` only. Entry syntax: bundle.txt, plus
# > <path> starts the output file <path>
# @<manifest> the single output of another manifest
> QUICK.md
docs/agent/quick-reference.md
docs/agent/source-notes.md :: ## 14. Where to read more
> language/syntax.md
docs/reference/grammar.ebnf
docs/spec/15-source-language.md :: ## 1. Principle
docs/spec/15-source-language.md :: ## 2. Modules and declarations
docs/spec/15-source-language.md :: ## 4. Statements and control flow
docs/spec/15-source-language.md :: ## 5. Expressions
docs/spec/15-source-language.md :: ## 6. Fallible operations and `match`
docs/spec/15-source-language.md :: ## 13. Built-in standard modules
> language/linear-aggregates.md
docs/spec/15-source-language.md :: ## 16. Source linear aggregates
docs/spec/03-memory-model.md :: ## 25. Linear aggregates in AIR
> language/buffers.md
docs/spec/15-source-language.md :: ## 17. Source dynamic buffers
docs/spec/03-memory-model.md :: ## 26. Dynamic initialized buffers
> language/generics.md
docs/spec/15-source-language.md :: ## 15. Explicit source generics
> language/modules.md
docs/spec/15-source-language.md :: ## 14. Package source modules
docs/spec/12-packages-and-build.md :: ### 1.3 Package source mapping
> library/std.md
docs/spec/16-standard-library.md
docs/reference/std.md
> language/types.md
docs/spec/15-source-language.md :: ## 3. Types
docs/spec/02-types-and-values.md :: ## 2. Integer semantics
docs/reference/type-properties.md
docs/spec/01-language-overview.md :: ## 6. Trap
> language/ownership.md
docs/spec/15-source-language.md :: ## 9. Frame storage, borrow scopes and features
docs/spec/03-memory-model.md :: ## 3. Safe-reference aliasing rule
docs/spec/03-memory-model.md :: ## 4. Borrow lifetime
docs/spec/03-memory-model.md :: ## 6. Stack storage
docs/spec/03-memory-model.md :: ## 9. Slices
docs/spec/03-memory-model.md :: ## 10. Initialization policy
> language/memory.md
docs/spec/03-memory-model.md :: ## 7. Own<T>
docs/spec/03-memory-model.md :: ## 8. Regions
docs/spec/03-memory-model.md :: ## 18. Allocation authority in AIR
docs/spec/03-memory-model.md :: ## 12. Island<T>
docs/spec/03-memory-model.md :: ## 13. Frozen<T>
docs/spec/03-memory-model.md :: ## 14. Arc<T>
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
> language/effects-capabilities.md
docs/spec/05-effects-and-capabilities.md :: ## 2. Effects
docs/spec/05-effects-and-capabilities.md :: ## 3. Capabilities
docs/spec/05-effects-and-capabilities.md :: ## 4. Narrowing
docs/spec/05-effects-and-capabilities.md :: ## 5. Capability transfer
docs/spec/05-effects-and-capabilities.md :: ## 9. Effects in AIR
docs/spec/05-effects-and-capabilities.md :: ## 10. Capabilities in AIR
docs/reference/effects.md
docs/reference/capabilities.md
> language/io-resources.md
docs/spec/15-source-language.md :: ## 8. Allocation, resources and intrinsics
docs/spec/06-resources-and-errors.md :: ## 1. Linear resources
docs/spec/06-resources-and-errors.md :: ## 2. Typestate
docs/spec/06-resources-and-errors.md :: ## 3. Cleanup
docs/spec/06-resources-and-errors.md :: ## 7. I/O errors
docs/reference/intrinsics.md
> language/concurrency.md
docs/agent/source-notes.md :: ## Concurrency status
docs/spec/15-source-language.md :: ## 7. Tasks, cancellation, channels, select and mutex
docs/spec/04-concurrency-and-atomics.md :: ## 35. Send and Share in AIR
docs/spec/04-concurrency-and-atomics.md :: ## 36. The deterministic scheduler
docs/spec/15-source-language.md :: ## 12. Atomics
docs/spec/04-concurrency-and-atomics.md :: ## 22. DRF-SC guarantee
docs/spec/04-concurrency-and-atomics.md :: ## 24. Atomic ordering
docs/spec/04-concurrency-and-atomics.md :: ## 25. Weak atomics
> language/tooling.md
docs/spec/15-source-language.md :: ## 11. Tooling
docs/spec/11-determinism-and-replay.md :: ## 7. Execution limits
docs/spec/11-determinism-and-replay.md :: ## 8. Execution profiles
> diagnostics/errors.md
docs/spec/15-source-language.md :: ## 10. Diagnostics
docs/spec/10-diagnostics-and-agent-protocol.md :: ## 2. Stable codes
docs/spec/10-diagnostics-and-agent-protocol.md :: ## 5. Expected repair loop
docs/reference/error-codes.md
> air/reference.md
docs/agent/source-notes.md :: ## The AIR reference
@docs/agent/bundle.txt