mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
The most load-bearing finding in @-the-Liberation-of-Bajor-team's methodical eval (#1748): with `/plugin install ruflo-core@ruflo`, zero hooks load. Their cross-check against hookify confirmed the plugin loader looks for `<plugin>/hooks/hooks.json` per-plugin, but ruflo's hooks lived only at marketplace root (`.claude-plugin/hooks/hooks.json`). Result: the README's headline value prop ("after init, just use Claude Code normally — hooks handle everything") was a no-op for plugin-install users. The 26KB of MCP tool definitions loaded but the hooks that auto-route tasks, learn from successful patterns, and coordinate agents in the background never fired. Fix: copy the same hook definitions to `plugins/ruflo-core/hooks/hooks.json`. Marketplace-root copy at `.claude-plugin/hooks/hooks.json` preserved for users who do `claude --plugin-dir <repo-root>` (full-tree load) — both paths work now. Files in PreToolUse/PostToolUse/PreCompact/Stop are unchanged from the marketplace-root version; this is a pure relocation so the per-plugin loader can find them. README updated to call out the per-plugin layout + pointer at the bug it addresses. Closes #1748 Issue 1 (the most load-bearing of the four — hooks not loading is the difference between Ruflo's auto-routing pitch and "26KB of inert tool definitions the model ignores"). Issues 2/3/4 from #1748 will land in follow-up PRs: - Issue 2 (spawned-agent --mcp-config wiring for hive-mind spawn) - Issue 3 (cold-cache 30s timeout / package size) - Issue 4 (tool description sharpening / lite default surface) Co-authored-by: Reuven <cohen@ruv-mac-mini.local>