Skip to content

fix(compliance): backport provenance requires_tool gates to 3.1.x - #7646

Merged
bokelley merged 2 commits into
adcontextprotocol:3.1.xfrom
idemidenko:backport/3.1.x-provenance-requires-tool
Sep 23, 2026
Merged

bokelley merged 2 commits into
adcontextprotocol:3.1.xfrom
idemidenko:backport/3.1.x-provenance-requires-tool

Conversation

@idemidenko

Copy link
Copy Markdown

Summary

Cherry-pick of #7599 (17f0921) onto 3.1.x, as offered in #7586 (comment).

  • gate the sync_creatives steps of the three provenance storyboards on requires_tool: sync_creatives, so sellers without a creative library are not graded partial on the creative track
  • add the provenance-tool-gates regression test
  • the package.json version bump from the original commit is dropped; the release PR owns the 3.1.x version

Hosted grading still runs the 3.1 bundle (adcp_version: 3.1.20 on our latest authoritative run), so #7599 has no effect on any hosted verdict until it reaches this line. The pending 3.1.x release PR (#7559) does not include it.

Validation

  • node --test tests/provenance-tool-gates.test.cjs
  • node scripts/check-changeset-protocol-scope.cjs origin/3.1.x
  • git diff --check

Refs #7586, #7599

https://claude.ai/code/session_01EhqPiLqfuPcPa15YGbUtpz

@aao-ipr-bot

aao-ipr-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown

IPR Policy Agreement Required

@idemidenko — thanks for the contribution. Before this PR can be merged, the AgenticAdvertising.Org IPR Policy requires your agreement.

To agree, post a new comment on this PR with the exact phrase:

I have read the IPR Policy

Your signature is recorded once and covers all contributions to AAO repositories. See signatures/README.md for what gets recorded and why.

@idemidenko

Copy link
Copy Markdown
Author

I have read the IPR Policy

@aao-ipr-bot

aao-ipr-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown

IPR Policy — signed

Thanks, @idemidenko. Your agreement to the IPR Policy is recorded at signatures/ipr-signatures.json and applies to all AAO repositories.

aao-ipr-bot Bot pushed a commit that referenced this pull request Sep 22, 2026
@bokelley
bokelley marked this pull request as ready for review September 23, 2026 14:27
@bokelley
bokelley requested a review from a team as a code owner September 23, 2026 14:27
@bokelley
bokelley requested review from EmmaLouise2018 and bmilekic and removed request for a team September 23, 2026 14:27

@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 backport of #7599 onto the 3.1.x maintenance branch. Adds requires_tool gates to the creative-library and test-controller steps of the three provenance storyboards so hosted grading skips (rather than fails) sellers that do not advertise sync_creatives or comply_test_controller. Reviewer verified the field is consumed (build-schemas.cjs:903 + SDK runner), regression test counts are exact (8 sync_creatives, 2 comply_test_controller, all tagged), cascade semantics hold, and the patch-scoped changeset is correct.

No Critical/High/Medium findings. high_risk false, gated_paths false, no author team gate. Falls through to row 9.

@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 — additive compliance metadata, no blocking findings.

This subsequent pass adds requires_tool: step gating to three provenance scenarios (8 sync_creatives + 2 comply_test_controller steps) plus a completeness test. The change is additive metadata consistent with the existing gating mechanism (scripts/build-schemas.cjs:903), which excludes gated steps from a specialism's exercised-tool surface (the P0 fix for #7586). Changeset is correctly scoped to patch.

Checked against the decision table:

  • No critical/high findings (rows 1, skipped).
  • gated_paths is false, and review_decision is APPROVED anyway (row 2 N/A).
  • high_risk is false — no deleted/modified high-risk paths (rows 3, 5 N/A).
  • No medium findings, so no data-loss/schema/infra escalation (row 4 N/A).
  • Prior decision was already approve, not escalate (row 6 N/A).
  • No no-auto-approve team match (row 7 N/A).
  • Zero medium findings — fewer than three (row 8 N/A).

Falls through to row 9 → approve. Prior run was clean and this delta remains clean.

@bokelley
bokelley merged commit cf424a5 into adcontextprotocol:3.1.x Sep 23, 2026
10 checks passed
@idemidenko
idemidenko deleted the backport/3.1.x-provenance-requires-tool branch September 24, 2026 09:23
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.

2 participants