f032dd8c19398fcebd406411e0ef63709c0c5ce7
Implements gt-3x1.3: Merge execution (merge, test, push)
Changes:
- Add MergeConfig struct with run_tests, test_command, delete_merged_branches,
push_retry_count, and push_retry_delay_ms configuration options
- Add DefaultMergeConfig() with sensible defaults (tests enabled, go test ./...,
branch cleanup, 3 retries with 1s base delay)
- Update ProcessMR to use MergeConfig for all settings
- Add pushWithRetry() with exponential backoff for transient failures
- Add gitOutput() helper to get command stdout (for merge commit SHA)
- Return merge commit SHA in MergeResult on success
- Conditional branch deletion based on config.DeleteMergedBranches
Configuration (in .gastown/config.json):
{
"merge_queue": {
"run_tests": true,
"test_command": "go test ./...",
"delete_merged_branches": true,
"push_retry_count": 3,
"push_retry_delay_ms": 1000
}
}
🤖 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%