Repository navigation
[Schema Consistency] 🔍 Schema Consistency Check - 2026-11-22 #80021
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #80272. |
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.
Summary
Five actionable inconsistencies were found across schema, compiler, and documentation. The precomputed scan found no workflow top-level keys missing from the schema; this is not a full validation of every workflow. Strategy: cached field gaps plus constraint and data-flow tracing (proven, day 326 modulo 10 = 6). No critical issue was established.
Key issues
max-runsis silently discarded. The schema accepts an Actions expression, butparseMaxRunsValuetreats expressions as unset, and the proxy falls back to 500. A workflow requesting a smaller limit can therefore run with a higher cap. Preserve the expression through configuration, or reject it with migration guidance.max-turnsdoes not set the proxy invocation cap. The expression is retained for the engine turn limit butMaxRunsonly accepts a static integer; without a static legacy fallback the proxy uses 500. A runtime value above 500 can therefore be stopped early, while a smaller value does not lower the proxy cap. Align the two caps or document their distinct semantics.max-turns: 0andmax-tool-denials: 0validate because their shared schema allows non-negative integers; both parsers require at least 1 and treat zero as unset. Copilot SDK then uses its default denial threshold of 5. Reject zero in those fields or implement and document explicit zero semantics.max-runsis not a completemax-turnsalias. The frontmatter guide calls it an alias, but the extraction test showsmax-runs: 25setsMaxRunsonly, notMaxTurns. Correct the guide to distinguish the proxy invocation cap from the engine turn limit, or implement equivalent behavior.threat-detection-suppress: []is followed by indented mapping entries without an array item, causing a YAML parse error. Independently,connectors: {}violatesminProperties: 1;source-sha: example-valueviolates the 40-hex pattern; andmax-turns: example-valueis neither an integer nor an expression. Generate valid, individually schema-conforming alternatives and validate the generated reference in CI.Evidence and scope
max-runsandmax-turns, and rejected the three isolated documentation values above. A YAML parser rejected the full reference block at the indentedruleentry. Source tracing and existing unit-test expectations establish the compiler paths; no live workflow was dispatched.connectors,docker-image-pull-policy,model-routing,skip-if-decision, andwork-queue-policy) have raw-map handlers and were not counted as defects. The precomputed inventory covers top-level workflow keys only; nested combinations and every workflow were not exhaustively validated.Next actions
Strategy performance: high, five findings; reuse the cached constraint and data-flow tracing strategy.
References: §44989225282
All reactions