π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
fix(ci): 3 last newly-visible failures β env-var audit, wizard cli path, root npm ci
ruvd79f51b74d3b
diff --git a/.github/workflows/v3-ci.yml b/.github/workflows/v3-ci.ymlindex c0c5186bc2..e07c53b012 100644--- a/.github/workflows/v3-ci.yml+++ b/.github/workflows/v3-ci.yml@@ -2538,7 +2538,7 @@ jobs:# Run init --force (non-interactive); ignore non-zero exit from# optional components that need extra deps (skills, helpers, etc.)- HOME="$TMP" node "$GITHUB_WORKSPACE/v3/@claude-flow/cli/dist/cli.js" \+ HOME="$TMP" node "$GITHUB_WORKSPACE/v3/@claude-flow/cli/bin/cli.js" \init --force 2>&1 || trueecho "--- .mcp.json contents ---"@@ -2592,7 +2592,7 @@ jobs:# Run init WITHOUT --force; use a custom HOME with no ~/.claude.json# so the real user's global config doesn't interfereFAKE_HOME=$(mktemp -d)- OUT=$(HOME="$FAKE_HOME" node "$GITHUB_WORKSPACE/v3/@claude-flow/cli/dist/cli.js" \+ OUT=$(HOME="$FAKE_HOME" node "$GITHUB_WORKSPACE/v3/@claude-flow/cli/bin/cli.js" \init 2>&1 || true)echo "--- init output ---"diff --git a/package-lock.json b/package-lock.jsonindex 37f9f9feed..5bcf38e216 100644--- a/package-lock.json+++ b/package-lock.json@@ -45,7 +45,7 @@"@ruvector/router": "^0.1.30","@ruvector/router-linux-x64-gnu": "^0.1.30","@ruvector/sona": "^0.1.5",- "agentdb": "^3.0.0-alpha.15",+ "agentdb": "^3.0.0-alpha.16","agentic-flow": "^2.0.13"}},@@ -1530,6 +1530,13 @@"node": ">= 8"}},+ "node_modules/@one-ini/wasm": {+ "version": "0.1.1",+ "resolved": "https://registry.npmjs.org/@one-ini/wasm/-/wasm-0.1.1.tgz",+ "integrity": "sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==",+ "license": "MIT",+ "optional": true+ },"node_modules/@openai/codex": {"version": "0.98.0","resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.98.0.tgz",@@ -3147,9 +3154,9 @@}},"node_modules/@ruvector/rvf-node": {- "version": "0.1.7",- "resolved": "https://registry.npmjs.org/@ruvector/rvf-node/-/rvf-node-0.1.7.tgz",- "integrity": "sha512-VHfEKBew62gNpi3lST0bxMw+ynRTM1xDdqca2d5A1qyW6jSCyTFJ9TAYP00uzfnTKKxezNcrzEkyQWj+gs/Pzw==",+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/@ruvector/rvf-node/-/rvf-node-0.1.8.tgz",+ "integrity": "sha512-1rbSr9XAiq69wnEPs36FW93ZEfFMYEiI2fANZ0bfQcEH4uNWlwxaZFgKs47PNQPhCgx/cbONpnVsnyX+uOTagw==","license": "MIT","optional": true,"engines": {@@ -3229,9 +3236,9 @@]},"node_modules/@ruvector/rvf-solver": {- "version": "0.1.7",- "resolved": "https://registry.npmjs.org/@ruvector/rvf-solver/-/rvf-solver-0.1.7.tgz",- "integrity": "sha512-wJvw+0deGnaVpsPxGNIy/QzQN47oPkFKD4koHJGVTMHgPAe8eRbzp5g8t9cB8qbHd8K6NRAAd4hr/VYEA3QHVw==",+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/@ruvector/rvf-solver/-/rvf-solver-0.1.8.tgz",+ "integrity": "sha512-YM7L6TvhVoC5w0kUMl8ASback2ka3MesPvuf+lRYSJEcaf6bncPX7YGzcrsheOe4BBwyiyx39vAijVPx1nZkWA==","license": "MIT","optional": true},@@ -3783,6 +3790,16 @@"onnxruntime-node": "1.14.0"}},+ "node_modules/abbrev": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz",+ "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==",+ "license": "ISC",+ "optional": true,+ "engines": {+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"+ }+ },"node_modules/accepts": {"version": "2.0.0","resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz",@@ -3863,9 +3880,9 @@}},"node_modules/agentdb": {- "version": "3.0.0-alpha.15",- "resolved": "https://registry.npmjs.org/agentdb/-/agentdb-3.0.0-alpha.15.tgz",- "integrity": "sha512-KuuNKvUKiQL+r42XmBELtMKPmHCpPbMq19yvor+GTCtCXArTzHWNtvw3phYGysNns64eE/K0W2j1xXpc1Tj87w==",+ "version": "3.0.0-alpha.16",+ "resolved": "https://registry.npmjs.org/agentdb/-/agentdb-3.0.0-alpha.16.tgz",+ "integrity": "sha512-hx5KildnxQ/mZaOaOKGHDe7OlDJmHoRV7sy5b4PpfjtHAE9dU0vzM7tpemZKPhnaRA89jxpKTutbnhux/JzgLg==","hasInstallScript": true,"license": "MIT","dependencies": {@@ -4898,6 +4915,17 @@"dev": true,"license": "MIT"},+ "node_modules/config-chain": {+ "version": "1.1.13",+ "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz",+ "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "ini": "^1.3.4",+ "proto-list": "~1.2.1"+ }+ },"node_modules/content-disposition": {"version": "1.0.1","resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.1.tgz",@@ -5207,6 +5235,35 @@"safe-buffer": "^5.0.1"}},+ "node_modules/editorconfig": {+ "version": "1.0.7",+ "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-1.0.7.tgz",+ "integrity": "sha512-e0GOtq/aTQhVdNyDU9e02+wz9oDDM+SIOQxWME2QRjzRX5yyLAuHDE+0aE8vHb9XRC8XD37eO2u57+F09JqFhw==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@one-ini/wasm": "0.1.1",+ "commander": "^10.0.0",+ "minimatch": "^9.0.1",+ "semver": "^7.5.3"+ },+ "bin": {+ "editorconfig": "bin/editorconfig"+ },+ "engines": {+ "node": ">=14"+ }+ },+ "node_modules/editorconfig/node_modules/commander": {+ "version": "10.0.1",+ "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz",+ "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=14"+ }+ },"node_modules/ee-first": {"version": "1.1.1","resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",@@ -7332,6 +7389,81 @@"@pkgjs/parseargs": "^0.11.0"}},+ "node_modules/js-beautify": {+ "version": "1.15.4",+ "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.15.4.tgz",+ "integrity": "sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "config-chain": "^1.1.13",+ "editorconfig": "^1.0.4",+ "glob": "^10.4.2",+ "js-cookie": "^3.0.5",+ "nopt": "^7.2.1"+ },+ "bin": {+ "css-beautify": "js/bin/css-beautify.js",+ "html-beautify": "js/bin/html-beautify.js",+ "js-beautify": "js/bin/js-beautify.js"+ },+ "engines": {+ "node": ">=14"+ }+ },+ "node_modules/js-beautify/node_modules/glob": {+ "version": "10.5.0",+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",+ "license": "ISC",+ "optional": true,+ "dependencies": {+ "foreground-child": "^3.1.0",+ "jackspeak": "^3.1.2",+ "minimatch": "^9.0.4",+ "minipass": "^7.1.2",+ "package-json-from-dist": "^1.0.0",+ "path-scurry": "^1.11.1"+ },+ "bin": {+ "glob": "dist/esm/bin.mjs"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/js-beautify/node_modules/lru-cache": {+ "version": "10.4.3",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",+ "license": "ISC",+ "optional": true+ },+ "node_modules/js-beautify/node_modules/path-scurry": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",+ "license": "BlueOak-1.0.0",+ "optional": true,+ "dependencies": {+ "lru-cache": "^10.2.0",+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"+ },+ "engines": {+ "node": ">=16 || 14 >=14.18"+ },+ "funding": {+ "url": "https://github.com/sponsors/isaacs"+ }+ },+ "node_modules/js-cookie": {+ "version": "3.0.8",+ "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.8.tgz",+ "integrity": "sha512-yeJd4aNAdYZQjaon2bpD/Gb0B/omw7HQOsynXXcOiWVCacbBcPlgn8S/d1X6blFSaHao7ozqtW7NZW19xpCtIw==",+ "license": "MIT",+ "optional": true+ },"node_modules/js-tokens": {"version": "9.0.1","resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",@@ -8203,6 +8335,22 @@"node-gyp-build-test": "build-test.js"}},+ "node_modules/nopt": {+ "version": "7.2.1",+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz",+ "integrity": "sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==",+ "license": "ISC",+ "optional": true,+ "dependencies": {+ "abbrev": "^2.0.0"+ },+ "bin": {+ "nopt": "bin/nopt.js"+ },+ "engines": {+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"+ }+ },"node_modules/npm-run-path": {"version": "5.3.0","resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",@@ -8708,6 +8856,13 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/proto-list": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",+ "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==",+ "license": "ISC",+ "optional": true+ },"node_modules/protobufjs": {"version": "8.4.2","resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-8.4.2.tgz",@@ -9132,9 +9287,9 @@}},"node_modules/ruvector": {- "version": "0.1.100",- "resolved": "https://registry.npmjs.org/ruvector/-/ruvector-0.1.100.tgz",- "integrity": "sha512-goVV/mB28sQmai+eU1DMAtZEg2qQSKes3NtIHjyjN53hHWqwCdIyjZwBEd1WKDysL9mJ4CnSCVC9uaJyStzBIA==",+ "version": "0.2.27",+ "resolved": "https://registry.npmjs.org/ruvector/-/ruvector-0.2.27.tgz",+ "integrity": "sha512-Sh1Px7yI/exwaagoy4RjtHAoAQk8ge9kmBE4EL6yfHUwYYaTzTE3TocRbkgxkCcGHLWgX2lQPBLd7iAahNDFHg==","license": "MIT","optional": true,"dependencies": {@@ -9145,16 +9300,37 @@"@ruvector/sona": "^0.1.4","chalk": "^4.1.2","commander": "^11.1.0",+ "js-beautify": "^1.15.4","ora": "^5.4.1"},"bin": {"ruvector": "bin/cli.js"},"engines": {- "node": ">=14.0.0"+ "node": ">=18.0.0"},"optionalDependencies": {"@ruvector/rvf": "^0.1.0"+ },+ "peerDependencies": {+ "@ruvector/diskann": ">=0.1.0",+ "@ruvector/pi-brain": ">=0.1.0",+ "@ruvector/router": ">=0.1.0",+ "@ruvector/ruvllm": ">=2.0.0"+ },+ "peerDependenciesMeta": {+ "@ruvector/diskann": {+ "optional": true+ },+ "@ruvector/pi-brain": {+ "optional": true+ },+ "@ruvector/router": {+ "optional": true+ },+ "@ruvector/ruvllm": {+ "optional": true+ }}},"node_modules/ruvector-attention-wasm": {diff --git a/scripts/audit-env-var-precedence.mjs b/scripts/audit-env-var-precedence.mjsindex 3f7acf9ce3..f03a3b95c2 100644--- a/scripts/audit-env-var-precedence.mjs+++ b/scripts/audit-env-var-precedence.mjs@@ -99,6 +99,28 @@ const KNOWN_ESCAPE_HATCHES = new Set([// See also memory.ts line 12: "#2105: --path > CLAUDE_FLOW_DB_PATH > CLAUDE_FLOW_MEMORY_PATH"'CLAUDE_FLOW_MEMORY_PATH',+ // ββ Statusline cosmetics (no CLI on the statusline; init-time settings.json) β+ // Added 2026-06-02: statusline is invoked by Claude Code via hook config,+ // not by an interactive `ruflo statusline β¦` command line. There is no CLI+ // surface to attach a flag to; the env reads in statusline-generator.ts+ // are the documented configuration channel.+ 'RUFLO_STATUSLINE_COST_SYMBOL',+ 'RUFLO_STATUSLINE_HIDE_COST',++ // ββ Tunables for routing/learning thresholds (operator knob, not user CLI) βββ+ // Added 2026-06-02: model-router uses this as a runtime escalation threshold+ // tuned by ops, not selected per-command. No CLI flag is wired because no+ // single CLI invocation owns the router's lifetime.+ 'CLAUDE_FLOW_MAX_UNCERTAINTY',++ // ββ MCP-tool-shaped tunables (param wins over env; env is documented fallback) β+ // Added 2026-06-02 (ADR-089 #2246): memory_search_unified resolves namespaces+ // in this priority: `namespace` param β `namespaces[]` param β env var β+ // dynamic enumeration. The `namespaces[]` MCP-tool parameter IS the+ // CLI-flag-equivalent and takes precedence (memory-tools.ts:1079-1109). The+ // env is the documented operator fallback.+ 'CLAUDE_FLOW_MEMORY_SEARCH_NAMESPACES',+// ββ OS / runtime standard env ββββββββββββββββββββββββββββββββββββββββββββββββ'HOME','USERPROFILE',