docs: features are vertical through .aji; source-side complexity budget; M/C as regression corpus (owner decisions after P6A-9)
This commit is contained in:
1 parent
a2d72628e0
commit
a18f149216
3 files changed
+9
-1
No files matched your search
@@ -111,7 +111,11 @@ Any change involving ownership, aliasing, atomics, tasks, cancellation, resource
|
||||
|
||||
## RFCs
|
||||
|
||||
Every RFC introducing a semantic feature includes `## Agent complexity impact` (spec 14 §6): new concepts, new verifier state, new syntax or instructions, interactions, effect on repairability, whether existing primitives suffice, and the Agent Reference Bundle growth (`zig build agent-reference`, `docs/agent/README.md`). Normative text an agent needs to write AIR enters the bundle through `docs/agent/bundle.txt`.
|
||||
Every RFC introducing a semantic feature includes `## Agent complexity impact` (spec 14 §6): new concepts, new verifier state, new syntax or instructions, interactions, effect on repairability, whether existing primitives suffice, and the bundle growth (`zig build agent-reference`, `docs/agent/README.md`). Normative text an agent needs to write AIR enters the AIR bundle through `docs/agent/bundle.txt`.
|
||||
|
||||
**Features are vertical (owner decision after P6A-9).** Agents write `.aji`; AIR is the machine-facing layer. A new semantic feature lands in one RFC and one phase through every layer: spec → AIR → verifier → interpreter → `.aji` syntax and lowering (spec 15) → Quick Reference → conformance tests in AIR and in `.aji`. A feature with no source syntax is not done. Its `Agent complexity impact` reports the source-side budget: Quick Reference growth, Source Reference Bundle growth (`tools/agent_bundle_tokens.py --source`), new concepts, new diagnostics and new syntax forms. The budget is not a hard limit; growth is justified, not silent.
|
||||
|
||||
**M and C are a regression corpus.** The former smoke tasks M and C (now dev material) may show that nothing broke: no new diagnostics, no growth of the source/AIR ratio. They never decide a semantic question. Never tune the language to them.
|
||||
|
||||
## Changes to AIR
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ Everything under `src/` except `main.zig` is part of the trusted computing base
|
||||
- [ ] Memory/concurrency/FFI/unsafe changes: the 8-point checklist from `AGENTS.md`.
|
||||
- [ ] AIR changes: the instruction contract from `AGENTS.md` / spec 07 §4.
|
||||
- [ ] Concurrency changes: deterministic scheduler tests and randomized schedule stress tests.
|
||||
- [ ] Semantic features: `.aji` syntax and lowering (spec 15), the Quick Reference updated and its examples checked, `.aji` run and reject tests, `tools/source_coverage.py` passing with the new constructs listed.
|
||||
|
||||
## Commits
|
||||
|
||||
|
||||
@@ -69,6 +69,9 @@ Required for semantic features (spec 14 §6):
|
||||
- Expected effect on repairability:
|
||||
- Could existing primitives express it?
|
||||
- Agent Reference Bundle growth (`zig build agent-reference` + `tools/agent_bundle_tokens.py`, tokens before → after; > 20 % needs a justification):
|
||||
- `.aji` syntax for the feature (spec 15), new syntax forms:
|
||||
- Quick Reference growth and Source Reference Bundle growth (`tools/agent_bundle_tokens.py --source`, tokens before → after per group):
|
||||
- New diagnostics an agent sees in source:
|
||||
|
||||
## Alternatives considered
|
||||
|
||||
|
||||
Reference in new issue
Block a user