[Schema Consistency] 🔍 Schema Consistency Check - 2026-07-29 #48781
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-07-30T06:20:22.923Z.
|
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
Runtime-supported
antigravityengine is missing from the main engine docspkg/workflow/engine_definition.gostates built-ins includeantigravity; runtime files such aspkg/workflow/antigravity_installer.goand tests also reference it..github/workflows/smoke-antigravity.mdusesengine.id: antigravity.docs/src/content/docs/reference/engines.mdlists Copilot, Claude, Codex, Gemini, OpenCode, and Pi, but notantigravity.frontmatter-full.mdstill prominently surfaces the deprecatedsafe-outputs.dispatch_repositoryaliaspkg/workflow/dispatch_repository.gotreatsdispatch-repositoryas canonical and logs a deprecation warning whendispatch_repositoryis used.pkg/parser/schemas/main_workflow_schema.jsonincludes both keys and labelsdispatch_repositoryas a deprecated alias.docs/src/content/docs/reference/frontmatter-full.md:9101still renders a full top-level example block fordispatch_repository, directly after the canonical block.Documentation Gaps
Engine catalog drift between docs and implementation
docs/src/content/docs/reference/engines.mdomitsantigravity, while code and workflows support it.Naming-style inconsistency is documented rather than normalized
safe-outputs.dispatch-repositoryuses kebab-case.event_type,allowed_repositories.pkg/workflow/dispatch_repository.goparsesevent_typeandallowed_repositories; schema description atpkg/parser/schemas/main_workflow_schema.json:9559explicitly notes the snake_case exception; docs indocs/src/content/docs/reference/frontmatter-full.mdanddocs/src/content/docs/reference/safe-outputs.mdrepeat it.Schema Improvements Needed
Reduce deprecated alias visibility in generated reference output
dispatch_repositoryaccepted in schema for compatibility, but demote it in generated docs to a short deprecated note instead of a full example block.Clarify engine catalog source of truth
antigravitycannot fall out of documentation.Parser Updates Required
dispatch_repositoryin files likepkg/workflow/dispatch_repository_validation.go,pkg/workflow/safe_outputs_max_validation.go, andpkg/workflow/compiler_validators.go.dispatch-repository.Workflow Violations
.github/workflows/smoke-antigravity.mduses a supported engine not documented inengines.md.Recommendations
antigravitytodocs/src/content/docs/reference/engines.mdand any engine summary tables generated from the same source.frontmatter-full.mdgeneration so deprecated aliases likedispatch_repositoryappear only in a compact deprecated note, not as a peer example to the canonical key.dispatch-repository, optionally mentioningdispatch_repositoryonly as a deprecated alias.pkg/workflow/engine_definition.go.Strategy Performance
Next Steps
dispatch-repositoryEvidence
pkg/workflow/engine_definition.go— built-in engine list includesantigravity.github/workflows/smoke-antigravity.md— real workflow usage ofengine.id: antigravitydocs/src/content/docs/reference/engines.md— engine list omitsantigravitypkg/workflow/dispatch_repository.go— canonical key isdispatch-repository, underscore alias is deprecateddocs/src/content/docs/reference/frontmatter-full.md:9101— deprecateddispatch_repositorystill fully renderedpkg/parser/schemas/main_workflow_schema.json:9559— nested snake_case exception explicitly documentedReferences:
All reactions