Type PR request closure semantics

This commit is contained in:
Meta Vens 2026-07-13 03:07:56 +01:00
commit ccf897dbff
6 changed files with 60 additions and 58 deletions

View file

@ -964,6 +964,17 @@ names must remain absent, while exactly seven persisted Bifrost `/latest` key
strings must remain. This prevents either semantic regression or accidental
storage-contract churn.
## PR-request prose substituted for GitHub authority
`repo.pr_request` closure now parses exact typed request ownership,
antecedents, receipt chain, PR packet, and authority seals inside external
governance. Bifrost/GitHub and Maintainer remain consequence owners; the
request grants no PR, push, merge, publication, sync, Hands, lifecycle, or
cross-body authority. The class-level guard prevents substring fallback.
Eleven high-authority closure families are now typed; 620 substring assertions
remain in the measured closure region.
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

@ -299,6 +299,11 @@ external string values retain the `/latest` storage spelling.
Regression test `bifrost_mirrors_name_arrival_order_without_rewriting_storage_keys`
guards honest Rust vocabulary and the seven stable persisted keys together.
PR-request closure is now typed within external governance and protected by the
class no-substring guard. Current count: eleven typed high-authority families
and 620 remaining closure substring assertions. Add the explicit malicious PR
grant fixture next so semantic evidence matches the other external contracts.
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