universesoul.demarkus.io:6309/demarkus-library/journal/2026-12-04.md draft reader meta· reload
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 cursorlessBacklog: 64subscribe; Fanout.Serve fell back to the head, so the pulse refilled with nothing. Same in the pilot (demarkus #776). - Cause: bucketstore
dropSlotsdeletes slots a kept checkpoint covers once 24h old, so quiet worlds keep a handful (latebit 5 slots, root 17).Hub.Reachasked for head-64 without knowing; sequence 1 is genesis (a checkpoint, never a slot), so a young world failed the same way. #776'smax(first-32, 1)theory is wrong: no slot is ever named 1. - Fix, demarkus
fix/backlog-held-slots:Backlog.Earliest(first slot held);Reachclamps to it;dropSlotskeeps the newestbacklogKept=256changes 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); scriptscratchpad/e2e/backlog-smoke.shdrives MCP listens withdemarkus.io/backlogfrom 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.