Commit Graph

3791 Commits

Author SHA1 Message Date
pulse-triage[bot]
bd26eb6549 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.
Change-source: pulse-maintainer
2026-11-28 23:11:35 +00:00
pulse-triage[bot]
14fb1e0e6c Align Unified Nav, Patrol Qualification, and Prometheus docs (#5449)
- 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)
2026-11-28 22:35:00 +00:00
pulse-triage[bot]
80a8533e11 Align Architecture and Design System docs with Tailwind v4 tokens (#5447)
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)
2026-11-28 22:06:30 +00:00
pulse-triage[bot]
a2f9f672d8 Align Unified Nav, Patrol Qualification, and Prometheus docs
- 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
2026-11-28 22:00:36 +00:00
pulse-triage[bot]
31930593e3 Align dashboard Updates stalled header warning across shipped Help docs (#5446)
**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)
2026-11-28 21:51:14 +00:00
pulse-triage[bot]
4e1abbf35a 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.
Change-source: pulse-maintainer
2026-11-28 21:29:37 +00:00
pulse-triage[bot]
570c549dde Align Architecture and Design System docs with Tailwind v4 tokens
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
2026-11-28 21:28:57 +00:00
pulse-triage[bot]
04f4d733de Align FAQ, Data Flow, and Scheduler Health Help with stalled warnings (#5445)
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)
2026-11-28 21:21:46 +00:00
pulse-triage[bot]
41e65fbbc2 Align dashboard Updates stalled header warning across shipped Help docs
PR #5439 added authenticated GET /api/health polling in useAppRuntimeState.ts
and surfaced an always-visible amber "Updates stalled" header warning badge
when websocketStateStalled: true holds (alongside "Waiting for data" before the
first snapshot arrives), while none of the shipped Help guides yet explained
those header states or distinguished them from proxy upgrade failures and a
green Connected badge.

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

Contract-Neutral: Shipped Help documentation and its unit/consistency tests only; no runtime UI, backend API, schema, auth, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 21:18:28 +00:00
pulse-triage[bot]
d11aff19e7 Drain killed backend task process groups during cleanup (#5443)
**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)
2026-11-28 21:17:19 +00:00
pulse-triage[bot]
e22b1f3f09 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.
Change-source: pulse-maintainer
2026-11-28 20:56:32 +00:00
pulse-triage[bot]
ecd5a98324 Align FAQ, Data Flow, and Scheduler Health Help with stalled warnings
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
2026-11-28 20:55:45 +00:00
pulse-triage[bot]
b958558f2e Stage all root-sourced mirrored docs in Docker frontend builds (#5440)
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)
2026-11-28 20:50:38 +00:00
pulse-triage[bot]
2726cc332e 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.
Change-source: pulse-maintainer
2026-11-28 20:46:05 +00:00
pulse-triage[bot]
e0a8e5d1d3 Align Security Review, Auth Review Packet, and Diagnostics/Logs API Help
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
2026-11-28 20:29:01 +00:00
pulse-triage[bot]
5be27bffba Stage all root-sourced mirrored docs in Docker frontend builds
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
2026-11-28 20:27:29 +00:00
pulse-triage[bot]
121f890c77 Align Temperature and Agent Security Help with cluster peer SSH runtime (#5438)
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)
2026-11-28 20:08:41 +00:00
pulse-triage[bot]
11d018f47a Align Multi-Tenant, Audit, and Webhook Help with tenant access policy (#5435)
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)
2026-11-28 19:24:59 +00:00
pulse-triage[bot]
c40fe16d67 Align Temperature and Agent Security Help with cluster peer SSH runtime
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
2026-11-28 19:22:44 +00:00
pulse-triage[bot]
cf05cb42e8 Align Multi-Tenant, Audit, and Webhook Help with tenant access policy
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
2026-11-28 18:51:15 +00:00
pulse-triage[bot]
ee79d9ac6a Align Alerting and Notifications API Help with delivery health UI (#5431)
**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)
2026-11-28 18:48:48 +00:00
pulse-triage[bot]
88b0f70c62 Fix NAS live teardown race and parallelize slow monitoring tests (#5428)
**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)
2026-11-28 18:43:14 +00:00
pulse-triage[bot]
885c8808f2 Align Alerting and Notifications API Help with delivery health UI
Document the notification delivery health breakdown, live queue counts,
unavailable-status semantics, recovery controls, and alert status
banners in unclaimed public and in-app Help guides:

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

