Type scheduling closure authority

This commit is contained in:
Meta Vens 2026-07-13 03:33:53 +01:00
commit 0b6d6d1032
7 changed files with 173 additions and 31 deletions

View file

@ -1041,6 +1041,19 @@ regaining substring authority.
Fourteen high-authority closure families are typed; 507 substring assertions
remain. Adoption and scheduling are the next workflow-shaped candidates.
## Scheduling prose as Self queue authority
Scheduling carried the sharper upstream consequence: it names the Self queue
gate, next safe family, pulse bound, prerequisite Mind receipts, and expected
queue-selection receipt. Closure previously recognized all of that through
substring presence. A commented `queue_mutation_authorized = false` could hide
a real grant. `repo.scheduling_request` now parses typed workflow state, checks
the actual queue and authority fields, and has a malicious fixture plus class
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.
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.

View file

@ -329,6 +329,13 @@ high-authority families are typed and 507 substring assertions remain. Next
inspect adoption versus scheduling and convert the authority-bearing family
with its own negative proof.
Scheduling won that comparison because it directly names Self's queue gate,
pulse, next family, and queue-selection receipt. Its closure is now typed under
workflow ownership; a malicious commented queue denial cannot conceal a real
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.
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