Skip to content

feat(media-buy): support creative approval startup policy - #3425

Merged
bokelley merged 1 commit into
mainfrom
fix/creative-review-start-policy-8479
Oct 25, 2026
Merged

bokelley merged 1 commit into
mainfrom
fix/creative-review-start-policy-8479

Conversation

@bokelley

@bokelley bokelley commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

A buyer can wait for seller creative review in pending_start, then need to correct a blocking rejection before delivery starts. The SDK currently rejects that pre-activation cycle and treats the new startup control as though it required a commercial change term.

This adds release-aware transition graphs shared by seller helpers and status.monotonic, plus explicit operational handling of update_creative_start_policy in buyer preflight and seller projection. Startup authority requires a current seller declaration and exact package scope. Older protocol graphs, terminal protections, browser dependency/size limits, and independent sync_creatives routing are preserved.

Companion to adcontextprotocol/adcp#8479. Protocol PR #8485 defines start_requires_all_creatives_approved, capability discovery, action routing, and package enablement semantics. This SDK change keeps the default AdCP pin at 3.2.7; the normal 3.3 schema sync supplies generated wire fields and metadata when that protocol release is cut.

Validation:

  • 771 SDK regression tests passed, one skipped, no failures across lifecycle, action, preflight, generator, export, and invariant suites.
  • Seven startup-action tests also pass using the actual protocol source rather than fixture metadata.
  • SDK build, full TypeScript check, formatting, invariant lint, and browser dependency/size checks pass.
  • Protocol and code expert reviews completed with findings addressed.

Includes a minor SDK changeset.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown

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 review, no blocking or medium findings.

Checked:

  • Changeset correctness: .changeset/creative-review-lifecycle-3-3.md present and minor is correct — purely additive (new getMediaBuyTransitions(adcpVersion) export, optional version args, new update_creative_start_policy action). No removed/renamed exports, no required-param flips, no response-shape changes, so no understatement of impact.
  • DR-0033 pathway: The new 3.3 wire support has a back-pathway for 3.2 — update_creative_start_policy is Refused-below-3.3 at the assessment/preflight layer, paired with a version-gated lifecycle graph. Refusals tested across 3.2 / alpha / malformed pins. No new wire-emission path, so no VersionAdapter needed. This satisfies the "every minor-release wire change has a pathway back" requirement, and the refusal path is tested.
  • Witness-not-translator: No mock/fallback injection or wire re-shaping introduced.
  • Dual 3.3 gates: supportsCreativeStartPolicyAction (dependency-free regex, protects browser bundle size) and isAdcpVersionAtLeast (semver) agree on all AdCP-relevant inputs and are both tested. Flagged by reviewer as a maintenance hazard to watch, not a finding — noted.
  • Bundle-size invariant (contents.length < 45000) confirmed preserved, which motivates the regex parser.
  • All helpers are pure/synchronous — no I/O, timeout, or retry surface.

Decision table: no critical/high/medium findings; gated_paths false; high_risk false; no no-auto-approve team match; no prior decision. review_decision is REVIEW_REQUIRED but that only gates approval when gated_paths is true (it is not). Falls through to row 9 → approve.

@bokelley
bokelley merged commit 505ddc9 into main Oct 25, 2026
45 checks passed
@bokelley
bokelley deleted the fix/creative-review-start-policy-8479 branch October 25, 2026 15:29
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.

1 participant