Repository navigation
[Schema Consistency] Schema consistency check — 2026-11-18 #78947
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #79197. |
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-18
Four inconsistencies were found using the cached field-gap and constraint/data-flow tracing strategy. The review covered the schema, parser/compiler, reference documentation, and repository workflow usage. No critical issue was established.
Priority actions: align the deprecated
max-runscontract with its implementation, reject or implement zero-valued guardrails, and fix generated reference examples.Findings and evidence
max-runsis not the documented fallback formax-turns. The frontmatter reference calls it an alias accepted as a fallback, but engine extraction uses it only forMaxRuns, leavingMaxTurnsempty. Thusmax-runs: 25sets the proxy invocation limit, not the AWF turn cap, as also reflected by the engine test. Moreover, the schema and glossary accept an Actions expression, while the parser drops expressions forMaxRunsand the compiler falls back to 500. Implement the promised fallback and expression preservation, or document and validate the actual legacy behavior; add regression tests for both forms.Zero is schema-valid for two limits but silently discarded. The top-level
max-turnsandmax-tool-denialsdefinitions referencetemplatable_integer, which permits zero. Both parsers require at least one, so zero becomes an unset value; Copilot SDK consequently uses its default denial threshold, and the turn setting falls back to its default. Use a positive-integer schema if zero is invalid, or implement and document explicit zero semantics. Test schema validation and generated configuration together.Generated routing opt-out example is invalid. The full reference says its example disables routing but shows
model-routing: true. The schema permits the boolean only when it isfalse; the routing reference agrees. Fix the documentation generator to honor booleanconstand regenerate all affected examples.Generated expression examples violate their own schema. The full reference gives
max-turns: "example-value"and similar placeholders formax-tool-denialsandmax-tool-calls. Their schema requires an integer or a wrapped Actions expression, such as${{ inputs.max-turns }}(definition). Generate valid representative expressions and test generated fragments against the schema.Workflow observations
The precomputed diff found no top-level keys used by repository workflows that are absent from the schema. The four schema fields absent from the frontmatter struct are handled through raw frontmatter; their absence from that struct alone is not a defect. This targeted review did not validate every nested workflow value. No AWF canonical-source comparison was used.
Strategy performance
Field gaps plus constraint and data-flow tracing produced four actionable findings; effectiveness: high; reuse: yes.
Next steps
max-runssemantics and test expressions.References: §44243999721
All reactions