Description
parseDispatchRepositoryConfig explicitly accepts both dispatch_repository (underscore, preferred) and dispatch-repository (dash, alias) — see pkg/workflow/dispatch_repository.go:30. However pkg/parser/schemas/main_workflow_schema.json declares only the snake_case key dispatch_repository (line ~9120). A workflow that uses the dash alias the parser deliberately supports will fail strict schema validation.
Fix: add the dispatch-repository alias to the schema (or document that only the underscore form is schema-valid and deprecate the dash alias in the parser). Note: dispatch_repository is also the sole snake_case key among kebab-case safe-output siblings — worth deciding the canonical form while here.
Expected Impact
Closes a parser-vs-schema naming gap (low frequency, but a confusing footgun for an experimental feature).
Suggested Agent
Schema Consistency agent.
Estimated Effort
Fast (< 30 min)
Data Source
DeepReport 2026-06-16 · Schema Consistency Check #39506 (LOW, carried). Verified: parser accepts both forms (dispatch_repository.go:30); schema has only dispatch_repository.
Generated by 🔬 DeepReport - Intelligence Gathering Agent · 321.6 AIC · ⌖ 18.6 AIC · ⊞ 10K · ◷
Description
parseDispatchRepositoryConfigexplicitly accepts bothdispatch_repository(underscore, preferred) anddispatch-repository(dash, alias) — seepkg/workflow/dispatch_repository.go:30. Howeverpkg/parser/schemas/main_workflow_schema.jsondeclares only the snake_case keydispatch_repository(line ~9120). A workflow that uses the dash alias the parser deliberately supports will fail strict schema validation.Fix: add the
dispatch-repositoryalias to the schema (or document that only the underscore form is schema-valid and deprecate the dash alias in the parser). Note:dispatch_repositoryis also the sole snake_case key among kebab-case safe-output siblings — worth deciding the canonical form while here.Expected Impact
Closes a parser-vs-schema naming gap (low frequency, but a confusing footgun for an experimental feature).
Suggested Agent
Schema Consistency agent.
Estimated Effort
Fast (< 30 min)
Data Source
DeepReport 2026-06-16 · Schema Consistency Check #39506 (LOW, carried). Verified: parser accepts both forms (dispatch_repository.go:30); schema has only
dispatch_repository.