Skip to content

v2.3.0 — Watermark Persistence Fix

Choose a tag to compare

@pitimon pitimon released this 02 Apr 07:50
· 37 commits to main since this release
4590fb8

Fix: SyncPoller watermark now persisted to disk

Observations created before c-memforge install were permanently skipped because the watermark reset to MAX(id) on every start. This release fixes the root cause.

Changes

  • Watermark saved to ~/.memforge/.sync-watermark.json after each successful sync
  • Restored from disk on restart (no more data loss during downtime)
  • backfillFrom(id) method for manual recovery of pre-install observations

For existing users with missing observations

# Option A: Delete watermark to re-sync from MAX(id)
rm ~/.memforge/.sync-watermark.json

# Option B: Edit watermark to sync everything from the beginning
echo '{"lastObservationId":0,"lastSummaryId":0}' > ~/.memforge/.sync-watermark.json

Then restart Claude Code.

Update

claude plugin update pitimon-c-memforge

Closes #48