diff --git a/internal/ai/patrol.go b/internal/ai/patrol.go index db9e057..81aaa6b 100644 --- a/internal/ai/patrol.go +++ b/internal/ai/patrol.go @@ -841,6 +841,10 @@ func (p *PatrolService) runPatrol(ctx context.Context) { } if runStats.errors > 0 { status = "error" + // Don't claim "All healthy" if there were errors - the patrol didn't complete properly + if findingsSummaryStr == "All healthy" { + findingsSummaryStr = fmt.Sprintf("Analysis incomplete (%d errors)", runStats.errors) + } } // Create run record