Contract-Neutral: Documentation, Help-mirror, and doc-regression test alignment only with no runtime, UI, API, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 18:05:15 +00:00
pulse-triage[bot]
25457f31e7 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.
Change-source: pulse-maintainer
2026-11-28 17:49:01 +00:00
pulse-triage[bot]
c4e59f96ee Merge returned PR #5410 monitoring parallelization onto main
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
2026-11-28 17:48:14 +00:00
pulse-triage[bot]
2c70d1b6ae Align GuestDrawer, Machines, and scheduler Help with runtime (#5425)
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)
2026-11-28 17:45:43 +00:00
pulse-triage[bot]
6c1ad64782 Align GuestDrawer, Machines, and scheduler Help with runtime
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
2026-11-28 17:19:52 +00:00
pulse-triage[bot]
6e9f9a69e1 Align CSRF cookie lifecycle and Unraid boot preflight Help with runtime
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
2026-11-28 16:48:58 +00:00
pulse-triage[bot]
b9432caa15 Align Agent Security, AI, and Assistant Safety Help with runtime (#5416)
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)
2026-11-28 16:24:50 +00:00
pulse-triage[bot]
2dea9fea2e Isolate native NAS teardown fixtures from unrelated process groups (#5407)
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)
2026-11-28 16:20:51 +00:00
rcourtman
0e9742999a Preflight Unraid boot file before stopping agent and report reason (#5404)
## 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'`
2026-11-28 16:19:44 +00:00
rcourtman
81df19aade Refresh expired CSRF cookies on GET and cap cookie MaxAge (#5398)
## 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/...`
2026-11-28 16:06:00 +00:00
pulse-triage[bot]
2b0c64fc6d Align Agent Security, AI, and Assistant Safety Help with runtime
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
2026-11-28 15:52:01 +00:00
pulse-triage[bot]
b234aeba13 Align Alerting, Webhooks, and Scheduler Help with runtime (#5409)
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)
2026-11-28 15:41:47 +00:00
pulse-triage[bot]
a453fe365f Align History zoom, custom window, and upgrade banner Help with runtime (#5405)
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)
2026-11-28 14:48:18 +00:00
pulse-triage[bot]
f3a5d79963 Align Alerting, Webhooks, and Scheduler Help with runtime
Document existing notification delivery contracts in ALERTING.md and
WEBHOOKS.md (outbound HTTP_PROXY/HTTPS_PROXY bypass for DNS-pinned SSRF
protection on alert webhooks and Apprise HTTP, 30s/10s webhook timeouts,
10/min per-URL webhook rate limiting, Apprise 5-120s timeout bounds and
CLI flag stripping, SMTP 60/min default rate limit, AUTH LOGIN fallback,
RFC 5322 incident email threading, and the 2,048-character external
watchdog URL cap), and align ALERTING.md, ADAPTIVE_POLLING.md, and
ADAPTIVE_POLLING_ROLLOUT.md with #5399 retired poll slot release without
successor planning. Add source-bound documentation verification tests.

Contract-Neutral: Documentation and documentation-test alignment with existing shipped monitoring and notification runtime contracts; no runtime behavior, API schema, or UI state changes.
Change-source: pulse-maintainer
2026-11-28 14:38:14 +00:00
pulse-triage[bot]
bf396dfc60 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.
Change-source: pulse-maintainer
2026-11-28 14:36:44 +00:00
rcourtman
f965314eaa Preflight Unraid boot file before stopping agent and report reason
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
2026-11-28 14:20:40 +00:00
pulse-triage[bot]
ccd24be3ec Align SAML 2.0 SSO, RBAC, and HSTS Help with runtime (#5401)
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)
2026-11-28 14:20:32 +00:00
pulse-triage[bot]
ca5ec63d24 Isolate native NAS teardown fixtures from unrelated process groups
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
2026-11-28 14:15:45 +00:00
pulse-triage[bot]
7fcfbee5b8 Align History zoom, custom window, and upgrade banner Help with runtime
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
2026-11-28 14:12:49 +00:00
rcourtman
1b405c35d6 Refresh expired CSRF cookies on GET and cap cookie MaxAge
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
2026-11-28 14:12:31 +00:00
pulse-triage[bot]
ffbc0d4f97 Align SAML 2.0 SSO, RBAC, and HSTS Help with runtime
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.
Change-source: pulse-maintainer
2026-11-28 13:39:09 +00:00
pulse-triage[bot]
4bcad70736 Align Audit Logging and Audit API Help with runtime (#5395)
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)
2026-11-28 13:19:55 +00:00
pulse-triage[bot]
c9e7c2d8b8 Align Webhooks and Patrol investigation Help with runtime (#5392)
Document live webhook delivery and Patrol investigation bounds across
unclaimed Help guides and add source-bound regression tests:

- docs/WEBHOOKS.md (+ mirror): document X-RateLimit-Reset-After on HTTP
  429 within the 1-second to 15-minute cap, exact HTTP status-to-failure
  class mappings (401/403/407 authentication, 402 configuration, 408/421
  connectivity, 423/425/5xx server_error, 429 rate_limited, other 4xx
  rejected), immediate non-retryable TLS handling across webhooks,
email/SMTP, and Apprise with no Skip TLS Verify toggle on webhook/email
  destinations, and the 1 MiB response-body drain cap
  (WebhookMaxResponseSize).
- docs/AI.md (+ mirror): align Patrol Investigation Configuration with
  subscription-CLI defaults (25 min timeout, concurrency 1), the
  60-1,800s timeout clamp, and the 20-minute fix-retry cooldown; add the
  four remaining live InvestigationOutcome values (fix_rejected,
  fix_verification_unknown, unclassified, interrupted).
- docs/PATROL_ARCHITECTURE.md (+ mirror): document investigation turn
  stream-idle timeouts (60s streaming, 4m buffered Codex/Claude CLIs,
  preserved on ensureFinalTextResponse), remaining-deadline summary
  budget, conclusion reserve, 4,096-token output-limit recovery pass,
  and recoverStuckInvestigations (5-minute grace window, interrupted vs
  timed_out session/finding reconciliation).
- scripts/tests/test_notification_troubleshooting_docs.py and
  scripts/tests/test_authentication_diagnostic_docs.py: pin all added
  bounds and enumerations directly against live Go source.

Contract-Neutral: Documentation and doc-verification test alignment with
existing runtime behaviour; no code, API, or subsystem contract changes

---
Fleet candidate `20261128T120730Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`dc5386db43a56e35fdc9e9bd31e41925d476384d` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 12:48:07 +00:00
pulse-triage[bot]
4f8424f868 Align Audit Logging and Audit API Help with runtime
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.
Change-source: pulse-maintainer
2026-11-28 12:46:40 +00:00
pulse-triage[bot]
27979496dc Align Upgrade readiness and Agent telemetry Help with runtime (#5389)
Document runtime upgrade-readiness checks and host-agent passive
telemetry
bounds in docs/UPGRADE_v6.md, docs/operations/AUTO_UPDATE.md,
docs/UNIFIED_AGENT.md, and docs/AGENT_SECURITY.md (with byte-for-byte
in-app mirrors in frontend-modern/public/docs/), and add source-bound
regression tests in scripts/tests/test_upgrade_v6_docs.py and
scripts/tests/test_agent_docs.py:
- Upgrade readiness checks in GET /api/updates/plan
(agent-migration-security,
agent-token-scopes 14-day expiry warning and missing/expired token
block,
  and Docker container-data-persistence via /proc/self/mountinfo) plus
in-app update banner warning and
PULSE_SUPPRESS_EPHEMERAL_DATA_WARNING=true.
- Host-agent passive Linux routing/DNS reads (/proc/net/route,
/etc/resolv.conf, /run/systemd/resolve/resolv.conf, up to 8 gateways and
  8 DNS servers), host-filtered internal TCP peer reads (/proc/net/tcp,
/proc/net/tcp6, capped at 128 internal RFC 1918/ULA/100.64.0.0/10 pairs
with public, loopback, link-local, multicast, and self-IP sockets
discarded
before transmission), and bounded Docker/Proxmox hardware-accelerator
class
  labels (max 8 labels, 24 chars).

Contract-Neutral: Documentation and source-bound doc-verification tests
only; no runtime, API, schema, or UI contract changes.

---
Fleet candidate `20261128T113759Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`37109ab7533be0292e7d4c081714ab9cb4859bb6` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 12:32:54 +00:00
pulse-triage[bot]
dc5386db43 Align Webhooks and Patrol investigation Help with runtime
Document live webhook delivery and Patrol investigation bounds across
unclaimed Help guides and add source-bound regression tests:

- docs/WEBHOOKS.md (+ mirror): document X-RateLimit-Reset-After on HTTP
  429 within the 1-second to 15-minute cap, exact HTTP status-to-failure
  class mappings (401/403/407 authentication, 402 configuration, 408/421
  connectivity, 423/425/5xx server_error, 429 rate_limited, other 4xx
  rejected), immediate non-retryable TLS handling across webhooks,
  email/SMTP, and Apprise with no Skip TLS Verify toggle on webhook/email
  destinations, and the 1 MiB response-body drain cap
  (WebhookMaxResponseSize).
- docs/AI.md (+ mirror): align Patrol Investigation Configuration with
  subscription-CLI defaults (25 min timeout, concurrency 1), the
  60-1,800s timeout clamp, and the 20-minute fix-retry cooldown; add the
  four remaining live InvestigationOutcome values (fix_rejected,
  fix_verification_unknown, unclassified, interrupted).
- docs/PATROL_ARCHITECTURE.md (+ mirror): document investigation turn
  stream-idle timeouts (60s streaming, 4m buffered Codex/Claude CLIs,
  preserved on ensureFinalTextResponse), remaining-deadline summary
  budget, conclusion reserve, 4,096-token output-limit recovery pass,
  and recoverStuckInvestigations (5-minute grace window, interrupted vs
  timed_out session/finding reconciliation).
- scripts/tests/test_notification_troubleshooting_docs.py and
  scripts/tests/test_authentication_diagnostic_docs.py: pin all added
  bounds and enumerations directly against live Go source.

Contract-Neutral: Documentation and doc-verification test alignment with existing runtime behaviour; no code, API, or subsystem contract changes
Change-source: pulse-maintainer
2026-11-28 12:18:22 +00:00
pulse-triage[bot]
37109ab753 Align Upgrade readiness and Agent telemetry Help with runtime
Document runtime upgrade-readiness checks and host-agent passive telemetry
bounds in docs/UPGRADE_v6.md, docs/operations/AUTO_UPDATE.md,
docs/UNIFIED_AGENT.md, and docs/AGENT_SECURITY.md (with byte-for-byte
in-app mirrors in frontend-modern/public/docs/), and add source-bound
regression tests in scripts/tests/test_upgrade_v6_docs.py and
scripts/tests/test_agent_docs.py:
- Upgrade readiness checks in GET /api/updates/plan (agent-migration-security,
  agent-token-scopes 14-day expiry warning and missing/expired token block,
  and Docker container-data-persistence via /proc/self/mountinfo) plus
  in-app update banner warning and PULSE_SUPPRESS_EPHEMERAL_DATA_WARNING=true.
- Host-agent passive Linux routing/DNS reads (/proc/net/route,
  /etc/resolv.conf, /run/systemd/resolve/resolv.conf, up to 8 gateways and
  8 DNS servers), host-filtered internal TCP peer reads (/proc/net/tcp,
  /proc/net/tcp6, capped at 128 internal RFC 1918/ULA/100.64.0.0/10 pairs
  with public, loopback, link-local, multicast, and self-IP sockets discarded
  before transmission), and bounded Docker/Proxmox hardware-accelerator class
  labels (max 8 labels, 24 chars).

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

Contract-Neutral: Documentation, shipped in-app Help mirrors, and doc verification tests aligned with already-landed runtime behavior; no runtime, API, schema, or UI contract changes.
Change-source: pulse-maintainer
2026-11-28 11:21:00 +00:00