Repository navigation
fix(compliance): honor optional seller discovery features - #8703
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path requires human/CODEOWNERS approval.
This PR modifies static/schemas/source/protocol/get-adcp-capabilities-response.json, which matches the deterministic hard-approval gate static/schemas/source/** (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied (decision table row 2).
Escalation reasons
- Touches gated schema source
static/schemas/source/protocol/get-adcp-capabilities-response.json— human/CODEOWNERS review required before merge (review_decision: REVIEW_REQUIRED).
Blocking findings
- None. The reviewer found no critical/high/medium issues.
What was checked (reviewer): schema↔docs coherence for the new optional creative.supports_provenance field (x-added-in: 3.3.0, default false) — no drift; the storyboard gate correctly strips the 3.3 field below 3.3 via omitFieldsAddedAfterRelease, so pre-3.3 withhold tests pass; storyboard-exclusion-check.ts fails closed on malformed checks; no dist/** mutation (immutability intact); oneOf baseline untouched; no new external I/O. Changeset is a correct minor/patch for an additive optional field.
The change appears additive and non-breaking, but the schema-source path is under a hard approval gate that only lifts when review_decision is APPROVED. Once a human/CODEOWNERS approval lands, this would fall through to approve on a clean diff.
Why human review
- Modifies gated schema source static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**) 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/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.
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema source modified without an APPROVED review.
This PR modifies static/schemas/source/protocol/get-adcp-capabilities-response.json, which matches the hard gated path glob static/schemas/source/**. gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED), so decision table row 2 fires: Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded, regardless of how clean the diff is.
The reviewer found no Critical/High/Medium findings — the one substantive change (supports_provenance: true at router.ts:1431) is correctly scoped to the sales tenant, down-leveled via x-added-in: 3.3.0, and coherent with schema (default false), docs ("Added in 3.3; defaults to false"), and the candidate-version test. Remaining delta is test-only. A changeset is present (.changeset/fix-optional-discovery-conformance.md). Schema↔docs coherence holds.
Nothing actionable blocks merge on code grounds, but the gated-path approval gate stands. Prior decision was also escalate for the same reason; it persists because the gate condition is unchanged.
Escalation reasons
- Modifies gated schema source
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**) whilereview_decisionisREVIEW_REQUIRED— human/CODEOWNERS approval required (decision table row 2).
Why human review
- Modifies gated schema source static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**) 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/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.
Sellers with valid
get_productsresponses can fail conformance when filtering returns additional matching inventory, auction options omit optional price guidance, or a creative library does not implement provenance enforcement. This change removes those assumptions and makes the relevant tests depend on the capability actually being exercised.creative.supports_provenancefor 3.3 and gate provenance storyboards on it. Audit observations also require the advertised sandbox query hook. Discovery matches the seeded product and policy together regardless of result order, and audit queries retain the same complete account reference as discovery and sync.field_excludes_runner, so unsupported external runners skip before seeding. The hosted/manual runner enforces the check through the SDK's public assertion API while the installed SDK lacks native support; full runs and standalone steps retain the original seller evidence.price_guidance. The update path reallocates budgets while preserving accepted bids. This intentionally exercises budget updates rather than raising bids from optional p75 guidance. The floor-less cases test post-discovery request construction; the existing catalog-adaptive fixture preflight is unchanged.Validation: focused conformance regressions, schema and compliance builds, capability/schema bounds, served-version capability tests, and the repository's commit/CI gates. The exclusion regression runs against the production adapter without SDK monkeypatching or conditional skips.
The separate SDK account-seeding dispatch change and Python mixed-batch format-projection failure remain follow-ups; this PR does not claim to fix either SDK implementation.
Open workspace in Conductor