Skip to content

feat(creative): support assignment landing page overrides - #8180

Merged
bokelley merged 3 commits into
mainfrom
bokelley/assignment-landing-page
Oct 14, 2026
Merged

bokelley merged 3 commits into
mainfrom
bokelley/assignment-landing-page

Conversation

@bokelley

@bokelley bokelley commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Adds optional landing_page_url for one creative on one package without changing the library creative or its approval. This is a stable-schema addition for AdCP 3.3, with a minor changeset and x-added-in: "3.3.0" on every new property; it must not be backported to 3.2.x.

  • Accept the URL in package creative_assignments, sync_creatives.assignments[], and assignment_operations[] with operation: "assign", using the existing click-through macro-bearing URL schema.
  • Gate sending on creative.supports_assignment_landing_page, default false, requiring has_creative_library: true; unsupported agents reject with UNSUPPORTED_FEATURE.
  • Serve every applicable click-through exit or reject the assignment, including embedded HTML, JavaScript, and VAST clicks. Destination review belongs to the assignment. Merge uses the buyer creative's effective destination and cannot bypass destination policy through inherited creative approval.
  • Read back the effective URL/template in list/get assignment projections. Omit a scalar for an unoverridden multi-destination creative rather than reporting an arbitrary exit as universal.
  • Preserve omitted overrides on additive upsert; clear using existing atomic unassign/assign or complete package replacement. Preserve grouping/rotation/structured routing through full replacement with authored settings. No nullable field or new error code.

Independent companion to #8178, targeting main (3.3). Tracks AI-13376.

Expert review

Two concurrent rounds with protocol, security, DX, and independent code reviewers, followed by a targeted protocol verification:

  • Convergence: protocol and DX (2 of 4) flagged missing reset semantics; the preservation/reset recipes now close that gap.
  • DX and the GitHub automated review flagged discovery/readback reference drift. Capability, list/get, and create/update references now describe the feature and link the complete contract.
  • Code review flagged the assignment-only request table and enclosing-schema coverage. The table is corrected and full create/update/list/get fixtures are now tested.
  • Protocol concerns about plural destinations, merge destination review, and reset preserving advanced assignment controls are resolved; final verdict: sound. Security found no reachable blocker in either round. Code and DX report no remaining concern.
  • Intentional scope: no assignment-level macro-declaration API was added. The single URL field follows existing undeclared 3.x click-through compatibility, never inherits declarations from another asset, and retains governed catalog substitution/encoding rules.

Validation

  • Eight targeted schema tests pass, including complete request/response envelopes, valid macro-bearing URLs, invalid/omitted values, capability dependency, and reset operation shapes.
  • Seven schema-tagged documentation examples pass across changed pages. Schema build, compliance-link generation/check, schema-link lint, changeset scope, PR title, and whitespace checks pass.
  • Before the expert fixes, all 66 GitHub checks passed; initial local validation also passed typecheck, 1,113 root tests, the full schema/composed suites, MCP projection, and CI test registration. CI reruns on the updated head.

Local full-hook limitation: three website/auth assertions fail in cross-domain-session-bridge.test.ts and perspective-asset-cache-privacy.test.ts (two timeouts and a private-asset 404). Removing every feature change and rerunning unchanged origin/main (110adf30f) reproduced the same failures. These test files are unchanged. Relevant gates were run separately and pre-commit bypassed; the full local server suite is not claimed green. Pre-push version/compliance, changeset, schema-link, and documentation-navigation gates run normally; only the documented advisory storyboard matrix is skipped (ADCP_SKIP_STORYBOARD_MATRIX=1), with CI authoritative.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Request changes

Request changes — 1 blocking finding.

Blocking findings

  • static/schemas/source/protocol/get-adcp-capabilities-response.json:2548 — New supports_assignment_landing_page capability added to schema but missing from the canonical capabilities reference table in get_adcp_capabilities.mdx. This is schema↔docs coherence drift (high): the schema encodes a wire shape the docs do not describe.

Medium findings

  • static/schemas/source/media-buy/get-media-buys-response.json:437 — landing_page_url readback field missing from the get_media_buys creative_approvals field table in docs; docs/schema coherence gap.

