Revert to simple gt-mayor/gt-deacon session names
Reverts the session naming changes from PR #70. Multi-town support on a single machine is not a real use case - rigs provide project isolation, and true isolation should use containers/VMs. Changes: - MayorSessionName() and DeaconSessionName() no longer take townName parameter - ParseSessionName() handles simple gt-mayor and gt-deacon formats - Removed Town field from AgentIdentity and AgentSession structs - Updated all callers and tests Generated with Claude Code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -90,8 +90,8 @@ const (
|
||||
)
|
||||
|
||||
// Tmux session names.
|
||||
// Note: Mayor and Deacon session names are now dynamic (include town name).
|
||||
// Use session.MayorSessionName(townName) and session.DeaconSessionName(townName).
|
||||
// Mayor and Deacon use simple session names: gt-mayor, gt-deacon (one per machine).
|
||||
// Use session.MayorSessionName() and session.DeaconSessionName().
|
||||
const (
|
||||
// SessionPrefix is the prefix for all Gas Town tmux sessions.
|
||||
SessionPrefix = "gt-"
|
||||
|
||||
Reference in New Issue
Block a user