v3.32.11 β bridgeRecordFeedback wired to real intelligence pipeline (#2786 fix-3)
Follow-up patch closing the last remaining item flagged by the 2026-07-26 tracker-sweep agent β the sweep tagged it "architectural" but investigation showed a much smaller surgical fix was available.
Fixed
- #2786 fix-3 β
bridgeRecordFeedbackno longer silently swallows every call. The prior code calledlearningSystem.recordFeedback/.recordandreasoningBank.recordOutcome/.record, but the registry actually wires the LOCAL intelligence classes (LocalSonaCoordinator/LocalReasoningBank) viainitializeIntelligence()inmemory/intelligence.tsβ those classes never had those methods, and twocatch { /* API mismatch β skip */ }blocks made the failure invisible. Fix: call the real public APIintelligence.recordTrajectory(steps, verdict)β same callhooks_post-commandalready uses. Pattern-store branch also fixed to callLocalReasoningBank.store(pattern)(the one method that actually exists). No mocks, no silent catches on the happy path.
E2E verification (no mocks)
Fresh scratch cwd, memory init + 3Γ hooks post-task --task ... --store-results true:
- Before:
hooks intelligence statsβ 0 trajectories - After: 6 trajectories on disk + 3 pattern entries (
~/.claude-flow/neural/stats.json)
Upgrade
npx ruflo@latest --version # β 3.32.11Closes: #2786 (the last remaining fix from the 2026-07-26 sweep).