**Align Pro runtime switching, License/Relay API, and Map inspector
docs**
- Align docs/PULSE_PRO.md (and its frontend-modern/public/docs/ mirror)
with the shipped in-app Switch this install to Pulse Pro and Switch
this container to Pulse Pro cards (GET /api/updates/pro-runtime,
POST /api/updates/pro-runtime/apply), typed refusal reasons, and
GET /api/license/runtime-capabilities (capabilities vs
blocked_capabilities on Community builds).
- Document GET /api/license/runtime-capabilities,
GET /api/license/entitlements, and GET /api/license/commercial-posture
in docs/API.md (and its mirror) to match
internal/api/router_routes_licensing.go.
- Align docs/RELAY.md (and its mirror) API Reference with all six routes
and admin/authenticated plus relay-entitlement gates in
internal/api/router_routes_ai_relay.go.
- Align the held docs/MAP.md guide (and its mirror, remaining unlinked
while Map is in Build stage) with #5415's zero-shift bottom inspector
bar, priority-ordered anomalies, and preserved touch tap cards.
- Add source-bound documentation verification tests in
scripts/tests/test_license_recovery_docs.py and
scripts/tests/test_relay_and_map_docs.py.
Contract-Neutral: Documentation and documentation-only tests aligned to
existing shipped runtime contracts with no behavioral or subsystem
contract change.
**Fix Relay onboarding auth and scope contract in RELAY.md**
Clarify in docs/RELAY.md (and its frontend-modern/public/docs/ mirror)
that all six Relay and mobile onboarding routes require administrator
access for browser sessions (via RequireAdmin or ensureSettingsReadScope
in internal/api/router_routes_ai_relay.go), while API tokens require an
instance-wide settings:read or settings:write token on
/api/settings/relay* and accept either relay:mobile:access or
settings:read on /api/onboarding/*. Update
scripts/tests/test_relay_and_map_docs.py to verify this contract and
assert Map stays unlinked before release while featureReleases.json is
not at stage released.
Contract-Neutral: Documentation accuracy correction and docs-only test
update aligned to existing shipped router and scope contracts with no
runtime behavior change.
---
Fleet candidate `20261128T225512Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`9aa26db022492ad2acecc5576efac30b046e5cab` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Docs-only pull requests and pushes skip Build and Test's frontend lint
job via scripts/ci_docs_only.py, relying on
.github/workflows/public-docs.yml
to guard public documentation and shipped in-app Help. Previously,
Public
docs omitted four frontend doc-lint audits that only ran under Build and
Test's npm run lint:
- Run the three zero-dependency Node doc audits unconditionally before
the docs recipe shards in Public docs (no actions/setup-node or npm ci
overhead): feature-release-audit.mjs (blocks unreleased build/preview
feature guides from shipped Help and release notes),
external-domain-audit.mjs (blocks fabricated Pulse-branded domains),
and planning-doc-status-audit.mjs (requires explicit Status headers on
docs/*_{SPEC,PLAN,CONTRACT}.md).
- Run npm run lint:shipped-docs-links (added in #5448) inside Public
docs' existing in-app Help check immediately after npm ci so broken
relative repository links, invalid /docs/* routes, and missing heading
anchors fail docs-only PRs before merging.
- Extend scripts/tests/test_public_docs_workflow.py to assert all four
workflow steps and ordering, execute the three zero-dependency audits
against both the live repository and failing/passing temporary git
fixtures, and verify the package.json script binding for
lint:shipped-docs-links.
Contract-Neutral: Extends the Public docs GitHub Actions workflow and
its workflow contract tests to run existing frontend doc-lint audits on
docs-only changes with no runtime, API, schema, or subsystem contract
delta.
---
Fleet candidate `20261128T225257Z-web-product` from the `web-product`
lane. Reviewed tip `9a9e3d310c434420879ad9a92c15542ec4245fd5` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Clarify in docs/RELAY.md (and its frontend-modern/public/docs/ mirror) that all six Relay and mobile onboarding routes require administrator access for browser sessions (via RequireAdmin or ensureSettingsReadScope in internal/api/router_routes_ai_relay.go), while API tokens require an instance-wide settings:read or settings:write token on /api/settings/relay* and accept either relay:mobile:access or settings:read on /api/onboarding/*. Update scripts/tests/test_relay_and_map_docs.py to verify this contract and assert Map stays unlinked before release while featureReleases.json is not at stage released.
Contract-Neutral: Documentation accuracy correction and docs-only test update aligned to existing shipped router and scope contracts with no runtime behavior change.
Change-source: pulse-maintainer
- Align docs/PULSE_PRO.md (and its frontend-modern/public/docs/ mirror)
with the shipped in-app Switch this install to Pulse Pro and Switch
this container to Pulse Pro cards (GET /api/updates/pro-runtime,
POST /api/updates/pro-runtime/apply), typed refusal reasons, and
GET /api/license/runtime-capabilities (capabilities vs
blocked_capabilities on Community builds).
- Document GET /api/license/runtime-capabilities,
GET /api/license/entitlements, and GET /api/license/commercial-posture
in docs/API.md (and its mirror) to match
internal/api/router_routes_licensing.go.
- Align docs/RELAY.md (and its mirror) API Reference with all six routes
and admin/authenticated plus relay-entitlement gates in
internal/api/router_routes_ai_relay.go.
- Align the held docs/MAP.md guide (and its mirror, remaining unlinked
while Map is in Build stage) with #5415's zero-shift bottom inspector
bar, priority-ordered anomalies, and preserved touch tap cards.
- Add source-bound documentation verification tests in
scripts/tests/test_license_recovery_docs.py and
scripts/tests/test_relay_and_map_docs.py.
Contract-Neutral: Documentation and documentation-only tests aligned to existing shipped runtime contracts with no behavioral or subsystem contract change.
Change-source: pulse-maintainer
Docs-only pull requests and pushes skip Build and Test's frontend lint
job via scripts/ci_docs_only.py, relying on .github/workflows/public-docs.yml
to guard public documentation and shipped in-app Help. Previously, Public
docs omitted four frontend doc-lint audits that only ran under Build and
Test's npm run lint:
- Run the three zero-dependency Node doc audits unconditionally before
the docs recipe shards in Public docs (no actions/setup-node or npm ci
overhead): feature-release-audit.mjs (blocks unreleased build/preview
feature guides from shipped Help and release notes),
external-domain-audit.mjs (blocks fabricated Pulse-branded domains),
and planning-doc-status-audit.mjs (requires explicit Status headers on
docs/*_{SPEC,PLAN,CONTRACT}.md).
- Run npm run lint:shipped-docs-links (added in #5448) inside Public
docs' existing in-app Help check immediately after npm ci so broken
relative repository links, invalid /docs/* routes, and missing heading
anchors fail docs-only PRs before merging.
- Extend scripts/tests/test_public_docs_workflow.py to assert all four
workflow steps and ordering, execute the three zero-dependency audits
against both the live repository and failing/passing temporary git
fixtures, and verify the package.json script binding for
lint:shipped-docs-links.
Contract-Neutral: Extends the Public docs GitHub Actions workflow and its workflow contract tests to run existing frontend doc-lint audits on docs-only changes with no runtime, API, schema, or subsystem contract delta.
Change-source: pulse-maintainer
**Align Patrol, Operational Trust, and Unified Resources Help docs**
Fix runtime drift across four shipped Help guides and their mirrored
copies under
frontend-modern/public/docs/:
- docs/AI_AUTONOMY.md: document that local subscription agent CLIs
(codex-subscription, claude-subscription) run 1 investigation at a time
rather than 3 in parallel (GetPatrolInvestigationConcurrency() in
internal/config/ai.go), document the 64-finding critical-first in-memory
deferred queue (maxDeferredInvestigations), and document the
human-session
Autopilot acknowledgement API endpoints
(POST /api/ai/patrol/autonomy/acknowledgements and
DELETE /api/ai/patrol/autonomy/acknowledgements/{id}).
- docs/PATROL_ARCHITECTURE.md: document investigation concurrency limits
and
the in-memory critical-first deferred queue
(internal/ai/patrol_investigation_queue.go).
- docs/OPERATIONAL_TRUST.md: list all ten registered
pulse_operational_trust_*
Prometheus metrics and their bounded label vocabularies from
internal/operationaltrust/metrics.go, including partial_permission on
evidence observations, and reference full metric names in alert
examples.
- docs/UNIFIED_RESOURCES.md: replace the contradictory "upgrading from
platform-specific navigation" description for MIGRATION_UNIFIED_NAV.md
with
its retired historical context matching docs/README.md.
Extend source-bound regression tests in
scripts/tests/test_authentication_diagnostic_docs.py,
scripts/tests/test_production_rollout_docs.py, and
scripts/tests/test_navigation_help_docs.py.
Contract-Neutral: Shipped Help documentation alignment and source-bound
docs unit tests only; no runtime UI, backend API, schema, auth, or
subsystem contract delta.
**Remove semicolons and em dash from updated Help docs prose**
Replace semicolons in docs/AI_AUTONOMY.md and docs/OPERATIONAL_TRUST.md
and
the em dash in docs/UNIFIED_RESOURCES.md (plus their shipped mirrors
under
frontend-modern/public/docs/) to satisfy scripts/check_public_docs.py
diff-mode prose rules.
Contract-Neutral: Punctuation-only cleanup in shipped Help
documentation; no runtime UI, backend API, schema, auth, or subsystem
contract delta.
**Fix evidence metric other label placement in Operational Trust Help**
In internal/operationaltrust/metrics.go, operationalEvidenceMetricState
only emits the seven explicit evidence states and never returns other,
while operationalMetricSource uses boundedMetricLabel and falls back to
other. Move other from state to source in docs/OPERATIONAL_TRUST.md and
its shipped mirror.
Contract-Neutral: Shipped Help documentation accuracy fix only; no
runtime UI, backend API, schema, auth, or subsystem contract delta.
---
Fleet candidate `20261128T222013Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`bc408415ab04658467709d410978bc19368f62e0` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Fix runtime drift across four shipped Help guides and their mirrored copies under
frontend-modern/public/docs/:
- docs/AI_AUTONOMY.md: document that local subscription agent CLIs
(codex-subscription, claude-subscription) run 1 investigation at a time
rather than 3 in parallel (GetPatrolInvestigationConcurrency() in
internal/config/ai.go), document the 64-finding critical-first in-memory
deferred queue (maxDeferredInvestigations), and document the human-session
Autopilot acknowledgement API endpoints
(POST /api/ai/patrol/autonomy/acknowledgements and
DELETE /api/ai/patrol/autonomy/acknowledgements/{id}).
- docs/PATROL_ARCHITECTURE.md: document investigation concurrency limits and
the in-memory critical-first deferred queue
(internal/ai/patrol_investigation_queue.go).
- docs/OPERATIONAL_TRUST.md: list all ten registered pulse_operational_trust_*
Prometheus metrics and their bounded label vocabularies from
internal/operationaltrust/metrics.go, including partial_permission on
evidence observations, and reference full metric names in alert examples.
- docs/UNIFIED_RESOURCES.md: replace the contradictory "upgrading from
platform-specific navigation" description for MIGRATION_UNIFIED_NAV.md with
its retired historical context matching docs/README.md.
Extend source-bound regression tests in
scripts/tests/test_authentication_diagnostic_docs.py,
scripts/tests/test_production_rollout_docs.py, and
scripts/tests/test_navigation_help_docs.py.
Contract-Neutral: Shipped Help documentation alignment and source-bound docs unit tests only; no runtime UI, backend API, schema, auth, or subsystem contract delta.
Change-source: pulse-maintainer
- Fix broken Proxmox Mail Gateway route in docs/MIGRATION_UNIFIED_NAV.md
(/proxmox/mail instead of /proxmox/mail-gateway) and note
platform/Patrol
shortcut visibility gating and search/command-palette shortcuts.
- Align docs/AI_PATROL_QUALIFICATION.md with current Patrol
investigation
concurrency (up to 3 concurrent metered-API investigations, subscription
CLI
clamp to 1, and 64-finding critical-first in-memory deferral queue), add
the
checked-in remediation.docker-unhealthy-restart-autonomous scenario, and
note
the four Proxmox pve-v1 scenarios alongside v1.
- Document the nine registered pulse_hosted_* and pulse_cp_* Prometheus
metrics
and pulse-control-plane /metrics auth defaults (CP_ADMIN_KEY /
CP_PUBLIC_METRICS) in docs/monitoring/PROMETHEUS_METRICS.md.
- Mirror updated shipped docs to frontend-modern/public/docs/ and add
source-bound regression checks in
scripts/tests/test_patrol_qualification_and_metrics_docs.py.
Contract-Neutral: documentation and doc-regression tests only; no
runtime or subsystem contract change
---
Fleet candidate `20261128T214948Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`a2f9f672d8c7d091b6aad9c1db5f3ee7b44c63c7` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Replace removed bg-base guidance in ARCHITECTURE.md (mirrored to
frontend-modern/public/docs/ARCHITECTURE.md) and
frontend-modern/DESIGN_SYSTEM.md with @utility bg-page, Tailwind CSS v4
@theme inline semantic tokens, and the no-DaisyUI constraint.
Update frontend-modern/DESIGN_SYSTEM.md to match current runtime rules:
ESLint coverage across src/features and src/utils, @layer utilities
component classes (.card shadow-xs, .form-select with form-select-arrow,
focus:outline-hidden), full ButtonVariant options from buttonModel.ts,
and Toggle track/knob/disabled classes from toggleModel.ts. Add
source-bound regression checks in
scripts/tests/test_navigation_help_docs.py.
---
Fleet candidate `20261128T211636Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`570c549dde92ecd972eb5557627abbe67652e384` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
- Fix broken Proxmox Mail Gateway route in docs/MIGRATION_UNIFIED_NAV.md
(/proxmox/mail instead of /proxmox/mail-gateway) and note platform/Patrol
shortcut visibility gating and search/command-palette shortcuts.
- Align docs/AI_PATROL_QUALIFICATION.md with current Patrol investigation
concurrency (up to 3 concurrent metered-API investigations, subscription CLI
clamp to 1, and 64-finding critical-first in-memory deferral queue), add the
checked-in remediation.docker-unhealthy-restart-autonomous scenario, and note
the four Proxmox pve-v1 scenarios alongside v1.
- Document the nine registered pulse_hosted_* and pulse_cp_* Prometheus metrics
and pulse-control-plane /metrics auth defaults (CP_ADMIN_KEY /
CP_PUBLIC_METRICS) in docs/monitoring/PROMETHEUS_METRICS.md.
- Mirror updated shipped docs to frontend-modern/public/docs/ and add
source-bound regression checks in
scripts/tests/test_patrol_qualification_and_metrics_docs.py.
Contract-Neutral: documentation and doc-regression tests only; no runtime or subsystem contract change
Change-source: pulse-maintainer
**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.
**Avoid duplicating FAQ Updates stalled warning already landed in
#5445**
PR #5445 (04f4d733de) landed the standalone /api/health Updates stalled
header warning guidance in docs/FAQ.md under 'No data showing?' while
this candidate was in flight from 69a7b12a8e. Restore docs/FAQ.md and
its public mirror to base so merging does not duplicate the warning ten
lines below in the same FAQ section, and keep the remaining API, Reverse
Proxy, Upgrade v6, and Alerting Help alignment and tests intact.
Contract-Neutral: Removes duplicate FAQ documentation block and its
matching test assertions; no runtime UI, backend API, schema, auth, or
subsystem contract delta.
---
Fleet candidate `20261128T210616Z-web-product` from the `web-product`
lane. Reviewed tip `4e1abbf35a979b320a92eb51a92c2e36acd4a8ea` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
PR #5445 (04f4d733de) landed the standalone /api/health Updates stalled header warning guidance in docs/FAQ.md under 'No data showing?' while this candidate was in flight from 69a7b12a8e. Restore docs/FAQ.md and its public mirror to base so merging does not duplicate the warning ten lines below in the same FAQ section, and keep the remaining API, Reverse Proxy, Upgrade v6, and Alerting Help alignment and tests intact.
Contract-Neutral: Removes duplicate FAQ documentation block and its matching test assertions; no runtime UI, backend API, schema, auth, or subsystem contract delta.
Change-source: pulse-maintainer
Replace removed bg-base guidance in ARCHITECTURE.md (mirrored to frontend-modern/public/docs/ARCHITECTURE.md) and frontend-modern/DESIGN_SYSTEM.md with @utility bg-page, Tailwind CSS v4 @theme inline semantic tokens, and the no-DaisyUI constraint.
Update frontend-modern/DESIGN_SYSTEM.md to match current runtime rules: ESLint coverage across src/features and src/utils, @layer utilities component classes (.card shadow-xs, .form-select with form-select-arrow, focus:outline-hidden), full ButtonVariant options from buttonModel.ts, and Toggle track/knob/disabled classes from toggleModel.ts. Add source-bound regression checks in scripts/tests/test_navigation_help_docs.py.
Change-source: pulse-maintainer
Document the newly merged dashboard header Updates stalled warning
(#5439, a46964c894) in docs/FAQ.md (mirrored in
frontend-modern/public/docs/FAQ.md) and
docs/monitoring/METRICS_DATA_FLOW.md,
covering standalone /api/health polling cadence (30s/15s/5s),
websocketStateStalled: true precedence below Reconnecting... and
Disconnected, automatic recovery, Connected scope limits, and hosted or
multi-tenant omission.
Remove the dead /workloads route (reverted in v6.0.0-rc.6) and
preview-only
Standalone VMs (/standalone/vms) reference from
docs/monitoring/METRICS_DATA_FLOW.md, aligning with platform-shaped v6
navigation and release-stage documentation rules.
Document PBS poll-scope shared config read-lock release before
diagnostic
logging (#5430, dd86143f55) in docs/api/SCHEDULER_HEALTH.md and add
source-bound regression checks in
scripts/tests/test_alerting_outage_help_docs.py and
scripts/tests/test_watchdog_help_docs.py.
Contract-Neutral: Updates Help documentation, its shipped FAQ mirror,
and documentation regression tests to match already-merged runtime
behavior without changing product code, APIs, auth, or subsystem
contracts.
---
Fleet candidate `20261128T204615Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`ecd5a98324cb576b2b631b74cedf1f694a23be41` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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
**Drain killed backend task process groups during cleanup**
After sending SIGKILL to each owned task process group, stop_tasks()
only waited on direct subshell leaders (wait "${pids[@]}"). When a
leader had already exited on SIGTERM (or as the failing task) while a
TERM-ignoring or orphaned descendant only just received SIGKILL, the
runner could return before the kernel finished tearing down that
descendant, leaving a live process in state R and failing
test_release_backend_queue.py in Build and Test (run 46185958683,
job 141105938366).
Add wait_for_task_groups() to wait with a bounded 5-second deadline
(re-sending SIGKILL while live non-zombie processes remain in any owned
process group, and ignoring dead/zombie states Z/X/x so unreaped
orphans awaiting init cannot stall cleanup), invoked only when
kill -0 -- "-$pid" reports remaining processes in an owned group.
Add regression tests covering TERM-ignoring descendants after leader
exit, live group draining, and zombie-only groups.
Contract-Neutral: Internal process-group teardown wait and regression
tests in scripts/run-release-backend-tests.sh only; no release gate CLI,
coverage, CPU lease, timeout, or public contract delta.
**Verify /proc matches current PID namespace during cleanup wait**
wait_for_task_groups() checked only os.path.isdir('/proc'), which stays
true inside PID-namespaced sandboxes whose /proc mount still reflects
the host namespace (observed in preflight proof sandbox where
/proc/603/stat raised FileNotFoundError). Verify
os.readlink('/proc/self') == str(os.getpid()) and /proc/<self>/stat
before scanning /proc so wait_for_task_groups falls back to
os.kill(-pgid, 0) instead of silently skipping SIGKILL, assert SIGKILL
termination in the live-group test, and skip only the /proc-dependent
zombie-only subtest when /proc does not match the current PID namespace.
Contract-Neutral: Internal /proc PID-namespace check in
wait_for_task_groups() and matching sandbox guard in
test_release_backend_queue.py only; no release gate CLI, coverage, CPU
lease, timeout, or public contract delta.
---
Fleet candidate `20261128T203514Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`e22b1f3f0968255733103b223ac2c247231742a7` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
wait_for_task_groups() checked only os.path.isdir('/proc'), which stays true inside PID-namespaced sandboxes whose /proc mount still reflects the host namespace (observed in preflight proof sandbox where /proc/603/stat raised FileNotFoundError). Verify os.readlink('/proc/self') == str(os.getpid()) and /proc/<self>/stat before scanning /proc so wait_for_task_groups falls back to os.kill(-pgid, 0) instead of silently skipping SIGKILL, assert SIGKILL termination in the live-group test, and skip only the /proc-dependent zombie-only subtest when /proc does not match the current PID namespace.
Contract-Neutral: Internal /proc PID-namespace check in wait_for_task_groups() and matching sandbox guard in test_release_backend_queue.py only; no release gate CLI, coverage, CPU lease, timeout, or public contract delta.
Change-source: pulse-maintainer
Document the newly merged dashboard header Updates stalled warning
(#5439, a46964c894) in docs/FAQ.md (mirrored in
frontend-modern/public/docs/FAQ.md) and docs/monitoring/METRICS_DATA_FLOW.md,
covering standalone /api/health polling cadence (30s/15s/5s),
websocketStateStalled: true precedence below Reconnecting... and
Disconnected, automatic recovery, Connected scope limits, and hosted or
multi-tenant omission.
Remove the dead /workloads route (reverted in v6.0.0-rc.6) and preview-only
Standalone VMs (/standalone/vms) reference from
docs/monitoring/METRICS_DATA_FLOW.md, aligning with platform-shaped v6
navigation and release-stage documentation rules.
Document PBS poll-scope shared config read-lock release before diagnostic
logging (#5430, dd86143f55) in docs/api/SCHEDULER_HEALTH.md and add
source-bound regression checks in
scripts/tests/test_alerting_outage_help_docs.py and
scripts/tests/test_watchdog_help_docs.py.
Contract-Neutral: Updates Help documentation, its shipped FAQ mirror, and documentation regression tests to match already-merged runtime behavior without changing product code, APIs, auth, or subsystem contracts.
Change-source: pulse-maintainer
PR #5420 (b250914857) updated
frontend-modern/scripts/sync-public-docs.mjs
to sync every mirrored markdown file under frontend-modern/public/docs/
during npm run build, including all four ROOT_SOURCED_DOCS (SECURITY.md,
TERMS.md, ARCHITECTURE.md, CONTRIBUTING.md). Both .dockerignore and the
frontend-builder stages in Dockerfile and
deploy/provider-msp/Dockerfile.control-plane still staged only
SECURITY.md
and TERMS.md, breaking Core E2E image builds (main runs 46184827492 and
46185958697, PR #5439 job 141102369291) and source Docker builds with
ENOENT on /app/ARCHITECTURE.md.
- .dockerignore: allow ARCHITECTURE.md and CONTRIBUTING.md alongside
SECURITY.md and TERMS.md.
- Dockerfile and deploy/provider-msp/Dockerfile.control-plane: copy
ARCHITECTURE.md and CONTRIBUTING.md into /app/ in frontend-builder
before npm run build, preserving the existing COPY SECURITY.md TERMS.md
/app/ line checked by installtests.
- scripts/tests/test_container_packaging.py: add a regression test
verifying .dockerignore and both frontend-builder Dockerfiles stage
every root-sourced doc from scripts/check_docs_mirror.py and executing
frontend-modern/scripts/sync-public-docs.mjs inside the resulting
simulated container layout (with a missing-file negative control).
Contract-Neutral: Build-context and Dockerfile staging repair restoring
container builds after #5420; no public interface or subsystem contract
change.
---
Fleet candidate `20261128T201019Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`5be27bffba55e986a74b4c19a432965e2a42dc92` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
After sending SIGKILL to each owned task process group, stop_tasks()
only waited on direct subshell leaders (wait "${pids[@]}"). When a
leader had already exited on SIGTERM (or as the failing task) while a
TERM-ignoring or orphaned descendant only just received SIGKILL, the
runner could return before the kernel finished tearing down that
descendant, leaving a live process in state R and failing
test_release_backend_queue.py in Build and Test (run 46185958683,
job 141105938366).
Add wait_for_task_groups() to wait with a bounded 5-second deadline
(re-sending SIGKILL while live non-zombie processes remain in any owned
process group, and ignoring dead/zombie states Z/X/x so unreaped
orphans awaiting init cannot stall cleanup), invoked only when
kill -0 -- "-$pid" reports remaining processes in an owned group.
Add regression tests covering TERM-ignoring descendants after leader
exit, live group draining, and zombie-only groups.
Contract-Neutral: Internal process-group teardown wait and regression tests in scripts/run-release-backend-tests.sh only; no release gate CLI, coverage, CPU lease, timeout, or public contract delta.
Change-source: pulse-maintainer
Correct docs/SECURITY_REVIEW.md where it claimed Pulse blocks host SSH
private keys inside containers (runtime warns and still uses an existing
key under strict host-key verification), add Proxmox cluster-peer SSH
sensor reads and landed auth/CSRF/SAML/live-withdrawal boundaries to
docs/SECURITY_REVIEW.md and docs/security-review/AUTH_CREDENTIAL_REVIEW.md,
and document exact Diagnostics caching/caller filtering and instance-admin
Logs scopes, live withdrawal rechecks, allowlisted support-bundle contents,
unscrubbed raw log privacy, and persisted log levels in docs/API.md.
Contract-Neutral: Docs-only alignment of Security Review, Auth Credential Review packet, and Diagnostics/Logs API Help with existing runtime contracts, with mirrored Help copies and source-bound regression tests
Change-source: pulse-maintainer
PR #5420 (b250914857) updated frontend-modern/scripts/sync-public-docs.mjs
to sync every mirrored markdown file under frontend-modern/public/docs/
during npm run build, including all four ROOT_SOURCED_DOCS (SECURITY.md,
TERMS.md, ARCHITECTURE.md, CONTRIBUTING.md). Both .dockerignore and the
frontend-builder stages in Dockerfile and
deploy/provider-msp/Dockerfile.control-plane still staged only SECURITY.md
and TERMS.md, breaking Core E2E image builds (main runs 46184827492 and
46185958697, PR #5439 job 141102369291) and source Docker builds with
ENOENT on /app/ARCHITECTURE.md.
- .dockerignore: allow ARCHITECTURE.md and CONTRIBUTING.md alongside
SECURITY.md and TERMS.md.
- Dockerfile and deploy/provider-msp/Dockerfile.control-plane: copy
ARCHITECTURE.md and CONTRIBUTING.md into /app/ in frontend-builder
before npm run build, preserving the existing COPY SECURITY.md TERMS.md
/app/ line checked by installtests.
- scripts/tests/test_container_packaging.py: add a regression test
verifying .dockerignore and both frontend-builder Dockerfiles stage
every root-sourced doc from scripts/check_docs_mirror.py and executing
frontend-modern/scripts/sync-public-docs.mjs inside the resulting
simulated container layout (with a missing-file negative control).
Contract-Neutral: Build-context and Dockerfile staging repair restoring container builds after #5420; no public interface or subsystem contract change.
Change-source: pulse-maintainer
Document that `pulse-agent --enable-proxmox` discovers online Proxmox VE
cluster peers via `pvesh get /cluster/status` and queries `sensors -j`
over
Proxmox's inter-node root SSH key by default (8s per-peer timeout, 15s
total
budget, `StrictHostKeyChecking=no`, `UserKnownHostsFile=/dev/null`),
explain
the local `--disable-cluster-peer-sensors` /
`PULSE_DISABLE_CLUSTER_PEER_SENSORS=true` opt-out and server-side
sibling
sensor attribution and lease rules, sync the shipped Help mirrors, and
add
source-bound documentation tests.
Contract-Neutral: Documentation and documentation tests only; aligns
public Help and security guidance with existing cluster-peer SSH
temperature runtime without changing runtime contracts or behaviour.
---
Fleet candidate `20261128T191059Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`c40fe16d67f2ef58401814fa1a036ebc318639a6` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Update docs/MULTI_TENANT.md, docs/AUDIT_LOGGING.md, docs/WEBHOOKS.md,
and
their shipped mirrors in frontend-modern/public/docs/ to match current
multi-organization tenant resolution and default-organization access
control
in internal/api/middleware_tenant.go, internal/api/org_access_policy.go,
internal/api/org_handlers.go, and
internal/api/router_routes_licensing.go:
- Replace the outdated claim that default-organization members cannot be
managed with the shipped shared-process policy: default access requires
instance administration or explicit default viewer membership, instance
admins manage default members via POST /api/orgs/default/members and
DELETE /api/orgs/default/members/{userId}, first startup runs the
one-time RBAC viewer migration recorded in
default-org-access-migration.json, and active WebSocket/SSE streams
re-check organization access every 10 seconds.
- Document the actual tenant-context resolution order (X-Pulse-Org-ID,
pulse_org_id browser cookie, single-organization-bound API token,
signed-in user landing organization, then default), 403
default_org_access_denied, and organization-neutral bootstrap routes.
- Add the five registered session-only invitation and incoming-share
routes to the Multi-Tenant API reference table.
- Bind these Help statements and mirrors to live Go source in
scripts/tests/test_admin_docs.py.
Contract-Neutral: Documentation and static doc-parity test alignment
only with no runtime, API, schema, or subsystem contract delta.
---
Fleet candidate `20261128T183535Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`cf05cb42e8ace12f505201fa43fc08c8cf680890` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Document that `pulse-agent --enable-proxmox` discovers online Proxmox VE
cluster peers via `pvesh get /cluster/status` and queries `sensors -j` over
Proxmox's inter-node root SSH key by default (8s per-peer timeout, 15s total
budget, `StrictHostKeyChecking=no`, `UserKnownHostsFile=/dev/null`), explain
the local `--disable-cluster-peer-sensors` /
`PULSE_DISABLE_CLUSTER_PEER_SENSORS=true` opt-out and server-side sibling
sensor attribution and lease rules, sync the shipped Help mirrors, and add
source-bound documentation tests.
Contract-Neutral: Documentation and documentation tests only; aligns public Help and security guidance with existing cluster-peer SSH temperature runtime without changing runtime contracts or behaviour.
Change-source: pulse-maintainer
Update docs/MULTI_TENANT.md, docs/AUDIT_LOGGING.md, docs/WEBHOOKS.md, and
their shipped mirrors in frontend-modern/public/docs/ to match current
multi-organization tenant resolution and default-organization access control
in internal/api/middleware_tenant.go, internal/api/org_access_policy.go,
internal/api/org_handlers.go, and internal/api/router_routes_licensing.go:
- Replace the outdated claim that default-organization members cannot be
managed with the shipped shared-process policy: default access requires
instance administration or explicit default viewer membership, instance
admins manage default members via POST /api/orgs/default/members and
DELETE /api/orgs/default/members/{userId}, first startup runs the
one-time RBAC viewer migration recorded in
default-org-access-migration.json, and active WebSocket/SSE streams
re-check organization access every 10 seconds.
- Document the actual tenant-context resolution order (X-Pulse-Org-ID,
pulse_org_id browser cookie, single-organization-bound API token,
signed-in user landing organization, then default), 403
default_org_access_denied, and organization-neutral bootstrap routes.
- Add the five registered session-only invitation and incoming-share
routes to the Multi-Tenant API reference table.
- Bind these Help statements and mirrors to live Go source in
scripts/tests/test_admin_docs.py.
Contract-Neutral: Documentation and static doc-parity test alignment only with no runtime, API, schema, or subsystem contract delta.
Change-source: pulse-maintainer
**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.
**Remove semicolon in Notifications health API docs**
Replace the semicolon in the GET /api/notifications/health retention
sentence in docs/API.md (and its mirrored Help copy) to satisfy
scripts/check_public_docs.py prose checks.
Contract-Neutral: Documentation prose punctuation fix only with no
runtime, UI, API, or subsystem contract delta.
---
Fleet candidate `20261128T175153Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`b0a8ecb6771a5d39a73c739f0ea8956f80edbb3a` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
**Fix NAS live teardown race and parallelize slow monitoring tests**
1. Keep TestInstallSHNASBootOwnersQuiesceBeforeRecoveryErasure serial at
the top level in scripts/installtests/install_sh_test.go. Commit
63023ca8e3 mistakenly added top-level t.Parallel(), violating the
documented invariant that AgentNASLiveTeardown runs serially before
parallel fixtures. Because AgentNASLiveTeardown inspects the real
machine-wide process table (ps -ax), overlapping with parallel
sibling tests that spawn pulse-agent or shell commands mentioning
start-pulse-agent.sh, autorun.sh, or /boot/config/go caused
read_nas_agent_removal_processes to classify them as unknown and fail
quiesce_nas_agent_for_removal with exit code 1 (Build and Test run
46146982565, job 140987777407). The 22 modelled AgentNASTeardown
subtests remain parallel.
2. Cut Backend tests (rest-0 and rest-1) wall time — the slowest Go
package in Build and Test (~452s in rest-0 and ~379s in rest-1 on
main run 46149511431) — by adding top-level t.Parallel() to 43
audited, global-free slow tests across 17 unclaimed
internal/monitoring/*_test.go files (~345+ serial root test-seconds).
- Many already used t.Parallel() on their subtests (guest agent and
Windows polling contracts, PVE/PBS storage/inventory budget and
response tests, severity delivery, archive writer, and alert replay
tests) without top-level t.Parallel().
- Parallelize the four 15-17s notification restart continuity tests
using isolated t.TempDir() and httptest servers while keeping the
two t.Setenv("PULSE_DATA_DIR") tests serial.
- Parallelize TestPMGBackupReadsAvoidUnrelatedFleetCopy only when
raceEnabled is true (isolated go test -race=false subprocess),
keeping non-race testing.AllocsPerRun strictly serial.
Zero production code, test assertions, or timeout budgets changed.
Contract-Neutral: Test-only scheduling fix for scripts/installtests live
NAS teardown and parallelization of isolated internal/monitoring tests;
no production or subsystem contract changes.
**Speed up Vitest frontend tests via AST partitioning and setup
cleanup**
Cut Frontend unit tests wall time — the slowest required job in Build
and Test
(544-562s on recent Pulse PR runs) — without changing production builds,
runtime source, or per-file test isolation:
- Disable vite-plugin-solid HMR transforms (hot: false) in Vitest mode
and
strip its auto-injected @testing-library/jest-dom/vitest setup entry so
vitest.setup.ts owns conditional jest-dom loading (eliminating jest-dom
setup on pure Node tests and duplicate loading on TSX tests).
- Extract setup-time regex helpers into
frontend-modern/vitest.setup.helpers.ts
so vitest.setup.ts does not import vitest.projects.ts on every test
file, and
skip registering the beforeAll locale-catalog hook when a test file uses
only
English messages.
- Upgrade frontend-modern/vitest.projects.ts with ?raw/?url static asset
recognition and a lazy TypeScript AST export-reachability fallback that
ignores prose comments and follows only imported symbols while
conservatively
propagating ES module top-level initialization and DOM package/global
edges.
This moves 168 additional provably DOM-free .test.ts files from jsdom to
node
(465 -> 633 of 940 .test.ts files; 632 passed, 1 skipped, 13,804 tests).
- Add unit tests in vitestProjects.test.ts covering static asset
queries, prose
comments, export-level DOM reachability, module-init propagation, and
stripSolidAutoJestDom.
Contract-Neutral: Test-runner configuration, environment partitioning,
and test-helper unit tests only; production frontend builds, SRI, bundle
budgets, runtime behavior, and test assertions are unchanged.
**Raise lifecycle pulse-agent build timeout for contended CI shards**
PR #5419 (run 46167305741) failed Backend tests (rest-1) twice on
attempts 141049444349 and 141057010855 with:
install_sh_test.go:9828: build pulse-agent lifecycle binary: signal:
killed
context deadline exceeded (180.04s)
Backend CI restores -race build objects, not plain non-race objects.
Cold plain compilation of ./cmd/pulse-agent needs ~250 CPU-seconds
(scripts/run-release-backend-tests.sh), which exceeds 3 minutes when
rest-1 runs internal/monitoring, internal/alerts, cmd/pulse-agent, and
scripts/installtests concurrently on a 4-vCPU runner. Because
newLifecycleBinaryFixture caches the first build result via
sync.OnceValues, that timeout failed every subsequent lifecycle test in
the shard.
Raise lifecycleAgentFixture's bounded build deadline from 3 minutes to
10 minutes while preserving the real exact-source compilation, per-test
executable copies, and fail-closed caching.
Contract-Neutral: Test-only fixture build deadline adjustment in
scripts/installtests; production code, installer behavior, and test
assertions are unchanged.
---
Fleet candidate `20261128T173925Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`25457f31e77730dd435e78169289cbd74b2cc16c` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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
PR #5419 (run 46167305741) failed Backend tests (rest-1) twice on
attempts 141049444349 and 141057010855 with:
install_sh_test.go:9828: build pulse-agent lifecycle binary: signal: killed
context deadline exceeded (180.04s)
Backend CI restores -race build objects, not plain non-race objects.
Cold plain compilation of ./cmd/pulse-agent needs ~250 CPU-seconds
(scripts/run-release-backend-tests.sh), which exceeds 3 minutes when
rest-1 runs internal/monitoring, internal/alerts, cmd/pulse-agent, and
scripts/installtests concurrently on a 4-vCPU runner. Because
newLifecycleBinaryFixture caches the first build result via
sync.OnceValues, that timeout failed every subsequent lifecycle test in
the shard.
Raise lifecycleAgentFixture's bounded build deadline from 3 minutes to
10 minutes while preserving the real exact-source compilation, per-test
executable copies, and fail-closed caching.
Contract-Neutral: Test-only fixture build deadline adjustment in scripts/installtests; production code, installer behavior, and test assertions are unchanged.
Change-source: pulse-maintainer
Bring in reviewed commit bf396dfc60 from maintainer/20261128T140410Z-delivery-trust onto current main (b250914857), which carries #5414's fix for src/utils/__tests__/docsLinks.test.ts (the sole failure in PR #5410 run 46158110488, jobs 141023246125 and 141047042579; all backend checks passed).
Contract-Neutral: Merge of previously reviewed test-only scheduling and monitoring parallelization onto current main; no production behavior or subsystem contract changes.
Change-source: pulse-maintainer
Document recently merged monitoring and stale-telemetry runtime behavior
in unclaimed public and in-app Help guides:
- docs/FAQ.md and docs/UNIFIED_RESOURCES.md (with byte-for-byte mirrors
under frontend-modern/public/docs/): document GuestDrawer stale
primary-provider metric deferral into inline History last-known values
(keeping live linked-agent disk readings current when disksFromAgent is
active) and static total disk capacity preservation (<total> disk) from
#5391 (13e38a9f3d), and add the missing stable Machines
(/standalone/machines) stale Pulse Agent telemetry summary to FAQ
"No data showing?" (c4981ed295) while keeping preview-only
standaloneVms out of stable guides.
- docs/api/SCHEDULER_HEALTH.md and
docs/monitoring/PROMETHEUS_METRICS.md:
document retired running-poll slot release without successor cadence
reads (#5399) and lock-free Proxmox offline-grace, cache expiry, and
History expiry logging plus non-blocking tombstone expiry deferral
(#5382, #5394, #5403, 76b8427c39).
- scripts/tests/test_stale_reading_help_docs.py and
scripts/tests/test_watchdog_help_docs.py: bind the updated Help prose
to live frontend and Go source markers.
Contract-Neutral: Documentation, Help-mirror, and doc-regression test
alignment only with no runtime, UI, API, or subsystem contract delta.
---
Fleet candidate `20261128T170729Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`6c1ad647820ff5e07b6747c1b7a18fcc4c96a6f5` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Document recently merged monitoring and stale-telemetry runtime behavior
in unclaimed public and in-app Help guides:
- docs/FAQ.md and docs/UNIFIED_RESOURCES.md (with byte-for-byte mirrors
under frontend-modern/public/docs/): document GuestDrawer stale
primary-provider metric deferral into inline History last-known values
(keeping live linked-agent disk readings current when disksFromAgent is
active) and static total disk capacity preservation (<total> disk) from
#5391 (13e38a9f3d), and add the missing stable Machines
(/standalone/machines) stale Pulse Agent telemetry summary to FAQ
"No data showing?" (c4981ed295) while keeping preview-only
standaloneVms out of stable guides.
- docs/api/SCHEDULER_HEALTH.md and docs/monitoring/PROMETHEUS_METRICS.md:
document retired running-poll slot release without successor cadence
reads (#5399) and lock-free Proxmox offline-grace, cache expiry, and
History expiry logging plus non-blocking tombstone expiry deferral
(#5382, #5394, #5403, 76b8427c39).
- scripts/tests/test_stale_reading_help_docs.py and
scripts/tests/test_watchdog_help_docs.py: bind the updated Help prose
to live frontend and Go source markers.
Contract-Neutral: Documentation, Help-mirror, and doc-regression test alignment only with no runtime, UI, API, or subsystem contract delta.
Change-source: pulse-maintainer
Document two recently landed runtime behaviors in public and in-app Help
guides and guard them with source-bound tests:
- CSRF lifecycle (#5398): document the 4-hour server-side CSRF token TTL
(up to 8 active tokens per session), the 3h55m pulse_csrf browser
cookie MaxAge cap (or shorter session duration), automatic GET /api/*
refresh of missing/empty/invalid/expired cookies for live sessions,
and 30-minute proactive rotation coalesced over a 30-second window in
SECURITY.md, docs/API.md, and docs/PRODUCTION_SECURITY.md.
- Unraid boot preflight (#5404): document the read-only /boot/config/go
preflight check before stopping running Unraid agents, non-secret
refusal reasons (including expected launch line, prior staging
directories, missing trailing newline, and 1 MiB limit), and write-
phase recovery preservation in docs/UNIFIED_AGENT.md.
Mirror all four guides to frontend-modern/public/docs/ and add
source-bound assertions in scripts/tests/test_public_docs_claims.py.
Contract-Neutral: Documentation and source-bound tests aligning Help guides with landed #5398 CSRF lifecycle and #5404 Unraid preflight runtime behavior with no runtime, API, or UI contract changes
Change-source: pulse-maintainer
Document agent command-session identity fencing, organization scoping,
10-second WebSocket write deadlines, and default read-only command
confinement (symlink-safe /var/log reads via /dev/fd, guest log
approval,
pvesh get allowlist, and docker/podman format-template checks) in
docs/AGENT_SECURITY.md and its public mirror.
Document Patrol dismissal/resolution note authority, tool-output
redaction without action-execution authority, AI provider base-URL
credential re-entry, and caller-scoped Assistant sessions in docs/AI.md,
docs/ASSISTANT_SAFETY.md, and their public mirrors, backed by
source-bound checks in scripts/tests/test_public_docs_claims.py.
Contract-Neutral: Public Help documentation and doc-claim test alignment
for already-shipped runtime security rules from Pulse #5077 with no
runtime, API, or subsystem contract changes.
---
Fleet candidate `20261128T153502Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`2b0c64fc6d41b890e7473e40836020a8053b7713` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Keep real watchdog and collector process rows in both startup and
teardown, without allowing unrelated same-name shells to veto the test
or become signal targets. Preserve an observer row after the fixture
group exits and report fixture-only exit and boot state on failure.
Contract-Neutral: Test-only process inventory isolation; the shipped
installer, ownership checks, deadlines, and native removal contract are
unchanged.
---
Fleet candidate `20261128T141004Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `ca5ec63d249cd7f6bc124b762d7691f03f0b960f` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
## Summary
Prevents Unraid agent updates from killing the running `pulse-agent`
before discovering that `/boot/config/go` cannot be updated, and reports
the specific non-secret reason why `/boot/config/go` was rejected.
### Problem
- `scripts/install.sh` stopped the running Unraid watchdog and agent
before calling `write_unraid_go_entry`.
- When `/boot/config/go` held a hand-edited launch line (for example
`setsid -f bash ...`), a missing trailing newline, or a prior
`go.pulse-setup.*` staging directory, `write_unraid_go_entry` returned
`1` silently with no explanation, left a new `go.pulse-setup.*`
directory behind, and exited with the agent stopped.
### Changes
- Added a read-only `preflight` mode to `write_unraid_go_entry` in
`scripts/install.sh` that runs the same validation in a temporary
directory without touching `/boot/config` or leaving orphan
`go.pulse-setup.*` directories.
- Invoked `write_unraid_go_entry ... preflight` before stopping existing
Unraid agents so an unreconciled `/boot/config/go` exits early with the
live agent untouched.
- Recorded fixed, non-secret refusal reasons in
`UNRAID_GO_FAILURE_REASON` (including the expected launch line when an
unrecognized Pulse Agent entry is found) and surfaced them in the
failure message.
- Added regression tests in `scripts/installtests/unraid_go_update.py`.
### Verification
- `bash -n scripts/install.sh`
- `python3 scripts/installtests/unraid_go_update.py -v`
- `python3 scripts/installtests/agent_nas_teardown.py -v`
- `go test -v -count=1 ./scripts/installtests -run 'Unraid|NAS'`
## Summary
Fixes `CSRF token validation failed` errors on non-replayed (`retry:
false`) mutations (such as clicking **Generate command** in the remote
commands dialog) after a browser session has been open for more than 4
hours.
### Root Cause
- `CSRFTokenStore` expires server-side tokens after 4 hours, while
`pulse_csrf` cookies were issued with a 24-hour (or 30-day Remember Me)
`MaxAge`.
- `GET /api/*` middleware only issued a `pulse_csrf` cookie when the
cookie was missing, never when an existing cookie was expired or
invalid.
- Because the stale cookie remained in `document.cookie`, `apiClient`
never called `ensureCSRFToken()`, and `retry: false` mutations surfaced
the 403 directly on the first attempt.
### Changes
- Added `csrfTokenTTL` (4h), `csrfCookieMaxAgeSeconds` (3h55m), and
`csrfCookieMaxAge(sessionDuration)` so every `pulse_csrf` cookie expires
slightly before the server-side token (or matches shorter session
durations).
- Updated `GET /api/*` middleware in `internal/api/router.go` to refresh
missing, empty, invalid, or expired `pulse_csrf` cookies for live
sessions, and to proactively rotate valid cookies with less than 30
minutes remaining (coalesced across a 30-second window via
`HasRecentToken` so concurrent page-load GETs mint at most one
replacement token).
- Added unit and middleware regression tests in `csrf_store_test.go`,
`security_test.go`, and `router_csrf_middleware_test.go`.
### Verification
- `go test -v -count=1 ./internal/api -run
'TestCSRF|TestCSRFCookie|TestIssueNewCSRFCookie|TestClearCSRFCookie|TestRouter.*CSRF|TestCheckCSRF'`
- `go test -race -count=1 ./internal/api -run
'TestCSRFTokenStore|TestRouter.*CSRF|TestIssueNewCSRFCookie|TestCSRFCookieMaxAge'`
- `go test -count=1 ./internal/api -run
'Test.*Login|Test.*SAML|Test.*MagicLink|Test.*CloudHandoff|Test.*BasicAuth|Test.*SecuritySetup'`
- `go vet ./internal/api/...`
Document agent command-session identity fencing, organization scoping,
10-second WebSocket write deadlines, and default read-only command
confinement (symlink-safe /var/log reads via /dev/fd, guest log approval,
pvesh get allowlist, and docker/podman format-template checks) in
docs/AGENT_SECURITY.md and its public mirror.
Document Patrol dismissal/resolution note authority, tool-output
redaction without action-execution authority, AI provider base-URL
credential re-entry, and caller-scoped Assistant sessions in docs/AI.md,
docs/ASSISTANT_SAFETY.md, and their public mirrors, backed by
source-bound checks in scripts/tests/test_public_docs_claims.py.
Contract-Neutral: Public Help documentation and doc-claim test alignment for already-shipped runtime security rules from Pulse #5077 with no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
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.
---
Fleet candidate `20261128T142459Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`f3a5d799630f4e2d13bae52f7a4f76ebfe406752` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Document two recently merged runtime capabilities in shipped Help and
API
reference guides:
- Document drawer History click-and-drag brush zoom, Escape
cancellation,
double-click and Reset zoom controls, paused 30-second live polling
while
zoomed, and the keyboard-accessible Select time window editor (including
DST offset disambiguation) in docs/METRICS_HISTORY.md.
- Document GET /api/metrics-store/history exact custom window start and
end
Unix-millisecond query parameters, mutual exclusivity with range, bounds
validation (1s to 365d, non-future end, HTTP 400 on invalid inputs), and
custom response fields in docs/METRICS_HISTORY.md and docs/API.md.
- Document upgrade readiness checks (Update blocked, Review checks,
upgrade
warnings, Upgrade checks panel, and Install blocked) in the global
update
banner and Confirm Update dialog in docs/AUTO_UPDATE.md.
- Sync mirrors under frontend-modern/public/docs/ and add runtime-backed
regression tests in scripts/tests/test_navigation_help_docs.py.
Contract-Neutral: Documentation, shipped Help mirror, and doc regression
test updates describing already-landed runtime behaviour (#5335 and
#5393) with no runtime, API, or subsystem contract changes.
---
Fleet candidate `20261128T140410Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`7fcfbee5b856ea80c005f6f6c4270d803d98d9b8` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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
1. Keep TestInstallSHNASBootOwnersQuiesceBeforeRecoveryErasure serial at
the top level in scripts/installtests/install_sh_test.go. Commit
63023ca8e3 mistakenly added top-level t.Parallel(), violating the
documented invariant that AgentNASLiveTeardown runs serially before
parallel fixtures. Because AgentNASLiveTeardown inspects the real
machine-wide process table (ps -ax), overlapping with parallel
sibling tests that spawn pulse-agent or shell commands mentioning
start-pulse-agent.sh, autorun.sh, or /boot/config/go caused
read_nas_agent_removal_processes to classify them as unknown and fail
quiesce_nas_agent_for_removal with exit code 1 (Build and Test run
46146982565, job 140987777407). The 22 modelled AgentNASTeardown
subtests remain parallel.
2. Cut Backend tests (rest-0 and rest-1) wall time — the slowest Go
package in Build and Test (~452s in rest-0 and ~379s in rest-1 on
main run 46149511431) — by adding top-level t.Parallel() to 43
audited, global-free slow tests across 17 unclaimed
internal/monitoring/*_test.go files (~345+ serial root test-seconds).
- Many already used t.Parallel() on their subtests (guest agent and
Windows polling contracts, PVE/PBS storage/inventory budget and
response tests, severity delivery, archive writer, and alert replay
tests) without top-level t.Parallel().
- Parallelize the four 15-17s notification restart continuity tests
using isolated t.TempDir() and httptest servers while keeping the
two t.Setenv("PULSE_DATA_DIR") tests serial.
- Parallelize TestPMGBackupReadsAvoidUnrelatedFleetCopy only when
raceEnabled is true (isolated go test -race=false subprocess),
keeping non-race testing.AllocsPerRun strictly serial.
Zero production code, test assertions, or timeout budgets changed.
Contract-Neutral: Test-only scheduling fix for scripts/installtests live NAS teardown and parallelization of isolated internal/monitoring tests; no production or subsystem contract changes.
Change-source: pulse-maintainer
On Unraid upgrades, install.sh previously stopped the running pulse-agent watchdog and binary before calling write_unraid_go_entry. When /boot/config/go contained a custom or unrecognized Pulse Agent line (such as a hand-edited setsid launch), a prior staging directory, or a missing trailing newline, write_unraid_go_entry returned 1 silently, left an empty go.pulse-setup.* staging directory behind, and exited with the live agent stopped.
Add a read-only preflight mode to write_unraid_go_entry and invoke it before stopping existing agents:
- Validates /boot/config/go in a temporary directory without mutating /boot/config or leaving a blocking go.pulse-setup.* staging directory on pure validation refusal.
- Sets a fixed, non-secret UNRAID_GO_FAILURE_REASON describing why the boot file was rejected (for example, a custom or unrecognized Pulse Agent entry with the expected line, a prior recovery directory, or a missing trailing newline) and includes it in the error message.
- Keeps the existing agent running if /boot/config/go cannot be updated cleanly, while retaining all existing write-mode staging, verification, and recovery-preservation guarantees.
Contract-Neutral: Add read-only preflight check before stopping Unraid agents and report non-secret refusal reasons from write_unraid_go_entry without changing Unraid boot replacement admission or recovery boundaries
Document shipped SAML 2.0 setup, SP Metadata and ACS endpoints, SAML
Test scope, optional AuthnRequest signing, 10-minute browser-cookie
request binding, SameSite ACS repost handling, IdP-initiated SSO risk,
Single Logout boundaries, and SAML error codes in docs/OIDC.md. Note
SAML's saml_role_assignment audit event alongside OIDC in docs/RBAC.md,
document Strict-Transport-Security and upgrade-insecure-requests on
HTTPS responses in SECURITY.md, sync their shipped Help mirrors, and
add source-bound regression checks in test_oidc_session_docs.py.
Contract-Neutral: Documentation and regression-test alignment only; no
runtime, API, security, or UI contract changes.
---
Fleet candidate `20261128T131025Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`ffbc0d4f97b127e625c32cd3a90011b2581d49eb` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Keep real watchdog and collector process rows in both startup and teardown, without allowing unrelated same-name shells to veto the test or become signal targets. Preserve an observer row after the fixture group exits and report fixture-only exit and boot state on failure.
Contract-Neutral: Test-only process inventory isolation; the shipped installer, ownership checks, deadlines, and native removal contract are unchanged.
Change-source: pulse-maintainer
Document two recently merged runtime capabilities in shipped Help and API
reference guides:
- Document drawer History click-and-drag brush zoom, Escape cancellation,
double-click and Reset zoom controls, paused 30-second live polling while
zoomed, and the keyboard-accessible Select time window editor (including
DST offset disambiguation) in docs/METRICS_HISTORY.md.
- Document GET /api/metrics-store/history exact custom window start and end
Unix-millisecond query parameters, mutual exclusivity with range, bounds
validation (1s to 365d, non-future end, HTTP 400 on invalid inputs), and
custom response fields in docs/METRICS_HISTORY.md and docs/API.md.
- Document upgrade readiness checks (Update blocked, Review checks, upgrade
warnings, Upgrade checks panel, and Install blocked) in the global update
banner and Confirm Update dialog in docs/AUTO_UPDATE.md.
- Sync mirrors under frontend-modern/public/docs/ and add runtime-backed
regression tests in scripts/tests/test_navigation_help_docs.py.
Contract-Neutral: Documentation, shipped Help mirror, and doc regression test updates describing already-landed runtime behaviour (#5335 and #5393) with no runtime, API, or subsystem contract changes.
Change-source: pulse-maintainer
Server-side CSRF tokens expire after 4 hours in CSRFTokenStore, while pulse_csrf browser cookies were issued with a 24-hour or 30-day MaxAge. On GET /api/*, the router only issued a cookie when pulse_csrf was missing and never checked whether an existing cookie had expired or become invalid.
Once a session passed the 4-hour mark, browsers kept sending the expired pulse_csrf cookie across page loads and GET requests without triggering apiClient's ensureCSRFToken fallback. Non-replayed mutations (retry: false), such as generating a host agent install command, then failed on the first click with 403 CSRF token validation failed.
Fix both halves of the lifecycle:
- Bound pulse_csrf cookie MaxAge across all session and CSRF issuance sites to 3h55m (5 minutes below the 4-hour server TTL, or the session duration when shorter) so idle tabs drop stale cookies before server expiry.
- Refresh missing, empty, or invalid/expired pulse_csrf cookies on GET /api/* for live sessions, and proactively rotate still-valid cookies within 30 minutes of expiry (coalesced over a 30-second window so parallel page-load GETs mint at most one replacement token).
Contract-Neutral: Bug fix aligning pulse_csrf cookie MaxAge with the 4-hour server CSRF token TTL and refreshing expired or near-expiry CSRF cookies on GET /api/* for live sessions, keeping all CSRF admission, 8-token bound, hash-only storage, and retry: false contracts unchanged
Document all nine additional live emitted audit event types
(config_exported, config_imported, config_auto_import, node_added,
node_updated, node_deleted, websocket_multitenant_access_denied,
websocket_org_access_denied, and audit_cleanup), SQLite 90-day default
retention and 24-hour cleanup cadence, audit export format/verification
and CSV formula-neutralisation bounds, and HTTP 400/404/501/503 store
contention and unavailability responses across docs/AUDIT_LOGGING.md,
docs/API.md, their shipped mirrors, and source-bound doc tests.
Contract-Neutral: Documentation and documentation-test alignment with
existing audit runtime behaviour; no runtime, API, schema, or UI
contract changes.
---
Fleet candidate `20261128T123427Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`4f8424f868cb303bd3e69475c8e4b65bf9039efe` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)