Skip to content

fix: inject CLAUDE_CONFIG_DIR in witness, refinery, and deacon startup (gt-9he)#3450

Open
A3Ackerman wants to merge 1 commit intogastownhall:mainfrom
quickserve-ai:fix/inject-claude-config-dir
Open

fix: inject CLAUDE_CONFIG_DIR in witness, refinery, and deacon startup (gt-9he)#3450
A3Ackerman wants to merge 1 commit intogastownhall:mainfrom
quickserve-ai:fix/inject-claude-config-dir

Conversation

@A3Ackerman
Copy link
Copy Markdown
Contributor

Summary

  • Witness, refinery, and deacon startup paths were missing ResolveAccountConfigDir resolution, causing infra sessions to start without CLAUDE_CONFIG_DIR and use the wrong API account
  • Add the same resolution pattern already used by daemon/lifecycle.go and mayor/manager.go to all three startup paths
  • Both the exec env startup command and tmux session environment now include CLAUDE_CONFIG_DIR

Test plan

  • go build ./cmd/gt passes
  • Existing witness manager tests pass (updated for new parameter)
  • New TestBuildWitnessStartCommand_IncludesConfigDir verifies CLAUDE_CONFIG_DIR appears in startup command
  • Refinery tests pass

🤖 Generated with Claude Code

…p (gt-9he)

Startup paths for witness, refinery, and deacon sessions were missing
ResolveAccountConfigDir resolution, causing infra sessions to start
without CLAUDE_CONFIG_DIR and use the wrong account. Add the same
resolution pattern already used by daemon/lifecycle.go and mayor/manager.go.
@github-actions github-actions bot added the status/needs-triage Inbox — we haven't looked at it yet label Mar 31, 2026
@A3Ackerman
Copy link
Copy Markdown
Contributor Author

Note: PR #3391 covers the mayor cold-start, zombie-respawn, and daemon-restart paths (some of which are already on main). This PR covers the remaining startup paths — witness, refinery, and deacon — which #3391 does not touch. Together they close the full CLAUDE_CONFIG_DIR injection gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/needs-triage Inbox — we haven't looked at it yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant