Conversations on macOS: desktop records, liveness without /proc #81
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From: #72 (M33). Label: macos.
M33 was built and checked on geek (Linux) only. On the Mac (jake-mini):
~/Library/Application Support/Claude/claude-code-sessions/<account>/<org>/local_<uuid>.json(S20 saw them under~/.config/Claudeon Linux). Check the path and the fields (cliSessionId,title,isArchived)./proc:alive()falls back to the pid alone, so a reused pid counts as live, andscope_offinds no pane or block. UseprocStartsome other way (sysctl kern.proc.pidstart time, orps -o lstart), and the daemon's own record of which pids are its panes' and agents'.Merged into main (
5f3d37a, frome73829b). CI passed on both runners.procStartthe way Claude Code writes it there (LC_ALL=C TZ=UTC ps -o lstart=) with the process's start time from libproc. A reused pid no longer counts as live, on either OS.Block::pid()). The systemd scope is the fallback.a_conversation_in_a_pane_says_which, pass on macOS.Found on jake-mini, read-only: its desktop app (1.7196.0) has never run a Code tab session, so
claude-code-sessions/doesn't exist there yet and its path and fields are unconfirmed (they match the Linux records). Cowork sessions keep their transcripts inside their VM and aren't listed. jake-mini also has three illogicald processes running (started Oct 2 02:30, Oct 2 16:03 and Oct 3 10:17 UTC), which is worth a look.Left open for Jake: on jake-mini, run one desktop Code tab session. Check it lists as desktop with its title and as live, forks while open, continues once closed, and whether its scratch workspace is deleted with it. Also check that a terminal
claudein an illogical pane shows "open in pane %N".