Skip to content

v1.3.1 — a stale snapshot can no longer undo a change

Choose a tag to compare

@BaiGang BaiGang released this 25 Nov 10:02
· 15 commits to main since this release

A stale snapshot can no longer undo a change. Clearing a bot's Session binding did not hold: minutes later the roster showed it bound again.

The cause was not the restart path. organize() resumes an agent, which on a large conversation takes seconds; when it finished it wrote the state the store had cached before that work, so the whole snapshot — including Session ids another change had already cleared — went back to disk.

Every mutation now re-reads the roster from disk first, so long work merges into current truth instead of replacing it. A regression test opens two stores over one file, clears a binding in one, commits an unrelated edit in the other, and requires the binding to stay cleared.

48 headless checks.