Repository navigation
feat(media-buy): support creative approval startup policy - #3425
Merged
Merged
Conversation
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean review, no blocking or medium findings.
Checked:
- Changeset correctness:
.changeset/creative-review-lifecycle-3-3.mdpresent andminoris correct — purely additive (newgetMediaBuyTransitions(adcpVersion)export, optional version args, newupdate_creative_start_policyaction). 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_policyis 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) andisAdcpVersionAtLeast(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.
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.
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 ofupdate_creative_start_policyin 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 independentsync_creativesrouting 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:
Includes a minor SDK changeset.