Fix crew status line to show full path: rig/crew/name
The status-left for crew members was showing just rig/name (e.g., "gastown/max") instead of the full path (e.g., "gastown/crew/max"). This makes crew member identity clearer in the tmux status bar, matching the mail address format used elsewhere. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -462,12 +462,15 @@ func (t *Tmux) SetStatusFormat(session, rig, worker, role string) error {
|
||||
|
||||
// Compact format - icon already identifies role
|
||||
// Mayor: 🎩 Mayor
|
||||
// Crew: 👷 gastown/max
|
||||
// Crew: 👷 gastown/crew/max (full path)
|
||||
// Polecat: 😺 gastown/Toast
|
||||
var left string
|
||||
if rig == "" {
|
||||
// Town-level agent (Mayor, Deacon)
|
||||
left = fmt.Sprintf("%s %s ", icon, worker)
|
||||
} else if role == "crew" {
|
||||
// Crew member - show full path: rig/crew/name
|
||||
left = fmt.Sprintf("%s %s/crew/%s ", icon, rig, worker)
|
||||
} else {
|
||||
// Rig-level agent - show rig/worker
|
||||
left = fmt.Sprintf("%s %s/%s ", icon, rig, worker)
|
||||
|
||||
Reference in New Issue
Block a user