mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Remove Math.random() metrics from 6 locations: - agent_health: CPU/memory/latency were random — now null with notes - system_health: all checks were hardcoded "healthy" — now real fs checks - coordination_metrics: latency/throughput were random — now null with real sync data - github-tools: all 5 tools fabricated — now return _stub:true, local CRUD only - process monitor: all metrics random — now real os.loadavg/memoryUsage - hook-handler route: random latency, hardcoded matches — removed Fix 6 bugs: - task-tools path mismatch: agents.json → agents/store.json - token-optimizer double-increment of editsOptimized - config get: now reads real configManager instead of hardcoded map - config providers: now reads/writes real config, mutation flags work - session restore: now syncs to sql.js database after legacy JSON write - claims rebalance: now executes moves when dryRun=false Mark stubs honestly (_stub:true): - neural compress/optimize - performance bottleneck/profile/optimize - hooks metrics/pretrain/intelligence-reset (reset now actually deletes files) - workflow execute/resume (steps stay pending, not auto-completed) - hooks session-end summary: reads real counts from stores - hooks explain: reads real success rate from routing-outcomes.json - hooks transfer: returns failure instead of demo data when source empty - status.ts: performance claims → 'not measured' Co-Authored-By: claude-flow <ruv@ruv.net>