plugins/ruflo-workflows/README.md
Workflow automation with templates, orchestration, and full state-machine lifecycle management.
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-workflows@ruflo
/workflow -- List workflows, check status, view templatesworkflow-create -- Create reusable workflow templatesworkflow-run -- Execute and manage running workflows@claude-flow/cli v3.6 major+minor.bash plugins/ruflo-workflows/scripts/smoke.sh is the contract.All defined at v3/@claude-flow/cli/src/mcp-tools/workflow-tools.ts:
| Tool | Purpose |
|---|---|
workflow_create | Create a new workflow definition |
workflow_run | Run a workflow with inputs |
workflow_execute | Execute a one-shot workflow without persistence |
workflow_status | Inspect a running workflow |
workflow_list | List workflows |
workflow_pause | Pause a running workflow |
workflow_resume | Resume a paused workflow |
workflow_cancel | Cancel a workflow |
workflow_delete | Delete a workflow definition |
workflow_template | Manage workflow templates |
created ──run──→ running ──pause──→ paused ──resume──→ running
│ │
│ └──cancel──→ cancelled
│
├──complete──→ completed
└──cancel────→ cancelled
| State | Allowed transitions |
|---|---|
created | running (via workflow_run), cancelled (via workflow_cancel) |
running | paused (via workflow_pause), completed (auto), cancelled (via workflow_cancel) |
paused | running (via workflow_resume), cancelled (via workflow_cancel) |
completed | terminal |
cancelled | terminal |
workflow_execute is the stateless path — fire-and-forget, no persisted state machine.
This plugin owns the workflows-state AgentDB namespace (kebab-case, follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention"). Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.
workflows-state indexes workflow definitions, current state, run history, and template metadata. Accessed via memory_* (namespace-routed).
bash plugins/ruflo-workflows/scripts/smoke.sh
# Expected: "11 passed, 0 failed"
ruflo-agentdb — namespace convention ownerruflo-loop-workers — sibling automation surface (loops are recurring; workflows are stateful pipelines)ruflo-sparc — SPARC phase transitions can be modeled as workflows