Files
aji/docs/rfcs/0000-template.md
T

79 lines
2.2 KiB
Markdown

# RFC NNNN: Title
Status: Draft
Scope: —
Language version: 0.x
Supersedes: —
<!-- Status values and lifecycle: README.md. On acceptance, integrate the normative rules into docs/spec/ in the same change. -->
## Motivation
Which of the mission goals (AGENTS.md) does this improve, and what fails today without it?
## Precise invariant
The property preserved or established, stated so that a verifier could check it.
## Normative rule changes
Exact MUST/SHOULD/MAY text to add to or replace in `docs/spec/`, with file and section.
## Verifier implications
New abstract state, transfer functions, and complexity bound.
## Interpreter / runtime implications
Runtime rule, if any. Deterministic interpreter behavior.
## AIR changes
For each new or changed instruction: operand types, result types, ownership effects, memory effects, concurrency effects, capability/effect requirements, trap behavior, verifier transfer function. Explain why it is not syntax sugar.
## Valid example
```text
```
## Rejected example
```text
```
Expected diagnostic:
```json
```
## Diagnostics impact
New or changed codes in `docs/reference/error-codes.md`.
## Spec integration
Files and sections of `docs/spec/` and `docs/reference/` that receive the normative rules on acceptance.
## Compatibility and migration
Which AIR format version is affected. A change to the meaning of an existing construct requires a new format version (spec 07 §8.7).
## Agent complexity impact
Required for semantic features (spec 14 §6):
- New concepts the agent must understand:
- New state the verifier must track:
- Additional syntax or instructions:
- Interaction with existing features:
- 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
## Unresolved questions