You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Save finds 0 sessions | Run `ps -eo pid=,ppid=,args= \| grep -E 'claude\|opencode\|codex'` to verify assistants are running |
319
319
| Session ID missing for Claude | Verify the hook is installed: `jq '.hooks.SessionStart' ~/.claude/settings.json`|
320
320
| Session ID missing for OpenCode | Launch with `-s <id>`, or verify the plugin: `ls ~/.config/opencode/plugins/session-tracker.js`|
321
+
| Codex/OpenCode session ID missing (python3 methods) | The save hook auto-detects `python3` in common locations. If your setup uses a non-standard path, set it in tmux: `set-environment -g PATH "/your/python3/dir:$PATH"`|
321
322
| Restore launches but assistant says "session not found" | The session ID may have expired. This is normal — start a fresh session and the next save will pick up the new ID |
322
323
| Assistants launch twice after restore | Make sure assistants are **not** listed in `@resurrect-processes` — the plugin handles all resuming via the post-restore hook |
323
324
|`just test` fails with Docker errors | Ensure Docker is running and you have network access (the image pulls npm packages) |
@@ -371,6 +372,30 @@ State files live in a user-only directory (mode 0700).
371
372
> sidecar JSON persist to disk and may outlive the process they were captured
372
373
> from.
373
374
375
+
### PATH in restricted environments (NixOS, systemd services)
376
+
377
+
When tmux runs as a systemd user service, the server inherits a stripped-down
378
+
`PATH` that may not include `python3`. The save hook automatically checks common
379
+
system locations (`/run/current-system/sw/bin`, `/opt/homebrew/bin`,
380
+
`/usr/local/bin`, `/usr/bin`) and augments `PATH` if needed. This is a no-op
381
+
when `python3` is already on `PATH`.
382
+
383
+
If your `python3` is in a non-standard location, the recommended fix is at the
384
+
tmux level:
385
+
386
+
```bash
387
+
# In tmux.conf — ensures all hooks and plugins see the right PATH:
0 commit comments