refactor: remove Gas Town references from codebase

Replace Gas Town-specific terminology with generic orchestrator concepts:
- "Gas Town" → "orchestrator" or "multi-clone"
- Hardcoded ~/gt/ paths → GT_ROOT environment variable
- signalGasTownActivity → signalOrchestratorActivity
- GUPP → hook-based work assignment

Updated 21 files across CHANGELOG, cmd/bd/, internal/, docs/, scripts.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/dave
Rig: beads
Role: crew
This commit is contained in:
Steve Yegge
2025-12-30 14:13:32 -08:00
parent 7f95ba714c
commit 5f3cb0fdf3
21 changed files with 75 additions and 88 deletions

View File

@@ -8,7 +8,7 @@
//
// Molecules are loaded from multiple locations in priority order (later overrides earlier):
// 1. Built-in molecules (shipped with bd binary)
// 2. Town-level: ~/gt/.beads/molecules.jsonl (if Gas Town is detected)
// 2. Town-level: $GT_ROOT/.beads/molecules.jsonl (if orchestrator detected via GT_ROOT)
// 3. User-level: ~/.beads/molecules.jsonl
// 4. Project-level: .beads/molecules.jsonl in the current project
//
@@ -77,7 +77,7 @@ func (l *Loader) LoadAll(ctx context.Context, beadsDir string) (*LoadResult, err
}
}
// 2. Load town-level molecules (Gas Town: ~/gt/.beads/molecules.jsonl)
// 2. Load town-level molecules ($GT_ROOT/.beads/molecules.jsonl)
townPath := getTownMoleculesPath()
if townPath != "" {
if molecules, err := loadMoleculesFromFile(townPath); err == nil && len(molecules) > 0 {
@@ -220,15 +220,15 @@ func loadMoleculesFromFile(path string) ([]*types.Issue, error) {
}
// getTownMoleculesPath returns the path to town-level molecules.jsonl
// if Gas Town is detected (~/gt/.beads/molecules.jsonl).
// if an orchestrator is detected via GT_ROOT environment variable.
func getTownMoleculesPath() string {
homeDir, err := os.UserHomeDir()
if err != nil {
gtRoot := os.Getenv("GT_ROOT")
if gtRoot == "" {
return ""
}
// Check for Gas Town installation
gtPath := filepath.Join(homeDir, "gt", ".beads", MoleculeFileName)
// Check for orchestrator molecules file
gtPath := filepath.Join(gtRoot, ".beads", MoleculeFileName)
if _, err := os.Stat(gtPath); err == nil {
return gtPath
}