fix(federation): allow daemon mode with --federation flag for dolt

Update guards to allow daemon commands when --federation is set.
Federation mode runs dolt sql-server which enables multi-writer
support, unlike embedded Dolt which is single-process only.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
beads/crew/darcy
2026-01-20 20:49:54 -08:00
committed by Steve Yegge
parent da4584ae57
commit 8807a171d3
3 changed files with 14 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ func TestDoltSingleProcess_StartDaemonGuardrailExitsNonZero(t *testing.T) {
dbPath = ""
pidFile := filepath.Join(ws, ".beads", "daemon.pid")
startDaemon(5*time.Second, false, false, false, false, false, "", pidFile, "info", false)
startDaemon(5*time.Second, false, false, false, false, false, "", pidFile, "info", false, false)
return
}