Serve per-step-type settings schemas to the workflow editor #1248

Closed
opened 2026-10-27 13:39:37 +00:00 by sam · 0 comments
Owner

The workflow editor checks step type names and repository needs against the served vocabulary (x-step-types in the workflow-definitions schema), but not step settings. gate.diff-rules, agent.run, workflow.call and command.run take settings, and a wrong shape is only reported by the server on save. Done when each settings-bearing type's schema is served alongside its name and the editor flags bad settings before save.

Close reason

Each StepType declares its settings type; x-step-types carries a settings JSON Schema (yaml keys, title/doc/enum annotations) per type; the editor rejects unknown keys, wrong types and out-of-enum values before save.


Imported from beads archie-core-bn0v · GitHub #1477 · type task · priority P3 · created 2026-10-04 · closed 2026-10-04

The workflow editor checks step type names and repository needs against the served vocabulary (x-step-types in the workflow-definitions schema), but not step settings. gate.diff-rules, agent.run, workflow.call and command.run take settings, and a wrong shape is only reported by the server on save. Done when each settings-bearing type's schema is served alongside its name and the editor flags bad settings before save. ### Close reason Each StepType declares its settings type; x-step-types carries a settings JSON Schema (yaml keys, title/doc/enum annotations) per type; the editor rejects unknown keys, wrong types and out-of-enum values before save. --- _Imported from beads `archie-core-bn0v` · GitHub #1477 · type task · priority P3 · created 2026-10-04 · closed 2026-10-04_
sam added the lowtask labels 2026-10-27 13:39:37 +00:00
sam self-assigned this 2026-10-27 13:39:37 +00:00
sam closed this issue 2026-10-27 13:39:37 +00:00
sam added a new dependency 2026-10-27 13:42:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1248