Repository navigation
feat(creative): add assignment-scoped measurement trackers - #8220
Conversation
|
Addressed the schema-link finding in ca95407. The unreleased 3.3 request example now links the new assignment-tracker schema, and a regression test extracts the full request from the documentation and validates it directly against the source request schema. The CI schema-link script passes locally for all 264 links. |
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths require human/CODEOWNERS approval.
This is a clean, additive 3.3 change: assignment-scoped trackers on creative assignments, gated behind a new supports_assignment_trackers capability (default false, requires creative library). The reviewer verified schema↔docs coherence across all 7 pages, transitive inheritance into create/update media-buy via the creative-assignment $ref, the write-path minItems: 1 vs readback []-allowed split, the capability library-requirement conditional, no new oneOf, and dist/** untouched. Changeset is the correct minor class. No Medium-or-worse findings.
Despite the clean diff, this PR touches files under static/schemas/source/**, which are under a hard, deterministic approval gate (gated_paths: true). review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied. Per decision rule row 2, the outcome must be escalate until a human/CODEOWNERS approval lands.
Escalation reasons:
- Modifies/adds protocol schema source files under
static/schemas/source/**(assignment-tracker.json [added], creative-assignment.json, list-creatives-response.json, sync-creatives-request.json, index.json, get-media-buys-response.json, get-adcp-capabilities-response.json) — these are under a hard approval gate and require human/CODEOWNERS review. Gate lifts oncereview_decisionisAPPROVED.
Why human review
- Gated paths: PR modifies/adds protocol schema source under static/schemas/source/** (7 files incl. new assignment-tracker.json) while review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/assignment-tracker.json (added) matches
static/schemas/source/**; static/schemas/source/core/creative-assignment.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/list-creatives-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/index.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matchesstatic/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.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated protocol schema source requires human/CODEOWNERS approval.
This PR adds/modifies 7 files under static/schemas/source/** (including the new core/assignment-tracker.json), which is a hard, deterministic approval gate. gated_paths is true and review_decision is REVIEW_REQUIRED, not APPROVED. Decision table row 2 fires: outcome must be escalate until a human/CODEOWNERS approval is recorded.
Review of the delta itself: Clean. The reviewer found no Critical/High/Medium findings. The sync_creatives.mdx example drops a non-load-bearing $schema (top-level is additionalProperties: true), and a new test in assignment-trackers.test.cjs validates the example by idempotency_key against the source request schema — a net improvement over the removed latest dist pointer for the unreleased 3.3 field. Schema↔docs coherence holds; no changeset/oneOf/immutability concerns.
Escalation reasons:
- Gated paths: PR touches
static/schemas/source/**(7 files incl. newassignment-tracker.json) whilereview_decisionisREVIEW_REQUIRED— human/CODEOWNERS approval required before merge (decision table row 2).
Prior decision was also escalate for the same gated-path reason. The gate lifts automatically once review_decision becomes APPROVED; the diff is otherwise clean and merge-ready pending that approval.
Why human review
- Gated paths: PR adds/modifies 7 files under static/schemas/source/** (including new core/assignment-tracker.json) while review_decision is REVIEW_REQUIRED, not APPROVED — human/CODEOWNERS approval required before merge (decision table row 2).
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/assignment-tracker.json (added) matches
static/schemas/source/**; static/schemas/source/core/creative-assignment.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/list-creatives-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/creative/sync-creatives-request.json (modified) matchesstatic/schemas/source/**; static/schemas/source/index.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-media-buys-response.json (modified) matchesstatic/schemas/source/**; static/schemas/source/protocol/get-adcp-capabilities-response.json (modified) matchesstatic/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.
|
Proceeding under the maintainer's explicit instruction to run expert reviews, resolve CI, and merge when green. Protocol, creative/docs, and security/code reviews are clear; all 66 checks pass on |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A creative reused across media buys currently has only one set of library tracker URLs, so syncing buy-specific measurement values can overwrite another buy's trackers. AdCP 3.3 now lets buyers put those URLs on the creative-to-package assignment.
trackersto package assignments and both sync assignment write paths, gated bycreative.supports_assignment_trackers(default false, requiring a creative library).list_creativesandget_media_buys; document replacement, preservation, and reset behavior without changing library revision or approval.This is an additive minor protocol change. The new tracker payload follows DR-0009/DR-0019 openness while explicitly forbidding unsupported execution fields. Readback retains macro-bearing templates, consistent with DR-0005. Existing released artifacts are unchanged.
Validation: full schema suite; assignment and tracker-contract regression tests; JSON examples across all seven changed documentation pages; schema/OpenAPI builds; schema UTF-8, discriminator, compliance-link, and navigation checks. Protocol, creative/docs, and security/code experts reviewed the change; their slot-limit and schema-openness findings are addressed.
Closes #8204.
MCP model-context measurement: the assignment shapes add 766 bytes to each role profile. Media-buy grows from 457,150 to 457,916 bytes, so its documented size guard moves from 447 to 448 KiB; the creative ceiling is unchanged. All 39 projection tests pass. The full 3.3 request example is also validated directly from the documentation by a source-schema regression test.