docs: map contract source errors and compatibility rejections
This commit is contained in:
1 parent
c633f23952
commit
b3051f161c
5 files changed
+476
No files matched your search
@@ -419,6 +419,8 @@ The [runtime/context candidate](contract-runtime-and-context.md) gives concrete
|
||||
|
||||
## Q-055 — Feature-gated AIR headers and frozen rejection codes
|
||||
|
||||
2026-10-09: [ten executed rejection vectors](contract-source-errors-and-compatibility.md#executed-format-0-rejection-baselines) distinguish snapshot body escape, ordinary checked-result use and independent missing operands, retaining complete diagnostic identities/positions. The same E5001 code can represent either a dependent or unrelated defect. The candidate lists a narrowly causal policy and AIR1 as owner alternatives; neither is adopted, and the historical parser is still unexecuted. Complete feature/parser compatibility remains open.
|
||||
|
||||
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.
|
||||
|
||||
Resolve this compatibility policy before using `trusted` as a precedent for new contract headers (Q-054). Preserving legacy E0001 parsing conflicts with §8.1's E0006 for an undeclared construct; replacing E0001 conflicts with §8.7. Instructions whose old rejection is E0004 or a new AIR version avoid this header conflict. Amending either rule is an owner decision, not implied by the implementation. No existing parser, diagnostic or stability rule changes here; other historical syntax extensions remain unaudited.
|
||||
|
||||
Reference in new issue
Block a user