[Schema Consistency] Schema consistency check - 2026-08-16 #53057
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-17T05:35:53.114Z.
|
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-16
Summary
Critical Issues
ambient-foldersis implemented and documented, but missing from the typed frontmatter modelambient-foldersexists inpkg/parser/schemas/main_workflow_schema.json:536.pkg/workflow/ambient_folders.go:42-81.pkg/workflow/frontmatter_types.gohas noAmbientFoldersfield inFrontmatterConfig.docs/src/content/docs/reference/frontmatter.md:144-149, generated indocs/src/content/docs/reference/frontmatter-full.md:128, and used in.github/workflows/shared/squad.md:30.FrontmatterConfiginstead of the raw frontmatter map can silently miss a real supported feature.Top-level
github-appis in schema and docs, but missing fromFrontmatterConfiggithub-appproperty exists inpkg/parser/schemas/main_workflow_schema.json:12309.docs/src/content/docs/reference/frontmatter.md:158-172and generated indocs/src/content/docs/reference/frontmatter-full.md:20730-20769.pkg/workflow/frontmatter_types.goincludes many nestedgithub-appmentions, butFrontmatterConfigitself has no top-levelGitHubAppfield.Documentation Gaps
max-turnsdocumentation contradicts itself across docs and workflowsmax-turnsis a first-class field inpkg/parser/schemas/main_workflow_schema.json:4043-4046.pkg/workflow/engine.go:241-248), and capability flags mark support across engines (for examplepkg/workflow/copilot_engine.go:47,pkg/workflow/codex_engine.go:63,pkg/workflow/claude_engine.go:35).docs/src/content/docs/reference/engines.md:51-63says top-levelmax-turnsis supported by Copilot, Claude, Codex, Gemini, and Pi.max-turnsis unavailable for Copilot indocs/src/content/docs/reference/engines.md:534-549..github/workflows/daily-community-attribution.md:588says "This workflow uses the Copilot engine — max-turns is not available".github/workflows/agent-persona-explorer.md:37says "max-turns not available for default Copilot engine"User-facing frontmatter guide omits top-level
max-turns/ deprecatedmax-runssections despite schema supportmax-turnsand deprecatedmax-runsexist (pkg/parser/schemas/main_workflow_schema.json:4043-4074).max-turnsexamples indocs/src/content/docs/reference/frontmatter-full.md:3132-3141.docs/src/content/docs/reference/glossary.md:915-951anddocs/src/content/docs/reference/cost-management.md:211-231.docs/src/content/docs/reference/frontmatter.mdhas no dedicated section for either top-level field.Schema Improvements Needed
FrontmatterConfigincludesversion(pkg/workflow/frontmatter_types.go:327) andinclude(pkg/workflow/frontmatter_types.go:384) as top-level fields.versionorincludeproperty.versionclearly appears elsewhere in nested schemas (engine/runtime/container), which increases ambiguity.Parser Updates Required
Add typed
FrontmatterConfigcoverage for top-level fields that already exist in schema and runtime logic, especially:ambient-foldersgithub-appmax-turnsmax-runs(if retained for compatibility)Audit any features still read from raw
map[string]anyonly, and either:FrontmatterConfig, orFrontmatterConfigis intentionally partial.Workflow Violations
max-turns, but repository workflows already set top-levelmax-turnsbroadly.github/workflows/daily-safe-output-optimizer.md:32,.github/workflows/spec-enforcer.md:35,.github/workflows/smoke-claude.md:26, plus many others..github/workflows/daily-community-attribution.md:588and.github/workflows/agent-persona-explorer.md:37should be corrected to match current behavior.Non-Authoritative Warning
/tmp/gh-aw/agent/awf-config-drift.jsonreportsdegraded: trueand warns that canonical source retrieval failed.Recommendations
pkg/workflow/frontmatter_types.goso the typed model matches the schema and docs.docs/src/content/docs/reference/engines.mdsomax-turnssupport is described consistently for Copilot/Codex/Gemini/Pi.max-turnsand deprecatedmax-runssections todocs/src/content/docs/reference/frontmatter.md..github/workflows/daily-community-attribution.mdand.github/workflows/agent-persona-explorer.md.includeandversionare real frontmatter fields; if not, remove them fromFrontmatterConfigor clearly mark them internal-only.Strategy Performance
Next Steps
All reactions