Repository navigation
Conversation
webhook-emission storyboard - split the primary trigger into its own phase - assert no task webhook when create_media_buy completes inline - skip emitted-webhook and signing-key phases on a sync trigger - keep grading the signing JWKS when webhook_signing.supported is declared - bump storyboard to 1.5.0 tests - cover sync, sync-with-webhook, declared-signing and submitted sellers - document the working-envelope media_buy_id misclassification - drive trigger-binding tests with a submitted seller
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — spec-backed webhook-emission fix with correct changeset and tests.
What I checked:
- Change skips webhook phases for synchronous terminal
create_media_buyresponses. Reviewer confirms this is spec-backed: webhooks.mdx:178-180 states a synchronous terminal response owes no webhook,expect_no_webhook/unexpected_webhook_receivedis an established runner task (base YAML:601), and thesigning_keys_published_declaredcarve-out gated onwebhook_signing.supportedcorrectly backstops webhook-advertising sellers. - Changeset present (patch), appropriate for a compliance-universal bug fix on
main. Nodist/**modifications, no schema changes, nooneOfchanges — immutability, schema↔docs coherence, and discriminator gates all clear. - Tests exercise the real SDK runner across sync/sync_emit/submitted/working shapes and pin the documented limitation.
- No Breaking-class change; this is a bug fix, not a protocol-policy decision requiring new governance ratification.
Medium findings (1 — non-blocking):
static/compliance/source/universal/webhook-emission.yaml:325— Sync classification keys onmedia_buy_idpresence rather than terminal status, which can false-fail a schema-validworking+media_buy_idseller. Narrow, already documented by the author (adcp-client#3682).
Decision path: No critical/high findings (row 1 N/A). gated_paths false (row 2 N/A). high_risk false (rows 3,5 N/A). The single medium is category spec-logic, not data-loss/schema/infra (row 4 N/A). No prior escalation (row 6 N/A). No no-auto-approve team match (row 7 N/A). Only 1 medium finding, below the 3-medium threshold (row 8 N/A). Falls through to row 9 → approve. (review_decision REVIEW_REQUIRED does not force comment/escalate when gated_paths is false.)
Medium findings
- static/compliance/source/universal/webhook-emission.yaml:325 — Sync classification keys on media_buy_id, not terminal status; false-fails working+media_buy_id sellers
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — compliance storyboard fix for skipping webhook phases on sync create_media_buy.
No blocking findings. 3 files, +335/-18: changeset present and correctly scoped (static/compliance/source/** is published surface; storyboard bumped 1.4.2→1.5.0 as a patch). This is a compliance storyboard, not a wire schema — no schema↔docs coherence, oneOf discriminator, or dist-immutability concerns apply. Classification carve-outs are coherent (signing_keys_published_declared gated on both !media_buy_id and webhook_signing.supported; emitted-webhook phases skip_if media_buy_id). Test plan is thorough: 20/20 through the real SDK runner with loopback receiver across all buy modes plus training-agent smoke and lints.
Medium findings
- static/compliance/source/universal/webhook-emission.yaml:336 — Sync classification keys on media_buy_id, not terminal status; false-fails working+media_buy_id sellers. Re-surfaced from the prior pass; now exhaustively documented and tracked in adcp-client#3682 as an acknowledged, non-blocking trade-off.
Decision table: no critical/high (row 1 n/a), gated_paths false (row 2 n/a), not high-risk (rows 3/5 n/a), the single medium is not data-loss/schema/infra category (row 4 n/a), prior decision was approve not escalate (row 6 n/a), no team gate (row 7 n/a), only 1 medium finding (row 8 n/a) → row 9 approve.
Medium findings
- static/compliance/source/universal/webhook-emission.yaml:336 — Sync classification keys on media_buy_id, not terminal status; false-fails working+media_buy_id sellers
…backport of #8894) (#9127) webhook_emission failed polling-only sellers whose create_media_buy returns the media buy inline. The spec says a synchronous completion sends no webhook, even when push_notification_config is present (webhooks.mdx "When webhooks fire", #5389), so such a seller failed expect_webhook_presence and the signing-key precheck. When the primary create_media_buy trigger returns the media buy inline, the storyboard now asserts that no task webhook arrives and skips the emitted-webhook phases. Triggers that return submitted, or working without a media_buy_id, are still graded on signed webhooks. A synchronous seller that declares webhook_signing.supported: true is still graded on its JWKS (signing_keys_published_declared). Adapted to 3.1.x: - The storyboard hunks are main's verbatim. Its version moves 1.3.1 -> 1.3.2: main's 1.4.x/1.5.0 include the wholesale get_products silence step (#6539), which 3.1 does not carry. - expect_no_webhook is new to the 3.1 storyboards, so its task entry is added to universal/storyboard-schema.yaml as main documents it. - 3.1.x pins @adcp/sdk 9.6.2, whose runner ignores context.* skip_if. The full-run tests are skipped under it; the structural gating test runs everywhere. They pass under 17.0.0-beta.29 (hosted grading) and 16.7.2. 3.1's wholesale get_products branch is not capability-gated, so the fake agent echoes context for it. Refs #8771 (cherry picked from commit 7ec4059) Co-authored-by: Claude Opus 5.5 <[email protected]>
…16 (#3683) (#3755) Backport of #3683. The storyboard runner recorded context.media_buy_id and media_buy_status from any create_media_buy or update_media_buy response, including interim task envelopes (submitted, working, input-required). A schema-valid working envelope can carry media_buy_id, so storyboards that gate on context.media_buy_id, such as webhook_emission's synchronous-trigger check (adcontextprotocol/adcp#8894), classified an asynchronous seller as synchronous. Interim envelopes now contribute nothing to context; any other response extracts as before. 16.x's context.ts and context-extractors test were identical to main's, so this is a clean cherry-pick. Closes #3682 (cherry picked from commit 2995c6e) Co-authored-by: Synaeve <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
…backport of #8894) (#9128) webhook_emission failed polling-only sellers whose create_media_buy returns the media buy inline. The spec says a synchronous completion sends no webhook, even when push_notification_config is present (webhooks.mdx "When webhooks fire", #5389), so such a seller failed expect_webhook_presence and the signing-key precheck. When the primary create_media_buy trigger returns the media buy inline, the storyboard now asserts that no task webhook arrives and skips the emitted-webhook phases. Triggers that return submitted, or working without a media_buy_id, are still graded on signed webhooks. A synchronous seller that declares webhook_signing.supported: true is still graded on its JWKS (signing_keys_published_declared). 3.2.x's storyboard and test were identical to main's before #8894, so this is a clean cherry-pick with no adaptation. Refs #8771 (cherry picked from commit 7ec4059) Co-authored-by: Claude Opus 5.5 <[email protected]>
Adds 3.1.34 to static/compliance/published-versions.json (registerPublishedVersion) so hosted 3.1 resolves to the release carrying the webhook_emission synchronous-create_media_buy fix (#8894, 3.1.x backport #9127). Raises the stale hosted 3.1 alias floor in server/tests/unit/storyboards.test.ts from 3.1.30 to 3.1.34. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sion grading (#9132) * chore(deps): bump @adcp/sdk to 17.0.0-beta.31 for hosted webhook_emission grading Hosted compliance grades every line (3.0, 3.1, 3.2, 3.3) with the server's single pinned @adcp/sdk. 17.0.0-beta.31 carries adcontextprotocol/adcp-client#3683: the storyboard runner no longer records context.media_buy_id from an interim create_media_buy or update_media_buy envelope. With beta.29, a seller whose create_media_buy returns `working` with a media_buy_id is classified as synchronous by webhook_emission (#8894 and its 3.1.x/3.2.x backports) and its completion webhook fails synchronous_trigger_silence. - package.json / package-lock.json: 17.0.0-beta.29 -> 17.0.0-beta.31. beta.31 bundles the same AdCP releases as beta.29 (3.3.0-rc.0, 3.2.8, 3.1.31, 3.0.25); beta.30 adds reporting package-coverage changes. - tests/webhook-emission-storyboard.test.cjs: the test that pinned the misclassification now asserts the working seller is graded on its webhooks (silence skipped, idempotency_key_presence runs). - Choose your SDK, Versions and the creative33 sandbox note name the installed SDK (tests/sdk-runtime-compat requires it). Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(sdk-conformance): record the beta.31 TypeScript capture The SDK response regression check compares the recorded SDK version in known-findings.json; CI showed it was the only difference after the bump. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
Brings the published 3.1.34 release records to main. Resolved: - package.json, package-lock.json, static/schemas/source/index.json: main's. - CHANGELOG.md: main's plus the 3.1.34 block (forward-merge-release-records.cjs changelog). - dist/schemas/index.json, latest.json: 3.1.x's, regenerated in the next commit. - static/compliance/source/universal/webhook-emission.yaml and tests/webhook-emission-storyboard.test.cjs: main's. adcontextprotocol#9127 is the 3.1 adaptation of adcontextprotocol#8894, which main already carries in its 3.3 form. - docs/building/by-layer/L0/a2a-guide.mdx and docs/creative/canonical-formats-migration.mdx: main's. adcontextprotocol#8979 brought 3.1.x's docs to the agent-card.json path main already uses. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings the published 3.2.12 release records to main. Resolved: - package.json, package-lock.json, static/schemas/source/index.json: main's. - static/compliance/published-versions.json: main's in this merge; the registration commit adds 3.1.34 and 3.2.12 after qualification. - CHANGELOG.md: main's plus the 3.2.12 block (forward-merge-release-records.cjs changelog). - dist/schemas/index.json, latest.json: 3.2.x's, regenerated in the next commit. - docs/governance/campaign/audit-trail.mdx and tasks/sync_plans.mdx: main's. adcontextprotocol#8980 is the 3.2 backport of adcontextprotocol#8931, which main carries in full. - tests/addie/compliance-validate-input-gates.test.ts: reverted to main's. adcontextprotocol#9000's 30 s timeout is 3.2.x-only; main caches the storyboard lookup (adcontextprotocol#8507). adcontextprotocol#9128 (3.2.x backport of adcontextprotocol#8894) auto-merged with no net change: 3.2.x's webhook-emission files equal main's. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds 3.2.12 to static/compliance/published-versions.json (registerPublishedVersion) so hosted 3.2 resolves to the release carrying the webhook_emission synchronous-create_media_buy fix (adcontextprotocol#8894, 3.2.x backport adcontextprotocol#9128). Raises the hosted 3.2 alias floor in server/tests/unit/storyboards.test.ts from 3.2.11 to 3.2.12. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
webhook_emissionfailed polling-only sellers whosecreate_media_buyreturns the media buy inline. The spec says a synchronous completion sends no webhook, even whenpush_notification_configis present (webhooks.mdx "When webhooks fire", #5389). Such a seller failedexpect_webhook_presenceand the signing-key precheck. The storyboard now reads the primary trigger's response and grades accordingly.Changes
create_media_buytrigger into its own phase.media_buy_id(an inline terminal result), assert that no matching task webhook arrives within 5 s (expect_no_webhook, as test(compliance): enforce sync webhook silence #6539 does forget_products).idempotency_key_presence,operation_id_echo,idempotency_replay_side_effects,idempotency_key_stability,signing_keys_published,signature_validity) withskip_if: "context.media_buy_id".submittedtriggers, andworkingtriggers without amedia_buy_id, are graded as before.webhook_signing.supported: trueis still graded on its JWKS (signing_keys_published_declared), so sellers with other webhook surfaces keep that coverage.pass_criteriadescribe the sync exemption and the declared-signing carve-out. The silence phase describes theworking+media_buy_idmisclassification as a runner limitation, not a seller obligation.Known limitation
The SDK's
create_media_buycontext extractor recordsmedia_buy_idfrom interim envelopes too, so aworkingresponse carrying one is classified as sync (a test pins this). Filed as adcontextprotocol/adcp-client#3682, which would also let skipped phases gradenot_applicablerather thanpassedwith zero steps.Not in this PR
not_applicablewith atrigger_completed_synchronouslyreason): needs the runner change in Storyboard runner: create_media_buy context extractor records media_buy_id from interim task envelopes adcp-client#3682.create_media_buyrejection branch for sellers that refusepush_notification_config).Testing
node --test tests/webhook-emission-storyboard.test.cjs: 20/20, through the real SDK runner with a loopback receiver: sync seller, sync seller that still sends a webhook, sync seller declaring webhook signing (JWKS graded) and not declaring it, submitted seller, working envelope carryingmedia_buy_id. The new tests fail on the old storyboard.test:storyboard-*suites pass; the storyboard lints inbuild-compliance.cjs --checkpass.create_media_buyfailures are gone and the silence check passes.Refs #8771
🤖 Generated with Claude Code