Repository navigation
[Schema Consistency] Schema Consistency Check - 2026-08-28 #56553
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #56834. |
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-08-28
🔍 Schema Consistency Check - 2026-08-28
Summary
/tmp/gh-aw/agent/awf-config-drift.json; any drift conclusions would be non-authoritative, so none are asserted here.Critical Issues
1.
max-runsschema accepts0, parser silently treats0as unsetpkg/parser/schemas/main_workflow_schema.jsondefinesmax-runsviatemplatable_integer, whose integer branch allowsminimum: 0.pkg/workflow/engine_config_parser.goroutesmax-runsthroughparsePositiveIntValue(raw, "max-runs"), which requires values>= 1;0becomes0/unset.docs/src/content/docs/reference/frontmatter.mddocumentsmax-runsonly as a deprecated alias formax-turns, andmax-turnsis described as a positive cap.max-runs: 0but the compiler will ignore it and fall back to defaults, creating schema/runtime disagreement.References
pkg/parser/schemas/main_workflow_schema.json(max-runs,$defs.templatable_integer)pkg/workflow/engine_config_parser.go:31-46pkg/workflow/engine.go:233-245docs/src/content/docs/reference/frontmatter.md:447-452Documentation Gaps
2. User-facing frontmatter guide does not document
max-tool-denialsmax-tool-denialsis defined with default5and engine restrictions.pkg/workflow/frontmatter_types.go,pkg/workflow/engine.go, and validated inpkg/workflow/agent_validation.go.docs/src/content/docs/reference/frontmatter-full.md:3299-3308docs/src/content/docs/reference/frontmatter.mdhas nomax-tool-denialssection.References
pkg/workflow/frontmatter_types.go:362-365pkg/workflow/engine.go:238-245pkg/workflow/agent_validation.go:156-179docs/src/content/docs/reference/frontmatter-full.md:3299-33083.
github-appdocs claim fallback applies todependencies, but frontmatter/schema surface does not expose a top-leveldependenciesfielddocs/src/content/docs/reference/frontmatter.mdsays the top-levelgithub-appfallback applies toon,safe-outputs,checkout,tools.github, anddependencies.dependenciesfield exists inpkg/parser/schemas/main_workflow_schema.jsonorpkg/workflow/frontmatter_types.go.References
docs/src/content/docs/reference/frontmatter.md:187-200pkg/parser/schemas/main_workflow_schema.jsontop-level propertiespkg/workflow/frontmatter_types.go:345-467Schema Improvements Needed
4.
runs-on-slimschema/examples inherit generic GitHub Actions runner wording that still lists macOS-shaped examples, while compiler rejects macOS for agentic workflowsruns-on-slimreferences the genericgithub_actions_runs_ondefinition; its dereferenced description includes examples likemacos-latestin the generic prose for runner strings.pkg/workflow/runs_on_validation.goexplicitly rejectsmacos/macos-*on bothruns-onandruns-on-slim.macos-*is unsupported, but the schema-derived reference inherits more permissive generic runner text.References
pkg/parser/schemas/main_workflow_schema.json(runs-on-slim→$defs.github_actions_runs_on)pkg/workflow/runs_on_validation.go:35-82docs/src/content/docs/reference/frontmatter.md:389-409docs/src/content/docs/reference/frontmatter-full.md:1739-1758Workflow Violations
.github/workflows/*.mdexamples in this repository currently useruns-on-slim,github-app, orcheck-for-updatesat top level, so repository workflows do not presently demonstrate these mismatches.field_gaps.in_used_not_schemaset.Recommendations
max-runsby changing its integer minimum to1, or explicitly supporting0in parser semantics with documentation explaining the meaning.max-tool-denialssection todocs/src/content/docs/reference/frontmatter.md, including the default (5) and the requirement forengine: copilotwithengine.copilot-sdk: true.dependenciesclaim in the top-levelgithub-appdocs unless a real frontmatter field or documented nested path exists for users.runs-on-slim(or post-process the generated docs) so agentic-workflow restrictions do not inherit generic GitHub Actions/macOS-friendly wording.Strategy Performance
Next Steps
max-runsor align parser behaviorfrontmatter.mdto covermax-tool-denialsgithub-appfallback wordingruns-on-slimschema-derived docs with compiler validationAll reactions