Notes
Row 1 of the decision table fires: a high finding is present, so the outcome is request-changes regardless of the gated-paths/review-required status (which independently would also prevent approval). Otherwise this is a clean, well-scoped 3.3 additive change: optional landing_page_url on creative assignments, gated by a new capability correctly requiring has_creative_library: true, correct minor changeset, additive/non-breaking, no undiscriminated oneOf, no dist/ edits, solid new test coverage. Resolving the two docs-coherence gaps should clear this for approval (subject to the hard approval gate on static/schemas/source/** requiring human/CODEOWNERS review — review_decision is currently REVIEW_REQUIRED).

Blocking findings

  • static/schemas/source/protocol/get-adcp-capabilities-response.json:2548 — New supports_assignment_landing_page capability missing from capabilities reference table (schema↔docs drift)

Medium findings

  • static/schemas/source/media-buy/get-media-buys-response.json:437 — landing_page_url readback missing from get_media_buys creative_approvals field table

@aao-secretariat
aao-secretariat Bot dismissed their stale review October 14, 2026 00:15

Superseded by a later Ladon review that rechecked and resolved its blocking findings.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — gated schema paths require human/CODEOWNERS approval.

This PR modifies published protocol source under static/schemas/source/** (5 files), which the repo declares as a hard, path-based approval gate (gated_paths: true). The required review status is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and the PR cannot auto-approve (decision rule row 2).

No blocking findings remain. Both prior blockers were resolved by the developer:

  • Prior [high] — supports_assignment_landing_page missing from the capabilities reference table — fixed by the new row at docs/protocol/get_adcp_capabilities.mdx:1340.
  • Prior [medium] — landing_page_url readback missing from the get_media_buys creative_approvals field table — fixed at docs/media-buy/task-reference/get_media_buys.mdx:95.

The remaining delta is additive 3.3 clarification (schema↔docs coherent, minor changeset correct for additive/non-breaking, no undiscriminated oneOf, no dist/ edits, no breaking wire change). This is a clean, net-improved diff — the only thing standing between it and approval is a human/CODEOWNERS review of the gated schema files.

Escalation reasons

  • Touches gated path static/schemas/source/** (creative-assignment.json, list-creatives-response.json, sync-creatives-request.json, get-media-buys-response.json, get-adcp-capabilities-response.json); review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required before merge.

Why human review

  • Modifies gated protocol-source files under static/schemas/source/** (creative-assignment.json, list-creatives-response.json, sync-creatives-request.json, get-media-buys-response.json, get-adcp-capabilities-response.json) while review_decision is REVIEW_REQUIRED — hard approval gate not satisfied; human/CODEOWNERS review required.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/creative-assignment.json (modified) matches static/schemas/source/**; static/schemas/source/creative/list-creatives-response.json (modified) matches static/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matches static/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matches static/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Oct 14, 2026

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Escalate to human review

Escalate — gated protocol-source files touched without an APPROVED review.

This PR modifies files under static/schemas/source/**, which are under a hard, deterministic approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and Ladon cannot auto-approve regardless of how clean the diff is (decision table row 2).

The reviewer surfaced no critical/high/medium findings. The delta since the prior pass is a single docs change in sync_creatives.mdx moving the atomic-reset example's $schema from latest to the released v3, verified to validate against the released 3.x schema (assignment_operations with unassign/assign/weight present) with accurate matching prose. Schema↔docs coherence, changeset scope, oneOf discriminator, and artifact immutability all check out. The change itself is sound — but ratification of protocol-source edits is a human act and requires a recorded human/CODEOWNERS approval.

Escalation reasons

  • Modifies gated protocol-source files under static/schemas/source/** (creative-assignment.json, list-creatives-response.json, sync-creatives-request.json, get-media-buys-response.json, get-adcp-capabilities-response.json) while review_decision is REVIEW_REQUIRED — hard approval gate not satisfied; human/CODEOWNERS review required.

Sticky with prior escalate (row 2 remains the governing trigger).

Why human review

  • Modifies gated protocol-source files under static/schemas/source/** (creative-assignment.json, list-creatives-response.json, sync-creatives-request.json, get-media-buys-response.json, get-adcp-capabilities-response.json) while review_decision is REVIEW_REQUIRED — hard approval gate (gated_paths) not satisfied; human/CODEOWNERS approval required before merge.
  • This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/creative-assignment.json (modified) matches static/schemas/source/**; static/schemas/source/creative/list-creatives-response.json (modified) matches static/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matches static/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matches static/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matches static/schemas/source/**) and the current GitHub review decision is 'REVIEW_REQUIRED', not APPROVED. This is a hard gate enforced in code — Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.

@bokelley
bokelley enabled auto-merge (squash) October 14, 2026 01:48
@bokelley
bokelley disabled auto-merge October 14, 2026 01:54
@bokelley
bokelley merged commit 6a789e4 into main Oct 14, 2026
66 checks passed
@bokelley
bokelley deleted the bokelley/assignment-landing-page branch October 14, 2026 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant