[Schema Consistency] 🔍 Schema Consistency Check - 2026-07-26 #48137
Closed
Replies: 1 comment
|
This discussion has been marked as outdated by Schema Consistency Checker. A newer discussion is available at Discussion #48302. |
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.
Summary
Critical Issues
Built-in engine catalog drift for
antigravityantigravity:pkg/workflow/engine_definition.go:18,pkg/workflow/engine_definition.go:285, and invalid-engine errors enumerate the registry-derived engine list atpkg/workflow/engine_definition.go:360-370..github/workflows/smoke-antigravity.md:33-35setsengine.id: antigravity.docs/src/content/docs/reference/engines.md:14-21lists onlycopilot,claude,codex,gemini,opencode, andpi;docs/src/content/docs/reference/frontmatter-full.md:2287-2295also omitsantigravity.Deprecated alias still prominently surfaced in docs
safe-outputs.dispatch-repositoryas canonical and logs a deprecation warning forsafe-outputs.dispatch_repository:pkg/workflow/dispatch_repository.go:36-41.frontmatter-fullstill documents the full deprecated alias block as a first-class surface:docs/src/content/docs/reference/frontmatter-full.md:9088-9092.Documentation Gaps
engines.mdis incomplete for available enginesdocs/src/content/docs/reference/engines.md:14-21has no Antigravity row, despite runtime support and a checked-in workflow using it.frontmatter-full.mdbuilt-in engine comments lag runtime realitydocs/src/content/docs/reference/frontmatter-full.md:2287-2295says built-ins areclaude,codex,copilot,gemini,opencode,pi, omittingantigravity.Schema Improvements Needed
Engine schema descriptions/examples should include
antigravitypkg/parser/schemas/main_workflow_schema.json, theengineobject includes examples/descriptions for built-in IDs around12488-12544, butantigravityis absent.12542-12568also omit it.Safe-output naming remains internally inconsistent
pkg/parser/schemas/main_workflow_schema.json:9537-9639anddocs/src/content/docs/reference/frontmatter-full.md:9010-9092explicitly preserve snake_case nested keys (event_type,allowed_repositories) insidedispatch-repository, while neighboring safe-output surfaces are predominantly kebab-case.Parser Updates Required
pkg/workflow/dispatch_repository.go:36-41already encodes the desired direction: canonical kebab-case key, underscore alias only for backward compatibility.pkg/workflow/engine_definition.go:18,:285, and:360-370already reflect the actual built-in engine catalog includingantigravity.Workflow Violations
.github/workflows/smoke-antigravity.md:33-35uses a runtime-supported engine that the docs do not advertise.Recommendations
antigravityanywhere built-in engine IDs are enumerated in docs and schema-generated comments/examples.dispatch_repositoryinfrontmatter-full.mdby marking it as legacy-only or removing the expanded deprecated example block.dispatch-repositorynested snake_case keys are intentional long-term API surface; if not, add kebab-case aliases and document the migration path.Strategy Performance
Next Steps
docs/src/content/docs/reference/engines.mddocs/src/content/docs/reference/frontmatter-full.mddispatch-repositorynested keysReferences:
All reactions