mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
Address three reliability and telemetry defects found while auditing v6.8.0 and v6.9.0 production telemetry: - Pass `investigationStreamIdleTimeout` on `ensureFinalTextResponse` summary requests so OpenAI-compatible and local providers keep Patrol's 60s stream idle budget (and subscription agents keep 4m) instead of falling back to the 12s default chunk timeout. - Record `OutcomeTimedOut` on `abandonedInvestigationSession` when the stuck-run sweep closes an overdue run, keeping durable schema-23/24 telemetry aligned with the finding outcome instead of recording generic `failed`. - Treat `NotificationFailureTLS` as non-retryable so broken-certificate and HTTP-on-HTTPS destinations dead-letter immediately instead of repeating failed handshakes across queue and SMTP retries. - Clarify the TLS certificate test error message in `classifyNotificationError` so Email and Webhook tests no longer suggest a Skip TLS Verify toggle that only Apprise HTTP provides. Verification: - Targeted Go tests passed across `internal/ai/chat`, `internal/ai`, `internal/notifications`, and `internal/api/alerting`. - `status_audit.py --check`, `registry_audit.py --check`, and pre-commit governance guardrails passed.