fix(boot): Rename session gt-deacon-boot → gt-boot to fix prefix collision

The tmux session name "gt-deacon-boot" was causing HasSession("gt-deacon")
to return true due to tmux prefix matching behavior. This made the daemon
think the Deacon was running when only Boot was active, and caused commands
targeting "gt-deacon" to be sent to Boot session instead.

The fix renames Boot session from "gt-deacon-boot" to "gt-boot", which
has no prefix overlap with "gt-deacon".

Fixes: gt-sgzsb

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
toast
2026-01-02 18:56:40 -08:00
committed by Steve Yegge
parent fa26265b32
commit 9dcbdf8106
3 changed files with 7 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ task nature matters.
~/gt/deacon/dogs/boot/
```
Session name: `gt-deacon-boot`
Session name: `gt-boot`
Created/maintained by `bd doctor`.

View File

@@ -16,7 +16,11 @@ import (
)
// SessionName is the tmux session name for Boot.
const SessionName = "gt-deacon-boot"
// Note: We use "gt-boot" instead of "gt-deacon-boot" to avoid tmux prefix
// matching collisions. Tmux matches session names by prefix, so "gt-deacon-boot"
// would match when checking for "gt-deacon", causing HasSession("gt-deacon")
// to return true when only Boot is running.
const SessionName = "gt-boot"
// MarkerFileName is the file that indicates Boot is currently running.
const MarkerFileName = ".boot-running"

View File

@@ -36,7 +36,7 @@ Boot lifecycle:
4. Boot exits (or handoffs in non-degraded mode)
Location: ~/gt/deacon/dogs/boot/
Session: gt-deacon-boot`,
Session: gt-boot`,
}
var bootStatusCmd = &cobra.Command{