Repository navigation
fix(compliance): gate 3.1 governance scenarios by capability - #7625
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve.
Clean backport gating the governance_approved and governance_conditions storyboards on media_buy.governance_aware, matching the gate already present on the denied scenarios at base. Reviewer verified the requires_capability shape matches the documented matcher, the capability exists in the capabilities schema (default false), the changeset patch scope is correct, and the routing test asserts the gate for both scenarios.
No blocking or Medium findings. One Low follow-up (non-blocking): the governance_aware capability description now undercounts the storyboards it gates.
Decision table: no critical/high (row 1 n/a), gated_paths false (row 2 n/a), high_risk false (rows 3/5 n/a), no medium findings (rows 4/8 n/a), no team gate (row 7 n/a), no prior decision (row 6 n/a) — falls through to row 9: approve.
|
@adcontextprotocol/maintainers — stable-line backport is focused, CI is green, and the regression test plus changeset scope check pass. Please provide exact-head human review before merge; automated approval is not the final gate. |
|
Verified end-to-end against a live seller that declares Both behave as intended: Same output for Three things this confirms:
For this seller the practical effect is two storyboards leaving the denominator: on the hosted card today both read 2/5 partial, and under this PR both become not-applicable. That's the right result — the seller declares One scoping note so the two don't get conflated: this covers the two scenarios #7547 names. The base |
Summary
media_buy.governance_awareValidation
node --test tests/governance-storyboard-routing.test.cjsnode scripts/check-changeset-protocol-scope.cjs origin/3.1.xgit diff --checkCloses #7584