[Schema Consistency] Schema Consistency Check - 2026-08-01 #49484
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-08-02T06:20:32.966Z.
|
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-01
Summary
Critical Issues
Antigravity is runtime-supported and used by a real workflow, but key schema/docs surfaces omit it.
pkg/workflow/engine_definition.go:18and:285list built-in engines includingantigravity..github/workflows/smoke-antigravity.md:37usesengine.id: antigravity.pkg/parser/schemas/main_workflow_schema.jsondescribes engine built-ins asclaude, codex, copilot, gemini, opencode, pibut omitsantigravityin bothengine_configstring andiddescriptions.docs/src/content/docs/reference/engines.md:13-22omits Antigravity from the "Available Coding Agents" table.Schema is laxer than runtime for built-in engine IDs.
pkg/parser/schemas/main_workflow_schema.jsonuses plaintype: stringforengine.id/ engine string forms and only mentions built-ins in descriptions.antigravitybecause the descriptions are also stale.Documentation Gaps
frontmatter-full.mdstill prominently documents deprecatedsafe-outputs.dispatch_repository.docs/src/content/docs/reference/frontmatter-full.md:9133includes a full deprecated alias block.pkg/workflow/dispatch_repository.go:37-42accepts it only as a backward-compatible alias and logs: rename todispatch-repositoryor rungh aw fix.engines.mdomits Antigravity despite dedicated runtime support files.pkg/workflow/antigravity_installer.go,pkg/workflow/antigravity_tools.go, and engine catalog registration.docs/src/content/docs/reference/engines.mdstill lists only Copilot, Claude, Codex, Gemini, OpenCode, and Pi.Schema Improvements Needed
Add
antigravityto engine built-in lists/descriptions across all engine schema branches.engine_configstring description,engine.iddescription, andruntime.idexamples inpkg/parser/schemas/main_workflow_schema.json.Consider constraining built-in engine IDs with an explicit enum/oneOf branch.
Normalize
dispatch-repositorynested field naming.dispatch-repository) but required nested keys remain snake_case (event_type,allowed_repositories) in schema, docs, and parser.Parser Updates Required
pkg/workflow/dispatch_repository_validation.goerrors and examples still use underscore-form labels likedispatch_repository/allowed_repositorieseven though the canonical top-level key isdispatch-repository.Workflow Violations
.github/workflows/smoke-antigravity.mddemonstrates that repo workflows already depend on a capability (antigravity) that some schema/docs surfaces still omit.Recommendations
main_workflow_schema.jsonengine descriptions/examples to includeantigravityeverywhere runtime supports it.dispatch_repositoryblock fromfrontmatter-full.md; keep only a short deprecated note pointing todispatch-repository.dispatch-repositorynested keys and align schema, parser messages, and docs.engines.mdtables.Strategy Performance
Next Steps
engines.mdto list Antigravitydispatch_repositorydocsAll reactions