mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-09 22:13:39 +09:00
5 hooks_worker-* MCP tools (worker-list, worker-dispatch, worker-status, worker-detect, worker-cancel) plus 12 worker triggers were already wired. The contract pieces were missing. Notable: this ADR maps each of the 12 worker triggers to its consumer plugin so downstream plugins (ruflo-docs/ruflo-security-audit/ruflo-testgen /ruflo-knowledge-graph/etc.) can verify their trigger names against a single canonical source. And the 270s cache-aware ScheduleWakeup heartbeat is now anchored to ruflo-autopilot ADR-0001 which owns that contract. - ADR-0001 (Proposed) at docs/adrs/0001-loop-workers-contract.md - README adds Compatibility (pin v3.6), 5-tool MCP surface table, 12-worker → consumer-plugin attribution table, Cache-aware /loop integration block (270s heartbeat, defers to ruflo-autopilot ADR-0001), Namespace coordination (claims worker-history), Verification + Architecture Decisions sections - plugin.json bumps 0.1.0 → 0.2.0; description names the 5 MCP tools + 12 trigger names; keywords add mcp, background-workers, cache-aware, schedule-wakeup - scripts/smoke.sh — 12 structural checks: version + keywords, both skills + agent + 2 commands present, 5 worker MCP tools referenced, 12 trigger names documented, v3.6 pin, namespace coordination, worker-history claimed, 270s cache-aware note, autopilot cross-reference, attribution table, ADR Proposed, no wildcard tools Verification: bash plugins/ruflo-loop-workers/scripts/smoke.sh → 12/12 Co-Authored-By: RuFlo <ruv@ruv.net>