Files
aji/docs/agent/source-bundle.txt
T
dev 3e2d9b63a7 P6A-8: Source Reference Bundle and harness profile aji_source
- source bundle: a /docs directory with QUICK.md (Quick Reference plus a
  where-to-read table), language/*.md, diagnostics/errors.md and the AIR
  bundle only under air/; built from docs/agent/source-bundle.txt
  (> output files, @manifest includes) by zig build agent-reference
- Quick Reference examples are checked: every aji block must be an
  excerpt of a conformance program in tests/conformance/source/quickref
  (zig build test fails otherwise); QR fixes found by the check
  (mut d = data, region not auto-borrowed, statement/borrow blocks that
  could not verify, io_error match)
- frontend: task.*/channel.*/mutex.* are not-yet-implemented, not E7006
- aji lower --stats: mechanical_air_eliminated_raw and _normalized (each
  byte-string materialization counted as one constant; spec 15 §11)
- harness: profile aji_source (doc_groups), per-file and per-group docs
  metrics on distinctive lines, profile columns (tool calls, lowered AIR
  raw/normalized, docs files read, IR-form and type-mismatch counts),
  dev-echo aji_source variant, scripted run and test, source token report
- plan: P6A-8 done, P6A-9 criteria; Q-021/Q-022 resolved; unsafe block
  deferred
2026-10-05 13:16:51 +03:00

79 lines
3.3 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 :: ## 9. 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
> 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