[Schema Consistency] 🔍 Schema Consistency Check - 2026-07-09 #44514
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-07-10T06:38:35.155Z.
|
Beta Was this translation helpful? Give feedback.
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
engine.idbuilt-in engine catalog is stale in schema/docs$defs.engine_configsays built-ins areclaude,codex,copilot,gemini,opencode,crush,pi.antigravity(.github/workflows/smoke-antigravity.mdusesengine.id: antigravity).Built-in engine list in code comments lags implementation
pkg/workflow/engine_definition.gocomments say built-ins areclaude, codex, copilot, gemini, opencode, crush.piandantigravity.Documentation Gaps
docs/reference/engines.mdomits Antigravity entirelyantigravity..github/workflows/smoke-antigravity.mdis a first-party workflow proving runtime support.dispatch-repositoryis canonical, but nested keys remain snake_case-only across schema/docs/parserdispatch-repository.event_type,allowed_repositories.allowed-repos,target-repo,github-token, etc.).allowed-repos/event-typeand fail schema validation.Schema Improvements Needed
Add
antigravitywherever built-in engine IDs are enumerated/describedpkg/parser/schemas/main_workflow_schema.json$defs.engine_config.oneOf[1].properties.id.descriptionpkg/parser/schemas/main_workflow_schema.json$defs.engine_config.oneOf[3].properties.id.descriptionConsider a naming-alias migration path for
dispatch-repositorynested fieldsevent_typeandallowed_repositories.pkg/workflow/dispatch_repository.go.event-type,allowed-repos) and deprecate snake_case over time.Parser Updates Required
dispatch-repositoryparser only reads snake_case nested keyspkg/workflow/dispatch_repository.goreadsevent_typeandallowed_repositoriesonly.dispatch-repository.Deprecated alias remains prominently surfaced in generated docs
docs/reference/frontmatter-full.mdstill includes a fulldispatch_repository:block immediately after the canonicaldispatch-repository:block.Workflow Violations
.github/workflows/smoke-antigravity.mduses:Recommendations
antigravityeverywhere built-in engines are listed.pkg/workflow/engine_definition.gocomments to match the actual built-in engine catalog (piandantigravity).dispatch-repositorynested fields:safe-outputs.mdand frontmatter docs.dispatch_repositoryin generated docs (move to a short deprecation note instead of a full mirrored block).Strategy Performance
Next Steps
engines.mdavailable-engine table to include Antigravitydispatch-repositorynested keysEvidence
pkg/workflow/engine_definition.go: comments list built-ins asclaude, codex, copilot, gemini, opencode, crush.docs/src/content/docs/reference/engines.md: engine table lists Copilot/Claude/Codex/Gemini/Crush/OpenCode/Pi, but no Antigravity..github/workflows/smoke-antigravity.md: first-party workflow usesengine.id: antigravity.pkg/workflow/dispatch_repository.go: parser accepts top-leveldispatch-repositoryand deprecated aliasdispatch_repository, but nested keys read areevent_typeandallowed_repositoriesonly.pkg/parser/schemas/main_workflow_schema.json:dispatch-repositoryschema requiresevent_type; allowlist field isallowed_repositories; engine-id descriptions omit Antigravity.docs/src/content/docs/reference/safe-outputs.mdanddocs/src/content/docs/reference/frontmatter-full.md: canonical docs still teach snake_case nested keys and still expose full deprecateddispatch_repositoryexamples.References:
Beta Was this translation helpful? Give feedback.
All reactions