23f7624596
ADR-166 MCP Bridge Security Lock / Static-source security lock (push) Failing after 0s
ADR-166 MCP Bridge Security Lock / Compose default binds loopback + Mongo has auth (push) Failing after 2s
CodeQL Advanced / Analyze (rust) (push) Failing after 0s
ADR-166 MCP Bridge Security Lock / plugin-agent-federation bindHost default (push) Failing after 1s
ADR-166 MCP Bridge Security Lock / Runtime behavior — 401 + terminal gate + fail-closed (push) Failing after 4s
business-pods-smoke / smoke (push) Failing after 1s
all-plugins-smoke / smoke-all (push) Failing after 2s
CI/CD Pipeline / Security & Code Quality (push) Failing after 1s
CI/CD Pipeline / Test Suite (ubuntu-latest) (push) Failing after 1s
CI/CD Pipeline / Build & Package (macos-latest) (push) Has been skipped
CI/CD Pipeline / Build & Package (ubuntu-latest) (push) Has been skipped
CI/CD Pipeline / Build & Package (windows-latest) (push) Has been skipped
CI/CD Pipeline / Documentation & Examples (push) Failing after 1s
Clone Tracker (14-day rolling) / Snapshot clones for ruflo ecosystem (push) Failing after 1s
CodeQL Advanced / Analyze (actions) (push) Failing after 1s
CodeQL Advanced / Analyze (javascript-typescript) (push) Failing after 1s
federation-peer-rust / stable-noop (push) Failing after 1s
metaharness-ci / score (push) Failing after 1s
metaharness-ci / router-compat (push) Failing after 0s
metaharness-ci / similarity-tests (push) Failing after 0s
no-agentbbs-smoke / smoke-without-agentbbs (push) Failing after 1s
V3 CI/CD Pipeline / Build V3 (windows-latest) (push) Has been skipped
codex-integration-audit / Codex integration audit (push) Failing after 1s
helpers-manifest-guard / guard (push) Failing after 1s
🔗 Cross-Agent Integration Tests / 🤝 Agent Coordination Tests (push) Has been skipped
🔗 Cross-Agent Integration Tests / 🧠 Memory Sharing Integration (push) Has been skipped
🔗 Cross-Agent Integration Tests / 🛡️ Fault Tolerance Tests (push) Has been skipped
🔗 Cross-Agent Integration Tests / ⚡ Performance Integration Tests (push) Has been skipped
metaharness-ci / mcp-scan (push) Failing after 1s
metaharness-ci / eject-dryrun (push) Failing after 1s
metaharness-ci / metaharness-real-data (push) Failing after 0s
no-cli-optdep-bloat-2561 / guard (push) Failing after 1s
no-metaharness-smoke / smoke-without-metaharness (push) Failing after 1s
no-phantom-agentic-flow-subpath / guard (push) Failing after 1s
🔄 Automated Rollback Manager / 🚨 Failure Detection (push) Failing after 1s
V3 CI/CD Pipeline / Plugin hooks smoke / ubuntu-latest / Node 22 (push) Failing after 1s
V3 CI/CD Pipeline / ruflo-graph-intelligence build + test smoke (#2044, ADR-123) (push) Failing after 1s
CVE Audit Gate / Audit root (critical-blocking) (push) Failing after 2s
cost-tracker-smoke / smoke (push) Failing after 3s
oia-audit-weekly / audit (push) Failing after 2s
ruflo-agent-smoke / ruflo-agent structural smoke (push) Failing after 1s
📊 Status Badges Update / 📊 Update Status Badges (push) Failing after 1s
V3 CI/CD Pipeline / Static regression guards (#2267 YAML + (push) Failing after 1s
V3 CI/CD Pipeline / Test V3 Packages (push) Failing after 0s
V3 CI/CD Pipeline / agent_execute provider routing smoke (#2042) (push) Failing after 0s
CVE Audit Gate / Audit v3 (critical-blocking) (push) Failing after 1s
federation-peer-rust / stable-native (push) Failing after 2s
🔗 Cross-Agent Integration Tests / 🚀 Integration Test Setup (push) Failing after 2s
neural-trader-smoke / runtime-smoke (push) Failing after 1s
V3 CI/CD Pipeline / Build V3 (macos-latest) (push) Has been skipped
V3 CI/CD Pipeline / Build V3 (ubuntu-latest) (push) Has been skipped
V3 CI/CD Pipeline / Type Check V3 (push) Failing after 1s
V3 CI/CD Pipeline / Smoke (no better-sqlite3) / ubuntu-latest / Node 24 (push) Failing after 1s
V3 CI/CD Pipeline / Smoke (no better-sqlite3) / ubuntu-latest / Node 22 (push) Failing after 2s
V3 CI/CD Pipeline / browser rvf create flag smoke (#2015) (push) Failing after 0s
V3 CI/CD Pipeline / Dependency review (#2046) (push) Has been skipped
V3 CI/CD Pipeline / Supply-chain audit (#2046) (push) Failing after 0s
V3 CI/CD Pipeline / witness marker drift smoke (#2021) (push) Failing after 1s
V3 CI/CD Pipeline / neural-trader portfolio CG smoke (#2068, ADR-126 Phase 3) (push) Failing after 1s
V3 CI/CD Pipeline / neural-trader backtest signing smoke (#2068, ADR-126 Phase 4) (push) Failing after 1s
V3 CI/CD Pipeline / kg-extract type-import classification smoke (#2049) (push) Failing after 0s
V3 CI/CD Pipeline / witness verify precondition smoke (#1880) (push) Failing after 2s
V3 CI/CD Pipeline / neural-trader pipeline risk-gate smoke (#2068, ADR-126 Phase 5) (push) Failing after 0s
V3 CI/CD Pipeline / neural-trader feature attribution smoke (#2068, ADR-126 Phase 6) (push) Failing after 0s
V3 CI/CD Pipeline / plugin-registry signature verification smoke (#1922, CWE-347) (push) Failing after 4s
V3 CI/CD Pipeline / memory stats legacy-DB smoke (#2120) (push) Failing after 4s
V3 CI/CD Pipeline / github deprecated actions smoke (#2089, ADR-127 Phase 3) (push) Failing after 1s
V3 CI/CD Pipeline / graph query + pathfinder smoke (ADR-130 P2+P5) (push) Has been skipped
V3 CI/CD Pipeline / graph trajectory hooks smoke (ADR-130 P3) (push) Has been skipped
V3 CI/CD Pipeline / graph plugin adapter smoke (ADR-130 P4) (push) Has been skipped
V3 CI/CD Pipeline / graph benchmark (ADR-130 P6) (push) Has been skipped
V3 CI/CD Pipeline / statusline generator delegation smoke (#2195) (push) Failing after 1s
V3 CI/CD Pipeline / wizard init regression guard (#2206 (push) Failing after 1s
V3 CI/CD Pipeline / memory no-stray-db smoke (ADR-125 P7) (push) Failing after 1s
V3 CI/CD Pipeline / github-safe injection smoke (#2089, ADR-127 Phase 1) (push) Failing after 1s
V3 CI/CD Pipeline / github actions pin smoke (#2089, ADR-127 Phase 1) (push) Failing after 1s
V3 CI/CD Pipeline / github attribution opt-in smoke (#2089, ADR-127 Phase 4) (push) Failing after 1s
V3 CI/CD Pipeline / pre-bash hook safety smoke (#2017) (push) Failing after 1s
V3 CI/CD Pipeline / Memory import smoke / ubuntu-latest (push) Failing after 0s
V3 CI/CD Pipeline / MCP protocol smoke / ubuntu-latest (push) Failing after 2s
V3 CI/CD Pipeline / ruvllm WASM auto-init smoke (#2086) (push) Failing after 4s
V3 CI/CD Pipeline / MCP paired-tool round-trip smoke (#1889) (push) Failing after 1s
V3 CI/CD Pipeline / Plugin package install-safety (#1902/#1903/#1904) (push) Failing after 1s
V3 CI/CD Pipeline / Tool description discoverability (ADR-112) (push) Failing after 3s
V3 CI/CD Pipeline / CLI npx-install smoke (#1147 / (22) (push) Failing after 1s
V3 CI/CD Pipeline / CLI npx-install smoke (#1147 / (24) (push) Failing after 1s
V3 CI/CD Pipeline / Windows hook shim smoke (#2132) / ubuntu-latest (push) Failing after 2s
V3 CI/CD Pipeline / Windows hook execution smoke (#2132) / ubuntu-latest (push) Failing after 1s
V3 CI/CD Pipeline / Windows init hooks smoke (#2132) / ubuntu-latest (push) Failing after 1s
V3 CI/CD Pipeline / Vector-index dimension audit (#1947) (push) Failing after 0s
V3 CI/CD Pipeline / Hook-command install safety (#1921) (push) Failing after 1s
V3 CI/CD Pipeline / ToolOutputGuardrail smoke (ADR-131, (push) Failing after 1s
V3 CI/CD Pipeline / init-bundle invariants smoke (#2095, ADR-128 Phase 5) (push) Failing after 1s
V3 CI/CD Pipeline / wasm provider bridge smoke (ADR-129 P1) (push) Failing after 2s
V3 CI/CD Pipeline / wasm gallery CRUD smoke (ADR-129 P3) (push) Failing after 1s
V3 CI/CD Pipeline / wasm plugin bridge smoke (ADR-129 P4) (push) Failing after 0s
V3 CI/CD Pipeline / wasm compose smoke (ADR-129 P2) (push) Failing after 4s
V3 CI/CD Pipeline / graph schema smoke (ADR-130 P1) (push) Failing after 0s
Validate Marketplace / validate (push) Failing after 1s
🔍 Verification Pipeline / 🚀 Setup Verification (push) Failing after 1s
🔍 Verification Pipeline / 🛡️ Security Verification (push) Has been skipped
🔍 Verification Pipeline / 📝 Code Quality (push) Has been skipped
🔍 Verification Pipeline / 🧪 Test Verification (${{ matrix.os }}, Node ${{ matrix.node }}) (push) Has been skipped
🔍 Verification Pipeline / 🏗️ Build Verification (push) Has been skipped
🔍 Verification Pipeline / 📚 Documentation Verification (push) Has been skipped
CVE Audit Gate / High-severity report (warn only) (push) Has been cancelled
🔄 Automated Rollback Manager / 🔄 Execute Rollback (push) Has been cancelled
🔄 Automated Rollback Manager / ✅ Post-Rollback Verification (push) Has been cancelled
🔄 Automated Rollback Manager / 📊 Rollback Monitoring (push) Has been cancelled
V3 CI/CD Pipeline / Windows init hooks smoke (#2132) / windows-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook execution smoke (#2132) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook execution smoke (#2132) / windows-latest (push) Has been cancelled
🔄 Automated Rollback Manager / ⏳ Manual Rollback Approval (push) Has been cancelled
V3 CI/CD Pipeline / MCP protocol smoke / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Memory import smoke / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook shim smoke (#2132) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows hook shim smoke (#2132) / windows-latest (push) Has been cancelled
V3 CI/CD Pipeline / Windows init hooks smoke (#2132) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Witness verify (signed manifest) / macos-latest (push) Has been cancelled
V3 CI/CD Pipeline / Witness verify (signed manifest) / ubuntu-latest (push) Has been cancelled
V3 CI/CD Pipeline / Witness verify (signed manifest) / windows-latest (push) Has been cancelled
V3 CI/CD Pipeline / Publish to npm (alpha) (push) Has been cancelled
V3 CI/CD Pipeline / Smoke (no better-sqlite3) / macos-latest / Node 22 (push) Has been cancelled
V3 CI/CD Pipeline / Plugin hooks smoke / macos-latest / Node 22 (push) Has been cancelled
CI/CD Pipeline / Deploy & Release (push) Has been cancelled
CI/CD Pipeline / CI Status (push) Has been cancelled
🔗 Cross-Agent Integration Tests / 📊 Integration Test Report (push) Has been cancelled
🔄 Automated Rollback Manager / 🔍 Pre-Rollback Validation (push) Has been cancelled
🔍 Verification Pipeline / ⚡ Performance Verification (push) Has been cancelled
🔍 Verification Pipeline / 📊 Verification Report (push) Has been cancelled
12 KiB
12 KiB
CLI Commands Migration Guide
Migrating from V2 CLI (25 commands) to V3 CLI (7 commands)
Overview
V3 CLI is streamlined with 7 core commands. Many V2 commands need migration or have been consolidated.
Command Coverage
| Status | V2 Commands | V3 Commands |
|---|---|---|
| ✅ Implemented | 7 | 7 |
| ❌ Missing | 18 | - |
| Total | 25 | 7 |
Implemented Commands ✅
agent
# V2
npx claude-flow agent spawn --type coder --name my-coder
npx claude-flow agent list --detailed
npx claude-flow agent info <agentId>
npx claude-flow agent terminate <agentId>
# V3 (same)
npx claude-flow agent spawn --type coder --id my-coder
npx claude-flow agent list --detailed
npx claude-flow agent status <agentId>
npx claude-flow agent terminate <agentId>
memory
# V2
npx claude-flow memory store --namespace default --content "data"
npx claude-flow memory query --search "keyword" --limit 10
npx claude-flow memory list --namespace default
# V3 (enhanced)
npx claude-flow memory store --type episodic --content "data"
npx claude-flow memory search --query "keyword" --search-type hybrid
npx claude-flow memory list --type all --sort-by relevance
swarm
# V2
npx claude-flow swarm --strategy auto --max-agents 5
# V3 (enhanced)
npx claude-flow swarm init --topology hierarchical-mesh --max-agents 15
npx claude-flow swarm status --include-metrics
npx claude-flow swarm scale --target 10 --strategy gradual
hooks
# V2
npx claude-flow hooks pre-edit --file src/app.ts
npx claude-flow hooks post-edit --file src/app.ts --success true
# V3 (enhanced with learning)
npx claude-flow hooks pre-edit src/app.ts
npx claude-flow hooks post-edit src/app.ts --success true
npx claude-flow hooks route "implement feature X"
npx claude-flow hooks explain "implement feature X"
npx claude-flow hooks pretrain
npx claude-flow hooks metrics
mcp
# V2
npx claude-flow mcp start --port 3000 --transport stdio
npx claude-flow mcp stop
npx claude-flow mcp status
# V3 (same)
npx claude-flow mcp start --port 3000 --transport stdio
npx claude-flow mcp stop
npx claude-flow mcp status
config
# V2
npx claude-flow config get orchestrator
npx claude-flow config set orchestrator.maxAgents 10
# V3
npx claude-flow config load --scope project
npx claude-flow config save --create-backup
npx claude-flow config validate --strict
migrate
# V3 only
npx claude-flow migrate status
npx claude-flow migrate run --target all --backup
npx claude-flow migrate verify
npx claude-flow migrate rollback --backup-id <id>
Missing Commands ❌
Priority 1 - HIGH
init
# V2
npx claude-flow init
npx claude-flow init --minimal
npx claude-flow init --flow-nexus
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/init.ts
export const initCommand = {
command: 'init',
description: 'Initialize Claude Code integration files',
options: [
{ flags: '-f, --force', description: 'Overwrite existing files' },
{ flags: '-m, --minimal', description: 'Create minimal configuration' },
{ flags: '--flow-nexus', description: 'Initialize with Flow Nexus' }
],
action: async (options) => {
await createClaudeFlowConfig(options);
await createDefaultAgents(options);
if (!options.minimal) {
await createHooksConfig(options);
await createWorkflowTemplates(options);
}
}
};
start
# V2
npx claude-flow start
npx claude-flow start --daemon
npx claude-flow start --port 3000
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/start.ts
export const startCommand = {
command: 'start',
description: 'Start the orchestration system',
options: [
{ flags: '-d, --daemon', description: 'Run as daemon' },
{ flags: '-p, --port <port>', description: 'MCP server port' }
],
action: async (options) => {
const swarm = await initializeV3Swarm();
await swarm.spawnAllAgents();
if (options.port) {
await startMCPServer({ port: options.port });
}
}
};
status
# V2
npx claude-flow status
npx claude-flow status --watch
npx claude-flow status --json
npx claude-flow status --health-check
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/status.ts
export const statusCommand = {
command: 'status',
description: 'Show enhanced system status',
options: [
{ flags: '-w, --watch', description: 'Watch mode' },
{ flags: '-i, --interval <seconds>', description: 'Update interval' },
{ flags: '--json', description: 'Output in JSON format' },
{ flags: '--health-check', description: 'Perform health checks' }
],
action: async (options) => {
const status = await getSystemStatus();
if (options.healthCheck) {
status.health = await performHealthChecks();
}
if (options.watch) {
await watchStatus(status, options.interval);
} else {
displayStatus(status, options.json);
}
}
};
task
# V2
npx claude-flow task create --type implementation --description "Build feature"
npx claude-flow task list --status running
npx claude-flow task status <taskId>
npx claude-flow task cancel <taskId>
npx claude-flow task assign <taskId> --agent <agentId>
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/task.ts
export const taskCommand = {
command: 'task',
description: 'Manage tasks',
subcommands: [
{
command: 'create',
options: [
{ flags: '-t, --type <type>', description: 'Task type' },
{ flags: '-d, --description <desc>', description: 'Task description' },
{ flags: '-p, --priority <priority>', description: 'Task priority' },
{ flags: '-a, --assign <agentId>', description: 'Assign to agent' }
]
},
{ command: 'list', options: [{ flags: '-s, --status <status>' }] },
{ command: 'status', args: '<taskId>' },
{ command: 'cancel', args: '<taskId>' },
{ command: 'assign', args: '<taskId>', options: [{ flags: '--agent <agentId>' }] }
]
};
session
# V2
npx claude-flow session list
npx claude-flow session save --description "Checkpoint"
npx claude-flow session restore <sessionId>
npx claude-flow session delete <sessionId>
npx claude-flow session export --include-memory
npx claude-flow session import <file>
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/session.ts
export const sessionCommand = {
command: 'session',
description: 'Manage Claude-Flow sessions',
subcommands: [
{ command: 'list', options: [{ flags: '-a, --active' }] },
{ command: 'save', options: [{ flags: '-d, --description <desc>' }] },
{ command: 'restore', args: '<sessionId>' },
{ command: 'delete', args: '<sessionId>' },
{ command: 'export', options: [{ flags: '--include-memory' }] },
{ command: 'import', args: '<file>' }
]
};
Priority 2 - MEDIUM
hive
# V2
npx claude-flow hive --topology mesh --consensus quorum --max-agents 8
npx claude-flow hive-mind init
npx claude-flow hive-mind status
npx claude-flow hive-mind spawn --type queen
npx claude-flow hive-mind task --description "Task"
npx claude-flow hive-mind wizard
npx claude-flow hive-mind pause
npx claude-flow hive-mind resume
npx claude-flow hive-mind stop
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/hive.ts
export const hiveCommand = {
command: 'hive',
description: 'Hive Mind multi-agent coordination',
options: [
{ flags: '--topology <type>', description: 'Topology: mesh, hierarchical, ring, star' },
{ flags: '--consensus <type>', description: 'Consensus: quorum, unanimous, weighted' },
{ flags: '--max-agents <n>', description: 'Maximum agents' }
],
subcommands: [
{ command: 'init' },
{ command: 'status' },
{ command: 'spawn', options: [{ flags: '-t, --type <type>' }] },
{ command: 'task', options: [{ flags: '-d, --description <desc>' }] },
{ command: 'wizard' },
{ command: 'pause' },
{ command: 'resume' },
{ command: 'stop' }
]
};
sparc
# V2
npx claude-flow sparc modes
npx claude-flow sparc info <mode>
npx claude-flow sparc run --mode specification
npx claude-flow sparc tdd --sequential
npx claude-flow sparc workflow --dry-run
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/sparc.ts
export const sparcCommand = {
command: 'sparc',
description: 'SPARC methodology commands',
subcommands: [
{ command: 'modes', description: 'List SPARC modes' },
{ command: 'info', args: '<mode>' },
{ command: 'run', options: [{ flags: '-m, --mode <mode>' }] },
{ command: 'tdd', options: [{ flags: '--sequential' }] },
{ command: 'workflow', options: [{ flags: '--dry-run' }] }
]
};
monitor
# V2
npx claude-flow monitor
npx claude-flow monitor --interval 2
npx claude-flow monitor --compact
npx claude-flow monitor --focus agents
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/monitor.ts
export const monitorCommand = {
command: 'monitor',
description: 'Start live monitoring dashboard',
options: [
{ flags: '-i, --interval <seconds>', description: 'Update interval' },
{ flags: '-c, --compact', description: 'Compact view' },
{ flags: '--focus <component>', description: 'Focus on component' }
],
action: async (options) => {
const dashboard = createDashboard(options);
await dashboard.start();
}
};
github
# V2
npx claude-flow github init
npx claude-flow github gh-coordinator
npx claude-flow github pr-manager
npx claude-flow github issue-tracker
npx claude-flow github release-manager
npx claude-flow github repo-architect
npx claude-flow github sync-coordinator
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/github.ts
export const githubCommand = {
command: 'github',
description: 'GitHub workflow automation',
subcommands: [
{ command: 'init' },
{ command: 'gh-coordinator' },
{ command: 'pr-manager' },
{ command: 'issue-tracker' },
{ command: 'release-manager' },
{ command: 'repo-architect' },
{ command: 'sync-coordinator' }
],
options: [
{ flags: '--auto-approve', description: 'Auto-approve permissions' },
{ flags: '--dry-run', description: 'Preview only' }
]
};
Priority 3 - LOW
neural
# V2
npx claude-flow neural init
npx claude-flow neural init --force --target .claude/agents/neural
# V3: Replaced by hooks pretrain
npx claude-flow hooks pretrain
goal
# V2
npx claude-flow goal init
# V3: Replaced by hooks system
npx claude-flow hooks pretrain --include-goap
claude
# V2
npx claude-flow claude spawn --tools View,Edit,Bash --mode full
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/claude.ts
export const claudeCommand = {
command: 'claude',
description: 'Spawn Claude instances',
subcommands: [
{
command: 'spawn',
options: [
{ flags: '-t, --tools <tools>', description: 'Allowed tools' },
{ flags: '-m, --mode <mode>', description: 'Dev mode' },
{ flags: '--parallel', description: 'Enable parallel execution' }
]
}
]
};
workflow
# V2
npx claude-flow workflow create --name "my-workflow"
npx claude-flow workflow execute <workflow>
npx claude-flow workflow list
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/workflow.ts
repl
# V2
npx claude-flow repl
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/repl.ts
export const replCommand = {
command: 'repl',
description: 'Start interactive REPL mode',
action: async () => {
const rl = createInterface({ input: stdin, output: stdout });
// REPL loop
}
};
version
# V2
npx claude-flow version
npx claude-flow version --short
# V3 Migration needed:
# Add version flag to CLI root
completion
# V2
npx claude-flow completion bash
npx claude-flow completion --install
# V3 Migration needed:
# Add to v3/@claude-flow/cli/src/commands/completion.ts
Implementation Plan
Phase 1 (Week 1-2): Core Commands
init- Project initializationstart- System startupstatus- System statustask- Task managementsession- Session management
Phase 2 (Week 3-4): Feature Commands
hive- Hive-mind modesparc- SPARC methodologymonitor- Live dashboardgithub- GitHub integration
Phase 3 (Week 5-6): Utilities
workflow- Workflow managementclaude- Claude spawningrepl- Interactive modeversion- Version infocompletion- Shell completion