Repository navigation
fix(schema): align legacy format asset variants - #7421
Conversation
There was a problem hiding this comment.
Ladon verdict: Escalate to human review
Escalate — gated path requires human/CODEOWNERS review.
This PR modifies static/schemas/source/core/format.json, which falls under the deterministic hard approval gate (gated_paths: true). The required review status is REVIEW_REQUIRED, not APPROVED, so per decision rule row 2 the PR cannot be auto-approved and must be escalated for human/CODEOWNERS review.
Escalation reasons
static/schemas/source/core/format.json— protocol schema source under a hard approval gate;review_decisionisREVIEW_REQUIRED. Human/CODEOWNERS approval is required before merge.
The reviewer found the change clean and non-breaking: the individual and repeatable-group asset unions are aligned to the canonical 21 types in core/assets/asset-union.json (additive/Normative), guarded by a new parity test wired into test:schemas, with discriminators intact, oneOf baseline untouched, no docs drift, and an appropriate patch changeset. No Medium-or-worse findings. The escalation is purely due to the unsatisfied gated-path review requirement, not any code-level defect. Once a human/CODEOWNERS approval lands, this can proceed.
Why human review
- static/schemas/source/core/format.json is under a hard approval gate (static/schemas/source/**) and review_decision is REVIEW_REQUIRED — human/CODEOWNERS approval required before merge.
- This PR touches a path under a hard, non-overridable approval gate (static/schemas/source/core/format.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.
Summary
Format.assetsindividual declarationsbriefandcatalog, to repeatable groupscore/assets/asset-union.jsonCloses #7338.
Validation
npm run test:schemasnpm run test:composednpm run test:oneof-discriminatorsnpm run typecheckThe commit hook's general unit stage passed (1,059 tests). Its unrelated full server-unit phase exceeded the hook's ten-minute timeout; the schema-specific suites and typecheck above completed successfully.
Open workspace in Conductor