mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 06:36:49 +09:00
ADR-150 Phase 1 MVP shipped. Adds plugins/ruflo-metaharness/ with the five most-leverage skills from the integration matrix: harness-score — 5-dim readiness scorecard harness-genome — 7-section categorical report harness-mcp-scan — static MCP security findings harness-threat-model — enterprise-grade threat model harness-mint — scaffold custom harness (DRY-RUN by default) ARCHITECTURE - Every skill shells out to `npx metaharness ...` / `npx -p metaharness harness ...` via the `_harness.mjs` shared helper. NO library imports on ruflo's boot path. 60s hard timeout per subprocess. - `_harness.mjs` is the single bridge — every skill imports from it. Centralizes spawnSync, timeout handling, JSON parse, and graceful degradation (`emitDegradedJsonAndExit`). - Graceful degradation per ADR-150 architectural constraint rule #3: when `npx` can't fetch metaharness (offline, no network, unreachable registry), each script emits `{degraded:true, reason:'metaharness- not-available', hint:...}` and exits 0. Ruflo continues to function. PHASE-0 BASELINE CAPTURED (ruflo's own scorecard, 2026-06-16): harnessFit 82/100 compileConfidence 100 taskCoverage 79 toolSafety 100 memoryUsefulness 40 ← weakest dimension, track over time estCostPerRunUsd $0.048 recommendedMode CLI + MCP archetype typescript-sdk-harness template vertical:coding scaffoldReady true risk_score 0.27 ← low publish_readiness 0.9 SAFETY (harness-mint) - DRY-RUN by default; --confirm required to actually write - Refuses to write to project root or any path inside the calling repo - Defaults --target to /tmp/ruflo-mint-<ts>-<name>/ - Refuses existing target dirs (no overwrites) DEPENDENCIES (ADR-150 constraint rule #2: optional only, never required) - `metaharness@~0.1.11` added to @claude-flow/cli optionalDependencies - `@metaharness/router` re-pinned from `^0.3.2` to `~0.3.2` (tilde, not caret) per ADR-150 review-round-1 — the upstream had 5 releases in 2.7h on 2026-06-15, the caret was too permissive SMOKE - 14 structural invariants in plugins/ruflo-metaharness/scripts/smoke.sh - Pin: graceful degradation must be present in _harness.mjs (rule #3) - Pin: every script must use the shared _harness.mjs (not duplicate spawnSync — single audit point) - Pin: mint.mjs MUST contain the "refusing to write to project root" string (safety regression guard) - Pin: no SKILL.md grants wildcard tools (security) FLEET - 32 → 33 plugins, 402 → 422 structural steps passing - All three audits (exit-bypass, frontmatter, manifest) green - Five new MCP-tool exposures live via the plugin Co-Authored-By: RuFlo <ruv@ruv.net>
138 lines
3.8 KiB
JSON
138 lines
3.8 KiB
JSON
{
|
|
"name": "@claude-flow/cli",
|
|
"version": "3.11.0",
|
|
"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",
|
|
"types": "dist/src/index.d.ts",
|
|
"sideEffects": false,
|
|
"bin": {
|
|
"cli": "./bin/cli.js",
|
|
"claude-flow": "./bin/cli.js",
|
|
"claude-flow-mcp": "./bin/mcp-server.js"
|
|
},
|
|
"homepage": "https://github.com/ruvnet/claude-flow#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/ruvnet/claude-flow/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ruvnet/claude-flow.git",
|
|
"directory": "v3/@claude-flow/cli"
|
|
},
|
|
"keywords": [
|
|
"claude",
|
|
"claude-code",
|
|
"anthropic",
|
|
"ai-agents",
|
|
"multi-agent",
|
|
"swarm",
|
|
"mcp",
|
|
"model-context-protocol",
|
|
"llm",
|
|
"cli",
|
|
"orchestration",
|
|
"automation",
|
|
"developer-tools",
|
|
"coding-assistant",
|
|
"vector-database",
|
|
"embeddings",
|
|
"self-learning",
|
|
"enterprise"
|
|
],
|
|
"author": {
|
|
"name": "RuvNet",
|
|
"email": "ruv@ruv.io",
|
|
"url": "https://ruv.io"
|
|
},
|
|
"license": "MIT",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"import": "./dist/src/index.js"
|
|
},
|
|
"./dist/*": "./dist/*",
|
|
"./ruvector": {
|
|
"types": "./dist/src/ruvector/index.d.ts",
|
|
"import": "./dist/src/ruvector/index.js"
|
|
},
|
|
"./ruvector/*": {
|
|
"types": "./dist/src/ruvector/*.d.ts",
|
|
"import": "./dist/src/ruvector/*.js"
|
|
},
|
|
"./mcp-tools": {
|
|
"types": "./dist/src/mcp-tools/index.d.ts",
|
|
"import": "./dist/src/mcp-tools/index.js"
|
|
},
|
|
"./memory": {
|
|
"types": "./dist/src/memory/memory-initializer.d.ts",
|
|
"import": "./dist/src/memory/memory-initializer.js"
|
|
},
|
|
"./intelligence": {
|
|
"types": "./dist/src/memory/intelligence.d.ts",
|
|
"import": "./dist/src/memory/intelligence.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin",
|
|
"scripts",
|
|
".claude",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"test:plugin-store": "npx tsx src/plugins/tests/standalone-test.ts",
|
|
"test:pattern-store": "npx tsx src/transfer/store/tests/standalone-test.ts",
|
|
"postinstall": "node ./scripts/postinstall.cjs",
|
|
"prepublishOnly": "cp ../../../README.md ./README.md",
|
|
"release": "npm version prerelease --preid=alpha && npm run publish:all",
|
|
"publish:all": "./scripts/publish.sh"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.3.0",
|
|
"vitest": "^4.0.16"
|
|
},
|
|
"dependencies": {
|
|
"@claude-flow/cli-core": "^3.7.0-alpha.5",
|
|
"@claude-flow/mcp": "^3.0.0-alpha.8",
|
|
"@claude-flow/neural": "^3.0.0-alpha.9",
|
|
"@claude-flow/shared": "^3.0.0-alpha.7",
|
|
"@noble/ed25519": "^2.1.0",
|
|
"@ruvector/rabitq-wasm": "^0.1.0",
|
|
"semver": "^7.6.0",
|
|
"yaml": "^2.8.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@claude-flow/aidefence": "^3.0.2",
|
|
"@claude-flow/codex": "^3.0.0-alpha.8",
|
|
"@claude-flow/embeddings": "^3.0.0-alpha.18",
|
|
"@claude-flow/guidance": "^3.0.0-alpha.1",
|
|
"@claude-flow/memory": "^3.0.0-alpha.20",
|
|
"@claude-flow/plugin-gastown-bridge": "^0.1.3",
|
|
"@claude-flow/security": "^3.0.0-alpha.10",
|
|
"@metaharness/router": "~0.3.2",
|
|
"metaharness": "~0.1.11",
|
|
"@ruvector/attention": "^0.1.32",
|
|
"@ruvector/attention-darwin-arm64": "0.1.32",
|
|
"@ruvector/diskann": "^0.1.0",
|
|
"@ruvector/learning-wasm": "^0.1.29",
|
|
"@ruvector/router": "^0.1.30",
|
|
"@ruvector/ruvllm-wasm": "^2.0.2",
|
|
"@ruvector/rvagent-wasm": "^0.1.0",
|
|
"@ruvector/sona": "^0.1.6",
|
|
"@ruvector/tiny-dancer": "^0.1.22",
|
|
"agentdb": "^3.0.0-alpha.16",
|
|
"agentic-flow": "^3.0.0-alpha.1",
|
|
"ruvector": "^0.2.27"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"tag": "latest"
|
|
},
|
|
"overrides": {
|
|
"protobufjs": ">=7.5.6"
|
|
}
|
|
}
|