Repository navigation
Conversation
Add dooh_placement_attributes.location (lat, lon, address) to placement.json, placement-definition.json, and canonical-placement.json for concrete single-screen/venue DOOH placements, and a new dooh_inventory_summary.venue_counts[] on product.json/canonical-product.json for aggregate network geography. Implements the design bokelley approved on adcontextprotocol#5538: lat/lon (not lng) matching OpenRTB 2.6/OpenOOH conventions, location as placement metadata rather than identity, and venue_counts reusing the existing geo-level.json vocabulary. placement.identifiers[] and dooh_placement_attributes (slot/loop/screen_resolution/ motion) already shipped via adcontextprotocol#5537/PR adcontextprotocol#5623; coverage_polygon remains deferred per the approved direction until sellers demonstrate reliable fill-rate. All new fields are optional and additive. Adds schema-validation test coverage for both the location sub-object and the venue_counts aggregate, including range/required-field rejection cases (verified to fail without the schema change and pass with it). Updates docs/creative/channels/dooh.mdx with both wire shapes, replacing the "tracked in adcontextprotocol#5538" placeholder note. Closes adcontextprotocol#5538 Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FCdwLd3czRX24ESPw7ii7Q
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths require human/CODEOWNERS approval.
This PR is an additive, all-optional DOOH geo disclosure: dooh_placement_attributes.location (lat/lon/address) on the three placement schemas plus a product-level dooh_inventory_summary.venue_counts[] aggregate, with a correct minor changeset and docs updated in lockstep. The reviewer verified schema↔docs coherence, changeset scope/type, no oneOf regression, no dist/** mutation, and an honest test plan. No critical or high findings; one non-blocking medium noted inline (venue_counts system/geo_code are unconstrained free strings that claim parity with forecast-dimension-geo.json but could be rejected as a forecast geo dimension).
Escalation reasons
- Touches gated paths under
static/schemas/source/**(canonical-placement.json, canonical-product.json, dooh-inventory-summary.json [added], placement-definition.json, placement.json, product.json) andreview_decisionisREVIEW_REQUIRED, notAPPROVED. Per decision-table row 2, this hard approval gate requires explicit human/CODEOWNERS review before merge.
The change appears mechanically clean and non-breaking; escalation is purely to satisfy the deterministic gated-paths approval requirement.
Why human review
- Gated paths under static/schemas/source/** modified/added (canonical-placement.json, canonical-product.json, dooh-inventory-summary.json, placement-definition.json, placement.json, product.json) while review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required (decision table row 2).
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/canonical-placement.json (modified) matches
static/schemas/source/**; static/schemas/source/core/canonical-product.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/dooh-inventory-summary.json (added) matchesstatic/schemas/source/**; static/schemas/source/core/placement-definition.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/placement.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product.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.
… forecast-dimension-geo.json Ladon's automated review on PR adcontextprotocol#7416 correctly flagged that venue_counts[].system and .geo_code were unconstrained free strings despite the schema's own description claiming parity with forecast-dimension-geo.json's vocabulary: a row with system: "nielsen" or geo_code: "USA" validated here but would be rejected as a forecast geo dimension, so the claimed interop wasn't actually enforced on the wire. Mirrors forecast-dimension-geo.json's exact per-level allOf conditional: country rows get the ^[A-Z]{2}$ pattern, region rows get ^[A-Z]{2}-[A-Z0-9]{1,3}$, metro rows require system to $ref metro-system.json, and postal_area rows reuse the same native (postal-country-system.json) vs. deprecated-legacy (legacy-postal-system.json) split. Added a country field to match, gated the same way forecast-dimension-geo.json gates it. Added two regression tests reproducing the reviewer's exact counterexamples (system: "nielsen" on a metro row, geo_code: "USA" on a country row) and verified both fail without this fix and pass with it. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FCdwLd3czRX24ESPw7ii7Q
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths require human/CODEOWNERS approval.
This PR modifies/adds files under static/schemas/source/**, which are under a hard, non-overridable approval gate (gated_paths: true). The current review_decision is not APPROVED (unknown/none), so decision table row 2 fires and the outcome must be escalate.
The reviewer's delta pass is clean — no Critical/High/Medium findings. The change tightens dooh-inventory-summary.json's DoohVenueCount to mirror forecast-dimension-geo.json exactly (adds country, per-geo_level if/then constraints, native-vs-legacy postal_area anyOf), with all $ref targets resolving and matching tests added. It is additive, non-breaking, and carries a correct minor changeset. Schema↔docs coherence is preserved.
Because the diff is clean, this remains a pure gated-paths escalation: a human/CODEOWNERS approval on the six static/schemas/source/core/*.json files is all that is required to lift the gate and allow merge.
Escalation reasons
- Gated paths under
static/schemas/source/**modified/added whilereview_decisionis not APPROVED — human/CODEOWNERS approval required (row 2).
Why human review
- Gated paths under static/schemas/source/** modified/added (canonical-placement.json, canonical-product.json, dooh-inventory-summary.json, placement-definition.json, placement.json, product.json) while review_decision is not APPROVED — human/CODEOWNERS approval required (decision table row 2).
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/canonical-placement.json (modified) matches
static/schemas/source/**; static/schemas/source/core/canonical-product.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/dooh-inventory-summary.json (added) matchesstatic/schemas/source/**; static/schemas/source/core/placement-definition.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/placement.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/product.json (modified) matchesstatic/schemas/source/**) and the current GitHub review decision is 'unknown', 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.
|
Queue decision: the implementation is additive and its reviewed schema shape is sound, but it is a minor protocol change and therefore sits behind the 3.2 GA freeze. I have routed it to the 3.3.0 milestone and resolved the now-outdated review thread that commit 8b6b912 addressed. We will refresh it against post-GA |
Summary
Implements the #5538 design direction bokelley approved for the 3.3.0 milestone: structured geographic disclosure for DOOH/OOH placements.
dooh_placement_attributes.location(lat,lon,address) onplacement.json,placement-definition.json, andcanonical-placement.json, for a concrete single-screen or single-venue placement.dooh_inventory_summary.venue_counts[]onproduct.json/canonical-product.json, for aggregate network/regional geography where per-screen disclosure isn't practical.Both shapes match exactly what was proposed and approved in the issue thread ("Decision update — approved for implementation"):
lat/lon(notlng, matching OpenRTB 2.6/OpenOOH convention rather than this spec's generaltargeting.jsonnaming),venue_countsreusing the existinggeo-level.json/forecast-dimension-geo.jsonvocabulary, andcoverage_polygondeliberately deferred pending seller fill-rate evidence.Context / reconciliation
placement.identifiers[]anddooh_placement_attributes(slot_duration_seconds,loop_duration_seconds,screen_resolution,motion) — the other two pieces of the approved design — already shipped via #5537/PR #5623, so this PR is scoped to just the remaining gap: structuredlocationand the aggregate summary. I also checked PR #5589 (an earlier attempt at this same narrow surface, closed 2026-08-10 as stale/pending reconciliation with the broader #6241 static-OOH work) and confirmed #6241 (merged 2026-08-25) only added delivery-side panel/id_type identifiers for static OOH metrics — it does not carry any planning-time lat/lon/address field, so the gap this PR closes is still real and not superseded by that later work.Verification
node --test tests/placement-catalog-schema.test.cjs— added tests forlocation(accepts valid coordinates/address across all three placement schemas; rejects out-of-range lat/lon) anddooh_inventory_summary(accepts validvenue_counts; rejects ametrorow missingsystem). Verified real via revert-and-reconfirm: reverting only the schema changes (keeping the new tests) makes the two rejection-case tests fail; restoring passes all 23 tests in the file.npm run test:schemas(264+ tests across the schema suite) andnpm run test:json-schema(281$schema-tagged doc examples) both pass.npm run precommit(unit suite, storyboard matrix, typecheck) — 9166 tests passed.node scripts/check-changeset-protocol-scope.cjs origin/mainandnpx @changesets/cli status --since=upstream/mainconfirm the expectedminorbump.Docs
Updated
docs/creative/channels/dooh.mdx, replacing the "tracked in #5538" placeholder note with both wire shapes (concrete single-screen and aggregate network), matching the examples from the approved design comment.Closes #5538
🤖 Generated with Claude Code
https://claude.ai/code/session_01FCdwLd3czRX24ESPw7ii7Q