docs: specify contract runtime continuations and failure context

This commit is contained in:
dev committed 2026-10-09 18:27:55 +03:00
1 parent 2db752dba9
commit c633f23952
6 files changed
+454 -1

No files matched your search

+2
View File
@@ -415,6 +415,8 @@ The next candidate fixes contract artifact name encoding/order and typed declara
The [AIR binding grammar](contract-air-bindings.md) now proposes exact prefix/checked spellings, root descriptors, observation adaptation and E8001 reason/field shapes. Eighteen ordinary view/call/unknown-opcode probes confirm existing constraints, including optional never-call result bindings and the difference between an owner root and a complete Copy place. Candidate grammar is not adopted spec; source reasons, trap/dispatch schemas, compatibility, model adoption and vertical delivery remain gates.
The [runtime/context candidate](contract-runtime-and-context.md) gives concrete continuation/publication, fuel/depth/quantum, pending GC-root and additive trap/environment context rules, including AIR-only byte-identity exploration. Sixteen ordinary CLI runs and nine normal/GC-every-step fixture variants constrain current behavior; hypothetical context components are not new compiler output. Claude independently checked the mechanics, replayed the CLI records and reviewed the refined schema. Source reasons, compatibility/model adoption and full vertical runtime tests remain open; no implemented contract claim is made.
## Q-055 — Feature-gated AIR headers and frozen rejection codes
Spec 07 §8.7 permits changes to earlier E0004/E0006 rejections, not E0001. Source inspection of the parser before commit `0086549` shows that an unfeatured `trusted "..."` header was parsed as a block label and failed while expecting `:`; current spec 13 §6.3 and the parser require E0006 `feature_not_declared`. RFC 0009 calls the header additive, although this diagnostic transition is outside the literal exception. The historical parser has not been executed in this audit.