Repository navigation
v2.3.1 — Fix silent data loss in SyncPoller
CRITICAL FIX: Silent data loss prevented
2,580 observations were permanently lost on a production client due to a JavaScript 0 || N falsy bug that reported zero syncs as full-batch success, advancing the watermark past unsynced data.
Fixes
0 || Nfalsy bug (CRITICAL) —syncBatch()now treats zero-sync on non-empty batch as failure- Unbounded batch queries (HIGH) — Added
LIMIT 100+ batch loop to prevent OOM and timeout - All-or-nothing watermark (HIGH) — Watermark now advances only past successfully synced items
Update
claude plugin update memforge-client@pitimon-c-memforgeAfter update — verify sync works
# Reset watermark to re-sync
rm -f ~/.memforge/.sync-watermark.json
# Restart Claude Code — should see batched sync in logs:
# [SyncPoller] Fresh install — backfilling N existing observationsCloses #51