Skip to content

chore(deps): bump AdCP 3.0.6 → 3.0.7 (closes #1586) - #1595

Merged
bokelley merged 1 commit into
mainfrom
bokelley/bump-adcp-3.0.7
May 8, 2026
Merged

bokelley merged 1 commit into
mainfrom
bokelley/bump-adcp-3.0.7

Conversation

@bokelley

@bokelley bokelley commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Verification

  • `npm run sync-schemas` — pulled the 3.0.7 protocol bundle (cosign-verified).
  • `compliance/cache/3.0.7/protocols/media-buy/scenarios/measurement_terms_rejected.yaml` — confirmed both create-media-buy steps now use `$generate:uuid_v4#measurement_terms_rejected_{aggressive,relaxed}_terms`.
  • `npm run sync-version` — `COMPATIBLE_ADCP_VERSIONS` extended with `'3.0.7'` for editor autocomplete on the `adcpVersion` constructor option.
  • `npm run generate-types` — regenerated `core.generated.ts`, `manifest.generated.ts`, `entity-hydration.generated.ts`, `wire-spec-fields.generated.ts`. Diff is purely cosmetic (version + timestamp); functional schema content matches 3.0.6.

Test plan

Refs

🤖 Generated with Claude Code

Pulls in two upstream patch changes:

  - adcontextprotocol/adcp#4218 — `media_buy_seller/measurement_terms_rejected`
    storyboard now uses `$generate:uuid_v4#…` aliases on both `create_media_buy`
    steps. Combined with runner-side dynamic `start_time` substitution, the
    prior hardcoded `idempotency_key` literals produced same-key + different-
    body across runs, arming the spec-mandated `IDEMPOTENCY_CONFLICT` against
    long-running seller deployments. Closes adcp-client#1586.

  - Docs-only `list_creatives` filtering type column refinement
    (`accounts: AccountRef[]`, `format_ids: FormatID[]`,
    `statuses: CreativeStatus`). No schema or wire-format change.

`COMPATIBLE_ADCP_VERSIONS` extended for autocomplete. Generated types
regenerated; the schema cache content is functionally identical to 3.0.6
(this release was docs + storyboard fix only). 569/569 focused tests
green; 2745/2745 schema-validation and drift tests green.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@bokelley
bokelley merged commit e772ac2 into main May 8, 2026
6 of 7 checks passed
@bokelley
bokelley deleted the bokelley/bump-adcp-3.0.7 branch May 8, 2026 13:13
bokelley added a commit that referenced this pull request May 8, 2026
AdCP 3.0.7 (#1595) landed adcp#4088, fixing proposal_id chaining in
proposal_finalize.yaml. get_products_refine now passes — and the
cascade-skip that hid create_media_buy is gone, exposing a real
adapter bug: create_media_buy's response doesn't satisfy the 3.0.7
create-media-buy-response.json schema.

Allowlist retargeted to mask create_media_buy until the adapter is
fixed (tracked at #1600). Unblocks main CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request May 8, 2026
#1599)

AdCP 3.0.7 (#1595) landed adcp#4088, fixing proposal_id chaining in
proposal_finalize.yaml. get_products_refine now passes — and the
cascade-skip that hid create_media_buy is gone, exposing a real
adapter bug: create_media_buy's response doesn't satisfy the 3.0.7
create-media-buy-response.json schema.

Allowlist retargeted to mask create_media_buy until the adapter is
fixed (tracked at #1600). Unblocks main CI.

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
@github-actions github-actions Bot mentioned this pull request May 8, 2026
bokelley added a commit that referenced this pull request May 8, 2026
Two CI fixes for #1596:

1. CodeQL flagged the new `/task .* not found/i` regex as polynomial
   on uncontrolled error strings. Bound the task-id segment with
   `\S{1,128}` so the match is linear-time regardless of input.

2. The `proposal_finalize` storyboard's `EXPECTED_FAILURES` allowlist
   was stale after the AdCP 3.0.7 schema bump (#1595, e772ac2)
   landed adcp#4088. With the proposal lifecycle now chained end-to-
   end, `get_products_refine` passes — drop it. The newly-reachable
   `accept_proposal/create_media_buy` step fails with
   `ACCOUNT_NOT_FOUND` (storyboard sends `account: { brand, operator,
   sandbox }` without an `account_id`; mock-server's lookup in
   proposal mode returns NOT_FOUND); add it to the allowlist with a
   pointer to adcp-client#1602 for triage.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request May 8, 2026
…1600)

After AdCP 3.0.7 (#1595) landed adcp#4088, the proposal_finalize
storyboard runs end-to-end through accept_proposal for the first
time. The runner's create_media_buy enricher in request-builder.ts
was unaware of the proposal-mode request shape — it always returned
{ account, brand, start_time, end_time, packages } even when the
storyboard's sample_request carried `proposal_id: "$context.proposal_id"`.

Two failures fell out:

1. Schema rejection. AdCP 3.0.7's create-media-buy-request.json
   declares `dependencies.proposal_id: ["total_budget"]` and
   disallows `packages` alongside `proposal_id`. Synthesising
   packages with the proposal_id elided made the request fail
   validation against the buyer-side strict gate.

2. Account resolution. create_media_buy is in
   FIXTURE_AWARE_ENRICHERS, so the enricher's output is used
   verbatim and the fixture's account does not flow through the
   generic merge. The non-proposal path always replaces account
   with resolveAccount(options) (default brand `test.example`);
   proposal-mode storyboards author a non-default brand
   (`acmeoutdoor.example`) that the adapter resolved end-to-end
   through brief/refine/finalize, so the override produced
   ACCOUNT_NOT_FOUND at the accept step.

The enricher now detects proposal-mode (either
step.sample_request.proposal_id resolving via $context.* or
context.proposal_id set directly) and returns the fixture spread
(with total_budget and other proposal-mode-required fields
preserved) plus the harness-normalised start_time / end_time and
proposal_id. account and brand prefer the fixture when supplied so
non-default brands survive to the wire; otherwise the same
context.account ?? resolveAccount(options) fallback applies.

hello_seller_adapter_proposal_mode regression coverage updated:
EXPECTED_FAILURES cleared (both get_products_refine — fixed by
adcp#4088 — and create_media_buy — fixed here). expectedRoutes
extended with POST /v1/orders and POST /v1/orders/{id}/lineitems
so the façade gate now asserts the full proposal lifecycle reaches
the upstream's order endpoints.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
bokelley added a commit that referenced this pull request May 8, 2026
…1600) (#1603)

After AdCP 3.0.7 (#1595) landed adcp#4088, the proposal_finalize
storyboard runs end-to-end through accept_proposal for the first
time. The runner's create_media_buy enricher in request-builder.ts
was unaware of the proposal-mode request shape — it always returned
{ account, brand, start_time, end_time, packages } even when the
storyboard's sample_request carried `proposal_id: "$context.proposal_id"`.

Two failures fell out:

1. Schema rejection. AdCP 3.0.7's create-media-buy-request.json
   declares `dependencies.proposal_id: ["total_budget"]` and
   disallows `packages` alongside `proposal_id`. Synthesising
   packages with the proposal_id elided made the request fail
   validation against the buyer-side strict gate.

2. Account resolution. create_media_buy is in
   FIXTURE_AWARE_ENRICHERS, so the enricher's output is used
   verbatim and the fixture's account does not flow through the
   generic merge. The non-proposal path always replaces account
   with resolveAccount(options) (default brand `test.example`);
   proposal-mode storyboards author a non-default brand
   (`acmeoutdoor.example`) that the adapter resolved end-to-end
   through brief/refine/finalize, so the override produced
   ACCOUNT_NOT_FOUND at the accept step.

The enricher now detects proposal-mode (either
step.sample_request.proposal_id resolving via $context.* or
context.proposal_id set directly) and returns the fixture spread
(with total_budget and other proposal-mode-required fields
preserved) plus the harness-normalised start_time / end_time and
proposal_id. account and brand prefer the fixture when supplied so
non-default brands survive to the wire; otherwise the same
context.account ?? resolveAccount(options) fallback applies.

hello_seller_adapter_proposal_mode regression coverage updated:
EXPECTED_FAILURES cleared (both get_products_refine — fixed by
adcp#4088 — and create_media_buy — fixed here). expectedRoutes
extended with POST /v1/orders and POST /v1/orders/{id}/lineitems
so the façade gate now asserts the full proposal lifecycle reaches
the upstream's order endpoints.

Co-authored-by: Claude Opus 4.7 (1M context) <[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.

storyboard: media_buy_seller/measurement_terms_rejected/create_media_buy_relaxed_terms reuses idempotency_key, hits spec-required IDEMPOTENCY_CONFLICT

1 participant