Skip to content

fix(compliance): drop get_adcp_capabilities from required_tools across 17 storyboards (OR-gate bug) - #6774

Merged
bokelley merged 3 commits into
mainfrom
claude/issue-6773-billing-gate-dispatch-required-tools
Aug 23, 2026
Merged

bokelley merged 3 commits into
mainfrom
claude/issue-6773-billing-gate-dispatch-required-tools

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Closes #6773

Summary

required_tools in AdCP compliance storyboards uses OR semantics: any single listed tool present on the agent satisfies the gate. Listing get_adcp_capabilities alongside a capability-specific tool (e.g. sync_accounts, build_creative, get_products) made the storyboard-level gate trivially satisfied for every conformant agent — because get_adcp_capabilities is mandatory for all conformant agents. Agents that lack the capability-specific tool would enter the storyboard and fail hard at the first capability-specific assertion instead of receiving a clean coverage_gap skip.

This PR removes get_adcp_capabilities from required_tools in all 17 affected storyboards across the universal, creative, and media-buy families. get_adcp_capabilities continues to be invoked within individual phase steps (e.g. billing_gate_dispatch/capability_discovery) — only the storyboard-level selection gate is corrected.

Non-breaking justification: Agents implementing the capability-specific tool (e.g. sync_accounts) were already admitted by the OR gate and continue to run with identical phase logic. The only behavioral change is that agents lacking the capability-specific tool now correctly receive coverage_gap skips instead of spurious failures.

Storyboards fixed (17)

Universal:

Creative scenarios (4):

  • billing_out_of_band, canonical_supported_formats, evaluator_auth, native_localization

Media-buy scenarios (11):

  • account_timezone_seller_fixed, account_timezone_buyer_selected, account_timezone_seller_assigned
  • budget_cap_timezone_account, budget_cap_timezone_fixed, budget_cap_timezone_override_rejected
  • geo_region_all_values_support, geo_region_targeting, geo_region_exclusion_support, geo_place_targeting
  • portfolio_routing_scope

Backport note

billing_gate_dispatch ships in dist/compliance/3.1.x (currently at 3.1.19). A cherry-pick to 3.1.x is warranted to fix grading for adopters on the stable line. agent_notification_configs references a 3.2 task (sync_agent_notification_configs) and must not be cherry-picked to 3.1.x.

Pre-PR review

  • ad-tech-protocol-expert: approved — fix is non-breaking, patch changeset correct, billing_gate_dispatch backport to 3.1.x confirmed eligible; agent_notification_configs is 3.2-only and should not be included in the backport
  • code-reviewer (triage pass): approved — fix is mechanically correct; found 15 additional storyboards with the same pattern; all 15 incorporated in this PR

Nit (from protocol expert, not blocking): The billing_gate_dispatch storyboard's capability_discovery phase calls get_adcp_capabilities internally but it no longer appears in required_tools. A brief comment noting this would prevent future confusion about whether the tool is exercised at all.

Triage-managed PR. This bot does not currently iterate on
review comments or PR conversation threads (only on the source
issue). To unblock:

  • Push fixup commits directly: gh pr checkout <num> →
    fix → push.
  • Or request a new first draft PR: comment /triage execute
    on the source issue only when no triage-managed PR is already
    open. Triage does not update existing PRs.

See #3121
for context.

Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh


Generated by Claude Code

claude added 2 commits August 22, 2026 18:56
…lling_gate_dispatch and agent_notification_configs

required_tools uses OR semantics in the adcp-client SDK. Listing
get_adcp_capabilities alongside a capability-specific tool made the
storyboard-level gate trivially satisfied for every conformant agent,
causing billing_gate_dispatch and agent_notification_configs to run
against agents that lack sync_accounts / sync_agent_notification_configs
and fail at the first assertion instead of receiving a clean
coverage-gap skip.

Closes #6773

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh
…ties OR-gate bug

