diff --git a/cmd/bd/hooks.go b/cmd/bd/hooks.go index 03e22412..dcf5a3cb 100644 --- a/cmd/bd/hooks.go +++ b/cmd/bd/hooks.go @@ -13,6 +13,7 @@ import ( "github.com/spf13/cobra" "github.com/steveyegge/beads/internal/beads" + "github.com/steveyegge/beads/internal/config" "github.com/steveyegge/beads/internal/git" ) @@ -669,6 +670,11 @@ func runPrePushHook(args []string) int { return exitCode } + // Skip JSONL checks for dolt-native mode (no JSONL files to check) + if config.GetSyncMode() == config.SyncModeDoltNative { + return 0 + } + // Check if we're in a bd workspace if _, err := os.Stat(".beads"); os.IsNotExist(err) { return 0