Skip to content

v3.32.11 β€” bridgeRecordFeedback wired to real intelligence pipeline (#2786 fix-3)

Choose a tag to compare

@ruvnet ruvnet released this 26 Jul 22:49

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 β€” bridgeRecordFeedback no longer silently swallows every call. The prior code called learningSystem.recordFeedback/.record and reasoningBank.recordOutcome/.record, but the registry actually wires the LOCAL intelligence classes (LocalSonaCoordinator / LocalReasoningBank) via initializeIntelligence() in memory/intelligence.ts β€” those classes never had those methods, and two catch { /* API mismatch β€” skip */ } blocks made the failure invisible. Fix: call the real public API intelligence.recordTrajectory(steps, verdict) β€” same call hooks_post-command already uses. Pattern-store branch also fixed to call LocalReasoningBank.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.11

Closes: #2786 (the last remaining fix from the 2026-07-26 sweep).