mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
* dream(intelligence): fix guidance_brain's dead coveragePercent/classifiedToolCount metrics buildCapabilityBrain() (v3/@claude-flow/cli/src/mcp-tools/capability-brain.ts) hardcoded coveragePercent to 100 and classifiedToolCount to the raw unique-tool count, regardless of how many tools fell back to the generic runtime-services domain -- a declared-but-dead metric reachable through the live guidance_brain MCP tool that CLAUDE.md instructs agents to call before complex work, and a direct violation of ADR-329's own coverage-gate invariant. classifiedToolCount now subtracts the number of distinct fallback-classified tool names, and coveragePercent is computed from it instead of being a constant. An independent adversarial critique found and this session fixed forward a related edge case: a duplicate tool name that also falls back to runtime-services could drive the count negative; fixed by deduping via a Set before subtracting. 3 new discriminating/control tests added to guidance-brain.test.ts. Stash-isolated baseline fails the predicted test; candidate is 11/11, tui-command.test.ts (the other real consumer-adjacent suite) is 13/13 (+3 pre-existing skips), 0 regressions. tsc --noEmit: 0 errors in either changed file. Research: tonight's DEEP=intelligence slot surfaced a stronger-evidenced EWC gradient-accumulator-decay candidate, but an independent architecture review disqualified it from tonight's production_value score (its output is currently discarded by learn(), never reaching a real weight update) -- this SCAN=capabilities finding scored higher and is a disclosed SCAN-override, same precedent as 2026-10-29/2026-11-10. Full research and evaluation receipt in docs/dream-cycle/dream-gist-2026-11-16.md. Also backfills three missing ledger rows (2026-11-12/13/14) that each pushed a real, evaluated, witnessed draft PR but never appended their ledger row -- a genuine STEP 25 gap found during tonight's STEP 1 ledger check. Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH5iHMWcLWYvovKagBj * dream(intelligence): finalize witness block and append ledger row for #5003/#5004 Co-Authored-By: RuFlo <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01ReiDH5iHMWcLWYvovKagBj --------- Co-authored-by: Claude <noreply@anthropic.com>