pending.nvim/lua
Barrett Ruth 4e9ce2bc8a feat(store): add snapshot() and atomic json write
Problem: the single-level undo used shallow references so mutations
during diff.apply() corrupted the saved state. JSON writes were also
non-atomic, risking partial writes on crash.

Solution: add M.snapshot() which deep-copies active tasks (including
_extra). Change M.save() to write a .tmp file then rename atomically.
2026-02-24 18:44:13 -05:00
..
pending feat(store): add snapshot() and atomic json write 2026-02-24 18:44:13 -05:00