Skip to content

Commit 5cc2995

Browse files
steveyeggeclaude
andcommitted
chore(release): v0.5.0
- Mail improvements: numeric index, hook alias, --body alias, bulk delete, parallel queries - New aliases: gt bd, gt work, --comment, read - OpenCode agent preset, config-based role system - Deacon status line display, hook registry - Squash merge in refinery - Crew session stability fixes - Many bug fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e57297c commit 5cc2995

File tree

4 files changed

+89
-5
lines changed

4 files changed

+89
-5
lines changed

CHANGELOG.md

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.5.0] - 2026-01-22
11+
1012
### Added
1113

12-
- **Configurable polecat branch naming** - Rigs can now customize polecat branch naming via `polecat_branch_template` configuration. Supports template variables: `{user}`, `{year}`, `{month}`, `{name}`, `{issue}`, `{description}`, `{timestamp}`. Defaults to existing behavior for backward compatibility.
14+
#### Mail Improvements
15+
- **Numeric index support for `gt mail read`** - Read messages by inbox position (e.g., `gt mail read 1`)
16+
- **`gt mail hook` alias** - Shortcut for `gt hook attach` from mail context
17+
- **`--body` alias for `--message`** - More intuitive flag in `gt mail send` and `gt mail reply`
18+
- **Multiple message IDs in delete** - `gt mail delete msg1 msg2 msg3`
19+
- **Positional message arg in reply** - `gt mail reply <id> "message"` without --message flag
20+
- **`--all` flag for inbox** - Show all messages including read
21+
- **Parallel inbox queries** - ~6x speedup for mail inbox
22+
23+
#### Command Aliases
24+
- **`gt bd`** - Alias for `gt bead`
25+
- **`gt work`** - Alias for `gt hook`
26+
- **`--comment` alias for `--reason`** - In `gt close`
27+
- **`read` alias for `show`** - In `gt bead`
28+
29+
#### Configuration & Agents
30+
- **OpenCode as built-in agent preset** - Configure with `gt config set agent opencode`
31+
- **Config-based role definition system** - Roles defined in config, not beads
32+
- **Env field in RuntimeConfig** - Custom environment variables for agent presets
33+
- **ShellQuote helper** - Safe env var escaping for shell commands
34+
35+
#### Infrastructure
36+
- **Deacon status line display** - Shows deacon icon in mayor status line
37+
- **Configurable polecat branch naming** - Template-based branch naming
38+
- **Hook registry and install command** - Manage Claude Code hooks via `gt hooks`
39+
- **Doctor auto-fix capability** - SessionHookCheck can auto-repair
40+
- **`gt orphans kill` command** - Clean up orphaned Claude processes
41+
- **Zombie-scan command for deacon** - tmux-verified process cleanup
42+
- **Initial prompt for autonomous patrol startup** - Better agent priming
43+
44+
#### Refinery & Merging
45+
- **Squash merge for cleaner history** - Eliminates redundant merge commits
46+
- **Redundant observers** - Witness and Refinery both watch convoys
1347

1448
### Fixed
1549

16-
- **Orphan cleanup skips valid tmux sessions** - `gt orphans kill` and automatic orphan cleanup now check for Claude processes belonging to valid Gas Town tmux sessions (gt-*/hq-*) before killing. This prevents false kills of witnesses, refineries, and deacon during startup when they may temporarily show TTY "?"
50+
#### Crew & Session Stability
51+
- **Don't kill pane processes on new sessions** - Prevents destroying fresh shells
52+
- **Auto-recover from stale tmux pane references** - Recreates sessions automatically
53+
- **Preserve GT_AGENT across session restarts** - Handoff maintains identity
54+
55+
#### Process Management
56+
- **KillPaneProcesses kills pane process itself** - Not just descendants
57+
- **Kill pane processes before all RespawnPane calls** - Prevents orphan leaks
58+
- **Shutdown reliability improvements** - Multiple fixes for clean shutdown
59+
- **Deacon spawns immediately after killing stuck session**
60+
61+
#### Convoy & Routing
62+
- **Pass convoy ID to convoy check command** - Correct ID propagation
63+
- **Multi-repo routing for custom types** - Correct beads routing across repos
64+
- **Normalize agent ID trailing slash** - Consistent ID handling
65+
66+
#### Miscellaneous
67+
- **Sling auto-apply mol-polecat-work** - Auto-attach on open polecat beads
68+
- **Wisp orphan lifecycle bug** - Proper cleanup of abandoned wisps
69+
- **Misclassified wisp detection** - Defense-in-depth filtering
70+
- **Cross-account session access in seance** - Talk to predecessors across accounts
71+
- **Many more bug fixes** - See git log for full details
72+
73+
## [0.4.0] - 2026-01-19
74+
75+
_Changelog not documented at release time. See git log v0.3.1..v0.4.0 for changes._
76+
77+
## [0.3.1] - 2026-01-18
78+
79+
_Changelog not documented at release time. See git log v0.3.0..v0.3.1 for changes._
1780

1881
## [0.3.0] - 2026-01-17
1982

internal/cmd/info.go

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,30 @@ type VersionChange struct {
7474

7575
// versionChanges contains agent-actionable changes for recent versions
7676
var versionChanges = []VersionChange{
77+
{
78+
Version: "0.5.0",
79+
Date: "2026-01-22",
80+
Changes: []string{
81+
"NEW: gt mail read <index> - Read messages by inbox position",
82+
"NEW: gt mail hook - Shortcut for gt hook attach from mail",
83+
"NEW: --body alias for --message in gt mail send/reply",
84+
"NEW: gt bd alias for gt bead, gt work alias for gt hook",
85+
"NEW: OpenCode as built-in agent preset (gt config set agent opencode)",
86+
"NEW: Config-based role definition system",
87+
"NEW: Deacon icon in mayor status line",
88+
"NEW: gt hooks - Hook registry and install command",
89+
"NEW: Squash merge in refinery for cleaner history",
90+
"CHANGED: Parallel mail inbox queries (~6x speedup)",
91+
"FIX: Crew session stability - Don't kill pane processes on new sessions",
92+
"FIX: Auto-recover from stale tmux pane references",
93+
"FIX: KillPaneProcesses now kills pane process itself, not just descendants",
94+
"FIX: Convoy ID propagation in refinery and convoy watcher",
95+
"FIX: Multi-repo routing for custom types and role slots",
96+
},
97+
},
7798
{
7899
Version: "0.4.0",
79-
Date: "2026-01-17",
100+
Date: "2026-01-19",
80101
Changes: []string{
81102
"FIX: Orphan cleanup skips valid tmux sessions - Prevents false kills of witnesses/refineries/deacon during startup by checking gt-*/hq-* session membership",
82103
},

internal/cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// Version information - set at build time via ldflags
1414
var (
15-
Version = "0.4.0"
15+
Version = "0.5.0"
1616
// Build can be set via ldflags at compile time
1717
Build = "dev"
1818
// Commit and Branch - the git revision the binary was built from (optional ldflag)

npm-package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gastown/gt",
3-
"version": "0.4.0",
3+
"version": "0.5.0",
44
"description": "Gas Town CLI - multi-agent workspace manager with native binary support",
55
"main": "bin/gt.js",
66
"bin": {

0 commit comments

Comments
 (0)