From e5a3b34b0d85a404c7ad9994c21fe3a901069e72 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Mon, 9 Mar 2026 16:37:28 -0600 Subject: [PATCH] remove bad "fix" --- client/lib/patch-db.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client/lib/patch-db.ts b/client/lib/patch-db.ts index a35d0e8..7866e04 100644 --- a/client/lib/patch-db.ts +++ b/client/lib/patch-db.ts @@ -206,16 +206,6 @@ export class PatchDB { if (this.isRevision(update)) { const expected = cache.id + 1 if (update.id < expected) return - // @claude fix #7: Previously, revision gaps were silently applied. If - // revision 4 was missing and 5 arrived (cache at 3), the patch was - // applied without revision 4's changes, producing corrupt state with - // no indication. Now logs a warning so the issue is visible. - if (update.id > expected) { - console.warn( - `[patch-db] Revision gap detected: expected ${expected}, got ${update.id}. ` + - `State may be inconsistent until the next full dump.`, - ) - } this.handleRevision(update, cache) } else { this.handleDump(update, cache)