Something went wrong. Try again.
personal memory agent
Something went wrong. Try again.
fix(observer): atomic writes for observer JSON metadata master
Route both observer metadata writers (save_observer, increment_stat) through atomic_write so a crash between truncate and rename cannot leave the observer JSON empty or partial. The observer JSON holds the remote pairing auth key; truncation there bricks sync until the remote device is re-enrolled. Final-path 0o600 permissions and the existing return / exception contracts are preserved. Co-Authored-By: OpenAI Codex <codex@openai.com>
Author Jer Miller Co-author OpenAI Codex Date (Apr 17, 2026, 11:51 PM UTC) Commit 024cc16a 024cc16a5b1508f58e664d18227284ec77f3e80d Parent 724d4287 724d4287493d771197d582bfa694461af3e344ed