feat: Remove gt spawn completely - gt sling is THE command (gt-1py3y)
Fully remove gt spawn from the codebase: - Delete spawn.go, create polecat_spawn.go with just sling helpers - Remove all gt spawn references from docs and CLAUDE.md - Update code comments to reference gt sling gt sling now handles ALL work dispatch: - Existing agents: gt sling <bead> mayor/crew/witness - Auto-spawn: gt sling <bead> <rig> - No-tmux: gt sling <bead> <rig> --naked - With args: gt sling <bead> --args "..." 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,7 @@ Highest priority override. Set this to use a specific account:
|
||||
|
||||
```bash
|
||||
export GT_ACCOUNT=yegge
|
||||
gt spawn gastown # Uses yegge account
|
||||
gt sling <bead> gastown # Uses yegge account
|
||||
```
|
||||
|
||||
### Command Interface
|
||||
@@ -100,13 +100,13 @@ gt account status
|
||||
|
||||
```bash
|
||||
# Override for a specific spawn
|
||||
gt spawn --account=yegge gastown
|
||||
gt sling <bead> gastown --account=yegge
|
||||
|
||||
# Override for crew attach
|
||||
gt crew at --account=ghosttrack max
|
||||
|
||||
# With env var (highest precedence)
|
||||
GT_ACCOUNT=yegge gt spawn gastown
|
||||
GT_ACCOUNT=yegge gt sling <bead> gastown
|
||||
```
|
||||
|
||||
### Implementation Details
|
||||
@@ -119,7 +119,7 @@ GT_ACCOUNT=yegge gt spawn gastown
|
||||
|
||||
#### How Spawning Works
|
||||
|
||||
When `gt spawn` or `gt crew at` runs Claude Code:
|
||||
When `gt sling` or `gt crew at` runs Claude Code:
|
||||
|
||||
```go
|
||||
func resolveAccountConfigDir() string {
|
||||
|
||||
Reference in New Issue
Block a user