Flows YAML — autocomplete, multi-layer validation, side panel #1072
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks#1072
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a flow author, I want IntelliSense-grade autocomplete, schema squiggles, semantic checks (unknown step refs, duplicate ids, broken expressions), and a side panel that lists errors and renders schema docs, so that authoring flows feels as polished as editing CI YAML in VS Code.
Acceptance criteria
Autocomplete provider
name,on,if,priority,concurrency,steps,env.on:value list: trigger kinds;on.<kind>array list: subtypes filtered by kind.steps[].uses:— registered op names from schema discriminator.steps[].with:— required + optional args for the chosenuses:, with type hints + Zod.describe()text.${{ }}andif::event.*,steps.<id>.outputs.<key>,env.*, built-in functions, operators.Custom diagnostics provider
step.idwithin a flow.${{ steps.X.outputs.Y }}references an unknown step or output key (usesoutputsSchema).if:expression fails to parse (mini-AST round-trip).uses:not in registered ops list.concurrency.grouptemplate references unknown variable.Side panel — Validation tab
Side panel — Help tab
.describe(): per op, per trigger, per built-in.Server round-trip on save
POST /flows/:name?validate=1(server returns 422 with the same diagnostics shape if invalid).Tests
Out of scope
References
docs/specs/flows-yaml.md§10.3.3, §10.3.4, §10.3.6.