docs: specify contract names and diagnostic witnesses
This commit is contained in:
1 parent
8df6cacf12
commit
5ed0d86e36
7 files changed
+472
-3
No files matched your search
@@ -155,7 +155,9 @@ Module invariants need a definition of their roots and observation boundaries. S
|
||||
|
||||
The candidate distinguishes a persistent checked state root owning correlated values from a boundary relation over separately owned roots and an explicit function set. Their audit scopes and coverage claims must differ. The [module/source refinement](../design/contract-source-and-module-state.md) proposes a narrow named binding for caller-owned checked state, collision-safe type.checked syntax, independent type-level audit claims and eager snapshot/capture rules. Its property/position refinement preserves representation properties and recursive transfer gates, prohibits zero manufacture, keeps accounted size separate from ABI and proposes representation-only JSON rendering. The exact type inventory classifies predicates over raw universal representations, separately from make sites and source provenance. Twenty current-language property baselines constrain these rules; no checked feature, type proof or inventory is implemented. It adds no boundary-group or hidden-global abstraction. Rooted state as the module-invariant model remains an owner decision; source-map/mangling, diagnostics/dispatch and vertical integration remain open. Ordinary pre/post reuse alone must not silently redefine module invariants.
|
||||
|
||||
Remaining decisions: shared observation coverage (Q-057) and invariant-evaluation interactions; source clause elaboration and complete AIR binding grammar; purity/snapshot diagnostics and ordering; proof and assumption modes; invariant boundaries and metadata representation; traps/report schema and tested pending-return dispatch. The RFC stays Draft until these have concrete rules and counterexamples.
|
||||
The source refinement also fixes descriptor encodings, collision order, emission categories and exact clause/witness maps; three current-language naming groups and seven proposed descriptors constrain the candidate. The accounting refinement specifies global P-before-S diagnostic subpasses, shortest real-call witnesses with bounded head/tail facts, and isolated post/ordinary-return collection preserving legacy leak and early-return lists. Five current-language return probes and six independent graph vectors check those constraints. This is design evidence; neither new diagnostics nor contract dispatch are implemented.
|
||||
|
||||
Remaining decisions: shared observation coverage (Q-057) and invariant-evaluation interactions; complete AIR binding grammar and source diagnostic reason allocations; purity/snapshot diagnostic schemas and format-0 compatibility; final feature/status policy adoption; invariant/module model adoption; traps/run-record schema and tested pending-return dispatch. The RFC stays Draft until these have concrete rules and counterexamples, followed by full vertical delivery.
|
||||
|
||||
## Compatibility and integration
|
||||
|
||||
|
||||
Reference in new issue
Block a user