Draft specification, RFCs, reference registries and examples, plus the reference-implementation skeleton: build.zig, diagnostic envelope with error-code registry synced to docs, aji CLI, conformance runner with seed tests, CI and contributor docs.
57 lines
1.2 KiB
Markdown
57 lines
1.2 KiB
Markdown
# RFC NNNN: Title
|
|
|
|
Status: Draft
|
|
Target: Aji 0.x
|
|
Supersedes: —
|
|
|
|
<!-- Status values: Draft → Proposed → Accepted → Implemented, or Rejected. See README.md. -->
|
|
|
|
## 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`.
|
|
|
|
## Compatibility and migration
|
|
|
|
## Alternatives considered
|
|
|
|
## Unresolved questions
|