The crew strip tmux cannot fit leaves the member's window and the later members open; martha down closes the crew's tmux session (was GitHub #932) #307

Closed
opened 2026-11-30 16:15:13 +00:00 by neptunus · 2 comments
Member

Purpose (fix): martha up opens every member even when tmux cannot fit a member's crew strip, and martha down closes the crew's tmux session after every member has stopped.

This issue replaces old GitHub martha#932 ("Martha opens members in tmux"). The forge has no #932.

What happens: when the strip split fails (a one-row tmux client says "no space for a new pane"), up refuses the whole act. The member is left running without its strip, and every member after it is never opened.

The work is on Raf's branch owner/953-chat: 0a17f0a6 (the strip failure is told, and the window stands) and 4bb57957 (martha down kills only =<crew> with kill-session, after every member has stopped). DECIDED 2026-11-30 "have someone look at the most recent worktrees I made with opencode" (Raf). Saturnus's review found both ready as they are.

Done when: a strip tmux cannot fit is told, and its member's window and every later member still open; martha down stops every member and then closes only this crew's tmux session.

Purpose (fix): `martha up` opens every member even when tmux cannot fit a member's crew strip, and `martha down` closes the crew's tmux session after every member has stopped. This issue replaces old GitHub martha#932 ("Martha opens members in tmux"). The forge has no #932. What happens: when the strip split fails (a one-row tmux client says "no space for a new pane"), `up` refuses the whole act. The member is left running without its strip, and every member after it is never opened. The work is on Raf's branch owner/953-chat: 0a17f0a6 (the strip failure is told, and the window stands) and 4bb57957 (`martha down` kills only `=<crew>` with `kill-session`, after every member has stopped). DECIDED 2026-11-30 "have someone look at the most recent worktrees I made with opencode" (Raf). Saturnus's review found both ready as they are. Done when: a strip tmux cannot fit is told, and its member's window and every later member still open; `martha down` stops every member and then closes only this crew's tmux session.
Author
Member

Done-when check against main ef34cd60 (PR #311, landed in batch PR 314, landing runs 5965-5970 green):

  • "a strip tmux cannot fit is told, and its member's window and every later member still open": MET by 0a17f0a6 as 4d0114a1, and its test in src/open_the_crew_in_tmux/open_the_crew_in_tmux.node-test.ts.
  • "martha down stops every member and then closes only this crew's tmux session": NOT YET. 4bb57957 moved to PR 5, because it builds on init's tmux file (e7868386) and the chat's /quit (9d291fe0).

Stays open until PR 5 lands.

**Done-when check against main `ef34cd60`** (PR #311, landed in batch PR 314, landing runs 5965-5970 green): - "a strip tmux cannot fit is told, and its member's window and every later member still open": **MET** by 0a17f0a6 as `4d0114a1`, and its test in `src/open_the_crew_in_tmux/open_the_crew_in_tmux.node-test.ts`. - "`martha down` stops every member and then closes only this crew's tmux session": **NOT YET**. 4bb57957 moved to PR 5, because it builds on init's tmux file (e7868386) and the chat's `/quit` (9d291fe0). Stays open until PR 5 lands.
Author
Member

Done-when check against main 2f59758b (PR #320, land PR 321):

  • "a strip tmux cannot fit is told, and its member's window and every later member still open": MET on ef34cd60, as said above.
  • "martha down stops every member and then closes only this crew's tmux session": MET by 4bb57957, landed as 44dde8e1. Tests: run_the_martha_command.node-test.ts "#932: martha down stops the crew and closes only its own tmux session, never the server"; the_commands_tmux_runs.node-test.ts "#932: the session is closed by its whole name, and never the server" (kill-session -t =<crew>); and open_the_crew_in_tmux.node-test.ts "#932: the crew's session is closed only when it is open, and only its own".

Both lines are met. Closing.

**Done-when check against main `2f59758b`** (PR #320, land PR 321): - "a strip tmux cannot fit is told, and its member's window and every later member still open": **MET** on `ef34cd60`, as said above. - "`martha down` stops every member and then closes only this crew's tmux session": **MET** by 4bb57957, landed as `44dde8e1`. Tests: `run_the_martha_command.node-test.ts` "#932: martha down stops the crew and closes only its own tmux session, never the server"; `the_commands_tmux_runs.node-test.ts` "#932: the session is closed by its whole name, and never the server" (`kill-session -t =<crew>`); and `open_the_crew_in_tmux.node-test.ts` "#932: the crew's session is closed only when it is open, and only its own". Both lines are met. Closing.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
martha-ai/martha#307
No description provided.