Repository navigation
fix(compliance): scope creative_features_idempotency to get_creative_features agents - #7728
Merged
Merged
Conversation
…features agents required_tools is the any-of applicability gate. Listing get_adcp_capabilities, get_task_status, and comply_test_controller selected the scenario for every creative agent, and agents without get_creative_features failed at governance.creative_features discovery. List only get_creative_features; assertions are unchanged. Fixes #7723 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Contributor
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean compliance-scenario applicability fix.
This PR narrows creative_features_idempotency's required_tools to only get_creative_features (the tool that actually gates the scenario) instead of the broader any-of list of universally-advertised tools that was over-selecting it. Two files changed (+12/−3): the scenario YAML and a correctly-typed patch changeset.
Checks performed:
- Any-of semantics verified against storyboard-schema.yaml and the runner check; step execution is unaffected (runner injects get_adcp_capabilities; no lint requires step tasks in required_tools).
- Changeset scope and type correct —
patchfor a non-breaking compliance-asset applicability narrowing; no wire-shape, schema↔docs, oneOf, or immutable-artifact concerns. - No
static/schemas/source/**ordist/**edits; no released-artifact mutation. - No breaking-class change; not a governance-policy decision.
No blocking or medium findings. gated_paths is false, high_risk is false, no no-auto-approve team match, first review. No decision-table trigger fires → row 9 approve.
bokelley
deleted the
fix/creative-features-idempotency-applicability
branch
September 29, 2026 13:09
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7723
Summary
creative/get_creative_features_idempotency(added in #7612) has failed on the training agent's/creative,/creative-builder, and/salestenants since it merged. CI stayed green only because of the tenant floors.Root cause
The storyboard's applicability was wrong; the training agent's capability declaration was not the problem. None of those tenants exposes
get_creative_featuresas a tool (the training agent only calls the handler internally for sync_creatives provenance checks).required_toolsis an any-of gate ("tools that make this storyboard applicable, at least one must be present"). The scenario listedget_adcp_capabilities,get_task_status, andcomply_test_controller, which every agent advertises, so it was selected for every creative agent. Its first step then requiredgovernance.creative_features, which only a creative governance provider declares, and the rest skipped asmissing_tool. Any third-party creative agent without feature evaluation would fail the same way.get_creative_featuresis a governance-protocol task, and the scenario's owninteraction_modeliscreative_governance_provider.Fix
required_toolsnow lists onlyget_creative_features. A single-tool family goes inrequired_tools, perstoryboard-schema.yaml. The steps still call the other tools, and no assertion changed.Storyboard results
npm run build:compliance, then for each tenant:TENANT_PATH=<tenant> PUBLIC_TEST_AGENT_TOKEN=storyboard-local-token ADCP_COMPLIANCE_DIR=dist/compliance/latest ADCP_SCHEMA_ROOT=dist/schemas/latest npx tsx server/tests/manual/run-storyboards.ts --storyboard-id creative/get_creative_features_idempotencyget_creative_features)Each tenant loses 2 passing steps. The latest main run shows plenty of floor headroom: /creative 237 vs 209, /creative-builder 226 vs 184, /sales 988 vs 632.
Testing
node --test tests/sdk-runner-capability-gates.test.cjs tests/lint-storyboard-*.test.cjs tests/governance-storyboard-routing.test.cjs(14 files): 211/211 pass.--no-verify. The local pre-commit server suite had 9 failures intests/unit/addie/fixed-trace-*because those tests assert a worktree-localnode_modulespath, and in this sandboxnode_modulesis a symlink. It also had one OOM-killed worker. This PR changes no TypeScript.node scripts/check-changeset-protocol-scope.cjs origin/mainandchangeset status --since=origin/main: pass.Follow-up
The training agent has no creative-governance tenant that serves
get_creative_featureswith keyed replay andforce_get_creative_features_arm, so nothing exercises this scenario end to end on the reference agent. That is a feature gap (tracked in #7723), not a conformance defect.🤖 Generated with Claude Code