Files
aji/docs/agent/source-bundle.txt
T
dev c699529fec Phase 4: islands, frozen graphs and arc through every layer (RFC 0014)
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.
2026-10-05 22:14:05 +03:00

85 lines
3.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 :: ## 10. 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`
> 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
> 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