[Schema Consistency] Schema consistency check - 2026-08-03 #49916
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #50195. |
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-03
Summary
Critical Issues
engine.idschema is looser than runtime validation and its built-in engine list is stalepkg/parser/schemas/main_workflow_schema.json:12908definesengine.extensions, but theengine.idbranch remains a plain string with no enum/const guard, and a targeted search found noantigravitymention anywhere in the schema.pkg/workflow/engine_definition.go:18and:286state the built-in engine catalog includesantigravity(andpi)..github/workflows/smoke-antigravity.md:37usesengine.id: antigravity.docs/reference/engines.mdomits a runtime-supported built-in enginedocs/src/content/docs/reference/engines.mdavailable-engine table lists Copilot, Claude, Codex, Gemini, OpenCode, and Pi.pkg/workflow/engine_definition.goand.github/workflows/smoke-antigravity.mdconfirmantigravityis supported and exercised.Documentation Gaps
frontmatter-full.mdstill surfaces deprecateddispatch_repositorypkg/parser/schemas/main_workflow_schema.json:9956-9958keepsdispatch_repositoryonly as a deprecated alias ofdispatch-repository.pkg/workflow/dispatch_repository.go:37-42accepts the underscore alias only for backward compatibility and logs a deprecation warning.docs/src/content/docs/reference/frontmatter-full.md(around the safe-outputs dispatch section near the provided offset) still surfaces the deprecated alias instead of steering readers to the canonical kebab-case key.Schema Improvements Needed
Add machine-checkable constraints or generated built-in catalog coverage for
engine.idNormalize naming within
safe-outputs.dispatch-repositorydispatch-repository.event_typeatpkg/parser/schemas/main_workflow_schema.json:9869-9871andpkg/workflow/dispatch_repository.go:74allowed_repositoriesatpkg/parser/schemas/main_workflow_schema.json:9879andpkg/workflow/dispatch_repository.go:82-89Parser Updates Required
pkg/workflow/dispatch_repository.go:42correctly prefersdispatch-repository.dispatch_repository(for handler/tool identifiers and test names), reinforcing mixed-surface terminology.Workflow Violations
.github/workflows/smoke-antigravity.md:37usesengine.id: antigravityengine.id: pi, matching docs and runtimeRecommendations
docs/src/content/docs/reference/engines.mdto addantigravityanywhere engine choices are enumerated.engine.idso built-in engine lists includeantigravity, and consider adding stronger constraints than a free-form string.docs/src/content/docs/reference/frontmatter-full.mdso the canonical safe-output key shown to users isdispatch-repository, not deprecateddispatch_repository.event-type/allowed-repositorieswhile preserving compatibility.Strategy Performance
Next Steps
References:
.github/workflows/smoke-antigravity.mddocs/src/content/docs/reference/engines.mdpkg/workflow/dispatch_repository.goAll reactions