# Stabilise the workflows module Review the workflows module, remove dead code and make the new graph/expression libs self-consistent. Run the build and the workflow tests after each change. Each stage declares its own verify command after `::` — the loop runs it and only ticks the stage off when it exits 0. - [ ] Remove the legacy workflowGraph/expression/mermaid modules :: verify: pnpm build - [ ] Rewire the builder to src/lib/workflowGraph and workflowExpression :: verify: pnpm build - [ ] Split WorkflowEditorDialog into focused components :: verify: pnpm build - [ ] Verify the workflows pages in the browser :: verify: pnpm typecheck