Split closure contracts by authority

This commit is contained in:
Meta Vens 2026-07-13 02:43:06 +01:00
commit 7b78c156a2
7 changed files with 1474 additions and 1459 deletions

View file

@ -888,6 +888,15 @@ closure region contains 704 remaining substring assertions, and the contract
organ is 1,458 lines. The warning against blind struct-forest growth remains in
force.
## Closure contract organ split by authority
The 1,458-line contract slab is now a two-line private lexical facade over two
physical domains: `external_governance.rs` owns tooling plus Bifrost
accounting/publication requests and their counterfeit-seal tests;
`operations.rs` owns deployment, secret policy, and dependency policy. Lexical
`include!` preserves the original parent-private `pub(super)` boundary; the
split introduces no registry, generic validator, or wider crate API.
## Unresolved: provider receipts without chronology
Bifrost body-change/GitHub publication receipts are externally owned and their

View file

@ -266,6 +266,11 @@ substring authority. Current structural count: nine typed high-authority
families, 704 remaining closure substring assertions, and 1,458 contract-organ
lines.
The former 1,458-line `closure_contracts.rs` slab is now a two-line private
facade over `closure_contracts/external_governance.rs` and
`closure_contracts/operations.rs`. Keep new contracts with their consequence
owner; do not reunify the slab or widen its parent-private API.
The latest structural count is 32 closure family branches, 744 remaining
substring assertions in the closure region, and 1,284 lines in
`closure_contracts.rs`. Do not blindly generate a struct forest for every