mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
#2864 — learned routing patterns needed a 25pp higher score bar (>=0.65) than static patterns (>0.4) to be selected, so a top-scoring learned pattern could lose to a lower-scoring static one that simply cleared the easier bar. Measured 49% agreement with the router's own recorded training labels on a real store; only 1/61 replayed routes were decided by a learned pattern. Both sources now gate on the same score threshold; support/reliability remain the learned-specific quality guard. #2865 — the `hooks intelligence` MoE panel showed a hardcoded "Routing Accuracy: 82.0%" (and Active Experts/Load Balance constants) whenever any local neural data existed, regardless of actual routing quality — the exact "self-confidence presented as accuracy" problem #2809/#2850 already fixed on the `hooks metrics` path. These three fields are now null (and the row omitted) when no real value is reported, instead of a fabricated number. #2859 — `hooks transfer from-project` reported success, a transfer count, and quality stats (avgConfidence, avgAge) without ever reading or writing the destination project's memory store — every number was invented from fixed percentages of the source count. Now performs a real merge: reads the destination store, skips entries below the confidence threshold, skips exact duplicates, skips real conflicts (an existing differing value is never silently overwritten), and actually persists whatever remains. All reported counts and stats (avgConfidence, avgAgeDays) are computed from the entries actually processed, and are null/omitted when nothing qualifies. All three verified against the exact reproductions in their issues, using the built CLI end-to-end (not unit mocks): #2864's routing scenario now selects learned-researcher; #2865's MoE panel no longer shows a fake percentage; #2859's transfer both changes the destination file on disk and correctly skips on a second run. Fixes #2864, fixes #2865, fixes #2859.