231d6e92e05698766e3b1ec3dbaf7b64c261a7ce
This implements the ephemeral polecat model where polecats are spawned fresh for each task and deleted upon completion. Key changes: **Spawn (internal/cmd/spawn.go):** - Always create fresh worktree from main branch - Run bd init in new worktree to initialize beads - Remove --create flag (now implicit) - Replace stale polecats with fresh worktrees **Handoff (internal/cmd/handoff.go):** - Add rig/polecat detection from environment and tmux session - Send shutdown requests to correct witness (rig/witness) - Include polecat name in lifecycle request body **Witness (internal/witness/manager.go):** - Add mail checking in monitoring loop - Process LIFECYCLE shutdown requests - Implement full cleanup sequence: - Kill tmux session - Remove git worktree - Delete polecat branch **Polecat state machine (internal/polecat/types.go):** - Primary states: working, done, stuck - Deprecate idle/active (kept for backward compatibility) - New polecats start in working state - ClearIssue transitions to done (not idle) **Polecat commands (internal/cmd/polecat.go):** - Update list to show "Active Polecats" - Normalize legacy states for display - Add deprecation warnings to wake/sleep commands Closes gt-7ik 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Related
- gastown-py - Python version (current)
- beads - Issue tracking for agents
Languages
Go
98.2%
HTML
1.1%
Shell
0.4%
JavaScript
0.2%