mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 22:28:10 +09:00
Checkpoint: File edits
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
387a648ca2
commit
45eec6d6ef
3 files changed
+36
-43
No files matched your search
@@ -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",
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Generated
+3
-18
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user