Merge: toast-mjxpchjl - Rename session gt-deacon-boot to fix prefix collision

This commit is contained in:
mayor
2026-01-03 11:52:16 -08:00
committed by beads/crew/dave
3 changed files with 7 additions and 3 deletions

View File

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

View File

@@ -16,7 +16,11 @@ import (
) )
// SessionName is the tmux session name for Boot. // 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. // MarkerFileName is the file that indicates Boot is currently running.
const MarkerFileName = ".boot-running" const MarkerFileName = ".boot-running"

View File

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