Skip to content

fix(compliance): backport #7600 governance_setup removal to 3.1.x - #7627

Merged
bokelley merged 2 commits into
3.1.xfrom
backport/3.1.x-remove-governance-setup
Sep 23, 2026
Merged

bokelley merged 2 commits into
3.1.xfrom
backport/3.1.x-remove-governance-setup

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • remove governance registration from the 3.1 base media-buy lifecycle and three ungoverned seller specialisms
  • isolate each storyboard on a consistent account natural key
  • backport the fix(compliance): isolate ungoverned account scenarios #7600 regression coverage while retaining the 3.1-only format-discovery phase

This is stacked on #7625 because both backports extend tests/governance-storyboard-routing.test.cjs. Retarget this PR to 3.1.x after #7625 merges.

Validation

  • node --test tests/governance-storyboard-routing.test.cjs (5/5 passing)
  • all four target YAML files parse
  • semantic audit: zero sync_governance, governance_setup, or governance_agent_url in the four target storyboards
  • account audit: base lifecycle 6/6 refs, generative 8/8 refs, broadcast 6/6 refs, catalog 10/10 refs use their expected isolated operator
  • node scripts/check-changeset-protocol-scope.cjs backport/3.1.x-governance-capability
  • git diff --check

Closes #7585

@bokelley
bokelley requested a review from a team as a code owner September 21, 2026 02:00
@bokelley bokelley mentioned this pull request Sep 21, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve

No blocking findings. The reviewer found the PR clean: the governance_setup/sync_governance removal from the base media-buy lifecycle and three ungoverned specialisms is deliberate and documented; account natural keys are isolated per storyboard and internally consistent (verified against the runner's matcher), and the change closes a latent base mismatch where media-buy provisioned a non-sandbox account while create_media_buy referenced sandbox:true. broadcast-tv's new fixtures.accounts is an auto-seeded provisioning mechanism, and three new tests guard operator isolation plus provisioned-vs-referenced key match.

Decision-table walk: no critical/high/medium findings (rows 1, 4–8 don't fire); gated_paths is false (row 2 n/a); high_risk is false with no deletions in sensitive paths (rows 3, 5 n/a); no prior decision (row 6 n/a); no no-auto-approve team match (row 7 n/a). Falls through to row 9 → approve.

Copy link
Copy Markdown
Contributor Author

@adcontextprotocol/maintainers — this is intentionally stacked on #7625 because both extend the same regression test. Please review after #7625; once that lands, retarget this PR to 3.1.x, rerun exact-head CI, and require human approval before merge.

@bokelley

Copy link
Copy Markdown
Contributor Author

Issue #7628 proposes removing sync_governance from the sales-guaranteed and sales-non-guaranteed storyboards on 3.1.x — same surface as this PR (same YAML layer, same governance-binding defect, same test file tests/governance-storyboard-routing.test.cjs); consider folding before merge or confirm follow-up.


Generated by Claude Code

Base automatically changed from backport/3.1.x-governance-capability to 3.1.x September 23, 2026 14:39
@bokelley
bokelley merged commit b23175a into 3.1.x Sep 23, 2026
5 checks passed
@bokelley
bokelley deleted the backport/3.1.x-remove-governance-setup branch September 23, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant