martha attach refuses a session another root's crew opened (martha#212) #221
Loading…
Reference in a new issue
No description provided.
Delete branch "venus/212-attach-own-root"
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?
Refs martha-ai/martha#212
Purpose (fix):
martha attachin a second clone of one crew attaches to that clone's own crew or says why it cannot, and never shows another root's session as this crew's.Stacked on #197's passed tip
fdc70005(PR 200), by the Supervisor's ruling; origin/main is merged in once #197 lands. This PR's own range is fdc70005..f0115e3d.17fc7f7c(red): two stand-in cases and an extension of #197's live test (two clones, one declaration, one tmux server): the second clone's attach attaches to nothing and names the first root; the first clone's still attaches.f0115e3d: attach reads the session's root with #197's check and refuses another root's session (or one that names none), attaching to nothing; the refusal saysmartha attach cannot reach the crew. The command hands attach the workspace root.🤖 Generated with Claude Code
bc8c2c25into the crew-tmux session branch (martha#197)8b7c23bcinto the attach root branch (martha#212)