[Schema Consistency] Schema Consistency Check - 2026-07-30 #49062
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-07-31T06:17:31.486Z.
|
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-30
Summary
Critical Issues
engine.idschema/docs omit a runtime-supported built-in engine (antigravity)antigravityas built-in inpkg/workflow/engine_definition.go:18andpkg/workflow/engine_definition.go:285..github/workflows/smoke-antigravity.md:37(id: antigravity).claude,codex,copilot,gemini,opencode,piin$defs.engine_config.oneOf[1].properties.id.description, andantigravitydoes not appear anywhere inpkg/parser/schemas/main_workflow_schema.json.Schema is looser than runtime for
engine.idengine.idis a plain string with noenumin both engine config branches.Documentation Gaps
docs/src/content/docs/reference/engines.mdstill has no Antigravity engine coverageengines.md:353andengines.md:453), but there is no Antigravity section even though runtime code, tests, and a repository workflow support it.Deprecated alias
safe-outputs.dispatch_repositoryis still surfaced in generated reference docssafe-outputs.dispatch_repositoryis deprecated and should be renamed todispatch-repositoryinpkg/workflow/dispatch_repository.go:36-41.docs/src/content/docs/reference/frontmatter-full.md:9099-9122still documentsdispatch_repository:as a full reference block, not just a migration note.Schema Improvements Needed
Tighten
engine.idconstraintsantigravityto built-in engine descriptions/examples immediately.enum(or a generated enum for built-ins plus documented custom-engine escape hatch) so schema validation matches runtime behavior more closely.Reduce naming drift in
dispatch-repositorynested keysevent_typeandallowed_repositoriesundersafe-outputs.dispatch-repository.frontmatter-full.md:9018-9020.Parser Updates Required
dispatch-repository, but several validator/handler/test surfaces still emit underscore-form names such as:pkg/workflow/compiler_validators.go:399pkg/workflow/safe_outputs_max_validation.go:314pkg/workflow/safe_outputs_max_validation_test.go:111Workflow Violations
.github/workflows/smoke-antigravity.mdlegitimately usesengine.id: antigravity, proving runtime/workflow support that the schema/docs still under-document.Recommendations
main_workflow_schema.jsonengine descriptions/examples to includeantigravitywherever built-in engine IDs are enumerated.engine.idshould gain a stronger schema constraint (enum/pattern/oneOf`) to catch unknown built-ins earlier.frontmatter-full.mdsodispatch_repositoryappears only as a deprecated alias note, withdispatch-repositoryas the sole primary example.dispatch-repositorywhile keeping the underscore alias accepted for backward compatibility.dispatch-repositorynested keys should grow kebab-case aliases (or at minimum a stronger migration note) to match the rest of the frontmatter style.Strategy Performance
Next Steps
dispatch_repositorydocs to migration-only guidanceAll reactions