Type adoption closure authority
This commit is contained in:
parent
0b6d6d1032
commit
98f675fdf6
7 changed files with 180 additions and 31 deletions
|
|
@ -1054,6 +1054,20 @@ guard preventing that substitution from returning.
|
|||
Fifteen high-authority closure families are typed; 477 substring assertions
|
||||
remain. Adoption is the remaining untyped workflow gate in this chain.
|
||||
|
||||
## Adoption prose as Mind state authority
|
||||
|
||||
`repo.adoption_request` closure previously recognized the Mind decision,
|
||||
allowed verdicts, required review/state receipts, inputs, and authority denials
|
||||
by substring. A commented `state_commit_authorized = false` could conceal a
|
||||
real state grant. Adoption now parses typed workflow state, validates nonblank
|
||||
input references, and checks actual decision and authority fields. Its
|
||||
malicious fixture and class guard prevent presentation text from impersonating
|
||||
Mind admission authority.
|
||||
|
||||
Sixteen high-authority closure families are typed; 447 substring assertions
|
||||
remain. The adoption/scheduling/work-order/verification workflow chain is now
|
||||
typed under one physical owner.
|
||||
|
||||
The same inspection found 33 consecutive duplicate `#[cfg(test)]` attributes
|
||||
on provider constructors/writers and their re-exports. One gate already makes
|
||||
each item test-only; the second owned nothing. The duplicates are removed.
|
||||
|
|
|
|||
|
|
@ -336,6 +336,14 @@ mutation grant, and the family is in the no-substring class guard. Fifteen
|
|||
high-authority families are typed and 477 substring assertions remain. Next
|
||||
type adoption, the remaining untyped workflow gate in this chain.
|
||||
|
||||
Adoption closure is now typed under workflow ownership as well. The decision
|
||||
contract, review/state receipts, input requirements, authority denials, and
|
||||
private seal are read as actual TOML fields; blank input references are
|
||||
rejected. A malicious commented state-commit denial cannot hide a real grant,
|
||||
and adoption is in the class guard. Sixteen high-authority families are typed
|
||||
and 447 substring assertions remain. The complete adoption/scheduling/work-
|
||||
order/verification chain now has one physical workflow owner.
|
||||
|
||||
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
|
||||
|
|
|
|||
Reference in a new issue