Skip to content

fix(schema): align legacy format asset variants - #7421

Merged
bokelley merged 1 commit into
mainfrom
san-antonio-v20
Sep 11, 2026
Merged

bokelley merged 1 commit into
mainfrom
san-antonio-v20

Conversation

@bokelley

@bokelley bokelley commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add every canonical asset variant missing from legacy Format.assets individual declarations
  • add the corresponding variants, plus the previously omitted brief and catalog, to repeatable groups
  • guard both branch lists against future drift from core/assets/asset-union.json

Closes #7338.

Validation

  • npm run test:schemas
  • npm run test:composed
  • npm run test:oneof-discriminators
  • npm run typecheck

The 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

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_decision is REVIEW_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.

@aao-secretariat aao-secretariat Bot added the ladon/needs-human-review Ladon has escalated this PR for human review. label Sep 11, 2026
@bokelley
bokelley requested a review from pkras September 11, 2026 01:54
@bokelley
bokelley enabled auto-merge (squash) September 11, 2026 01:54
@bokelley
bokelley requested a review from bmilekic September 11, 2026 02:00
@bokelley
bokelley disabled auto-merge September 11, 2026 08:17
@bokelley
bokelley merged commit fc52d81 into main Sep 11, 2026
73 of 75 checks passed
@bokelley
bokelley deleted the san-antonio-v20 branch September 11, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ladon/needs-human-review Ladon has escalated this PR for human review.

Projects

None yet

1 participant