gastown/crew/gus
626a24e013
Refactor startup paths to use RuntimeConfig (gt-j0546)
Replaced all hardcoded 'claude --dangerously-skip-permissions' invocations
with configurable helpers from internal/config:
- GetRuntimeCommand(rigPath) - simple command string
- GetRuntimeCommandWithPrompt(rigPath, prompt) - with initial prompt
- BuildAgentStartupCommand(role, bdActor, rigPath, prompt) - generic agent
- BuildPolecatStartupCommand(rigName, polecatName, rigPath, prompt) - polecat
- BuildCrewStartupCommand(rigName, crewName, rigPath, prompt) - crew
- BuildStartupCommand(envVars, rigPath, prompt) - custom env vars
Files updated:
- internal/cmd/start.go (4 locations)
- internal/cmd/crew_lifecycle.go (2 locations)
- internal/cmd/crew_at.go (2 locations)
- internal/cmd/deacon.go
- internal/cmd/witness.go
- internal/cmd/up.go (2 locations)
- internal/cmd/handoff.go (2 locations)
- internal/daemon/daemon.go (3 locations)
- internal/daemon/lifecycle.go
- internal/session/manager.go
- internal/refinery/manager.go
- internal/boot/boot.go
This enables future support for alternative LLM runtimes (aider, etc.)
via rig/town settings configuration.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 23:48:34 -08:00
..
2025-12-30 22:39:22 -08:00
2025-12-30 23:48:34 -08:00
2025-12-30 23:42:36 -08:00
2025-12-30 23:48:34 -08:00
2025-12-30 23:09:03 -08:00
2025-12-30 22:15:30 -08:00
2025-12-30 15:59:00 -08:00
2025-12-30 23:48:34 -08:00
2025-12-30 22:14:05 -08:00
2025-12-30 22:01:38 -08:00
2025-12-30 10:38:18 -08:00
2025-12-30 10:43:34 -08:00
2025-12-30 02:12:01 -08:00
2025-12-30 22:38:06 -08:00
2025-12-30 22:29:23 -08:00
2025-12-30 22:48:55 -08:00
2025-12-30 22:29:50 -08:00
2025-12-30 16:56:46 -08:00
2025-12-30 10:48:00 -08:00
2025-12-30 23:48:34 -08:00
2025-12-30 19:29:02 -08:00
2025-12-30 23:48:34 -08:00
2025-12-29 23:46:59 -08:00
2025-12-30 22:10:08 -08:00
2025-12-30 16:20:00 -08:00
2025-12-29 23:52:38 -08:00
2025-12-30 23:25:58 -08:00
2025-12-30 23:08:21 -08:00