Repository navigation
fix(compliance): scope optional media-buy behaviors - #6739
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated paths require human/CODEOWNERS review (review_decision: REVIEW_REQUIRED).
This PR scopes optional media-buy compliance paths to advertised capabilities: creative-library scenarios gate on creative.has_creative_library, measurement-term acceptance splits into a new capability-gated measurement_terms_accepted scenario behind a new media_buy.measurement_terms_acceptance capability, and refine_products gates on media_buy.buying_modes containing refine. The change is additive/optional and correctly carries a minor changeset. Gates, fail-closed behavior, and the terms-replay roundtrip are well tested.
Why escalate (decision table row 2): gated_paths is true and review_decision is REVIEW_REQUIRED (not APPROVED). The gate is not satisfied, so this cannot auto-approve.
Gated files requiring human/CODEOWNERS review:
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**)static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**)
Medium findings (non-blocking):
- static/schemas/source/protocol/get-adcp-capabilities-response.json:821 — New
measurement_terms_acceptancecapability absent from capabilities reference (schema↔docs coherence gap; should be documented).
No critical/high findings. The schema change is additive-optional, not breaking-class. Once a human/CODEOWNERS approval lands, this can fall through to a normal decision.
Medium findings
- static/schemas/source/protocol/get-adcp-capabilities-response.json:821 — New measurement_terms_acceptance capability absent from capabilities reference
Why human review
- Gated path touched: .github/workflows/training-agent-storyboards.yml (matches .github/workflows/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED
- Gated path touched: static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**; 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 paths touched and review_decision is not APPROVED.
This PR modifies files under hard, non-overridable approval gates and the current GitHub review decision is REVIEW_REQUIRED, not APPROVED. Per decision-table row 2, this cannot auto-approve regardless of how clean the diff is; a human/CODEOWNERS approval must be recorded.
Findings
The reviewer surfaced no current findings. The prior medium finding (measurement_terms_acceptance capability absent from the docs reference) has been resolved: this delta adds the corresponding subsection to the get_adcp_capabilities capabilities reference, prose is coherent with the schema description, and all three cross-links resolve. Net improvement over the prior run — the earlier medium is gone and nothing new is actionable.
Absent the gated-path/review-status gate this diff would be clean. Once a human/CODEOWNERS approval is recorded, the gate lifts and this can proceed.
Escalation reasons
- Gated path
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED. - Gated path
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED.
Why human review
- Gated path touched: .github/workflows/training-agent-storyboards.yml (matches .github/workflows/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED
- Gated path touched: static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**; 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 paths touched without required review.
This PR modifies two files under hard, non-overridable approval gates and the current GitHub review decision is REVIEW_REQUIRED (not APPROVED), so decision-table row 2 fires (gated_paths: true AND review_decision ≠ APPROVED). A human/CODEOWNERS approval must be recorded before Ladon can approve, regardless of how clean the diff is.
The reviewer found no blocking or Medium findings. The delta is a faithful forward-port of the immutable 3.0.25 compliance bundle (182 new files under dist/compliance/3.0.25/**, verified byte-for-byte identical to origin/3.0.x — a legitimate append/restore of an append-only record, not a mutation of an immutable artifact) plus a publication-manifest repair whose local-bundle guard is satisfied. This matches the prior escalate, which was driven entirely by the same gate.
Escalation reasons
- Gated path modified:
.github/workflows/training-agent-storyboards.yml(matches.github/workflows/**) — human/CODEOWNERS approval required; review_decision is REVIEW_REQUIRED. - Gated path modified:
static/schemas/source/protocol/get-adcp-capabilities-response.json(matchesstatic/schemas/source/**) — human/CODEOWNERS approval required; review_decision is REVIEW_REQUIRED.
Why human review
- Gated path modified: .github/workflows/training-agent-storyboards.yml (matches .github/workflows/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED
- Gated path modified: static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**) — human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**; 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 paths touched and review_decision is not APPROVED.
This PR modifies files under hard, non-overridable approval gates while the current GitHub review decision is REVIEW_REQUIRED (not APPROVED). Per decision rule row 2, the outcome must be escalate until a human/CODEOWNERS approval is recorded.
The reviewer found no critical/high/medium findings — the delta since the prior review is exclusively 591 pure additions of the immutable 3.0.25 release artifacts under dist/** (append-only release records, no in-place rewrite of any existing semver artifact; 3.0.25.tgz hashes byte-for-byte to its .sha256). The diff itself is clean. This is not a blocking-findings request-changes; it is a mechanical approval-gate escalation.
Escalation reasons
.github/workflows/training-agent-storyboards.yml(modified) matches gated glob.github/workflows/**— human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED.static/schemas/source/protocol/get-adcp-capabilities-response.json(modified) matches gated globstatic/schemas/source/**— human/CODEOWNERS review required; review_decision is REVIEW_REQUIRED, not APPROVED.
The gate lifts automatically once review_decision becomes APPROVED; a clean diff can then approve.
Why human review
- Gated path modified: .github/workflows/training-agent-storyboards.yml (matches .github/workflows/**) — human/CODEOWNERS approval required; review_decision is REVIEW_REQUIRED, not APPROVED
- Gated path modified: static/schemas/source/protocol/get-adcp-capabilities-response.json (matches static/schemas/source/**) — human/CODEOWNERS approval required; review_decision is REVIEW_REQUIRED, not APPROVED
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/training-agent-storyboards.yml (modified) matches
.github/workflows/**; 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.
Closes #6701.
Closes #6702.
What changed
creative.has_creative_library, including compound gates and direct specialism phases.media_buy.measurement_terms_acceptanceand replay the exact terms discovered from the product.refinebuying mode.3.0.25 compliance, schema, and signed protocol artifacts that the failed automatic
3.0.x forward merge left absent
from
main.Why
Optional seller capabilities were being graded as universally required. Sellers without a creative library, measurement-term acceptance, or refine support could therefore fail scenarios outside their declared surface and receive incorrect badge denominators.
Impact
Sellers are now graded only on optional media-buy behaviors they advertise. Universal rejection behavior remains required, and sellers advertising acceptance receive an affirmative round-trip test using their own product terms.
Validation
schema, and signed protocol artifacts verified byte-for-byte
against
origin/3.0.x