Fix remaining worker startups for gt seance metadata
- startCrewMember: now uses BuildCrewStartupCommand (was GetRuntimeCommand) - refinery/manager.go: now uses BuildAgentStartupCommand (was GetRuntimeCommand) Both now properly inject BD_ACTOR and GT_ROLE so seance can identify sessions correctly. This completes the seance metadata fix started in the previous commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -947,8 +947,9 @@ func startCrewMember(rigName, crewName, townRoot string) error {
|
||||
return fmt.Errorf("waiting for shell: %w", err)
|
||||
}
|
||||
|
||||
// Start claude
|
||||
if err := t.SendKeys(sessionID, config.GetRuntimeCommand(r.Path)); err != nil {
|
||||
// Start claude with proper env vars for seance
|
||||
claudeCmd := config.BuildCrewStartupCommand(rigName, crewName, r.Path, "")
|
||||
if err := t.SendKeys(sessionID, claudeCmd); err != nil {
|
||||
return fmt.Errorf("starting claude: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user