Repository navigation
Minimal Foundry
PASS_WITH_CONDITIONS
Baseline. This re-reviews 8a505ad2 against the PASS_WITH_CONDITIONS ruling on 90885ea2 (this PR), on arch checkout 109541a4. The checkout has no arch-map.md, so I started from Gatehouse §6.10 lines 849 and 842, as the baseline did. No findings.json was staged. I checked that since.diff equals git diff 90885ea2 8a505ad2 and that pr.diff equals git diff 3f87f6dd 8a505ad2. The ruling on 90885ea2 stands for everything the compare does not touch.
Governs: Gatehouse §6.10 line 849 (redemption step 4: the sealed handle is located where the injection format says the value rides, and is substituted; the injection allowlist: exactly prefix + value, no CR/LF, one basic_auth field). Line 842 (the registration gives the injection format, and the GitHub module is the registration for a sign-in reference).
The compare. One commit changes carried() in crates/bep/src/forward.rs. Before, a second Authorization header made the request Mixed only when the sealed value was itself in Authorization. Now any Authorization header that does not hold the sealed value makes it Mixed, so a sealed key in x-api-key beside the box's own Authorization is refused as mixed_authorization. I checked the guard count > usize::from(in_authorization) for each case: sealed in Authorization alone gives Sealed, sealed in x-api-key alone gives Sealed, and either with another Authorization gives Mixed. The refusal text ("it carries a credential in more than one header") stays true for the new case. The design does not name this case. The change is fail-closed (rubric rule 7), and it keeps the upstream from receiving a credential beside the injected one. It conforms. The new test sealed_in_other_header_beside_authorization_is_mixed tests the rule it claims, in both header orders. No existing store test sends a sealed key beside an Authorization header, so none relied on the old result.
Ruling. Unchanged from the baseline. All six covered requirements conform in the forwarder. The bep serve path does not inject yet. The code names that interim at Redeemer::redeem_reference and Flow::with_store, with #2280 and a flip condition, so it is an honest interim (rule 2) and a filed residual (rule 6). The ledger copy of the baseline is truncated, so I restated its open item as C1: the PR body says Closes #2292, while the proof leg in bep serve is open (rule 4).
Not checked: I did not build or run tests. The test table in the PR body may come from an earlier head.
Conditions
- C1: In the PR body, replace
Closes #2292withPart of #2292, and state that the T28 proof holds only in the forwarder until #2280 lands theBoxRedeemer::redeem_referenceoverride (crates/bep/src/redeemer.rs) and theFlow::with_store(Arc::new(HostStore))call incrates/bep/src/proxy.rs. Alternatively, add a comment on #2280 that names both edits as the open part of T28. Redemption step 4 must run inbep servebefore BEP-032 is closed.
Ruled at 8a505ad against gominimal/arch@109541a48c31 by claude-opus-5-5; arch_rulings 324, job 48d93f67-457b-4870-a253-d66a0c18a4f4.