docs: map contract source errors and compatibility rejections

This commit is contained in:
dev committed 2026-10-09 18:36:04 +03:00
1 parent c633f23952
commit b3051f161c
5 files changed
+476

No files matched your search

+2
View File
@@ -366,3 +366,5 @@ The [naming/provenance candidate](../design/contract-source-and-module-state.md#
The [AIR binding candidate](../design/contract-air-bindings.md) supplies prefix/type/operation grammar, explicit root/form identity, exact shared adaptation, snapshot-use checks and proposed E8001 reasons/fields. Eighteen current-language probes verify view/alias/never-call constraints and isolated E0004 rejection of complete candidate prefixes. Claude independently reproduced all eighteen and the nine descriptor hashes/order cases; review clarified linear checked root access, repeated Copy-place budgets, SSA/root priority, source dedup positions and stable return-fact ordering. This is non-normative design evidence, with no implementation or registry change. Source reasons, trap/dispatch schema, compatibility, owner adoption and vertical tests remain gates; RFC 0039 stays Draft and P6-6 remains doing.
The [runtime/context candidate](../design/contract-runtime-and-context.md) specifies frame continuations, normal completion only after validation, free normalization before quantum checks, depth/fuel precedence, traced pending roots and exact additive failure context. Six ordinary groups pass 16 CLI runs at quantum 1; nine fixture variants pass GC-every-step record comparison (13 schedule cases, 26 interpreter runs). Six hypothetical schema components are explicitly unimplemented. Claude independently reproduced the CLI records and reviewed the rules; corrections fixed old/make/modify modes, race context and AIR-only byte-identity exploration. No normative/compiler/registry/bundle changes are made. Source reasons, compatibility/model adoption, RFC 0040 observations and full vertical runtime tests remain gates; RFC 0039 stays Draft and full P6-6 remains doing.
The [source rejection/compatibility audit](../design/contract-source-errors-and-compatibility.md) proposes eight new E7006 reasons and retains existing source type/name/transfer codes, error collection and mapped verifier obligations. Ten executed current-language AIR0 probes preserve full diagnostics and distinguish dependent undefined results from independent SSA errors; neither the historical parser nor contract semantics is executed. Owner selection of the module-state model, Q-055 compatibility/version policy and RFC representations remains necessary before normative integration and vertical implementation. No fresh Claude review was available for this increment. RFC 0039 remains Draft; P6-6 remains doing.