rfc: define rooted module state and source contract elaboration

This commit is contained in:
dev committed 2026-10-09 11:29:55 +03:00
1 parent 8260d3521e
commit 03614c9bef
6 files changed
+120 -4

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ Proof field order is `result`, `reason`, `cost`, `limit`; result is `proven`, `n
Boundaries are positions in textual order: the pre/make/modify site itself, or all ret positions for post. A zero-ret post has an empty list. Documented clauses retain their syntactic coverage even though no helper executes. Totals field order is PROVEN_STATICALLY, CHECKED_AT_RUNTIME, ASSUMED_UNSAFE, UNPROVEN; each counts rows of that status exactly once. A snapshot is not a fifth status or a truth guarantee.
Module-state declarations and grouping of named module relations remain unresolved. Persistent checked state and pre/post relations already have distinct scopes here, but this row grammar does not manufacture missing module declarations, root mappings or coverage. Full P6-6 cannot close until those rules and their report representation are integrated.
The [module/source candidate](contract-source-and-module-state.md) proposes rooted state declarations and a type inventory after rows/totals so unused declared invariants are visible. Its exact inventory schema and universal-root classification still need integration; the component vector here specifies site rows/totals only. Persistent checked state and pre/post relations have distinct scopes, but site rows cannot replace declarations, root mappings or coverage. Full P6-6 cannot close until the chosen module model and its report representation are integrated.
## Call/effect/check accounting