Commit Graph

68 Commits

Author SHA1 Message Date
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]
a8eefa472b Align Alerting and Scheduler Help with poll planning and retirement (#5360)
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.

---
Fleet candidate `20261128T053537Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`143e4f67c5c511db7867897ffb585a012771db46` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 06:19:24 +00:00
pulse-triage[bot]
b0122b1dd0 Align Scheduler Progress, Rollout, API, and Data Flow Help with runtime (#5356)
Update docs/monitoring/ADAPTIVE_POLLING.md,
docs/operations/ADAPTIVE_POLLING_ROLLOUT.md,
docs/monitoring/METRICS_DATA_FLOW.md, docs/API.md (and its mirrored
frontend-modern/public/docs/API.md copy), and their source-bound
regression tests to close live runtime-to-Help gaps in Monitoring
progress (Weakest Area #1) and Storage Pools staleness (Weakest Area
#6):

- Document pulse_scheduler_poll_planning_age_seconds (#5348) and
  panic-recovery logging retention under the running stage of
  pulse_scheduler_claimed_poll_overdue_seconds (#5344) across
  docs/monitoring/ADAPTIVE_POLLING.md,
  docs/operations/ADAPTIVE_POLLING_ROLLOUT.md, and the shipped in-app
  Scheduler Health reference in docs/API.md so operators diagnosing a
  quiet queue during a stall check unfinished planning passes and
  workers blocked in panic recovery logging.
- Add Storage Pools stale-reading cues (#5346) to the live platform
  tables summary in docs/monitoring/METRICS_DATA_FLOW.md, matching
  rowPresentation.ts and StoragePoolRow.tsx (amber Stale for clear
  stale pools, inline Stale data cue beside preserved worse states and
  alert headlines on desktop and phones, retained usage bars).
- Bind the new claims directly to live Go and TypeScript runtime source
  in scripts/tests/test_scheduler_polling_docs.py,
  scripts/tests/test_scheduler_health_api_help_docs.py, and
  scripts/tests/test_alerting_outage_help_docs.py.

Contract-Neutral: Documentation, mirrored in-app Help, and documentation
consistency tests only; no runtime, API, polling, alert, telemetry, or
UI code contract changes.

---
Fleet candidate `20261128T045609Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`aed225319e5e56bf645eee4d1f3b59666e05f5c2` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 05:50:38 +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]
aed225319e Align Scheduler Progress, Rollout, API, and Data Flow Help with runtime
Update docs/monitoring/ADAPTIVE_POLLING.md,
docs/operations/ADAPTIVE_POLLING_ROLLOUT.md,
docs/monitoring/METRICS_DATA_FLOW.md, docs/API.md (and its mirrored
frontend-modern/public/docs/API.md copy), and their source-bound
regression tests to close live runtime-to-Help gaps in Monitoring
progress (Weakest Area #1) and Storage Pools staleness (Weakest Area #6):

- Document pulse_scheduler_poll_planning_age_seconds (#5348) and
  panic-recovery logging retention under the running stage of
  pulse_scheduler_claimed_poll_overdue_seconds (#5344) across
  docs/monitoring/ADAPTIVE_POLLING.md,
  docs/operations/ADAPTIVE_POLLING_ROLLOUT.md, and the shipped in-app
  Scheduler Health reference in docs/API.md so operators diagnosing a
  quiet queue during a stall check unfinished planning passes and
  workers blocked in panic recovery logging.
- Add Storage Pools stale-reading cues (#5346) to the live platform
  tables summary in docs/monitoring/METRICS_DATA_FLOW.md, matching
  rowPresentation.ts and StoragePoolRow.tsx (amber Stale for clear
  stale pools, inline Stale data cue beside preserved worse states and
  alert headlines on desktop and phones, retained usage bars).
- Bind the new claims directly to live Go and TypeScript runtime source
  in scripts/tests/test_scheduler_polling_docs.py,
  scripts/tests/test_scheduler_health_api_help_docs.py, and
  scripts/tests/test_alerting_outage_help_docs.py.

Contract-Neutral: Documentation, mirrored in-app Help, and documentation consistency tests only; no runtime, API, polling, alert, telemetry, or UI code contract changes.
Change-source: pulse-maintainer
2026-11-28 05:04:33 +00:00
pulse-triage[bot]
0dc1383a10 Align Storage Pools staleness and poll-planning Help with runtime
Update public and mirrored in-app Help across FAQ, ZFS monitoring, TrueNAS,
Prometheus metrics, and Scheduler Health, with source-bound regression tests
in scripts/tests/test_public_docs_claims.py:

- Document Storage Pools staleness (#5346) in docs/FAQ.md,
  docs/ZFS_MONITORING.md, docs/TRUENAS.md, and their mirrored copies under
  frontend-modern/public/docs/: clear stale pools switch to amber Stale
  (leaving Status: Healthy for Status: Needs attention and Status: Warning,
  sorting ahead of fresh healthy pools, and grouping under stale), severe
  states and alert headlines stay visible with an inline Stale data cue and
  retained usage bars, search matches stale labels and source errors, and
  expanded drawers surface the stale State reason under Worth checking while
  deferring inline Capacity History as last known.
- Document unfinished poll-planning visibility (#5348) and panic-recovery
  logging under the running claimed-poll stage (#5344) in
  docs/monitoring/PROMETHEUS_METRICS.md and docs/api/SCHEDULER_HEALTH.md so
  operators know to inspect pulse_scheduler_poll_planning_age_seconds when
  queue and claimed-poll overdue gauges stay zero while poll counters stall.
- Bind both Help updates directly to the frontend Storage Pool presentation
  and backend poll-work progress sources in
  scripts/tests/test_public_docs_claims.py.

Contract-Neutral: Documentation, mirrored in-app Help, and documentation consistency tests only; no runtime, API, polling, alert, telemetry, or UI code contract changes.
Change-source: pulse-maintainer
2026-11-28 04:19:46 +00:00
pulse-triage[bot]
0108c761bd Expose time spent in unfinished poll planning
Report the oldest active planning pass at scrape time, even when provider roster reads prevent any task from reaching the queue. Keep the watchdog heartbeat and existing queue and claim timers independent.

Change-source: pulse-maintainer
2026-11-28 03:09:55 +00:00
pulse-triage[bot]
b46b02f3bb Align Physical Disk, Plans, and VMware API Help with runtime
Update unclaimed in-app Help guides, their shipped public mirrors, and
source-bound regression tests to match landed Pulse runtime behaviour:

- docs/monitoring/METRICS_DATA_FLOW.md, docs/VM_DISK_MONITORING.md, and
  docs/ZFS_MONITORING.md (+ mirrors): align with physical-disk
  stale-reading cues from #5333 (20146aa2de) across Storage tables,
  Physical Disks & SMART cards, linked pool member details, guest
  physical disks, and DiskDrawerOverview (amber Stale verdict for clear
  stale disks, inline Stale data cue preserving Replace Now / Needs
  Attention, muted last-known temperatures and SSD life without live
  Running Hot, and deferred temperature/SMART history charts until live
  reporting recovers).
- docs/PULSE_PRO.md (+ mirror): align the Paid Feature Proof Map,
  Feature Matrix, Pro plan summary, and Feature Status API keys with
  pkg/licensing/features.go and self_hosted_feature_catalog.go by adding
  FeatureExternalProbe (external_probe, Pro/Cloud remote availability
  probes while local checks stay free in Community) and marking
  FeatureUnlimited as MSP/Enterprise capacity policy (Y*) rather than a
  TierCloud default.
- docs/API.md (+ mirror): document the live VMware vSphere connection
  management routes (/api/vmware/connections, /test, /{id}/test,
  /preview, /{id}/preview, and PULSE_FEATURE_VMWARE=false 404
  vmware_disabled) from internal/api/router_routes_registration.go and
  internal/api/vmware_handlers.go, and complete GET /api/resources
  source and type query values (truenas, vmware/vmware-vsphere,
  availability, docker-host, network-endpoint, network-share).
- scripts/tests/test_alerting_outage_help_docs.py and
  scripts/tests/test_public_docs_claims.py: bind each updated guide and
  shipped mirror directly to live Go and TypeScript source.

Contract-Neutral: Documentation, shipped in-app Help mirrors, and source-bound Python doc tests aligned with already-landed runtime behaviour without changing API contracts, polling, alerting, telemetry, or UI source.
Change-source: pulse-maintainer
2026-11-28 02:10:17 +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]
f2f25e890c Align Prometheus metrics and inline remote-commands Help with runtime
Correct docs/AI_AUTONOMY.md and its in-app Help mirror where they
erroneously stated Pulse does not export pulse_patrol_* Prometheus
metrics, documenting all 18 live pulse_patrol_* metrics registered in
internal/ai/patrol_metrics.go alongside pulse_ai_* and operational-trust
action counters. Expand docs/monitoring/PROMETHEUS_METRICS.md to cover
the live HTTP deprecated-API, Patrol, AI safety, database slow-query,
network discovery, RBAC, and pulse-agent loopback (127.0.0.1:9191)
metric families. Document the inline Enable remote commands dialog from
locked container actions (#5317) in docs/AGENT_SECURITY.md,
docs/UNIFIED_AGENT.md, and their Help mirrors, preserving the host-side
trust boundary, Agent Doctor routing for least-privilege hosts, and
passive non-admin behavior. Add source-bound regression tests in
scripts/tests/test_public_docs_claims.py.

Contract-Neutral: Documentation and source-bound doc-test alignment only; no runtime, API, or frontend contract change.
Change-source: pulse-maintainer
2026-11-27 22:40:39 +00:00
pulse-triage[bot]
1814ede998 Align Patrol modes and Adaptive Polling docs with runtime
Remove nonexistent pulse_patrol_* Prometheus claims from docs/AI_AUTONOMY.md
and its shipped Help mirror, document the actual pulse_ai_* and
pulse_operational_trust_* counters plus Patrol status/run API endpoints, align
continuing Relay Pro entitlements and the 31 March 2027 retirement date, and
document stored vs API investigation fields, the 20-minute failed-fix retry
cooldown and the 64-entry deferred investigation queue.

Update docs/monitoring/ADAPTIVE_POLLING.md to document PULSE_METRICS_PORT
precedence over legacy METRICS_PORT, local per-monitor staleness scoring,
stopped-scheduler queue and dead-letter exclusion, 5-minute dead-letter series
expiry, and latest-completion freshness snapshots. Add regression checks in
test_public_docs_claims.py and test_scheduler_polling_docs.py.

Contract-Neutral: Documentation and documentation regression tests only; no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-27 08:09:17 +00:00
pulse-triage[bot]
0bf0695417 Keep Prometheus poll freshness tied to the latest completion
Emit last-success time and age from one scrape snapshot. Count late results without letting an older successful completion overwrite a newer observation for the same series.

Change-source: pulse-maintainer
2026-11-27 05:54: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]
397ab0f718 Exclude stopped scheduler backlogs from Prometheus scrapes
Tie live queue samples to scheduler cancellation as well as worker lifetime. A cancelled scheduler cannot service queued work, but its stuck claim must remain visible until the worker returns. Keep other schedulers in the process-wide totals.

Change-source: pulse-maintainer
2026-11-27 00:10:55 +00:00
pulse-triage[bot]
643cedb155 Expose overdue queued polls in Prometheus (#5188)
Report the age of the oldest timestamped poll still in the active queue
across running schedulers. Use the queue snapshots already read at
scrape time, so a flat due-soon count does not hide a growing wait. Keep
claims, future retries and dead letters separate without adding labels
or changing poll admission.

---
Fleet candidate `20261126T030625Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `117a0021fd5688468af0ae5358953a06eeeceedb` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-26 03:47:41 +00:00
pulse-triage[bot]
117a0021fd Expose overdue queued polls in Prometheus
Report the age of the oldest timestamped poll still in the active queue across running schedulers. Use the queue snapshots already read at scrape time, so a flat due-soon count does not hide a growing wait. Keep claims, future retries and dead letters separate without adding labels or changing poll admission.

Change-source: pulse-maintainer
2026-11-26 03:11:48 +00:00
pulse-triage[bot]
86e123dd90 Age the scheduler breaker retry gauge on scrape
Keep the last recorded breaker deadline instead of freezing the remaining delay at the write. An operator can tell when recorded backoff has expired without another poll or Scheduler Health read. Export state and failures from the same observation without changing probe admission.

Change-source: pulse-maintainer
2026-11-26 02:36:41 +00:00
pulse-triage[bot]
f3f42fbb21 Measure poll dead letters from active scheduler runtimes
Read terminal records at scrape time from the queues owned by running schedulers. A cancelled runtime stops contributing even while its monitor is retained; an old Health snapshot cannot restore its sample or clear a peer with the same labels.

Keep the current poll cadence and partial-read status. Cover tenant replacement and shutdown with the old queue held live, stale publication across recovery, and the matching Prometheus samples.

Refs #5089.

Change-source: pulse-maintainer
2026-11-26 01:25:31 +00:00
pulse-triage[bot]
07a62a4a20 Compose reviewed poll dead-letter recovery onto current main
Preserve 82768e9a0d while replacing the process-wide gauge publisher with a runtime-owned scrape.

Change-source: pulse-maintainer
2026-11-26 01:25:24 +00:00
pulse-triage[bot]
fc8b624daa Measure scheduler queue gauges at scrape time (#5177)
Read the active queues instead of publishing heap scans from poll
workers. A quiet queue still crosses the due-soon boundary, and
unrelated provider results cannot reset the process depth.

---
Fleet candidate `20261125T230256Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `2cb24ed789042c6155bb4e287b9efacd9446226b` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-26 00:08:50 +00:00
pulse-triage[bot]
82768e9a0d Clear poll dead letters when collection resumes
Retire the connection's terminal record and its gauge when a later scheduled result succeeds. Keep a partial-read error visible and leave other failures, breaker admission and polling cadence alone. A recorded dead-letter retry time is not an active-queue deadline.

Refs #5089.

Change-source: pulse-maintainer
2026-11-25 23:53:04 +00:00
pulse-triage[bot]
1bb1e24470 Read dead-letter records beside current poll results (#5175)
Stop the adaptive polling guide promising a retry after 30 minutes. Use
the saved Scheduler Health timestamps to distinguish a past failure from
a later successful poll, without retrying or changing a connection.

---
Fleet candidate `20261125T224958Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`82225d2ae9a646ea281c53f7085a090eb8cd31f9` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-25 23:34:43 +00:00
pulse-triage[bot]
2cb24ed789 Measure scheduler queue gauges at scrape time
Read the active queues instead of publishing heap scans from poll workers. A quiet queue still crosses the due-soon boundary, and unrelated provider results cannot reset the process depth.

Change-source: pulse-maintainer
2026-11-25 23:15:02 +00:00
pulse-triage[bot]
82225d2ae9 Read dead-letter records beside current poll results
Stop the adaptive polling guide promising a retry after 30 minutes. Use the saved Scheduler Health timestamps to distinguish a past failure from a later successful poll, without retrying or changing a connection.

Change-source: pulse-maintainer
2026-11-25 23:00:49 +00:00
pulse-triage[bot]
c3ea562a8d Include Docker reports in the Prometheus progress check
Filter the Docker and Podman report route alongside registration and
machine reports. Keep the counters separate so a machine report cannot
make an unchanged Docker stream look current.

Refs: #5089
Contract-Neutral: Repository-only operator guidance for an existing metric and its existing labels. No route, collector, runtime, release or in-app Help changes.
Change-source: pulse-maintainer
2026-11-25 22:32:13 +00:00
pulse-triage[bot]
f62511baab Distinguish a breaker retry deadline from a recorded gauge (#5152)
A responsive metrics scrape can keep showing time remaining after an
open
breaker could let a retry through. Show how to check the saved absolute
deadline and whether a result actually returned, without changing
polling.
Keep the adaptive guide accurate for both poll-age exporters.

Refs: #5089
Contract-Neutral: Explains existing metrics and scheduler snapshot
fields without changing polling, alerting, or API behaviour.

---
Fleet candidate `20261125T182352Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`eea51eee6e5c398fae50d5a566f970c1c9ddd2e2` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-25 19:04:31 +00:00
pulse-triage[bot]
9f6ffcbd84 Explain how live readings differ from Trends and drawer History (#5150)
The old data-flow guide described client-side sampling and a fixed
memory/store cutoff. Show operators which view to check when a chart and
a fresh reading disagree, and link that distinction from the scheduler
poll comparison.

Contract-Neutral: Repository-only documentation of existing chart
sources and poll diagnostics; no runtime, shipped Help, API contract, or
release-control change.

---
Fleet candidate `20261125T175328Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`96b475d849cb756916213327802b6e1de8bf3dac` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-25 18:35:22 +00:00
pulse-triage[bot]
eea51eee6e Distinguish a breaker retry deadline from a recorded gauge
A responsive metrics scrape can keep showing time remaining after an open
breaker could let a retry through. Show how to check the saved absolute
deadline and whether a result actually returned, without changing polling.
Keep the adaptive guide accurate for both poll-age exporters.

Refs: #5089
Contract-Neutral: Explains existing metrics and scheduler snapshot fields without changing polling, alerting, or API behaviour.
Change-source: pulse-maintainer
2026-11-25 18:34:38 +00:00
pulse-triage[bot]
2c613aa702 Keep Prometheus poll staleness aging between results (#5144)
Calculate connection and node poll age each time Prometheus scrapes.
Keep no result distinct from a failed first result, and keep failed
polls from refreshing the last-success timestamp or changing scheduler
policy.

---
Fleet candidate `20261125T170023Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `93a137a5ab7fe4999255167cb9c4dc242d466b91` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-25 18:03:29 +00:00
pulse-triage[bot]
96b475d849 Explain how live readings differ from Trends and drawer History
The old data-flow guide described client-side sampling and a fixed memory/store cutoff. Show operators which view to check when a chart and a fresh reading disagree, and link that distinction from the scheduler poll comparison.

Contract-Neutral: Repository-only documentation of existing chart sources and poll diagnostics; no runtime, shipped Help, API contract, or release-control change.
Change-source: pulse-maintainer
2026-11-25 18:02:40 +00:00
pulse-triage[bot]
999560778f Distinguish overdue polls from the scheduler queue (#5146)
The two-pass planning limit does not cap concurrent provider polls. Help
operators distinguish queued, claimed and returned work and check fresh
per-connection results within one run after a cadence change.

Contract-Neutral: Corrects two repository-only operator guides for
existing scheduler behaviour. No runtime, API, configuration, or
rendered Help change.

---
Fleet candidate `20261125T172540Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`f8ffd9d322d8c1106237d6a53918fde9671beed9` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-25 18:00:47 +00:00
pulse-triage[bot]
f8ffd9d322 Distinguish overdue polls from the scheduler queue
The two-pass planning limit does not cap concurrent provider polls. Help operators distinguish queued, claimed and returned work and check fresh per-connection results within one run after a cadence change.

Contract-Neutral: Corrects two repository-only operator guides for existing scheduler behaviour. No runtime, API, configuration, or rendered Help change.
Change-source: pulse-maintainer
2026-11-25 17:34:26 +00:00
pulse-triage[bot]
93a137a5ab Keep Prometheus poll staleness aging between results
Calculate connection and node poll age each time Prometheus scrapes. Keep no result distinct from a failed first result, and keep failed polls from refreshing the last-success timestamp or changing scheduler policy.

Change-source: pulse-maintainer
2026-11-25 17:21:52 +00:00
pulse-triage[bot]
130991e040 Show how to check an open threshold alert for progress
A quiet alert counter and an unchanged breach time can hide continued evaluation. Document the read-only check for the same active threshold alert, and distinguish missing evidence from a stall or a delivery result.

Contract-Neutral: Documents existing alert read semantics in a repository-only guide. No runtime, API, or rendered Help change.
Change-source: pulse-maintainer
2026-11-25 17:07:43 +00:00
pulse-triage[bot]
d82fb4c86b Show whether ordinary agent requests finish in Prometheus
When health and metrics still answer during a poll gap, the existing HTTP counter separates a returning Proxmox registration check from a returning telemetry report. Document the watched routes and status and target boundaries without treating an HTTP completion as a fresh reading or completed alert rule. Use ordinary traffic only.

Refs: #5089
Contract-Neutral: Repository-only operator guidance for existing poll and HTTP counters. No metrics, route, runtime, release or shipped Help contract changes.
Change-source: pulse-maintainer
2026-11-25 16:04:42 +00:00
pulse-triage[bot]
bd144c5afc Distinguish Pulse scrape targets from monitored connections (#5129)
Explain the default Prometheus instance label collision and show how to
compare scrape availability with poll results for one connection. Keep
failed scrapes, peer results and lack of a new poll outcome distinct.

Contract-Neutral: Documents existing exporter labels and standard
Prometheus scrape behaviour without changing the monitoring contract.

---
Fleet candidate `20261125T131012Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`3d606290f39f87ff9dbe7dc8d13909feb5d9a384` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-25 13:54:51 +00:00
pulse-triage[bot]
3d606290f3 Distinguish Pulse scrape targets from monitored connections
Explain the default Prometheus instance label collision and show how to compare scrape availability with poll results for one connection. Keep failed scrapes, peer results and lack of a new poll outcome distinct.

Contract-Neutral: Documents existing exporter labels and standard Prometheus scrape behaviour without changing the monitoring contract.
Change-source: pulse-maintainer
2026-11-25 13:27:08 +00:00
pulse-triage[bot]
1456b79dea Explain fixed-interval polling in scheduler diagnostics
Treat enabled as the adaptive timing flag, not a test of whether polling
is running. Add a local comparison of recorded results that distinguishes
completed polls, continuing errors and no new result without sharing the
raw snapshot or restarting Pulse.

Refs: #5089
Contract-Neutral: Documents existing poll and scheduler-health behavior without changing scheduling, response fields, access, or alert evaluation.
Change-source: pulse-maintainer
2026-11-25 12:42:44 +00:00
pulse-triage[bot]
ce863e8d07 Expose overdue claimed polls in the scheduler metrics
Measure time past the poll budget independently for work held before a shared worker slot and for work still occupying a worker. Keep the observation separate from outcomes, retry backoff, health and notifications.

Refs #5089

Change-source: pulse-maintainer
2026-11-25 05:16:52 +00:00
pulse-triage[bot]
6580573ba2 Show whether overdue polls are still returning errors
After a successful scrape with old readings, compare the existing per-source result counters over the expected polling window. Distinguish failures that still complete from stopped progress without mistaking missing samples, idle or backoff for a stall.

Contract-Neutral: Explain existing exporter metrics without changing polling, alerting, or the metric contract.
Change-source: pulse-maintainer
2026-11-24 21:25:14 +00:00
rcourtman
6be44e133c Bound HTTP metrics, request bodies, JWTs, suppression, and downloads
Use registered ServeMux route patterns and fixed HTTP method labels in metrics, cap JSON request bodies across operator-state, maintenance review, resource links, alerts, auto-register, and AI handlers, bound handoff and purchase-return JWTs before parsing, bound TrueNAS topology parsing and JSON-RPC WebSocket message size, cap alert suppression reasons at 240 characters, and share bounded in-memory buffers with write deadlines for GitHub-proxied agent downloads.

Contract-Neutral: Security fixes bounding memory usage and label cardinality against OOM and DoS
2026-11-24 14:20:36 +00:00
pulse-triage[bot]
30e29467ac Distinguish overdue polls from a working Prometheus scrape
The staleness gauges update only when a result is recorded. Show how to use the last-success timestamp without treating scrape success, missing series, or partial collection as recovery.

Contract-Neutral: Clarify existing exporter readings in operator documentation; no metric or polling changes.
Change-source: pulse-maintainer
2026-11-23 21:27:13 +00:00
rcourtman
8a99b16d6c docs: correct customer docs that drifted from the source
Audited the customer-facing docs against the code: about 5,200 concrete
claims (env vars, endpoints, flags, defaults, ports, UI labels), plus every
environment variable the code reads. Each discrepancy was re-verified
against the source before editing, and every edit was reviewed again.

What users would have hit following the old text:
- UI paths and labels that no longer exist (Settings > Relay, Platform
  connections, Access Control, SSO Providers, Create Organization) and
  Patrol mode names (now Ask first, Safe auto-fix, Autopilot).
- Wrong values and behaviour: LOG_MAX_AGE=0 does not disable cleanup,
  Patrol evidence budget is 10 calls and 12 turns, ALLOW_UNPROTECTED_EXPORT
  covers private networks too, PULSE_AUDIT_ASYNC defaults on.
- Agent install: install.sh ignores PULSE_ENABLE_KUBERNETES and
  PULSE_ENABLE_PROXMOX, rejects --disable-auto-update, and the token
  fallback lives in the state directory.
- API: audit endpoints answer 402 on Community, onboarding QR is GET,
  type=container is rejected, several routes need admin plus a scope.
- HTTP_REDIRECT_PORT was not documented anywhere.

Docs are mirrored under frontend-modern/public/docs, so each change is
applied to both copies. The tests that pinned the old wording (including
three that asserted claims the code contradicts) are updated alongside.

Contract-Neutral: Customer docs corrected to match shipped behaviour; no runtime, API or contract change.
2026-10-11 13:59:56 +01:00
rcourtman
dc93d0adea Judge adaptive-polling freshness by the scheduler's cadence
When adaptive polling is enabled (ADAPTIVE_POLLING_ENABLED or system.json;
off by default, no UI), the scheduler picks PVE, PBS and PMG intervals
itself and never reads the per-platform ones. A healthy instance's
staleness score is near zero after every success, so its cadence stretches
toward AdaptivePollingMaxInterval (5 minutes by default). Resource
freshness was still derived from the per-platform intervals, with floors of
60s for Proxmox and 120s for PBS and PMG, so healthy rows read stale for
much of every cycle. A live stack with a fake PMG polled 3.5 to 4.3
minutes apart and the row sat degraded with telemetry_stale from two
minutes after each poll until the next one. The PVE node offline grace and
the node temperature carry window derive from the same cadence and lapsed
between polls too.

Monitor.resourcePollIntervals now judges all three sources by the
scheduler's own maximum interval, which bounds every interval it selects.
ResourceStaleThresholdsForConfig reads the same normalized bounds through
a normalizedSchedulerConfig shared with NewAdaptiveScheduler, so callers
without a monitor agree with the one that has it. The same live stack
stayed online for 14 minutes. Fixed-cadence behaviour is unchanged.
Per-instance planned intervals were not used: they are jittered and shrink
as a poll runs late, so a per-source threshold built on them would flap.

The contract note this replaces said freshness keeps deriving from the
per-platform intervals; the user doc now says what adaptive polling does to
freshness and offline detection. The cost is a longer node hold in
adaptive mode (10 minutes with the defaults). A valid /cluster/status
report that a member is offline still applies immediately.
2026-10-10 10:39:42 +01:00
pulse-triage[bot]
ec5c96a290 Keep scheduler diagnostics private and failure-aware
Use one bounded, authenticated snapshot and local queries instead of secret-bearing argv and repeated requests. Preserve configuration precedence and rollback state, and judge successful polls rather than a universal queue-depth threshold. Exercise copied commands with HTTP, transport, schema and credential controls.

Contract-Neutral: Documentation and copied-command tests only; scheduler runtime and API contracts are unchanged.
Change-source: pulse-maintainer
2026-10-03 13:13:21 +01:00
rcourtman
83672a00a8 Harden Operational Trust rollout contracts 2026-07-19 15:11:02 +01:00
rcourtman
c0ac0762da Fix security scan findings
Harden proxy-auth admin role checks, metrics listener exposure, Teams webhook escaping, and dependency lockfiles.
2026-07-01 09:55:35 +01:00
rcourtman
778a2577b6 feat: Pulse v6 release 2026-03-18 16:06:30 +00:00