Steve Yegge cf895aaa11 feat: add gt handoff command for agent lifecycle
Implements the agent-side lifecycle request command (gt-gby):

- Detects agent role via GT_ROLE env, tmux session, or directory
- Pre-flight checks (git clean) before retirement
- Sends handoff mail to self for context preservation
- Sends lifecycle request to manager (daemon/ for Mayor/Witness)
- Sets requesting_cycle state and waits for retirement

Usage:
  gt handoff           # Role-appropriate default
  gt handoff --cycle   # Restart with handoff mail
  gt handoff --restart # Fresh restart
  gt handoff --shutdown # Terminate without restart

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 13:51:04 -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%