fix(cmd): exempt most commands from beads version check

Gas Town has migrated to Dolt for beads storage. The bd version
check was blocking all commands when bd hangs/crashes.

Added crew, polecat, witness, refinery, status, mail, hook, prime,
nudge, seance, doctor, and dolt to the exempt list.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
mayor
2026-01-24 15:35:13 -08:00
committed by Steve Yegge
parent d4126bb876
commit c4d8e26dcb

View File

@@ -26,10 +26,24 @@ across distributed teams of AI agents working on shared codebases.`,
// Commands that don't require beads to be installed/checked.
// These are basic utility commands that should work without beads.
// NOTE: Gas Town has migrated to Dolt for beads storage. The bd version
// check is increasingly obsolete. Most commands are now exempt.
var beadsExemptCommands = map[string]bool{
"version": true,
"help": true,
"completion": true,
"crew": true,
"polecat": true,
"witness": true,
"refinery": true,
"status": true,
"mail": true,
"hook": true,
"prime": true,
"nudge": true,
"seance": true,
"doctor": true,
"dolt": true,
}
// Commands exempt from the town root branch warning.