@@ -377,7 +377,7 @@ func runExplain(ctx context.Context, w, errW io.Writer, sessionID, commitRef, ch
377377func runExplainAuto (ctx context.Context , w , errW io.Writer , target string , noPager , verbose , full , rawTranscript , generate , force , searchAll bool ) error {
378378 stop := startSpinner (errW , "Loading checkpoints" )
379379 lookup , lookupErr := newExplainCheckpointLookup (ctx )
380- stop ("" )
380+ stop (false )
381381 if generate {
382382 if err := runExplainAutoAmbiguityGuard (ctx , target , lookup , lookupErr ); err != nil {
383383 return err
@@ -524,7 +524,7 @@ func runExplainCheckpointWithLookup(ctx context.Context, w, errW io.Writer, chec
524524 v2OK = true
525525 }
526526 }
527- stop ("" )
527+ stop (false )
528528 if v1Err == nil || v2OK {
529529 if freshLookup , freshErr := newExplainCheckpointLookup (ctx ); freshErr == nil {
530530 lookup = freshLookup
@@ -586,14 +586,14 @@ func runExplainCheckpointWithLookup(ctx context.Context, w, errW io.Writer, chec
586586
587587 resolvedReader , summary , content , err := loadCheckpointForExplain (ctx , errW , lookup , fullCheckpointID , full , generate , rawTranscript )
588588 if err != nil {
589- stopLoad ("" )
589+ stopLoad (false )
590590 return err
591591 }
592592 v2Reader , isCheckpointsV2 := resolvedReader .(* checkpoint.V2GitStore )
593593
594594 // Handle summary generation — uses raw transcript.
595595 if generate {
596- stopLoad ("" ) // generation prints its own progress to w/errW
596+ stopLoad (false ) // generation prints its own progress to w/errW
597597 if err := generateCheckpointSummary (ctx , w , errW , lookup .v1Store , lookup .v2Store , fullCheckpointID , summary , content , force ); err != nil {
598598 return err
599599 }
@@ -606,14 +606,14 @@ func runExplainCheckpointWithLookup(ctx context.Context, w, errW io.Writer, chec
606606 content , err = readLatestSessionContentForExplain (ctx , resolvedReader , fullCheckpointID , summary )
607607 }
608608 if err != nil {
609- stopLoad ("" )
609+ stopLoad (false )
610610 return fmt .Errorf ("failed to reload checkpoint: %w" , err )
611611 }
612612 }
613613
614614 // Handle raw transcript output
615615 if rawTranscript {
616- stopLoad ("" )
616+ stopLoad (false )
617617 rawLog , _ , rawErr := checkpoint .ResolveRawSessionLogForCheckpoint (ctx , fullCheckpointID , lookup .v1Store , lookup .v2Store , lookup .preferCheckpointsV2 )
618618 if rawErr != nil {
619619 return fmt .Errorf ("failed to read raw transcript: %w" , rawErr )
@@ -646,7 +646,7 @@ func runExplainCheckpointWithLookup(ctx context.Context, w, errW io.Writer, chec
646646
647647 // Format and output. Stop spinner BEFORE any write to w to keep stderr
648648 // frames and stdout content from interleaving.
649- stopLoad ("" )
649+ stopLoad (false )
650650 output := formatCheckpointOutput (summary , content , fullCheckpointID , associatedCommits , author , verbose , full , w )
651651 outputExplainContent (w , output , noPager )
652652 return nil
0 commit comments