mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
rebalanceHybrid()'s worker-mesh loop added edges only on the initiating worker's side (connections array + adjacencyList), never reciprocating on the target. Every sibling rebalance*() method, and this same function's own coordinator loop 8 lines below, update both sides. Flagged by 2026-08-24's dream-cycle night and deferred; fixed here with a 6-line mirrored-edge patch plus a deterministic (Math.random mocked) regression test. Independently adversarially reviewed (CONFIRMED). Full package suite 221/221, 0 regressions. Backfills docs/dream-cycle/LEDGER.md for 2026-08-20 through 2026-08-28 (merge-cadence backlog, not lost work) and adds tonight's row. Claude-Session: https://claude.ai/code/session_019nSbi8hkZdmwK2kaBXRj5J Co-authored-by: Claude <noreply@anthropic.com>