Steve Yegge 3f3c7f82b2 fix: improve workspace detection for nested rig structures
Fixes gt-e5o: When a rig has its own mayor/ directory, workspace
detection now continues searching upward for primary markers.

Changes:
- Add AlternativePrimaryMarker (mayor/config.json) to distinguish
  town-level mayor from rig-level mayor clones
- Continue searching after finding secondary marker (mayor/) to
  prefer primary matches higher in the tree
- Return the first secondary match only if no primary is found

This fixes role detection for polecats/refinery/witness when running
from within a rig that has its own mayor/ clone.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 17:03:01 -08:00
2025-12-16 13:19:47 -08:00
2025-12-15 16:38:23 -08:00

Gastown (Go)

Go port of Gas Town - a multi-agent workspace manager.

Status

Work in Progress - This is the Go rewrite of the Python gastown tool.

See the Python version for current functionality.

Goals

  • Single binary installation (gt)
  • Self-diagnosing (gt doctor)
  • Federation support (coordinate agents across VMs)
  • Performance improvements over Python version

Development

# Build
go build -o gt ./cmd/gt

# Run
./gt --help
Description
Gas Town - multi-agent workspace manager (fork of steveyegge/gastown)
Readme MIT 22 MiB
Languages
Go 98.2%
HTML 1.1%
Shell 0.4%
JavaScript 0.2%