Repository navigation
fix(reporting): reconcile waived mismatch health projection - #7658
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated schema paths modified without required review approval.
This PR touches published protocol source under static/schemas/source/** (four schema files), which are under a hard, deterministic approval gate (gated_paths: true). review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and per decision-table row 2 the outcome must be escalate.
The reviewer reported a clean pass: no Critical/High/Medium findings. Schema↔docs coherence verified across all seven surfaces, dist artifacts correctly untouched, changeset (patch) in scope with no wire-shape change on x-status:experimental schemas, anti-unilateral safety property preserved, no contradicted decision record. Absent the gate this would approve — but the gate stands until a human/CODEOWNERS review lands.
Escalation reasons
- Modifies gated schema source files requiring human/CODEOWNERS approval (
review_decisionisREVIEW_REQUIRED, notAPPROVED):static/schemas/source/core/reporting-obligation.jsonstatic/schemas/source/core/reporting-status-changed-webhook.jsonstatic/schemas/source/core/reporting-status-issue.jsonstatic/schemas/source/media-buy/get-reporting-status-response.json
Why human review
- Modifies gated path static/schemas/source/core/reporting-obligation.json — human/CODEOWNERS review required (review_decision is REVIEW_REQUIRED, not APPROVED)
- Modifies gated path static/schemas/source/core/reporting-status-changed-webhook.json — human/CODEOWNERS review required
- Modifies gated path static/schemas/source/core/reporting-status-issue.json — human/CODEOWNERS review required
- Modifies gated path static/schemas/source/media-buy/get-reporting-status-response.json — human/CODEOWNERS review required
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/reporting-obligation.json (modified) matches
static/schemas/source/**; static/schemas/source/core/reporting-status-changed-webhook.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-status-issue.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-reporting-status-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 schema paths require human/CODEOWNERS review.
This PR modifies published protocol source under static/schemas/source/**, which is a hard, deterministic approval gate (gated_paths: true). The current review_decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied and the outcome must be escalate (decision table row 2).
Escalation reasons
- Modifies gated schema files requiring human/CODEOWNERS review:
static/schemas/source/core/reporting-obligation.jsonstatic/schemas/source/core/reporting-status-changed-webhook.jsonstatic/schemas/source/core/reporting-status-issue.jsonstatic/schemas/source/media-buy/get-reporting-status-response.jsonreview_decision: REVIEW_REQUIRED— human/CODEOWNERS approval needed.
Medium findings (for the human reviewer)
The reviewer noted three Medium concerns: requote-required.json doc links were flipped from /schemas/latest/ to /schemas/v3/, which 404 because v3 resolves to 3.1.23 and the 3.2-only schema is absent there. These are non-blocking on their own but worth fixing.
No critical/high findings were reported; the core waiver-reconciliation change is coherent (schema↔docs↔tests consistent, protocol-scoped patch changeset present, no wire-shape or dist changes). The escalation is driven purely by the unsatisfied path-based approval gate.
Why human review
- Modifies gated path static/schemas/source/core/reporting-obligation.json with review_decision REVIEW_REQUIRED — human/CODEOWNERS approval required
- Modifies gated path static/schemas/source/core/reporting-status-changed-webhook.json with review_decision REVIEW_REQUIRED
- Modifies gated path static/schemas/source/core/reporting-status-issue.json with review_decision REVIEW_REQUIRED
- Modifies gated path static/schemas/source/media-buy/get-reporting-status-response.json with review_decision REVIEW_REQUIRED
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/reporting-obligation.json (modified) matches
static/schemas/source/**; static/schemas/source/core/reporting-status-changed-webhook.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-status-issue.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-reporting-status-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 schema paths require human/CODEOWNERS approval.
This PR modifies multiple files under static/schemas/source/** and .github/workflows/**, which are under a hard, non-overridable approval gate (gated_paths: true). The current GitHub review decision is REVIEW_REQUIRED, not APPROVED, so the gate is not satisfied (decision table row 2).
Escalation reasons
- Modifies gated path
static/schemas/source/core/reporting-obligation.json— human/CODEOWNERS approval required. - Modifies gated path
static/schemas/source/core/reporting-status-changed-webhook.json— human/CODEOWNERS approval required. - Modifies gated path
static/schemas/source/core/reporting-status-issue.json— human/CODEOWNERS approval required. - Modifies gated path
static/schemas/source/media-buy/get-reporting-status-response.json— human/CODEOWNERS approval required. - Modifies gated path
.github/workflows/check-schema-links.yml— human/CODEOWNERS approval required.
The reviewer found no Critical/High/Medium findings and the delta looks clean (schema-link resolution now pins the stable major, docs migrated absent schema links to /schemas/latest/). But a clean diff cannot lift a deterministic path-based gate — only a recorded APPROVED review can. Prior decision was also escalate for the same reason; it remains until a human approval lands.
Why human review
- Modifies gated path static/schemas/source/core/reporting-obligation.json with review_decision REVIEW_REQUIRED — human/CODEOWNERS approval required
- Modifies gated path static/schemas/source/core/reporting-status-changed-webhook.json with review_decision REVIEW_REQUIRED
- Modifies gated path static/schemas/source/core/reporting-status-issue.json with review_decision REVIEW_REQUIRED
- Modifies gated path static/schemas/source/media-buy/get-reporting-status-response.json with review_decision REVIEW_REQUIRED
- Modifies gated path .github/workflows/check-schema-links.yml with review_decision REVIEW_REQUIRED
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/check-schema-links.yml (modified) matches
.github/workflows/**; static/schemas/source/core/reporting-obligation.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-status-changed-webhook.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-status-issue.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-reporting-status-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-path approval gate not yet satisfied.
This PR touches files under a hard, non-overridable approval gate (static/schemas/source/** and .github/workflows/**) while review_decision is REVIEW_REQUIRED, not APPROVED. Per decision rule row 2, Ladon cannot auto-approve until a human/CODEOWNERS approval is recorded.
Findings: none. The reviewer's clean delta pass found no Critical/High/Medium issues — the only changes since the prior review are an editorial rewording of the consumer_mismatch_lifecycle x-adcp-validation prose in reporting-status-issue.json plus three test regexes re-anchored to it. The tightened text preserves every normative clause with no wire-shape, enum, field, or required[] change. Changeset present (patch, experimental surface) and consistent. Schema↔docs coherence holds.
Escalation reasons
static/schemas/source/core/reporting-obligation.json— gated path, review_decision is REVIEW_REQUIRED (needs human/CODEOWNERS approval)static/schemas/source/core/reporting-status-changed-webhook.json— gated path, needs approvalstatic/schemas/source/core/reporting-status-issue.json— gated path, needs approvalstatic/schemas/source/media-buy/get-reporting-status-response.json— gated path, needs approval.github/workflows/check-schema-links.yml— gated path, needs approval
Once a human/CODEOWNERS approval sets review_decision to APPROVED, this clean diff can fall through to approve.
Why human review
- Modifies gated path static/schemas/source/core/reporting-obligation.json with review_decision REVIEW_REQUIRED — human/CODEOWNERS approval required
- Modifies gated path static/schemas/source/core/reporting-status-changed-webhook.json with review_decision REVIEW_REQUIRED
- Modifies gated path static/schemas/source/core/reporting-status-issue.json with review_decision REVIEW_REQUIRED
- Modifies gated path static/schemas/source/media-buy/get-reporting-status-response.json with review_decision REVIEW_REQUIRED
- Modifies gated path .github/workflows/check-schema-links.yml with review_decision REVIEW_REQUIRED
- This PR touches a path under a hard, non-overridable approval gate (.github/workflows/check-schema-links.yml (modified) matches
.github/workflows/**; static/schemas/source/core/reporting-obligation.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-status-changed-webhook.json (modified) matchesstatic/schemas/source/**; static/schemas/source/core/reporting-status-issue.json (modified) matchesstatic/schemas/source/**; static/schemas/source/media-buy/get-reporting-status-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 #7657.
Summary
reporting.status_changedrecovery notification when the waiver changes projected health;issue_idsmay be empty because the waived issue is no longer publicThis reconciles the RC reporting contract's previously impossible state: a due obligation with a waived-only current mismatch could not be
complete,waiting,delayed, oraction_requiredwhile satisfying all schema rules.The change is patch-level and does not alter wire shapes.
Validation
node --test tests/reporting-status-contract.test.cjs(32/32)npm run test:schemas(302 tests, 16 suites)npm run test:json-schema(282 schema-tagged examples)npm run test:schema-utf8npm run build:schemas(no generated drift)npm run typecheckOpen workspace in Conductor