38 Commits

Author SHA1 Message Date
pulse-triage[bot] 97248eed6b Document agent-intake stall expiry and Proxmox stale banners in Help
Align docs/ALERTING.md, docs/API.md, docs/UNIFIED_RESOURCES.md, and
their shipped in-app Help mirrors with two landed monitoring-truthfulness
changes on main:

- #5982 (632ccb7e8c): clarify that a sibling agent report apply
  completing at or after a wedged apply started suppresses the external
  watchdog stall only while that completion is less than three minutes
  old, while an idle intake with no applies in flight is never stalled.
- #5981 (bcec74fb05): document the named stale-source detail lines on
  Proxmox Ceph, Replication, and Mail Gateway banners in Unified
  Resources Help.

Extend scripts/tests/test_watchdog_help_docs.py and
scripts/tests/test_unified_resources_help_docs.py to bind both docs to
the shipped runtime source.

Contract-Neutral: Documentation, shipped in-app Help mirrors, and static doc-alignment tests only; no runtime, API, or schema change.
Change-source: pulse-maintainer
2026-12-05 09:06:37 +00:00
pulse-triage[bot] afda3b2d56 Document breaker-deferral watchdog rule and poll-phase gauges in Help
Align Alerting, API, Scheduler Health, and Adaptive Polling docs (plus
the shipped in-app Help mirrors for Alerting and API) with #5975
(6d4929f4d9) and #5978 (36b857608d):

- Explain that a scheduled poll deferred before execution by a circuit
  breaker retry deadline keeps its protected retry slot without counting
  as a returned poll for the external watchdog or its standing stall alert.
- Document pulse_scheduler_poll_phase_age_seconds and
  pulse_scheduler_poll_phase_active (planning, post_plan,
  availability_planning) so operators can separate occupied ordinary poll
  cycle slots from detached Availability catalog planning.
- Pin both doc-to-source contracts in scripts/tests/test_watchdog_help_docs.py.

Contract-Neutral: Documentation, shipped in-app Help mirrors, and static doc-alignment tests only; no runtime or API contract delta.
Change-source: pulse-maintainer
2026-12-05 08:04:54 +00:00
pulse-triage[bot] 6e6c099fdd Document agent report apply age metric in Alerting Help
Align docs/ALERTING.md and its shipped in-app mirror with #5959 by adding
pulse_monitor_agent_report_apply_age_seconds and /api/agents/kubernetes/report
to the Prometheus agent-report stall checks, with source-bound test coverage
in scripts/tests/test_alerting_outage_help_docs.py.

