Commit 37441ee
fix(tmux): stop daemon from creating separate socket server
When not inside tmux ($TMUX unset), InitRegistry() was setting the tmux
socket to the sanitized town name (e.g., "-L gt"), creating a separate
tmux server. Daemon-spawned sessions (deacon, witnesses, refineries)
ended up on this socket while user-spawned sessions (crew) lived on the
default server. Sessions couldn't see each other; prefix-n/p only cycled
within one socket.
Fix: when not inside tmux, leave the socket unset so tmux uses its
default server. Session names already include rig prefixes (hq-deacon,
gt-witness, bd-crew-tom) so there's no collision risk.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 70743bc commit 37441ee
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
114 | 113 | | |
115 | 114 | | |
116 | 115 | | |
117 | | - | |
118 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
0 commit comments