Files
ruvnet__ruflo/plugins/ruflo-workflows/docs/adrs/0001-workflows-contract.md
Reuven 02eee0bcdc docs(adr): bulk-update plugin contract ADR statuses (sweep)
- 27 plugins moved Proposed → Accepted (shipped versions, in marketplace)
  - 0 plugins kept as Proposed (all have real versions ≥ 0.2.0)

Per-plugin breakdown:
  ruflo-aidefence    v0.2.0  Accepted — 3-gate pattern, 6 aidefence_* tools
  ruflo-autopilot    v0.2.0  Accepted — 10 autopilot_* tools, /loop integration
  ruflo-core         v0.2.1  Accepted — MCP server contract, plugin-catalog discovery
  ruflo-cost-tracker v0.16.1 Accepted — namespace-routing fix, ADR-097 budget integration
  ruflo-daa          v0.2.0  Accepted — 8 daa_* tools, intelligence-pipeline alignment
  ruflo-ddd          v0.2.0  Accepted — AgentDB domain graph, SPARC Architecture-phase
  ruflo-docs         v0.2.0  Accepted — document worker dispatch, drift detection
  ruflo-federation   v0.2.0  Accepted — ADR-097 Phase 1+2, 3-gate alignment
  ruflo-goals        v0.2.0  Accepted — 6 namespaces, GOAP + dossier ADR-099
  ruflo-iot-cognitum v0.2.0  Accepted — 5-tier trust, 6 background workers
  ruflo-jujutsu      v0.2.0  Accepted — 6 analyze_* tools, ADR-compliance cross-link
  ruflo-knowledge-graph v0.2.0 Accepted — embeddings_generate fix, pathfinder
  ruflo-loop-workers v0.2.0  Accepted — 12 worker triggers, 5 hooks_worker-* tools
  ruflo-market-data  v0.2.0  Accepted — embeddings + namespace-routing bugs fixed
  ruflo-migrations   v0.2.0  Accepted — namespace-routing bug fixed both skills
  ruflo-neural-trader v0.2.0 Accepted — 4 namespaces already compliant
  ruflo-observability v0.2.0 Accepted — namespace-routing bug fixed both skills
  ruflo-plugin-creator v0.2.0 Accepted — scaffolding templates updated with contract
  ruflo-rag-memory   v0.2.0  Accepted — claude-memories reserved namespace consumer
  ruflo-ruvllm       v0.2.0  Accepted — LLM-config + chat-format slice ownership
  ruflo-rvf          v0.2.0  Accepted — portable-memory + session-persistence slice
  ruflo-security-audit v0.2.0 Accepted — 3-gate + audit_1776853149979 regression class
  ruflo-sparc        v0.2.0  Accepted — all 5 SPARC phases cross-linked
  ruflo-swarm        v0.2.0  Accepted — 12 MCP tools (4 swarm_* + 8 agent_*)
  ruflo-testgen      v0.2.0  Accepted — testgaps worker + coverage CLI commands
  ruflo-wasm         v0.2.0  Accepted — 10 wasm_* tools, ADR-070 cross-ref
  ruflo-workflows    v0.2.0  Accepted — 10 workflow_* tools, SPARC phase transitions

Each ADR received: updated: 2026-05-09 in frontmatter + Implementation status
section noting version, marketplace presence, and contract element alignment.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-09 15:10:42 -04:00

3.1 KiB

id, title, status, date, updated, authors, tags
id title status date updated authors tags
ADR-0001 ruflo-workflows plugin contract — pinning, namespace coordination, 10-tool MCP surface, smoke as contract Accepted 2026-05-04 2026-05-09
reviewer (Claude Code)
plugin
workflows
automation
orchestration
namespace
smoke-test

Context

ruflo-workflows (v0.1.0) — workflow automation with templates, orchestration, and lifecycle management. 1 agent (workflow-specialist), 2 skills (workflow-create, workflow-run), 1 command (/workflow).

Wraps 10 workflow_* MCP tools at v3/@claude-flow/cli/src/mcp-tools/workflow-tools.ts:84, 196, 264, 450, 511, 558, 597, 648, 701, 739:

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

This plugin is the canonical wrapper for the workflow-* MCP family.

Decision

  1. Add this ADR (Proposed).
  2. README augment: Compatibility (pin v3.6); 10-tool MCP surface table; lifecycle state machine (created → running ↔ paused → completed/cancelled); Namespace coordination (claims workflows-state); Verification + Architecture Decisions sections.
  3. Bump 0.1.0 → 0.2.0. Keywords add mcp, workflow-templates, pause-resume, lifecycle.
  4. scripts/smoke.sh — 11 structural checks: version + keywords; both skills + agent + command with valid frontmatter; all 10 workflow_* tools referenced; lifecycle state machine documented; v3.6 pin; namespace coordination; ADR Proposed; no wildcard tools.

Consequences

Positive: plugin joins the cadence. The 10-tool surface + lifecycle state machine are now contractually documented. This ADR completes the plugin-contract retrofit across the entire ruflo plugin family — all 33 plugins now have ADR-0001 + smoke + namespace coordination.

Negative: none material.

Verification

bash plugins/ruflo-workflows/scripts/smoke.sh
# Expected: "11 passed, 0 failed"
  • plugins/ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md — namespace convention
  • plugins/ruflo-loop-workers/docs/adrs/0001-loop-workers-contract.md — sibling automation surface (loops vs workflows)
  • plugins/ruflo-sparc/docs/adrs/0001-sparc-contract.md — SPARC orchestration uses workflows for phase transitions
  • v3/@claude-flow/cli/src/mcp-tools/workflow-tools.ts — 10 workflow_* tools

Implementation status

Plugin version v0.2.0 shipped and listed in marketplace.json. Source exists at plugins/ruflo-workflows/. Contract elements implemented: all 10 workflow_* MCP tools covered; SPARC phase-transition orchestration cross-linked; namespace workflows-state claimed; smoke-as-contract gate defined in scripts/smoke.sh (11 checks).