| id | ADR-0001 | |||||
|---|---|---|---|---|---|---|
| title | ruflo-core plugin contract — pinning, MCP server contract, plugin-catalog discovery, smoke as contract | |||||
| status | Accepted | |||||
| date | 2026-05-04 | |||||
| updated | 2026-05-09 | |||||
| authors |
|
|||||
| tags |
|
ruflo-core is the foundation plugin. Every other plugin (ruflo-ruvector, ruflo-agentdb, ruflo-browser, ruflo-intelligence, ruflo-adr, ruflo-aidefence, ruflo-autopilot, plus 25 others) depends on the MCP server it registers via .mcp.json and the orchestration patterns it documents.
Today's plugin (v0.1.0):
.claude-plugin/plugin.json:4—version: "0.1.0", keywordsmcp, orchestration, claude-code.mcp.json— registersrufloMCP server vianpx -y @claude-flow/cli@latestagents/— 3 generalists (coder,researcher,reviewer)skills/— 3 first-run helpers (init-project,ruflo-doctor,discover-plugins)commands/ruflo-status.md— system status one-linerREADME.md— terse: "What's Included" + Configuration only
The discover-plugins skill is a substantial asset — a curated 32-plugin catalog with decision guides. That stays.
What's missing matches the cadence we've established:
- No plugin-level ADR. Foundation plugin should document its own contract since 30+ plugins depend on it.
- No smoke test.
- No Compatibility section pinning to
@claude-flow/cliv3.6. - MCP server tool count is undocumented.
discover-pluginsmentions "314 tools" once, but this should be a contract claim with a verification path. - No cross-references to sibling ADRs (namespace convention, 3-gate pattern, 4-step pipeline) that other plugins now reference.
docs/adrs/0001-core-contract.md. Cross-links the seven sibling ADRs.
Append:
- Compatibility — pin to
@claude-flow/cliv3.6. Note thenpx -y @claude-flow/cli@latestinvocation in.mcp.jsonis the dynamic resolver; smoke verifies the resolved version. - MCP server contract — the registered
rufloMCP server exposes 300+ tools across families:memory_*,agentdb_*,embeddings_*,ruvllm_*,hooks_*,aidefence_*,neural_*,autopilot_*,browser_*,agent_*,swarm_*,system_*, etc. Runtime truth viamcp tool call mcp_status. - Sibling contracts — pointer block to the seven sibling ADRs that already define namespace convention, 3-gate pattern, 4-step pipeline, etc.
- Architecture Decisions + Verification sections.
0.1.0 → 0.2.0. Keywords add foundation, mcp-server, plugin-catalog, discovery.
10 checks:
- plugin.json declares
0.2.0with the new keywords. .mcp.jsonexists and registers arufloMCP server.- All 3 agents present (
coder,researcher,reviewer) with valid frontmatter. - All 3 skills present (
init-project,ruflo-doctor,discover-plugins) with valid frontmatter. discover-pluginsskill catalog references at least 25 sibling plugins (the curated catalog).- README pins to
@claude-flow/cliv3.6. - README cross-references sibling contracts (namespace convention, 3-gate pattern, 4-step pipeline).
- ADR-0001 exists with status
Proposed. commands/ruflo-status.mdinvokesdoctorandstatus.- No skill grants wildcard tool access.
Positive:
- Foundation plugin is now contractually self-documenting.
- Sibling-ADR cross-references make the cohesive plugin family discoverable from the entry point.
- Plugin catalog claims are now smoke-verifiable.
Negative:
discover-pluginscatalog must be kept in sync as plugins are added. Today there are 33 plugins (including this one); the catalog covers ~32. Drift remediation is a separate, mechanical task.
Neutral:
- No new MCP tools, no new skills, no new agents. Documentation + smoke only.
bash plugins/ruflo-core/scripts/smoke.sh
# Expected: "10 passed, 0 failed"plugins/ruflo-ruvector/docs/adrs/0001-pin-ruvector-0.2.25.mdplugins/ruflo-agentdb/docs/adrs/0001-agentdb-optimization.md— namespace conventionplugins/ruflo-browser/docs/adrs/0001-browser-skills-architecture.mdplugins/ruflo-intelligence/docs/adrs/0001-intelligence-surface-completeness.md— 4-step pipelineplugins/ruflo-adr/docs/adrs/0001-adr-plugin-pattern.mdplugins/ruflo-aidefence/docs/adrs/0001-aidefence-contract.md— 3-gate patternplugins/ruflo-autopilot/docs/adrs/0001-autopilot-contract.md— 270s cache-aware /loopv3/@claude-flow/cli/— the MCP server source backing this plugin
Plugin version v0.2.1 shipped and listed in marketplace.json. Source exists at plugins/ruflo-core/. Contract elements implemented: .mcp.json registers ruflo server via npx -y @claude-flow/cli@latest; plugin-catalog discovery skill present; 3 generalist agents shipped; smoke-as-contract gate defined in scripts/smoke.sh.