π 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(release): #2151 β three-way version lockstep + CI guard (#2153)
rUv733ada1b9aec
diff --git a/.github/workflows/v3-ci.yml b/.github/workflows/v3-ci.ymlindex 7048c32efc..f2148b0333 100644--- a/.github/workflows/v3-ci.yml+++ b/.github/workflows/v3-ci.yml@@ -1593,6 +1593,15 @@ jobs:shell: bashrun: node scripts/audit-wrapper-dep-ranges.mjs+ - name: Run umbrella version-lockstep audit (#2151)+ # Asserts @claude-flow/cli, claude-flow, and ruflo all share the+ # same version. #2151 reported [email protected] + [email protected] drift β+ # `npx ruflo --version` printed the bundled CLI's 3.10.1, not the+ # wrapper's 3.10.2. CLAUDE.md publish rules already require lockstep;+ # this audit enforces it so drift can't reach a release.+ shell: bash+ run: node scripts/audit-umbrella-version-lockstep.mjs+- name: Run plugin-hooks cross-platform audit (#2132)# Catches /bin/bash literals, POSIX-only pipelines (jq, xargs, tr),# and .sh script invocations in plugin hooks.json files β patternsdiff --git a/package.json b/package.jsonindex ad900c216a..0ceb3f2e4c 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "claude-flow",- "version": "3.10.1",+ "version": "3.10.3","description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "dist/index.js","type": "module",diff --git a/ruflo/package.json b/ruflo/package.jsonindex f96268ebd4..00e0935348 100644--- a/ruflo/package.json+++ b/ruflo/package.json@@ -1,6 +1,6 @@{"name": "ruflo",- "version": "3.10.2",+ "version": "3.10.3","description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration","main": "bin/ruflo.js","type": "module",@@ -40,7 +40,7 @@"package:rvf": "bash src/scripts/package-rvf.sh"},"dependencies": {- "@claude-flow/cli": "^3.10.0"+ "@claude-flow/cli": "^3.10.3"},"overrides": {"@ruvector/rvf-wasm": "0.1.5",diff --git a/scripts/audit-umbrella-version-lockstep.mjs b/scripts/audit-umbrella-version-lockstep.mjsnew file mode 100755index 0000000000..541b7fb5ba--- /dev/null+++ b/scripts/audit-umbrella-version-lockstep.mjs@@ -0,0 +1,103 @@+#!/usr/bin/env node+/**+ * Static guard for ruvnet/ruflo#2151 β enforce three-way version lockstep+ * across the umbrella packages that ship together:+ *+ * - @claude-flow/cli (v3/@claude-flow/cli/package.json)+ * - claude-flow (root package.json β umbrella)+ * - ruflo (ruflo/package.json β thin user-facing wrapper)+ *+ * Why: when these drift (e.g. [email protected] but [email protected], observed in+ * #2151), `npx ruflo --version` prints the bundled CLI's version (3.10.1),+ * not the wrapper's package.json version (3.10.2). Users see the "wrong"+ * version and reasonably assume the install is broken.+ *+ * The Publishing Rules in CLAUDE.md require all three to ship at the same+ * version. This audit enforces that locally so a drift can't reach a+ * release. Wired into v3-ci.yml as `umbrella-version-lockstep-audit`.+ *+ * Also asserts ruflo's @claude-flow/cli dep range INCLUDES the cli's+ * actual version (overlap with audit-wrapper-dep-ranges.mjs is intentional;+ * this audit is about identity, that one is about inclusion).+ *+ * Exit codes:+ * 0 β versions identical and dep range covers cli+ * 1 β drift detected; remediation hints printed+ */++import { readFileSync, existsSync } from 'node:fs';+import { fileURLToPath } from 'node:url';+import { dirname, join, resolve } from 'node:path';+import semver from 'semver';++const __dirname = dirname(fileURLToPath(import.meta.url));+const REPO_ROOT = resolve(__dirname, '..');++const TARGETS = [+ { label: '@claude-flow/cli', path: 'v3/@claude-flow/cli/package.json' },+ { label: 'claude-flow', path: 'package.json' },+ { label: 'ruflo', path: 'ruflo/package.json' },+];++function readPkg(rel) {+ const p = join(REPO_ROOT, rel);+ if (!existsSync(p)) return null;+ try { return JSON.parse(readFileSync(p, 'utf8')); }+ catch { return null; }+}++const versions = {};+const violations = [];++for (const { label, path } of TARGETS) {+ const pkg = readPkg(path);+ if (!pkg) {+ violations.push(`${label} (${path}) not found`);+ continue;+ }+ versions[label] = pkg.version;+}++console.log('umbrella-version-lockstep audit β three-package identity check');+for (const { label } of TARGETS) {+ console.log(` ${label.padEnd(20)} ${versions[label] ?? '(missing)'}`);+}++const unique = new Set(Object.values(versions));+if (unique.size > 1) {+ violations.push(+ `version drift across umbrella packages: ${[...unique].join(' / ')}.\n` ++ ` Bump all three to the same version per CLAUDE.md "Publishing Rules" before shipping:\n` ++ ` v3/@claude-flow/cli/package.json β ${versions['@claude-flow/cli'] ?? '?'}\n` ++ ` package.json (claude-flow) β ${versions['claude-flow'] ?? '?'}\n` ++ ` ruflo/package.json β ${versions['ruflo'] ?? '?'}`+ );+}++// Cross-check: ruflo's dep range must include cli's actual version.+const rufloPkg = readPkg('ruflo/package.json');+const cliVersion = versions['@claude-flow/cli'];+if (rufloPkg && cliVersion) {+ const range = rufloPkg.dependencies?.['@claude-flow/cli'];+ if (range) {+ if (!semver.satisfies(cliVersion, range, { includePrerelease: true })) {+ violations.push(+ `ruflo "@claude-flow/cli": "${range}" does NOT include cli's actual version ${cliVersion}.\n` ++ ` Update ruflo/package.json dependencies to "^${cliVersion}".`+ );+ } else {+ console.log(` ruflo dep "@claude-flow/cli": "${range}" covers ${cliVersion} β`);+ }+ }+}++if (violations.length === 0) {+ console.log('\n ok: all three umbrella packages at identical version, ruflo dep covers cli');+ process.exit(0);+}++console.error('\nviolations:');+for (const v of violations) console.error(` β ${v}`);+console.error(`\n${violations.length} violation(s).`);+console.error('Reference: ruvnet/ruflo#2151 (version mismatch β [email protected] + [email protected]).');+process.exit(1);diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.jsonindex 900a409632..012a05f9d8 100644--- a/v3/@claude-flow/cli/package.json+++ b/v3/@claude-flow/cli/package.json@@ -1,6 +1,6 @@{"name": "@claude-flow/cli",- "version": "3.10.1",+ "version": "3.10.3","type": "module","description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code","main": "dist/src/index.js",