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
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
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
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
A poll due within seconds and a poll left waiting past its scheduled time can have identical queue counts. Report the oldest queued age in the existing tenant-scoped snapshot and its saved-snapshot queries. Keep future retries, claimed polls, and dead letters out of the age and preserve measured zero separately from older responses.
Change-source: pulse-maintainer
The comparison of two scheduler snapshots drops the saved breaker and dead-letter timing. Show that context beside each connection without counting timing changes or an expired deadline as a finished poll.
Contract-Neutral: Only the scheduler guide and its existing recipe test change. Scheduler Health, polling, retry and alert behaviour are unchanged.
Change-source: pulse-maintainer
Join the two saved snapshots by connection key so an operator can spot which outcomes changed without matching two lists. Preserve partial reads and one-sided rows, and refuse ambiguous input instead of presenting an empty or healthy result.
Contract-Neutral: Changes a repository-only comparison of existing scheduler fields. No API, runtime, alert or rendered Help contract changes.
Change-source: pulse-maintainer
The saved-snapshot query only checks consecutive full failures. A reached connection can record an outstanding partial read with zero consecutive failures. Preserve the whole-failure rows, show both poll and error times with the error category, and leave raw errors and addresses in the private snapshot.
Contract-Neutral: Updates a repository-only read of existing scheduler fields. No runtime, API, alert or rendered Help contract changes.
Change-source: pulse-maintainer
Give operators a bounded result when the read is refused, unavailable, or incomplete. Keep the response and credential private and accept only one valid snapshot from HTTP 200. Explain what the due-soon count measures.
Contract-Neutral: Documents and exercises the existing read-only scheduler response. No runtime, access, API or in-app Help changes.
Change-source: pulse-maintainer
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
Use a 50 ms server poll in the six owned documentation HTTP fixtures, instead of Python’s default 500 ms. Preserve every request, transport and cleanup deadline, response, assertion and adverse control. Check real idle and exceptional teardown for all seven listeners.
Contract-Neutral: Test fixture scheduling and lifecycle assertions only; no product, frontend, documentation, access or deployment contract change.
Change-source: pulse-maintainer
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