Skip to content
Discussion options

You must be logged in to vote

The one rule: never point two instances at the same data dir or tmux socket. tmux is system-global, so a second server on the shared socket discovers the first one's live sessions and attaches to them, resizing and mutating sessions it doesn't own. Isolating $HOME alone does not save you.

CODEMAN_INSTANCE scopes both the data dir and the socket at once:

CODEMAN_INSTANCE=beta CODEMAN_PORT=5000 npx tsx src/index.ts web

If you're running from a git clone, scripts/run-beta.sh does exactly this. And codeman web -d refuses to start a second server on a data dir that already has one, which catches the accidental version of the mistake.

Replies: 1 comment

Comment options

Ark0N
Aug 15, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by Ark0N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant