From 45eec6d6ef8f36c4e7ab667fdd01344303f4b5ac Mon Sep 17 00:00:00 2001 From: rUv Date: Wed, 14 Jan 2026 02:44:48 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: v3 - Timestamp: 2026-01-14T02:44:48Z - Changes: 3 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/package.json | 2 +- .../cli/src/mcp-tools/hooks-tools.ts | 56 +++++++++++-------- v3/package-lock.json | 21 +------ 3 files changed, 36 insertions(+), 43 deletions(-) diff --git a/v3/@claude-flow/cli/package.json b/v3/@claude-flow/cli/package.json index df09566147..962c134c7a 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.0.0-alpha.98", + "version": "3.0.0-alpha.99", "type": "module", "description": "CLI module - command parsing, prompts, output formatting", "main": "dist/src/index.js", diff --git a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts index 747f6a10aa..bb98d445e7 100644 --- a/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts +++ b/v3/@claude-flow/cli/src/mcp-tools/hooks-tools.ts @@ -1055,7 +1055,7 @@ export const hooksInit: MCPTool = { // Intelligence hook - RuVector intelligence system export const hooksIntelligence: MCPTool = { name: 'hooks/intelligence', - description: 'RuVector intelligence system (SONA, MoE, HNSW 150x faster)', + description: 'RuVector intelligence system status (shows REAL metrics from memory store)', inputSchema: { type: 'object', properties: { @@ -1073,49 +1073,57 @@ export const hooksIntelligence: MCPTool = { const enableMoe = params.enableMoe !== false; const enableHnsw = params.enableHnsw !== false; + // Get REAL statistics from memory store + const realStats = getIntelligenceStatsFromMemory(); + return { mode, status: 'active', components: { sona: { enabled: enableSona, - status: enableSona ? 'active' : 'disabled', - learningTimeMs: 0.042, - adaptationTimeMs: 0.018, - trajectoriesRecorded: 156, - patternsLearned: 89, - avgQuality: 0.87, + status: enableSona ? 'infrastructure-ready' : 'disabled', + implemented: false, // HONEST: SONA self-optimization not yet implemented + trajectoriesRecorded: realStats.trajectories.total, + trajectoriesSuccessful: realStats.trajectories.successful, + patternsLearned: realStats.patterns.learned, + note: 'Trajectory recording works; self-optimization pending implementation', }, moe: { enabled: enableMoe, - status: enableMoe ? 'active' : 'disabled', - expertsActive: 8, - routingAccuracy: 0.92, - loadBalance: 0.85, + status: enableMoe ? 'placeholder' : 'disabled', + implemented: false, // HONEST: MoE routing not yet implemented + routingDecisions: realStats.routing.decisions, + note: 'MoE expert routing returns placeholder weights - real training not implemented', }, hnsw: { enabled: enableHnsw, - status: enableHnsw ? 'ready' : 'disabled', - indexSize: 12500, - searchSpeedup: '150x', - memoryUsage: '45MB', - dimension: 384, + status: enableHnsw ? 'partial' : 'disabled', + implemented: 'partial', // HONEST: Infrastructure exists but search uses memory store + indexSize: realStats.memory.indexSize, + memorySizeBytes: realStats.memory.memorySizeBytes, + note: 'Memory store exists; HNSW vector indexing not fully integrated', }, embeddings: { provider: 'transformers', model: 'all-MiniLM-L6-v2', dimension: 384, - cacheHitRate: 0.78, + implemented: true, // HONEST: This actually works + note: 'Real ONNX embeddings via all-MiniLM-L6-v2', }, }, - performance: { - flashAttention: '2.49x-7.47x speedup', - memoryReduction: '50-75% reduction', - searchImprovement: '150x-12,500x faster', - tokenReduction: '32.3% fewer tokens', - sweBenchScore: '84.8%', + realMetrics: { + // Show what's ACTUALLY in the system + trajectories: realStats.trajectories, + patterns: realStats.patterns, + memory: realStats.memory, + routing: realStats.routing, + }, + implementationStatus: { + working: ['memory-store', 'embeddings', 'trajectory-recording', 'claims', 'swarm-coordination'], + partial: ['hnsw-index', 'pattern-storage'], + notImplemented: ['sona-self-optimization', 'ewc-consolidation', 'moe-routing', 'flash-attention'], }, - lastTrainingMs: 0.042, }; }, }; diff --git a/v3/package-lock.json b/v3/package-lock.json index c75a065446..b3a258a63b 100644 --- a/v3/package-lock.json +++ b/v3/package-lock.json @@ -925,7 +925,7 @@ } }, "@claude-flow/cli": { - "version": "3.0.0-alpha.98", + "version": "3.0.0-alpha.99", "dependencies": { "@claude-flow/aidefence": "^3.0.2", "@claude-flow/embeddings": "^3.0.0-alpha.12", @@ -1181,11 +1181,11 @@ } }, "claude-flow": { - "version": "3.0.0-alpha.49", + "version": "3.0.0-alpha.50", "license": "MIT", "dependencies": { "@claude-flow/aidefence": "^3.0.2", - "@claude-flow/cli": "3.0.0-alpha.97", + "@claude-flow/cli": "3.0.0-alpha.99", "@claude-flow/embeddings": "^3.0.0-alpha.1", "@claude-flow/hooks": "^3.0.0-alpha.2", "@claude-flow/mcp": "^3.0.0-alpha.1", @@ -1204,21 +1204,6 @@ "node": ">=18.0.0" } }, - "claude-flow/node_modules/@claude-flow/cli": { - "version": "3.0.0-alpha.97", - "resolved": "https://registry.npmjs.org/@claude-flow/cli/-/cli-3.0.0-alpha.97.tgz", - "integrity": "sha512-GjG0dBcBiw4ALJkxr6cU4uAhVlQgIcuUE5ibATyv3JnOc1zGUY6yyl3xAPlMA7UyxeNhXDYENTQP8gomWI560A==", - "dependencies": { - "@claude-flow/aidefence": "^3.0.2", - "@claude-flow/embeddings": "^3.0.0-alpha.12", - "@claude-flow/shared": "^3.0.0-alpha.1" - }, - "bin": { - "claude-flow": "bin/cli.js", - "claude-flow-mcp": "bin/mcp-server.js", - "cli": "bin/cli.js" - } - }, "node_modules/@actions/core": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@actions/core/-/core-2.0.1.tgz",