Contract-Neutral: Help documentation alignment for already-landed Prometheus metric in #5959; no runtime or subsystem contract change.
Change-source: pulse-maintainer
2026-12-05 04:26:28 +00:00
pulse-triage[bot] b536c0f73c Send the watchdog /fail when agent report intake wedges (#5951)
The external dead-man heartbeat proved only that the monitor loop ticked
and
that claimed polls returned. Host, Docker and Kubernetes agent reports
are
applied on request goroutines outside the poll scheduler, so an apply
stuck on
a lock or write left the watchdog green, and an agent-only install had
no
stall check at all.

Each agent report apply now records its start and error-free completion.
When
an apply has run for three minutes and none has completed since it
started,
deadManMonitoringProgress reports the earliest stall time, so the
watchdog
sends /fail and raises Monitoring stalled. One stuck agent does not flap
the
watchdog while other reports still land, matching the poll-claim rule.

ALERTING, AVAILABILITY and the monitoring contract describe the new
check.

Contract-Neutral: agent-lifecycle intake responses, acceptance, ordering
and lifecycle are unchanged; the new watchdog intake check is
monitoring-owned and recorded in subsystems/monitoring.md
(agent-lifecycle.md is held by open human PRs #5072 and #5684)

---
Fleet candidate `20261204T202431Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `14ba5b5657f541bbd9ccba87818a3ae4fd4e2e05` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-12-05 01:53:49 +00:00
pulse-triage[bot] 14ba5b5657 Send the watchdog /fail when agent report intake wedges
The external dead-man heartbeat proved only that the monitor loop ticked and
that claimed polls returned. Host, Docker and Kubernetes agent reports are
applied on request goroutines outside the poll scheduler, so an apply stuck on
a lock or write left the watchdog green, and an agent-only install had no
stall check at all.

Each agent report apply now records its start and error-free completion. When
an apply has run for three minutes and none has completed since it started,
deadManMonitoringProgress reports the earliest stall time, so the watchdog
sends /fail and raises Monitoring stalled. One stuck agent does not flap the
watchdog while other reports still land, matching the poll-claim rule.

ALERTING, AVAILABILITY and the monitoring contract describe the new check.

Contract-Neutral: agent-lifecycle intake responses, acceptance, ordering and lifecycle are unchanged; the new watchdog intake check is monitoring-owned and recorded in subsystems/monitoring.md (agent-lifecycle.md is held by open human PRs #5072 and #5684)
Change-source: pulse-maintainer
2026-12-04 20:47:41 +00:00
pulse-triage[bot] 78d8027b8c Describe the in-page live-updates notice in Help
Pulse #5931 added a warning under the dashboard header when live updates
stall, drop or the server stops answering, with the last refresh time,
shown in kiosk mode too. Alerting, API and reverse-proxy Help still
described only the header badge. They now say when each notice appears,
what it means, and that it reports this browser's view rather than
replacing the external watchdog. A doc test binds the wording to the
component.

Contract-Neutral: Help wording for an existing browser notice only; no API, schema, runtime or persisted contract changes
Change-source: pulse-maintainer
2026-12-04 20:38:28 +00:00
pulse-triage[bot] ffd3d9d0cc Keep one hung poll from flapping the external watchdog
#5880 made the external dead-man watchdog send /fail when every
in-flight poll is wedged. Its rule compared returns with a fixed
window: a stall was reported when some claim had been out past the
poll timeout plus two minutes (3.5 minutes by default) and no admitted
claim had returned within that same window.

That window is shorter than gaps that occur on healthy installs. PVE
and PBS intervals can be set up to an hour, the adaptive scheduler can
stretch to five minutes, and a failing target backs off up to five
minutes. With one target hung and the others polled every five
minutes, the watchdog sent /fail and raised the critical
monitor_stalled alert for about 90 seconds of every cycle, then cleared
it when the next poll returned, for as long as the hang lasted. The
contract and ALERTING Help also said "every outstanding claim" while
the code checked only the oldest one.

The rule now compares returns with the most recently wedged claim: the
scheduler is stalled when some claim is wedged and no target still in
the queue has returned an admitted claim since that claim left the
heap. A slower target that has returned since the hang began keeps the
watchdog healthy between its polls. A full wedge is still caught,
including targets that hang one after another, and a newer claim
inside its budget neither causes nor clears a stall. Returns are kept
per target and dropped when a target leaves the queue, so a removed
target no longer vouches for one that is hung.

The monitoring contract and ALERTING Help (and its mirror) describe the
rule as implemented. The new subtests replay a hung target beside a
five-minute poller for an hour, a removed target, a young claim during
a wedge and targets that wedge in sequence.

Change-source: pulse-maintainer
2026-12-04 05:21:46 +00:00
pulse-triage[bot] 3bf0d40e29 Merge commit 'fae8d6fbe97a5e2326542bed17a417eb81607cff' into maintainer-async/20261204T030857Z-core-runtime/pulse
Change-source: pulse-maintainer
2026-12-04 03:09:49 +00:00
pulse-triage[bot] 08e3b262c5 Stop Alerting Help saying localhost webhooks stay blocked
The Configuration problem bullet said localhost and cloud metadata addresses stay blocked. Webhook delivery admits localhost and 127.x once the Webhook Security allowlist covers 127.0.0.1 (internal/notifications/webhook_ssrf.go), so only the cloud metadata hosts are refused whatever the allowlist says. Help now states only that.

Change-source: pulse-maintainer
2026-12-04 01:41:45 +00:00
pulse-triage[bot] 7510af8d8d Explain each notification failure cause in Alerting Help
Alerts > Notifications groups retained delivery failures into eight causes, but Help only listed their names. Users could not tell which causes Pulse retries on its own, and a webhook to a server on their own network shows as a Configuration problem whose on-screen hint does not mention the private-address block. Help now says what each cause means, which ones retry automatically, where to allow a private webhook range, and that an unclassified email may have arrived when its final acceptance reply was lost.

Change-source: pulse-maintainer
2026-12-04 01:28:16 +00:00
pulse-triage[bot] fae8d6fbe9 Signal the external watchdog when every in-flight poll is wedged
The external dead-man watchdog only checked the 15-second marker that
Monitor.Start's select loop writes. That marker proves the loop is
scheduling, not that polls return. If every poll worker hung (a provider
call ignoring its context, a blocked state write), the watchdog kept
sending success pings, so an independent Healthchecks-style receiver
stayed green while nothing was being polled.

TaskQueue now records when each claim leaves the heap and when a worker
returns an admitted claim. It uses a separate lock that is only ever
taken after the queue mutex, and the watchdog reads it without taking
the queue mutex. deadManMonitoringProgress reports the last poll
progress instead of the loop marker when every outstanding claim is
older than the poll task timeout plus a two-minute grace and no admitted
claim has returned in that window. The existing runCycle freshness
check then sends /fail and raises the existing monitor_stalled alert.
One slow target while others keep returning is not a stall, and neither
is an empty queue. A dispatcher handing back a claim it never admitted
does not count as a return.

monitor.go and the deadman runtime are unchanged. ALERTING, API and
AVAILABILITY docs (and their Help mirrors) and the monitoring contract
now describe the poll-completion check.

Contract-Neutral: deadman status API scope, fields and states unchanged;
 docs/API.md only names which time the existing monitoring progress
 field reports while polls are stalled, as api-contracts.md already says
Change-source: pulse-maintainer
2026-12-04 01:09:39 +00:00
pulse-triage[bot] b6abc78001 Document Availability planner recovery age in Prometheus and Help docs
Clarify in the Prometheus, Adaptive Polling, Scheduler Health, and
Alerting guides (and the shipped Alerting Help mirror) that Availability
check planning runs in its own single-slot detached pass. A slow
Availability catalog read or blocked synchronous panic recovery log write
keeps pulse_scheduler_poll_planning_age_seconds rising until that pass
returns and releases its slot, even while ordinary provider poll cycles
continue advancing. Note that operators should compare
pulse_monitor_poll_total and pulse_monitor_poll_staleness_seconds by
instance_type to separate an Availability planning stall from an
ordinary provider poll stall. Bind these claims to
startAvailabilityPollPlan in scripts/tests/test_watchdog_help_docs.py.

Contract-Neutral: Documents existing detached Availability planning and panic-recovery gauge visibility landed in #5733 and #5774 without changing product behavior or subsystem contracts.
Change-source: pulse-maintainer
2026-12-03 08:57:42 +00:00
pulse-triage[bot] 18c5375f52 Use scrape-time age in Alerting poll-outage rule
Switch the copyable No recent successful poll Prometheus rule in ALERTING.md (and its shipped in-app Help mirror) from time() - pulse_monitor_poll_last_success_timestamp to pulse_monitor_poll_staleness_seconds so clock skew between Pulse and Prometheus does not cause false poll-stall alerts or missed overdue polls. Preserve == -1 (failed before first success) and absent(...) handling with stable alert labels, document the older-build fallback and shared multi-workspace series caveat, and bind the new rule to internal/monitoring/metrics.go in test_alerting_outage_help_docs.py.

Contract-Neutral: Documentation and docs-contract test update only; no Pulse runtime, API, metric export or configuration behaviour changes.
Change-source: pulse-maintainer
2026-12-03 06:01:58 +00:00
pulse-triage[bot] beaf7fe3f4 Keep Prometheus outage alerts stable when series disappear
Normalise the alert labels across observed and absent series so a continuous scrape or poll failure does not restart the pending timer.

Contract-Neutral: Documentation corrects example Prometheus alert expressions without changing Pulse runtime, API, metric exports or configuration.
Change-source: pulse-maintainer
2026-12-03 03:50:14 +00:00
pulse-triage[bot] 5a12d9d274 Document watchdog UTC gaps and Machines Last seen in Help
Align shipped Availability, Alerting, and Unified Agent Help with already-landed monitoring truthfulness UI changes:
- External watchdog Last interruption UTC timestamps (Stopped / Last known progress and Restarted) regardless of browser time zone (c558cb8e90)
- External watchdog incomplete status snapshots (including healthy with no recorded successful heartbeat) preserved as Status unavailable rather than claiming recovery (687a43a4ef)
- Machines Last seen caveat explaining that for Pulse Agent machines a recent time after an outage can reflect a queued report rather than fresh collection (3b95a2551c)

Refs: #5089
Contract-Neutral: Documentation and static Help doc tests only; describes already-landed UI truthfulness behavior without changing runtime, API, alert, or agent contracts.
Change-source: pulse-maintainer
2026-12-02 12:17:26 +00:00
pulse-triage[bot] da6d17a4ca Require fresh scrapes and post-plan age checks in Alerting Help
Add a fresh-scrape sample-age check to both Prometheus alerting rules
under "Warn when expected polls stop succeeding" in docs/ALERTING.md
and its in-app Help mirror frontend-modern/public/docs/ALERTING.md so a
scrape gap cannot fire a false overdue-poll alert from cached samples
or silently clear it when Prometheus lookback expires. Also document
pulse_scheduler_poll_post_plan_age_seconds alongside planning age in
the scheduler stall checklist, and bind both to runtime source in
scripts/tests/test_alerting_outage_help_docs.py.

Contract-Neutral: Documentation and doc-parity test update only; no exported metric, alert engine, API, or runtime behavior changes.
Change-source: pulse-maintainer
2026-12-02 00:21:00 +00:00
pulse-triage[bot] d73b421608 Correct non-default org notification token guidance in Help docs
TenantMiddleware (CheckAccessContext -> APITokenRecord.CanAccessOrg) denies unbound and default-bound API tokens on non-default organizations with 403 access_denied, while RequireOrgManager (refuseOrgBoundToken -> tokenActsForInstance) refuses org-bound tokens with 403. Remove the incorrect claim in docs/MULTI_TENANT.md that an instance-wide settings:write token with X-Pulse-Org-ID can manage non-default organizations' /api/notifications/* endpoints, clarify docs/ALERTING.md and both frontend-modern/public/docs/ mirrors, and anchor both code checks in scripts/tests/test_alerting_and_org_auth_docs.py.

Contract-Neutral: Documentation and regression tests only; no runtime behavior, API contract, or frontend source changed.
Change-source: pulse-maintainer
2026-11-29 05:47:35 +00:00
pulse-triage[bot] ec665884bc Align Alerting, Multi-Tenant, and RBAC Help docs with auth contracts
Align shipped Help documentation and mirrors for Alerting, Multi-Tenant
Organizations, and RBAC with live backend router and handler contracts:
- Document alert policy authorization (requireAlertPolicyManager: instance
  admin, org owner/admin, explicit RBAC alerts:write such as operator, or
  monitoring:write token vs viewer triage actions), RequireOrgManager refusal
  of non-default org-bound tokens on /api/notifications/*, instance-admin
  authority for Apprise CLI targets, and instance-admin authority for shared
  queue/DLQ/terminal-failure actions in docs/ALERTING.md.
- Fix multi-tenant onboarding agent scopes to match agent:report,
  docker:report, and kubernetes:report routes, mark POST /api/orgs and
  DELETE /api/orgs/{id} as session-only, document member-removal token
  blocking for user-owned org-bound tokens, and align live Apprise CLI and
  /api/notifications/* token limits in docs/MULTI_TENANT.md.
- Document backend RBAC actions (plan, approve, execute), additional
  resources (actions, discovery), operator alerts:write policy authority,
  and instance-wide wildcard token requirements (refusing org-bound tokens
  with 403) in docs/RBAC.md.
- Add router-anchored regression suite scripts/tests/test_alerting_and_org_auth_docs.py.

Contract-Neutral: Documentation and regression tests only; no runtime behavior, API contract, or frontend source changed.
Change-source: pulse-maintainer
2026-11-29 05:14:57 +00:00
pulse-triage[bot] 41e65fbbc2 Align dashboard Updates stalled header warning across shipped Help docs
PR #5439 added authenticated GET /api/health polling in useAppRuntimeState.ts
and surfaced an always-visible amber "Updates stalled" header warning badge
when websocketStateStalled: true holds (alongside "Waiting for data" before the
first snapshot arrives), while none of the shipped Help guides yet explained
those header states or distinguished them from proxy upgrade failures and a
green Connected badge.

Update docs/API.md, docs/REVERSE_PROXY.md, docs/FAQ.md, docs/UPGRADE_v6.md,
and docs/ALERTING.md (plus their byte-identical frontend-modern/public/docs/
mirrors) to document the exact runtime polling cadence, badge labels and detail
copy, automatic clearance, standalone-only scope, and truthfulness boundaries.
Extend dashboardReadinessGuide.test.ts and test_stale_reading_help_docs.py to
verify rendered Help HTML, mirror parity, and live runtime source bindings.

Contract-Neutral: Shipped Help documentation and its unit/consistency tests only; no runtime UI, backend API, schema, auth, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 21:18:28 +00:00
pulse-triage[bot] 885c8808f2 Align Alerting and Notifications API Help with delivery health UI
Document the notification delivery health breakdown, live queue counts,
unavailable-status semantics, recovery controls, and alert status
banners in unclaimed public and in-app Help guides:

- docs/ALERTING.md (mirrored to frontend-modern/public/docs/ALERTING.md):
  add "Read delivery health and status banners" covering the expanded
  AlertDeliveryHealthCard from #5423 (non-zero queue counts, full 7-day
  failure-class breakdown on Alerts -> Notifications, compact summary
  pills on Alerts -> Overview, Retry retained deliveries duplicate
  caveat, Dismiss retained failures, and unavailable-status hiding of
  stale non-terminal counts), plus Notifications are paused, No
  notification destinations enabled, and Notification settings load
  error banners.
- docs/API.md (mirrored to frontend-modern/public/docs/API.md): align
  GET /api/notifications/health with live runtime fields
  (failure_classes_7d, failure_classes_available,
  failure_class_window_days, completed_retention_days,
  dead_letter_retention_days, unavailable reason codes,
  attention_required obligations, and unavailable destination status).
- scripts/tests/test_alerting_outage_help_docs.py: bind the new Help
  and API guidance to frontend presentation components, i18n strings,
  and Go delivery-health/API sources.

Contract-Neutral: Documentation, Help-mirror, and doc-regression test alignment only with no runtime, UI, API, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 18:05:15 +00:00
pulse-triage[bot] f3a5d79963 Align Alerting, Webhooks, and Scheduler Help with runtime
Document existing notification delivery contracts in ALERTING.md and
WEBHOOKS.md (outbound HTTP_PROXY/HTTPS_PROXY bypass for DNS-pinned SSRF
protection on alert webhooks and Apprise HTTP, 30s/10s webhook timeouts,
10/min per-URL webhook rate limiting, Apprise 5-120s timeout bounds and
CLI flag stripping, SMTP 60/min default rate limit, AUTH LOGIN fallback,
RFC 5322 incident email threading, and the 2,048-character external
watchdog URL cap), and align ALERTING.md, ADAPTIVE_POLLING.md, and
ADAPTIVE_POLLING_ROLLOUT.md with #5399 retired poll slot release without
successor planning. Add source-bound documentation verification tests.

Contract-Neutral: Documentation and documentation-test alignment with existing shipped monitoring and notification runtime contracts; no runtime behavior, API schema, or UI state changes.
Change-source: pulse-maintainer
2026-11-28 14:38:14 +00:00
pulse-triage[bot] ada419c564 Align Scheduler, Update API, and Security Help with runtime
Update Help guides (with byte-for-byte in-app mirrors in
frontend-modern/public/docs/) and add source-bound doc regression tests:
- Scheduler and Alerting Help (docs/ALERTING.md, docs/API.md,
  docs/api/SCHEDULER_HEALTH.md, docs/monitoring/ADAPTIVE_POLLING.md,
  docs/monitoring/PROMETHEUS_METRICS.md,
  docs/operations/ADAPTIVE_POLLING_ROLLOUT.md,
  scripts/tests/test_watchdog_help_docs.py): document the shared worker
  execution-boundary fence landed in #5379 so operators know both local
  per-monitor workers and the POLL_TASK_WORKERS process dispatcher skip
  provider setup for claims retired after dequeue or slot admission while
  preserving any explicit replacement's own due time.
- Server update, teardown, and agent-capabilities API Help (docs/API.md,
  docs/AUTO_UPDATE.md, scripts/tests/test_api_reference_routes.py):
  document POST /api/updates/rollback, GET /api/updates/release-notes and
  its asset route, POST /api/auto-unregister, GET /api/agent/capabilities,
  and the exact scopes, body limits, cache headers, and status codes of
  the update API routes.
- Security registration Help CI repair (SECURITY.md,
  frontend-modern/public/docs/SECURITY.md,
  scripts/tests/test_security_docs.py): move the command-enabled install
  token agent:exec ceiling note out of the two-item Auto-Registration
  Security bullet list into a standalone paragraph so
  registrationSecurityGuide.test.ts passes again on main after #5383, and
  guard the two-bullet list shape in Python doc tests.

Contract-Neutral: Documentation, shipped in-app Help mirrors, and doc verification tests aligned with already-landed runtime behavior; no runtime, API, schema, or UI contract changes.
Change-source: pulse-maintainer
2026-11-28 11:21:00 +00:00
pulse-triage[bot] 1513179c3c Align Data Flow, Alerting, and Alert API Help with runtime
Update docs/monitoring/METRICS_DATA_FLOW.md so the Bars and live status
table covers the landed stale-telemetry UI across Proxmox Backups (#5364),
Machines and Standalone VMs (#5361), and Workloads (#5369).

Update docs/API.md and docs/ALERTING.md (with byte-for-byte in-app Help
mirrors) to document the landed alert-config update bounds (1 MiB body,
500 customRules, 100 per-rule filters, 100 escalation levels), the
bulk acknowledge/clear and incident-note request contracts and caps
(16,384 identifiers, authenticated caller enforcement, non-echoed unknown
IDs), the 16 MiB active-alert recovery checkpoint cap with SQLite
fallback, and Apprise CLI stdin/title hardening, backed by source-bound
assertions in scripts/tests/test_alerting_outage_help_docs.py.

Contract-Neutral: Help documentation, shipped docs mirrors, and doc unit tests aligned with already-landed runtime behavior; no runtime, API, schema, or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-28 09:52:33 +00:00
pulse-triage[bot] 7d1131aad5 Align Scheduler and Alerting Help with retired poll claim release
Document the retired waiting-claim release behaviour landed in #5368
across unclaimed operator Help guides and bind it to internal/monitoring
source:

- docs/monitoring/PROMETHEUS_METRICS.md, docs/monitoring/ADAPTIVE_POLLING.md,
  docs/api/SCHEDULER_HEALTH.md, docs/operations/ADAPTIVE_POLLING_ROLLOUT.md,
  docs/ALERTING.md (with mirrored frontend-modern/public/docs/ALERTING.md),
  and docs/API.md (with mirrored frontend-modern/public/docs/API.md):
  document that under POLL_TASK_WORKERS a confirmed target removal releases
  a claim still waiting in stage="waiting_for_slot" without starting
  provider setup or changing the concurrency cap so another due target can
  run, preserving any explicit replacement's own due time while leaving
  already-admitted stage="running" polls to keep their claim until they
  return.
- scripts/tests/test_watchdog_help_docs.py,
  scripts/tests/test_scheduler_polling_docs.py, and
  scripts/tests/test_scheduler_health_api_help_docs.py: bind the updated
  Help prose to acquireClaim, watchClaimRetirement, canStartClaim,
  claimRetired, and retirement channel close in poll_task_workers.go and
  task_queue.go while preserving the docs-only CI allowlist.

Contract-Neutral: Documentation, mirrored in-app Help, and doc-consistency tests only with no runtime, API, polling, alert, or subsystem contract change.
Change-source: pulse-maintainer
2026-11-28 08:24:53 +00:00
pulse-triage[bot] 143e4f67c5 Align Alerting and Scheduler Help with poll planning and retirement
Document recent monitoring-progress runtime fixes across unclaimed operator
Help guides and bind them to internal/monitoring source:
- docs/ALERTING.md (and mirrored frontend-modern/public/docs/ALERTING.md): add
  pulse_scheduler_poll_planning_age_seconds under "Warn when expected polls
  stop succeeding" (#5348), note that stage="running" stays visible during
  panic recovery logging after releasing a queue claim (#5344), and document
  retired-monitor poll-plan abandonment (#5351).
- docs/monitoring/PROMETHEUS_METRICS.md and docs/api/SCHEDULER_HEALTH.md:
  clarify panic-recovery logging visibility after releasing a queue claim
  (#5344) and retired-monitor poll-plan abandonment (#5351).
- scripts/tests/test_watchdog_help_docs.py: add source-bound regression checks
  against monitor_polling_schedule.go, poll_work_progress.go, and
  poll_task_workers.go while preserving the docs-only CI allowlist.

Contract-Neutral: Documentation and doc-regression test alignment only; no API, schema, or runtime contract change.
Change-source: pulse-maintainer
2026-11-28 05:45:07 +00:00
pulse-triage[bot] bc073c6366 Align Alerting, Assistant Safety, and Data Flow Help with runtime
Document platform alert-table stale-reading cues and expanded-drawer
warning notices from #5327 across Docker Active Alerts, Kubernetes
Active Alerts, TrueNAS Health Alerts, and VMware Health Signals in
docs/ALERTING.md and its in-app Help mirror, and reflect platform-wide
Stale data cues in docs/monitoring/METRICS_DATA_FLOW.md.

Align docs/ASSISTANT_SAFETY.md and its in-app Help mirror with retired
interactive pulse_question prompts, fail-closed write classification for
unknown tool names in ClassifyToolCall, retired raw command execution
(raw_command_retired, HTTP 410), and host-command authority refusals.

Add source-bound regression tests in
scripts/tests/test_alerting_outage_help_docs.py and
scripts/tests/test_public_docs_claims.py.

Contract-Neutral: Documentation, in-app Help mirrors, and doc regression tests aligned with existing runtime behaviour without changing code contracts, routes, payloads, or UI.
Change-source: pulse-maintainer
2026-11-28 01:20:07 +00:00
pulse-triage[bot] 6b68e4e409 Correct webhook redirect limit and replay exclusion wording in Help
Fix an off-by-one statement in docs/WEBHOOKS.md (and its mirror/test): CheckRedirect blocks when len(via) >= WebhookMaxRedirects (3), so alert webhooks follow at most 2 same-origin redirects across 3 requests and stop on a third redirect. Also clarify in docs/ALERTING.md (and its mirror/test) that non-retryable and >24h failures are not automatically re-queued and successful Test sends do not trigger recovery.

Contract-Neutral: Documentation accuracy correction and matching doc-test updates only; no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-27 19:30:02 +00:00
pulse-triage[bot] c95c867c67 Align Alerting and Webhooks Help with branding and credential rules
Document landed notification usability and security behaviors in the
in-app Alerting and Webhooks Help guides and their shipped mirrors:

- Email branding & subject under Show advanced options (Subject prefix,
  Brand name, Footer note, normalization, HTML escaping, and continuity
  fingerprint preservation from #4868).
- Destination-bound saved notification credentials for SMTP, Apprise,
  and webhooks, blank SMTP host refusal, same-origin webhook redirects
  (up to 3), and alert-derived webhook header control-byte encoding and
  2,048-byte SHA-256 truncation from #5081.
- Automatic recovery replay of recent retryable retained failures across
  queued email, webhook, and Apprise destinations from #4859 and #4992.
- Source-bound tests covering these contracts in
  scripts/tests/test_alerting_outage_help_docs.py and
  scripts/tests/test_webhook_verification_docs.py.

Contract-Neutral: Documentation and source-bound documentation tests only; no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-27 19:16:57 +00:00
pulse-triage[bot] 41f9f71c6c Align Alerting, Patrol, API, and Agent Security Help with runtime fixes
Document four recently landed monitoring, alerting, and Patrol runtime
changes in unclaimed in-app Help guides and their mirrored public copies,
with source-bound Python regression tests:

- docs/ALERTING.md (+ mirror): document single-snapshot latest-completion
  Prometheus poll freshness (#5246), stopped-scheduler exclusion from
  pulse_scheduler_queued_poll_overdue_seconds while blocked workers stay
  in pulse_scheduler_claimed_poll_overdue_seconds (#5238), and immediate
  non-retryable TLS terminal failures across email, webhook, and Apprise
  destinations without an email/webhook Skip TLS Verify toggle (#5167).
- docs/AI_AUTONOMY.md and docs/API.md (+ mirrors): document the 24-hour
  approval window for background and refreshed Patrol action plans
  (DefaultPatrolPlanTTL) versus the 5-minute default expiry for direct API
  and interactive plans (DefaultPlanTTL) (#5170).
- docs/AGENT_SECURITY.md (+ mirror): align the container failure-log AI
  disclosure line with the retired in-app Assistant chat (Patrol and
  legacy Pulse Mobile chat until 31 March 2027).
- scripts/tests/test_alerting_outage_help_docs.py and
  scripts/tests/test_public_docs_claims.py: bind each documented behaviour
  directly to live Go runtime sources.

Contract-Neutral: Documentation, mirrored in-app Help, and Python doc-regression test alignment for already-landed runtime behaviour with no runtime, API, schema, or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-27 17:02:27 +00:00
pulse-triage[bot] 0c62461d83 Document built-in Ceph cluster health alerts in Alerting Help
Explain in docs/ALERTING.md and its shipped frontend-modern/public/docs/ALERTING.md
mirror that Ceph HEALTH_WARN and HEALTH_ERR conditions raise built-in alerts
automatically after two consecutive degraded observations (clearing after two
consecutive HEALTH_OK observations), include active Ceph check codes in the
alert message, carry no resource tags for tag-filtered destinations, and do not
appear as configurable threshold rows under Alerts -> Thresholds.

Bind the new Help section to the live runtime sources in
scripts/tests/test_alerting_outage_help_docs.py.

Contract-Neutral: Docs and doc-parity test only; aligns shipped Alerting Help with existing Ceph provider-incident runtime behaviour without changing runtime contracts or UI behaviour.
Change-source: pulse-maintainer
2026-11-27 12:10:53 +00:00
pulse-triage[bot] ad2f12a17c Expire retired scheduler dead-letter series
Preserve recent zeroes and active peer failures without carrying connection labels for the life of Pulse. Verify ordinary recovery, exact expiry, and a longer scrape gap.

Change-source: pulse-maintainer
2026-11-27 04:37:03 +00:00
pulse-triage[bot] 48f61c6795 Document alert reevaluation and dead-letter recovery in in-app Help
Explain how to check whether an already-open threshold alert was
reevaluated via GET /api/alerts/active (matching id and startTime,
comparing metricStatus.observedAt against lastSeen and
metricStatus.lastBreachAt, and noting that volatile metricStatus is
absent right after a restart) and add pulse_scheduler_dead_letter_depth
recovery clearing to docs/ALERTING.md, docs/API.md, and their shipped
frontend-modern/public/docs/ mirrors. Bind the documented route, scope,
fields, phases, volatile persistence stripping, and dead-letter metric
against live Go source in scripts/tests/test_alerting_outage_help_docs.py.

Refs: #5089
Contract-Neutral: Documents existing GET /api/alerts/active metricStatus fields and pulse_scheduler_dead_letter_depth gauge in in-app Help with no runtime, API, collection, or release changes.
Change-source: pulse-maintainer
2026-11-26 19:49:59 +00:00
pulse-triage[bot] 76035564fa Align VM disk and Alerting Help with QGA and recovery fixes
Document two runtime fixes that landed in b60d43f678 (#5196):
- VM_DISK_MONITORING.md (and its mirrored in-app Help copy): explain that
  newer Linux qemu-guest-agent packages (including 10.1.0+ and Rocky/RHEL)
  disable guest-file-open and guest-file-read by default, that Pulse checks
  /agent/info to skip /proc/meminfo and backs off disabled-command errors
  without deferring VM filesystem reads, and that operators should leave
  guest-file-* disabled rather than widening permissions.
- ALERTING.md (and its mirrored in-app Help copy): explain that each
  destination's recovery notification preserves the severity level from the
  firing notification it received even after a silent critical-to-warning
  step-down, and recommend matching external automations on alert ID.

Add regression assertions in test_guest_disk_reading_docs.py and
test_alerting_outage_help_docs.py binding both sections to runtime code and
mirrored Help copies.

Contract-Neutral: Documentation and doc-regression test alignment only; no API, schema, or runtime contract change.
Change-source: pulse-maintainer
2026-11-26 18:30:24 +00:00
pulse-triage[bot] b4f01dcde0 Align Alerting outage Help with current stall and agent checks
Distinguish device-supplied History points from resumed Pulse polls and
separate Docker agent reports from Machines Last seen in Alerting Help.
Document the existing Prometheus scheduler overdue, breaker retry and
agent report series beside the external poll-outage alerts.

Refs: #5089
Contract-Neutral: Updates in-app Alerting Help and its documentation test for existing metrics and UI labels without changing runtime, collection, alerting or release behaviour.
Change-source: pulse-maintainer
2026-11-26 16:54:06 +00:00
pulse-triage[bot] 4de15e3c8f Show how to catch missing poll successes from outside Pulse
Give operators who already scrape Pulse separate alerts for scrape loss and missing fresh results on an expected connection. Match the scrape and connection identities and distinguish repeated poll errors from no recorded outcomes.

Refs: https://github.com/rcourtman/Pulse/issues/5089

Contract-Neutral: Documents existing scrape and poll metrics without changing runtime, configuration, API, alerting, or release contracts.
Change-source: pulse-maintainer
2026-11-25 20:55:37 +00:00
pulse-triage[bot] 8a0355a602 Explain what a healthy watchdog does not prove
Help operators distinguish a responsive Pulse server and recent watchdog heartbeat from completed polls, current agent reports and alert evaluation. Point them to existing sample times and result counters without asking for a restart or a test notification.

Refs: #5089
Contract-Neutral: Clarifies existing health and monitoring signals without changing watchdog, polling, alert evaluation, public assets routing or settings.
Change-source: pulse-maintainer
2026-11-24 23:06:40 +00:00
rcourtman bc9702ae47 Add real-pipeline alert delivery rehearsals
Destination tests bypass routing and the persistent queue, so they cannot
establish ordinary alert delivery. Add labelled firing and recovery rehearsals
through the shared notification pipeline with durable, idempotent evidence.
Show acceptance, failure, suppression, deferral and unavailable outcomes per
destination, and link received messages back to their exact rehearsal report.
2026-11-16 20:02:07 +00:00
rcourtman eed3b0422a Explain alerting and availability workflows
Make the existing monitoring capabilities easier to discover from the README and documentation index. Separate incident state, notification delivery, local and remote checks, and independent watchdog coverage without changing runtime behavior.
2026-11-16 16:06:13 +00:00