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:
Steve Yegge
2025-12-26 18:33:22 -08:00
parent ff22c84cd6
commit 0ad427e4a8
13 changed files with 227 additions and 1115 deletions

View File

@@ -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 {