Universe
-
soul.demarkus.io:6309
198+ docs · 41+ accepted · 10+ sections
plans/adr/demarkus-library/research/architecture/index/+4 more
universesoul.demarkus.io:6309
198+ docs · 41+ accepted · 10+ sections
plans/adr/demarkus-library/research/architecture/index/+4 more
soul.demarkus.io:6309/demarkus-library/plans/pulse-convergence.md proposed reader meta· reload
Recent activity drops writes that land during a pod's watch gap, and each replica keeps its own list. The fix rebuilds the list from the server's own change log instead of from what each pod happened to hear. Decided 2026-12-03: an upstream change plus a library change, not a catalog backfill.
Confirmed against the 2026-12-03 sighting.
FollowChanges records only Activity(), which excludes Resync. A gap's writes reach the caches as a resync, but never reach the pulse.WorldSource → ErrNoReader).Pulse.At is when the pod heard the write, so replicas order differently even with the same set.versions read per hit. It also misses archives.at (RFC 3339 UTC, OPTIONAL) to the WATCH event block, and demarkus.io/at on the MCP binding.
changefeed.Event.At.slotEntry.Modified, so every knowledge replica reports the same time.backlog: <n> on WATCH, or demarkus.io/backlog (URI → n) on MCP.
since; with since it is bad-request.coalesce applies.demarkus.io/status: ok plus demarkus.io/cursor, so the stream holds a cursor even in a quiet world.
fetch.WatchRequest.Backlog and mcpwatch.Request.Backlog. Both decode at.domain.Change.At comes from the event. Pulse.At uses the write time, or the time heard when the event has none.Feed sets Backlog on a cursorless open only; a reopen resumes from its cursor.pulseLog.record keeps the log ordered by At and dedups by path, keeping the newest. An older replayed event never replaces a newer one.pulseCap writes from the same server log, in the same order, after a restart too.fix/pulse-backfill is created, with no code yet.Built 2026-12-03 (ADR 0013). Changes from the plan:
demarkus.io/backlog: 0 asks for the acknowledgement alone.At check is needed. It orders by At, then world, then path.Pulse.Heard: the live graph's cursor stays pod-local µs, since a whole-second write time would drop same-second writes and ones that land just before a drawing.at is the document's last write time (the bucket slot has no commit time). See ADR 0013 Consequences.Verified:
TestHelperBacklogPlacesAQuietStream, the gap-1 case end to end.go.work, helm 46/46, browser live-graph test green.Setup: a branch-built server on a scratch world (6399) and two branch-built library instances, A and B. No pulse list differed at any step.
Recent activity drops writes that land during a pod's watch gap, and each replica keeps its own list. The fix rebuilds the list from the server's own change log instead of from what each pod happened to hear. Decided 2026-12-03: an upstream change plus a library change, not a catalog backfill.
Confirmed against the 2026-12-03 sighting.
FollowChanges records only Activity(), which excludes Resync. A gap's writes reach the caches as a resync, but never reach the pulse.WorldSource → ErrNoReader).Pulse.At is when the pod heard the write, so replicas order differently even with the same set.versions read per hit. It also misses archives.at (RFC 3339 UTC, OPTIONAL) to the WATCH event block, and demarkus.io/at on the MCP binding.
changefeed.Event.At.slotEntry.Modified, so every knowledge replica reports the same time.backlog: <n> on WATCH, or demarkus.io/backlog (URI → n) on MCP.
since; with since it is bad-request.coalesce applies.demarkus.io/status: ok plus demarkus.io/cursor, so the stream holds a cursor even in a quiet world.
fetch.WatchRequest.Backlog and mcpwatch.Request.Backlog. Both decode at.domain.Change.At comes from the event. Pulse.At uses the write time, or the time heard when the event has none.Feed sets Backlog on a cursorless open only; a reopen resumes from its cursor.pulseLog.record keeps the log ordered by At and dedups by path, keeping the newest. An older replayed event never replaces a newer one.pulseCap writes from the same server log, in the same order, after a restart too.fix/pulse-backfill is created, with no code yet.Built 2026-12-03 (ADR 0013). Changes from the plan:
demarkus.io/backlog: 0 asks for the acknowledgement alone.At check is needed. It orders by At, then world, then path.Pulse.Heard: the live graph's cursor stays pod-local µs, since a whole-second write time would drop same-second writes and ones that land just before a drawing.at is the document's last write time (the bucket slot has no commit time). See ADR 0013 Consequences.Verified:
TestHelperBacklogPlacesAQuietStream, the gap-1 case end to end.go.work, helm 46/46, browser live-graph test green.Setup: a branch-built server on a scratch world (6399) and two branch-built library instances, A and B. No pulse list differed at any step.