From ee49b7ab42917484462d7c25c806b04d2d14735d Mon Sep 17 00:00:00 2001 From: Danno Mayer Date: Sat, 3 Jan 2026 20:15:48 -0800 Subject: [PATCH] fix(sling): add --no-daemon flag to mol bond command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When using gt sling with --quality=shiny, the mol bond command was failing with "mol bond requires direct database access" error. This was because bd daemon can be slow to start or unavailable, and mol bond requires direct database access. Fix: Added --no-daemon flag to the bd mol bond invocation in sling.go at line 407. This bypasses the daemon and uses direct database access for molecule bonding operations. Fixes gt--4hz 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- internal/cmd/sling.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cmd/sling.go b/internal/cmd/sling.go index 09b39c3b..105c5e4c 100644 --- a/internal/cmd/sling.go +++ b/internal/cmd/sling.go @@ -403,7 +403,8 @@ func runSling(cmd *cobra.Command, args []string) error { fmt.Printf("%s Formula wisp created: %s\n", style.Bold.Render("✓"), wispRootID) // Step 3: Bond wisp to original bead (creates compound) - bondArgs := []string{"mol", "bond", wispRootID, beadID, "--json"} + // Use --no-daemon for mol bond (requires direct database access) + bondArgs := []string{"--no-daemon", "mol", "bond", wispRootID, beadID, "--json"} bondCmd := exec.Command("bd", bondArgs...) bondCmd.Stderr = os.Stderr bondOut, err := bondCmd.Output()