mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
Per decision to guarantee metaharness is always present rather than an opt-in the platform may skip. Adds to @claude-flow/cli dependencies: - metaharness ^0.4.1 - @metaharness/router ^0.3.2 (removed from optionalDependencies — no dual declaration). ADR-321 supersedes ADR-150 rule #2 (optional-only) + rule #1 (removable) for these two packages, and records the honest tradeoff: the MCP metaharness tools invoke via subprocess (zero static imports), so a hard dep is functionally a no-op for them (only a cache-warm win); the one load-bearing consumer of a declared dep is neural-router.ts's @metaharness/router import behind CLAUDE_FLOW_ROUTER_NEURAL=1. Graceful -degradation fallbacks are KEPT (cheap insurance + trivial reversibility). Note: no-metaharness-smoke.yml's ADR-150-rule-#4 enforcement is now neutralized (npm --no-optional can't remove a hard dep); left in place for plugin-fleet structural coverage, flagged in ADR-321 for follow-up. Build: tsc clean; deps resolve in the workspace. Refs: ADR-321, ADR-150. Co-Authored-By: RuFlo <ruv@ruv.net>