fix: add BEADS_NO_DAEMON to crew for isolated clone context

Crew workspaces use clones with redirected beads directories, like
polecat and refinery. They should bypass the bd daemon for fresh
data and isolation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
julianknutsen
2026-01-09 09:44:51 -08:00
committed by Steve Yegge
parent e999ceb1c1
commit e9a013c0d2
2 changed files with 2 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ func runCrewAt(cmd *cobra.Command, args []string) error {
TownRoot: townRoot,
BeadsDir: beads.ResolveBeadsDir(r.Path),
RuntimeConfigDir: claudeConfigDir,
BeadsNoDaemon: true,
})
for k, v := range envVars {
_ = t.SetEnvironment(sessionID, k, v)

View File

@@ -523,6 +523,7 @@ func (m *Manager) Start(name string, opts StartOptions) error {
TownRoot: townRoot,
BeadsDir: beads.ResolveBeadsDir(m.rig.Path),
RuntimeConfigDir: opts.ClaudeConfigDir,
BeadsNoDaemon: true,
})
for k, v := range envVars {
_ = t.SetEnvironment(sessionID, k, v)