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

2.2 KiB

RFC NNNN: Title

Status: Draft
Scope: —
Language version: 0.x
Supersedes: —

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

Rejected example

Expected diagnostic:

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