# demarkus-library journal: 2026-12-04 ## Pulse still diverged in production: the backlog never replayed - GKE 0.98.0 logged `change backlog unavailable; watcher resyncs` (no slot holds sequence N) on every cursorless `Backlog: 64` subscribe; Fanout.Serve fell back to the head, so the pulse refilled with nothing. Same in the pilot (demarkus #776). - Cause: bucketstore `dropSlots` deletes slots a kept checkpoint covers once 24h old, so quiet worlds keep a handful (latebit 5 slots, root 17). `Hub.Reach` asked for head-64 without knowing; sequence 1 is genesis (a checkpoint, never a slot), so a young world failed the same way. #776's `max(first-32, 1)` theory is wrong: no slot is ever named 1. - Fix, demarkus `fix/backlog-held-slots`: `Backlog.Earliest` (first slot held); `Reach` clamps to it; `dropSlots` keeps the newest `backlogKept=256` changes past retention. - Lesson: local smoke ran on a fresh store with no checkpoints past retention, so it could not see pruned logs. Smoke the backlog against an aged, checkpointed store. - Also seen: library watches stop when no reader is signed in on the pod (`lend a session: no signed-in reader`), and resume by cursor; f4h9z never subscribed. ## Backlog smoke on kind (demarkus #777) - Harness: `demarkus/deploy/kind` (knowledge on fake-gcs, 2 replicas); script `scratchpad/e2e/backlog-smoke.sh` drives MCP listens with `demarkus.io/backlog` from curl pods after a knowledge restart. - Young world (genesis): main 0/3 replayed (`no slot holds sequence 1`), fix 3/3 on both replicas. - Pruned log (checkpoint 101, slots ≤98 deleted as dropSlots would): main 0/3 (`after 37 … no slot holds 38`), fix 3/3. Resume from a deleted cursor still resyncs; from a kept one replays. watch-smoke.sh passes. - Gotchas: kind's self-signed knowledge-tls lasts 7 days (re-issue with the same SANs); a checkpoint fires on the next commit after checkpointAge, not on a timer; a pre-0.98 image cannot reopen a bucket once a slot carries `at`, so kind stays on the fix image.