Run an installed workflow as a step (workflow composition) #4647
markuswondrak
started this conversation in
Ideas
Replies: 0 comments
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.
Problem
Workflows orchestrate commands, not other workflows. The 12 built-in step types have no
workflowstep, and overlays only edit a single base workflow — so a meta-workflow that routes to different workflows has to copy their steps or shell out tospecify workflow runopaquely.Solution Sketch
One custom step type (
workflow), written once, that runs any already-installed workflow:Referenced workflows must be installed and are resolved by id only.
Example
Question
Is composing workflows this way in scope for core, or would a community step be the preferred route — and are there risks in these approaches I'm missing?
AI-assisted draft: generated by opencode (model: deepseek-v4.1-flash, human-supervised) on behalf of @markuswondrak, who reviewed and posted it.
All reactions