Skip to content

fix(compliance): gate provenance steps by optional tools - #7599

Merged
bokelley merged 1 commit into
mainfrom
rabat-v19
Sep 19, 2026
Merged

bokelley merged 1 commit into
mainfrom
rabat-v19

Conversation

@bokelley

@bokelley bokelley commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Refs #7586

Marks provenance creative-library steps with requires_tool: sync_creatives and controller gates with requires_tool: comply_test_controller, preventing hosted grading from charging sellers for optional surfaces they do not advertise. Adds a regression test covering all provenance scenarios.

Expert review: protocol, code, and test reviewers found this slice ready.

Validation:

  • npm run test:governance-task-slices
  • npm run test:storyboard-sample-request-schema
  • npm run test:storyboard-test-kits
  • pre-commit full server suite: 648 files / 10,844 tests passed, 31 skipped
  • TypeScript typecheck passed

Open workspace in Conductor

@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 — clean diff, no findings.

Checked:

  • Adds requires_tool gating to 8 sync_creatives and 2 comply_test_controller steps across three provenance storyboards so hosted grading skips (rather than fails) sellers that don't advertise those optional surfaces. Non-breaking, correctly scoped compliance-asset change.
  • Changeset present (.changeset/fix-p0-compliance-applicability.md) and typed patch — appropriate for a non-breaking gating clarification. No hand-edited package.json version (only the Changeset-managed bump).
  • New test tests/provenance-tool-gates.test.cjs hardcodes exact step counts (8/2) as a ratchet and matches the diff.
  • No static/schemas/source/** changes, so schema↔docs coherence and oneOf discriminator checks are not implicated. No dist/** released-artifact edits. Not a breaking-class change.

Gate check: gated_paths is false; high_risk is false; no no-auto-approve team match. review_decision is REVIEW_REQUIRED but no path or prose hard gate applies, so row 2 does not fire. No prior decision. Zero findings → falls through to row 9.

@bokelley
bokelley enabled auto-merge (squash) September 19, 2026 15:35
@bokelley
bokelley merged commit 17f0921 into main Sep 19, 2026
57 checks passed
@bokelley
bokelley deleted the rabat-v19 branch September 19, 2026 15:37
bokelley added a commit that referenced this pull request Sep 23, 2026
)

* fix(compliance): gate provenance steps by optional tools (#7599)

(cherry picked from commit 17f0921)
Claude-Session: https://claude.ai/code/session_01EhqPiLqfuPcPa15YGbUtpz

* ci: run checks after review readiness

---------

Co-authored-by: Brian O'Kelley <[email protected]>
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