Commit Graph

3 Commits

Author SHA1 Message Date
ruvnet e332689b8c fix(release): harden hooks, statusline, security, and plugin MCP integration 2026-07-16 23:06:29 -04:00
ruv 6198abfab7 fix(plugins): reconcile stale smoke contract assertions across 23 plugins
full-system-test surfaced 23/32 plugin smoke contracts failing on a
single drifted assertion: the smoke gate greps ADR-0001 for
`status: Proposed`, but those ADRs were long since promoted to
`Accepted` without updating the gate. Flip the assertion (label, grep,
message) Proposed -> Accepted only where the ADR is genuinely Accepted.

ruflo-core additionally had a stale version assertion (0.2.0 -> 0.2.2).

Left untouched: ruflo-adr, ruflo-browser, ruflo-intelligence — their
ADR-0001 is genuinely Proposed, so their smokes correctly assert it.
No plugin source or ADR changed — only the drifted test assertions.

All 32 plugin smoke contracts now pass; full-system-test is 4/4 green.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-29 15:00:34 -04:00
Reuven 714f501f78 feat(ruflo-swarm): v0.2.0 — adopt plugin contract + 12-tool MCP surface (ADR-0001)
Plugin already had 2 agents + 2 skills + 2 commands at v0.1.0. The
contract pieces were missing.

Surface inventory (now contractually documented):
- 4 swarm_* tools: init, status, shutdown, health
- 8 agent_* tools: spawn, execute, terminate, status, list, pool,
  health, update
- 6 topologies: hierarchical, mesh, hierarchical-mesh, ring, star,
  adaptive
- Pairs with Claude Code's built-in Task / SendMessage / Monitor /
  EnterWorktree primitives (not MCP, but documented as the integration
  surface)

Anti-drift defaults from CLAUDE.md are now smoke-checked: hierarchical
topology, maxAgents 6-8, specialized strategy, raft consensus.

- ADR-0001 (Proposed) at docs/adrs/0001-swarm-contract.md
- README adds Compatibility (pin v3.6), 12-tool MCP surface table
  (4 swarm_* + 8 agent_*), Built-in Claude Code coordination tools
  table (Task/SendMessage/Monitor/EnterWorktree), Anti-drift defaults
  table (hierarchical/specialized/raft/6-8), Namespace coordination
  (claims swarm-state; defers to ruflo-agentdb ADR-0001),
  Verification + Architecture Decisions
- plugin.json bumps 0.1.0 → 0.2.0; description names the 4+8 = 12
  tool count + 6 topologies; keywords add mcp, topologies,
  worktree-isolation, monitor-stream
- scripts/smoke.sh — 11 structural checks: version + keywords, both
  skills + 2 agents + 2 commands present, all 4 swarm_* tools
  referenced, all 8 agent_* tools referenced, v3.6 pin, namespace
  coordination, swarm-state claimed, anti-drift defaults present,
  6 topologies documented, ADR Proposed, no wildcard tools

Verification: bash plugins/ruflo-swarm/scripts/smoke.sh → 11/11

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-05-04 20:42:24 -04:00