rfc: investigate explicit invariant updates and stable observations
This commit is contained in:
1 parent
d041c07ad2
commit
9a3e135f43
4 files changed
+85
No files matched your search
@@ -401,6 +401,8 @@ P6-6 requires contracts and their four audit statuses, but spec 13 §1/spec 08
|
||||
|
||||
2026-10-09: the candidate function representation now uses a leading `contract.pre/old/post` prefix; all three isolated spellings currently reject E0004, avoiding Q-055's header-specific E0001 conflict. The used-result probe additionally reports E5001; complete rejection-code compatibility remains to be audited. Deferred post bindings require ordinary access checks at every return. Verified Range probes distinguish a repaired exclusive update from an invalid Copy escape and shared-reader overflow; exclusive-borrow end alone cannot establish publication coverage. Type/module invariant representation and predicate purity remain unresolved; no implementation is authorized.
|
||||
|
||||
[Invariant-boundary research](contract-invariant-boundaries.md) compares eager/epoch coverage with a checked representation and explicit in-place callback update. The latter avoids requiring replacement allocation for borrowed linear state, but still needs stable-observation rules, pending-result semantics and exact type/source representation. Current probes confirm a scalar helper mutating an enclosing Range, public fields bypassing a library wrapper and independent-root relation drift (each returns 1), plus E0001 for a new type declaration versus E0004 for an unknown type constructor. Persistent state-root claims and function-boundary relations must have distinct scope; module roots/declarations and full P6-6 proof/status rules remain open.
|
||||
|
||||
## 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.
|
||||
|
||||
Reference in new issue
Block a user