[Schema Consistency] Schema Consistency Check - 2026-07-31 #49284
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #49484. |
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-07-31
Summary
Critical Issues
engine.idschema is looser than runtime validation and omits a real built-in enginepkg/parser/schemas/main_workflow_schema.json:12672definesengine.idas an unconstrained string.pkg/workflow/engine_definition.go:18andpkg/workflow/engine_definition.go:285list built-ins includingantigravity..github/workflows/smoke-antigravity.md:37usesid: antigravity.Engine reference docs omit the runtime-supported
antigravityenginedocs/src/content/docs/reference/engines.mdlists Copilot/Claude/Codex/Gemini/OpenCode/Pi in the engine table but has no antigravity section or mention.antigravityis supported in practice.frontmatter-full.mdstill surfaces deprecatedsafe-outputs.dispatch_repositorypkg/workflow/dispatch_repository.go:36-41.docs/src/content/docs/reference/frontmatter-full.md:9117onward.pkg/parser/schemas/main_workflow_schema.json:9733.Documentation Gaps
dispatch-repositorynested keysevent_typeandallowed_repositories:pkg/parser/schemas/main_workflow_schema.json:9635-9729.pkg/workflow/dispatch_repository.go:73-88.docs/src/content/docs/reference/frontmatter-full.md:9036-9062.Schema Improvements Needed
engine.id, or at minimum keep schema descriptions/examples synchronized with the runtime engine catalog.dispatch_repositorymust remain for compatibility, reduce its visibility in generated docs and mark it as migration-only.dispatch-repositorykeys (event-type,allowed-repositories) or documenting the exception more prominently in the concise docs.Parser Updates Required
antigravity, but the schema/docs surface does not advertise it consistently.dispatch_repositoryis correct; the docs/schema generation should align with that canonicalization policy.Workflow Violations
.github/workflows/smoke-antigravity.mddemonstrates a valid runtime feature (engine.id: antigravity) that documentation does not reflect.Recommendations
docs/reference/engines.mdto includeantigravityanywhere built-in engines are enumerated.dispatch_repositoryalias fromfrontmatter-full.mdexamples sodispatch-repositoryis the only prominently shown form.dispatch-repositorynested snake_case keys are intentional long-term API design; if not, add kebab-case aliases before the surface spreads further.Strategy Performance
Next Steps
References:
All reactions