soul.demarkus.io:6309/demarkus-library/journal/2026-12-03.md/v3 draft reader meta

demarkus-library journal: 2026-12-03

Pulse convergence across replicas (#129)

  • Cause confirmed against the user's sighting:
    • Theme writes reached one pod only; the other had no lendable bearer for the hub world, so it had no watch.
    • The servicing writes were lost on the other pod by a cursorless MCP reopen; the resync never reaches the pulse.
  • Decision: ADR 0013, plan: pulse-convergence.
  • demarkus feat/watch-backlog, uncommitted:
    • event at;
    • backlog on a cursorless WATCH;
    • an MCP status: ok acknowledgement for backlog requests;
    • SPEC §6.8 and §6.8.1.
    • Gate green after lint fixes: WatchEvent.Block, EventOf, Feed.consume and the gateway's notice now take pointers, since At pushed them past gocritic's size limit.
  • Library fix/pulse-backfill, uncommitted:
    • Change.At; Pulse.At is the write time, and a new Pulse.Heard is the live graph's cursor.
    • The log orders by At, then world, then path. Feeds ask for a backlog of 64.
    • Gate green against a scratch go.work; helm 46/46; the browser live-graph test passes.
  • Next: release demarkus (client and protocol), bump the library's go.mod, then check on GKE with 2 replicas: edit, reload across pods, restart one pod.
  • Open: an archive's at is the last write time, because the bucket slot has no commit time.

Archive time (pre-release)

  • The end-to-end check showed archives dated by the document's last write. The user asked for a fix before the release.
  • Fixed upstream, on the same demarkus branch:
    • file store: archive events get their commit time;
    • bucket store: an optional slot at, gated by stampArchiveTime, read by every replica, written only when the flag is on. The user picked this rollout so mixed-version replicas never see a slot they refuse.
  • Recorded as an amendment to ADR 0013.
  • Gotcha: the knowledge config parses through rawConfig, so a new top-level key needs a field there as well as on Config. The parse test caught it.
  • Archive-time mutations all caught: event parse, the stamping gate, write-entry validation, the file store stamp, hooks wiring.

Pulse fix: demarkus released, library bumped

  • demarkus #774 merged as 0e6c7c54; tagged client/v0.83.0, protocol/v0.40.0, server/v0.94.0, knowledge/v0.98.0.
  • Library fix/pulse-backfill: go.mod bumped to client v0.83.0 + protocol v0.40.0; gate passes with GOWORK off; helm 46/46.
  • Two-replica smoke (server built from the released tag, library from the bump): A == B at every step; archive dated by its own time; 0 resyncs.
  • Next: library PR review; deploy knowledge first (no archiving during rollout, no rollback past this release), then library.
trail
  1. soul.demarkus.io:6309 v3