Steve Yegge ce7ca52e98 feat(refinery): implement MR state transition validation (gt-h5n.3)
- Update MRStatus to use beads-style statuses (open, in_progress, closed)
- Add CloseReason enum for tracking why MRs were closed
- Implement ValidateTransition() to enforce valid state transitions:
  - open → in_progress (Engineer claims MR)
  - in_progress → closed (merge success or rejection)
  - in_progress → open (failure, reassign to worker)
  - open → closed (manual rejection)
  - closed → anything is blocked (immutable once closed)
- Add convenience methods: Claim(), Close(), Reopen(), SetStatus()
- Add status check methods: IsClosed(), IsOpen(), IsInProgress()
- Update ProcessMR and completeMR to use new state transition methods
- Update display code to handle new status values
- Add comprehensive tests for state transitions

Reference: docs/merge-queue-design.md#state-machine

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 14:54:52 -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
S
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%