Same pattern as billing_gate_dispatch (issue #6773): required_tools uses
OR semantics, so listing get_adcp_capabilities alongside a capability-
specific tool made the gate trivially satisfied for every conformant agent.

Affected: billing_out_of_band, canonical_supported_formats, evaluator_auth,
native_localization (creative); account_timezone_{seller_fixed,buyer_selected,
seller_assigned}, budget_cap_timezone_{account,fixed,override_rejected},
geo_{region_all_values_support,region_targeting,region_exclusion_support,
place_targeting}, portfolio_routing_scope (media-buy).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh
@bokelley bokelley added the claude-triaged Issue has been triaged by the Claude Code triage routine. Remove to re-triage. label Aug 22, 2026
@bokelley
bokelley marked this pull request as ready for review August 23, 2026 07:46

@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 — surgical, correct compliance-asset fix.

This PR drops the universal get_adcp_capabilities tool from required_tools in 17 storyboards where it was paired with a capability-specific tool. Because required_tools is lenient any-of (skip only when ALL listed tools are missing, per storyboard-schema.yaml:52), the universal tool made the coverage-gap skip unreachable — a real grading bug. The fix scope is exactly the 17 paired-tool files; the 3 storyboards where get_adcp_capabilities is the sole gate are correctly untouched.

Changeset check: a patch changeset is present and appropriate — non-breaking, no wire-shape change, no removed/renamed published field/tool/enum on the protocol surface (these are compliance scenario assets, not schema source). No dist/** artifact edits, so immutability is preserved. No schema↔docs coherence concern (no static/schemas/source/** change). Tests unaffected.

No critical/high/medium findings. gated_paths is false and high_risk is false, so rows 1–5 do not fire. No prior escalation (first review), no no-auto-approve team match. review_decision is REVIEW_REQUIRED, but with gated_paths false and no prose hard gate triggered (no breaking-class protocol change), row 2 does not apply. Falls through to row 9 — approve.

@bokelley
bokelley enabled auto-merge (squash) August 23, 2026 07:52

@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.

Checked: this PR drops the universal get_adcp_capabilities tool from required_tools across 17 compliance storyboards (4 creative, 11 media-buy, 2 universal) plus a patch changeset. Because required_tools uses OR/any-of coverage semantics and get_adcp_capabilities is mandatory for every conformant agent, listing it made each storyboard-level gate trivially satisfied — agents lacking the actual capability tool entered and hard-failed instead of receiving a clean coverage-gap skip. The fix correctly keys gates off the capability-specific tool; tests inject get_adcp_capabilities separately so they still pass.

  • No wire-shape/schema/docs/dist/oneOf surface touched; schema↔docs coherence not implicated.
  • Patch changeset is appropriate for this compliance-asset scope; no breaking wire change.
  • No high-risk paths, no gated paths (and review_decision is APPROVED regardless).
  • No author team gate.

Reviewer surfaced no critical/high/medium findings. This is consistent with the prior approve on the earlier head. Rows 1–8 do not fire; falls through to row 9 → approve.

@bokelley
bokelley merged commit a1e72ec into main Aug 23, 2026
90 checks passed
@bokelley
bokelley deleted the claude/issue-6773-billing-gate-dispatch-required-tools branch August 23, 2026 07:59
bokelley pushed a commit to EvgenyAndroid/adcp that referenced this pull request Sep 13, 2026
…lidate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (adcontextprotocol#7404). Same shape as adcontextprotocol#6774.

Refs adcontextprotocol#7404 (bug 1 only).
bokelley pushed a commit to EvgenyAndroid/adcp that referenced this pull request Sep 13, 2026
…lidate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (adcontextprotocol#7404). Same shape as adcontextprotocol#6774.

Refs adcontextprotocol#7404 (bug 1 only).

(cherry picked from commit 40c59b1)
bokelley added a commit to EvgenyAndroid/adcp that referenced this pull request Sep 13, 2026
Name only the four adcontextprotocol#6774 storyboards present on 3.1.x and keep the remaining hosted service work open.

Refs adcontextprotocol#7404 (bug 1 only).
bokelley pushed a commit to EvgenyAndroid/adcp that referenced this pull request Sep 14, 2026
…lidate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (adcontextprotocol#7404). Same shape as adcontextprotocol#6774.

Refs adcontextprotocol#7404 (bug 1 only).
bokelley pushed a commit that referenced this pull request Sep 14, 2026
…lidate_input required_tools (OR-gate) (#7405)

* fix(compliance): drop comply_test_controller from canonical_format_validate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (#7404). Same shape as #6774.

Refs #7404 (bug 1 only).

* ci: lower the governance and brand passing-step floors by one for the storyboard no longer selected

With comply_test_controller off canonical_format_validate_input's
required_tools, the /governance and /brand training tenants (which expose the
controller but not validate_input) no longer select that storyboard, and the
one step it used to contribute to their passing-step count goes away:
governance 161 -> 160, brand 116 -> 115. Clean-storyboard floors are untouched
(56/47 and 55/45 observed). Same tuples mirrored in run-storyboards-matrix.sh.

* test: mirror the lowered governance/brand passing-step floors in the ratchet guard

run-storyboards-sharding pins the same (tenant, min_clean, min_passed) tuples
a third time, so lowering a floor has to be stated there too — which is the
point of that guard. Current surface only: governance 161 -> 160, brand
116 -> 115. The 3.0-compat block is untouched because
canonical_format_validate_input is introduced_in 3.1 and is never selected in
that bundle.

---------

Co-authored-by: evgen <evgen@SCIS-TE-IPSUM>
bokelley added a commit that referenced this pull request Sep 14, 2026
…subset + canonical_format_validate_input) (#7406)

* fix(compliance): drop get_adcp_capabilities from required_tools across 17 storyboards (OR-gate bug) (#6774)

* fix(compliance): drop get_adcp_capabilities from required_tools in billing_gate_dispatch and agent_notification_configs

required_tools uses OR semantics in the adcp-client SDK. Listing
get_adcp_capabilities alongside a capability-specific tool made the
storyboard-level gate trivially satisfied for every conformant agent,
causing billing_gate_dispatch and agent_notification_configs to run
against agents that lack sync_accounts / sync_agent_notification_configs
and fail at the first assertion instead of receiving a clean
coverage-gap skip.

Closes #6773

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh

* fix(compliance): sweep remaining 15 storyboards for get_adcp_capabilities OR-gate bug

Same pattern as billing_gate_dispatch (issue #6773): required_tools uses
OR semantics, so listing get_adcp_capabilities alongside a capability-
specific tool made the gate trivially satisfied for every conformant agent.

Affected: billing_out_of_band, canonical_supported_formats, evaluator_auth,
native_localization (creative); account_timezone_{seller_fixed,buyer_selected,
seller_assigned}, budget_cap_timezone_{account,fixed,override_rejected},
geo_{region_all_values_support,region_targeting,region_exclusion_support,
place_targeting}, portfolio_routing_scope (media-buy).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh

---------

Co-authored-by: Claude <[email protected]>
(cherry picked from commit a1e72ec)

* fix(compliance): drop comply_test_controller from canonical_format_validate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (#7404). Same shape as #6774.

Refs #7404 (bug 1 only).

(cherry picked from commit 40c59b1)

* fix(compliance): correct 3.1 backport changeset scope

Name only the four #6774 storyboards present on 3.1.x and keep the remaining hosted service work open.

Refs #7404 (bug 1 only).

---------

Co-authored-by: Brian O'Kelley <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: evgen <evgen@SCIS-TE-IPSUM>
@aao-release-bot aao-release-bot Bot mentioned this pull request Sep 14, 2026
@aao-release-bot aao-release-bot Bot mentioned this pull request Sep 14, 2026
bokelley added a commit that referenced this pull request Sep 16, 2026
* fix(protocol): scope idempotency replay to mutations (#7383) (#7384)

* fix(protocol): scope idempotency replay to mutations

* fix(protocol): preserve legacy get_products key optionality

(cherry picked from commit 245108f)

* Version Packages (#7385)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(schema): backport legacy format asset variants (#7423)

* fix(tmp): backport single-user context privacy to 3.1 (#7424)

* fix(tmp): backport single-user context privacy

* fix(tmp): close expert-reviewed context privacy gaps

* fix(tmp): backport request-aware context caching to 3.1 (#7425)

* fix(tmp): backport request-aware context caching

* fix(tmp): keep context hashes out of observability

* Version Packages (#7426)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* docs(release): correct v3.1.22 Context Match record (#7451)

* fix(compliance): backport required_tools OR-gate fixes to 3.1.x (#6774 subset + canonical_format_validate_input) (#7406)

* fix(compliance): drop get_adcp_capabilities from required_tools across 17 storyboards (OR-gate bug) (#6774)

* fix(compliance): drop get_adcp_capabilities from required_tools in billing_gate_dispatch and agent_notification_configs

required_tools uses OR semantics in the adcp-client SDK. Listing
get_adcp_capabilities alongside a capability-specific tool made the
storyboard-level gate trivially satisfied for every conformant agent,
causing billing_gate_dispatch and agent_notification_configs to run
against agents that lack sync_accounts / sync_agent_notification_configs
and fail at the first assertion instead of receiving a clean
coverage-gap skip.

Closes #6773

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh

* fix(compliance): sweep remaining 15 storyboards for get_adcp_capabilities OR-gate bug

Same pattern as billing_gate_dispatch (issue #6773): required_tools uses
OR semantics, so listing get_adcp_capabilities alongside a capability-
specific tool made the gate trivially satisfied for every conformant agent.

Affected: billing_out_of_band, canonical_supported_formats, evaluator_auth,
native_localization (creative); account_timezone_{seller_fixed,buyer_selected,
seller_assigned}, budget_cap_timezone_{account,fixed,override_rejected},
geo_{region_all_values_support,region_targeting,region_exclusion_support,
place_targeting}, portfolio_routing_scope (media-buy).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Claude-Session: https://claude.ai/code/session_01M3evZsz4Y3971B5RZVxhKh

---------

Co-authored-by: Claude <[email protected]>
(cherry picked from commit a1e72ec)

* fix(compliance): drop comply_test_controller from canonical_format_validate_input required_tools (OR-gate)

The per-storyboard gate (runner.js) admits a storyboard when any listed tool
is present, while the suite selector (comply.js) requires all of them. With
comply_test_controller in the list, every agent exposing the universal test
controller was selected for this storyboard and then failed all 17 steps on
the missing validate_input — on the hosted grader, 17 spurious failures on
each of two registered agents (#7404). Same shape as #6774.

Refs #7404 (bug 1 only).

(cherry picked from commit 40c59b1)

* fix(compliance): correct 3.1 backport changeset scope

Name only the four #6774 storyboards present on 3.1.x and keep the remaining hosted service work open.

Refs #7404 (bug 1 only).

---------

Co-authored-by: Brian O'Kelley <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: evgen <evgen@SCIS-TE-IPSUM>

* Version Packages (#7486)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(compliance): backport creative format-kind assertions to 3.1.x (#7554)

* fix(compliance): backport governance storyboard routing to 3.1.x (#7555)

* fix(jobs): backport heartbeat timeout to 3.1.x (#7557)

* fix(release): preserve main schema discovery index

* fix(release): preserve main changelog history

* test(release): register forward-merged regressions

---------

Co-authored-by: aao-release-bot[bot] <280565558+aao-release-bot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ev <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: evgen <evgen@SCIS-TE-IPSUM>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-triaged Issue has been triaged by the Claude Code triage routine. Remove to re-triage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

billing_gate_dispatch: drop get_adcp_capabilities from required_tools — it defeats the OR gate against sync_accounts

2 participants