mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
All 4 build steps in metaharness-ci.yml ran `npm install` inside v3/@claude-flow/cli/, but this fails with EUNSUPPORTEDPROTOCOL "workspace:*" because the v3 monorepo uses pnpm workspaces (v3/pnpm-workspace.yaml). npm can't resolve the workspace:* protocol. This was masked locally during iter dev because the cli dist/ already existed on disk — the smoke ran the already-built CLI. In CI, the build step actually runs and fails silently (--silent suppresses the EUNSUPPORTEDPROTOCOL error, exit 1 with no log). Fix: install at workspace root with pnpm@8.15.0 (matches v3/package.json's packageManager pin), then cd into the pkg to build. All 4 affected steps: 1. test-mcp-tools (line 138, MCP runtime contract — 65 assertions) 2. eject build (line 190, Phase-2 differentiator) 3. similarity dispatcher round-trip (line 343, iter 36) 4. score dispatcher round-trip (line 430, iter 47 fix) Local repro of the pre-fix failure: $ cd v3/@claude-flow/cli && npm install --no-audit --no-fund --ignore-scripts npm error code EUNSUPPORTEDPROTOCOL npm error Unsupported URL Type "workspace:": workspace:* Local validation post-fix: $ cd v3 && pnpm@8.15.0 install --frozen-lockfile Scope: all 24 workspace projects Done in 3.2s $ cd @claude-flow/cli && pnpm@8.15.0 run build [tsc completes] $ node v3/@claude-flow/cli/bin/cli.js metaharness score --path . --format json {"harnessFit": 80, ..., "generatedAt": "2026-06-17T14:23:18.402Z"} Co-Authored-By: RuFlo <ruv@ruv.net>