Repository navigation
[Schema Consistency] Schema Consistency Check - 2026-11-21 #79720
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #80021. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🔍 Schema Consistency Check - 2026-11-21
Summary
Critical Issues
None established in this review.
Documentation Gaps and Schema Improvements Needed
pkg/parser/schemas/main_workflow_schema.json:39checks only string type, non-whitespace content and list length, whilepkg/workflow/skip_if_decision.go:26rejects any question containing${{. An editor can accept a question such asIs ${{ github.event_name }} irrelevant?that fails compilation;docs/src/content/docs/reference/frontmatter.md:88already documents the restriction. Add a schema constraint excluding${{and a regression case for both schema and compiler.docs/src/content/docs/reference/frontmatter-full.md:3284and:3312show both forms ofengine.model-routingat the same indentation;:25842and:25845do the same for top-levelmodel-routing. Duplicate keys can be rejected by the parser or silently overwrite an alternative in other YAML readers. Generate alternatives as separate snippets or comment out all but one, and validate the generated block for duplicate keys.docs/src/content/docs/reference/frontmatter-full.md:25showsconnectors: {}, but the schema requires at least one property (pkg/parser/schemas/main_workflow_schema.json:27). The reference givessource-sha: example-valueat:87, but the schema requires 40 hexadecimal characters (pkg/parser/schemas/main_workflow_schema.json:240). The shortlist example at:25845has an emptyallowed-models, although its referenced schema requires at least one item (pkg/parser/schemas/main_workflow_schema.json:15780). Generate valid representative values or clearly mark placeholders and validate generated fragments against their subschemas.docs/src/content/docs/reference/sandbox.md:294says the router role is required whenengine.model-routingis set. Routing can instead be selected bymodel: routeror by the implicit default (docs/src/content/docs/reference/model-routing.md:13and:65), and the compiler requires the role whenever routing is enabled (pkg/workflow/sandbox_agent_images.go:152). The compiler can also fill missing default image pins (:92), so the documentation should describe the effective manifest and auto-filled defaults rather than imply that every missing role must always be manually supplied.Parser Updates Required
No parser change is required for the demonstrated skip-expression rejection; keep schema and parser regression coverage aligned.
Workflow Violations
No violation was established in the selected workflow examples. For example,
.github/workflows/smoke-copilot-routed.md:27combines an explicit router model with a nonempty shortlist. This is not a full workflow validation.Recommendations
Strategy Performance
Next Steps
References: §44870705409
All reactions