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
Fix dark-mode white-flash hover defects, missing button and ARIA state
semantics, NaN rate-limit state corruption, and sub-44px phone touch
targets
across unclaimed /alerts/destinations and /alerts/history controls:
- Replace light-only hover:bg-slate-100 on WebhookConfigForm's Test
button
(1.00:1 invisible white-on-white hover in dark mode) and
CollapsibleSection's SectionActionButton default variant with theme-safe
hover:bg-surface-hover (9.45:1 dark hover contrast, 17.06:1 light).
- Add explicit type="button" across WebhookConfig, WebhookConfigForm,
and
WebhookConfigList controls, aria-pressed on webhook Enabled toggles and
IncidentEventFilters chips, aria-expanded on webhook Service Type, Email
setup/advanced disclosures, and Resource Incidents event toggles, and
focus-visible keyboard rings.
- Guard EmailProviderSelect's Rate limit input against empty/NaN edits
so
clearing the field while editing does not overwrite the saved value with
the 60-second fallback; restore the saved value on blur if invalid.
- Stack AlertHistoryAdministrationCard cleanly on narrow viewports and
ensure 44px phone touch targets (min-h-11 sm:min-h-0) on External
watchdog
Remove, Clear All History, IncidentEventFilters chips/actions, and
Resource Incidents controls while keeping desktop compact and reducing
Total JS by 0.05 kB via hoisted shared class constants.
Contract-Neutral: UI-only dark-mode contrast, ARIA/button semantics,
numeric input editing guard, and narrow-viewport touch-target polish
with no API, backend, schema, or subsystem contract delta.
---
Fleet candidate `20261128T201010Z-web-product` from the `web-product`
lane. Reviewed tip `cb9baa08a7bf74dd1cee29bb4fdb8bc21d306a76` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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)
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
---
Fleet candidate `20261128T201012Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`e0a8e5d1d3182c3c33460fa79a983366b65b29d2` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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
GET /api/health already exposes websocketStateStalled: true whenever the
shared WebSocket state-build slot stalls, but useAppRuntimeState stopped
polling /api/health while connected and discarded the response body,
leaving operators with a green Connected dot (or "Backend is healthy.")
while live dashboard updates were stalled.
Poll /api/health periodically across authenticated states, parse
websocketStateStalled with a request-generation guard, and surface a
warning AppConnectionStatus ("Updates stalled") that AppLayout's
ConnectionStatusBadge renders visibly in both light and dark modes at
desktop and phone viewports, recovering cleanly when the flag clears.
Also deduplicate the empty WebSocket State initializer, WebSocket store
teardown (closing a shutdown listener/timer leak), catalog ref
expansion,
and table windowing hooks so Total JS drops from 1611.70 kB (over budget
on main) to 1611.04 kB / 1611.57 kB without touching .bundlesize.json.
Contract-Neutral: Consumes the existing public GET /api/health
websocketStateStalled field in the frontend runtime hook and
consolidates internal store and table windowing helpers without changing
backend APIs, routes, auth, polling policy, or subsystem contracts.
---
Fleet candidate `20261128T191059Z-web-product` from the `web-product`
lane. Reviewed tip `fed6afa043f482e599127c9da59035db451e9302` 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.
---
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)
GET /api/health already exposes websocketStateStalled: true whenever the
shared WebSocket state-build slot stalls, but useAppRuntimeState stopped
polling /api/health while connected and discarded the response body,
leaving operators with a green Connected dot (or "Backend is healthy.")
while live dashboard updates were stalled.
Poll /api/health periodically across authenticated states, parse
websocketStateStalled with a request-generation guard, and surface a
warning AppConnectionStatus ("Updates stalled") that AppLayout's
ConnectionStatusBadge renders visibly in both light and dark modes at
desktop and phone viewports, recovering cleanly when the flag clears.
Also deduplicate the empty WebSocket State initializer, WebSocket store
teardown (closing a shutdown listener/timer leak), catalog ref expansion,
and table windowing hooks so Total JS drops from 1611.70 kB (over budget
on main) to 1611.04 kB / 1611.57 kB without touching .bundlesize.json.
Contract-Neutral: Consumes the existing public GET /api/health websocketStateStalled field in the frontend runtime hook and consolidates internal store and table windowing helpers without changing backend APIs, routes, auth, polling policy, or subsystem contracts.
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.
---
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
PBS poll setup logged its copied configuration while holding the shared
config read lock. If the log sink stalled, configuration writers could
not proceed; once a writer waited, unrelated configuration readers could
queue as well. Log the same copied snapshot after unlocking.
Contract-Neutral: Preserve the PBS snapshot and copied datastore
exclusions, log event and fields, polling admission, and all published
outcomes; only the lock lifetime around diagnostic I/O changes.
---
Fleet candidate `20261128T175023Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `4588f52fbbea87db72bc1424cee52e98489e9409` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
frontend-modern/eslint.config.js previously enforced its shared UI
safety
and helper-centralization rules (dark:bg-white, bg-base with text-white,
hardcoded min-h-screen palette backgrounds, orphaned CSS prefixes, and
local metric color/time/canvas/tooltip reimplementations) only under
src/components/ and src/pages/, leaving src/features/ and src/utils/
presentation helpers unguarded.
Compose those shared rules across src/features/** and src/utils/** (and
into the later platform-table and Proxmox-drawer no-restricted-syntax
blocks so ESLint flat-config rule replacement never drops them), and add
zero-false-positive dark-mode contrast guards blocking opaque bright
dark:bg-<hue>-400/500 paired with pastel dark:text-<hue>-200/300/400 as
well as unpaired light hover:bg-{white,slate/gray/zinc/neutral-50|100}
without dark:hover:bg-*. Track the four pre-existing component files
already covered by queued fixes or open PRs so no new dark-mode contrast
or hover white-flash regressions can land anywhere in src/.
Add programmatic ESLint regression tests in
frontend-modern/scripts/__tests__/eslint-config-guardrails.test.mjs.
Contract-Neutral: ESLint configuration and guardrail unit test only with
no runtime UI, API, schema, or subsystem contract delta.
---
Fleet candidate `20261128T175014Z-web-product` from the `web-product`
lane. Reviewed tip `c4e3dff1fae477f1e20b6b97050f97d264c66f95` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Fix dark-mode white-flash hover defects, missing button and ARIA state
semantics, NaN rate-limit state corruption, and sub-44px phone touch targets
across unclaimed /alerts/destinations and /alerts/history controls:
- Replace light-only hover:bg-slate-100 on WebhookConfigForm's Test button
(1.00:1 invisible white-on-white hover in dark mode) and
CollapsibleSection's SectionActionButton default variant with theme-safe
hover:bg-surface-hover (9.45:1 dark hover contrast, 17.06:1 light).
- Add explicit type="button" across WebhookConfig, WebhookConfigForm, and
WebhookConfigList controls, aria-pressed on webhook Enabled toggles and
IncidentEventFilters chips, aria-expanded on webhook Service Type, Email
setup/advanced disclosures, and Resource Incidents event toggles, and
focus-visible keyboard rings.
- Guard EmailProviderSelect's Rate limit input against empty/NaN edits so
clearing the field while editing does not overwrite the saved value with
the 60-second fallback; restore the saved value on blur if invalid.
- Stack AlertHistoryAdministrationCard cleanly on narrow viewports and
ensure 44px phone touch targets (min-h-11 sm:min-h-0) on External watchdog
Remove, Clear All History, IncidentEventFilters chips/actions, and
Resource Incidents controls while keeping desktop compact and reducing
Total JS by 0.05 kB via hoisted shared class constants.
Contract-Neutral: UI-only dark-mode contrast, ARIA/button semantics, numeric input editing guard, and narrow-viewport touch-target polish with no API, backend, schema, or subsystem contract delta.
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)
## Summary
Hover tooltips on the Infrastructure Map often covered neighbouring
tiles, host headers, and connection arcs. I replaced the floating
pointer tooltip with a dedicated bottom inspector bar that swaps into
the footer legend's exact footprint.
- Swaps hover and keyboard-focus readouts into the legend's exact
footprint using a relative footer wrapper (keeping the legend in normal
flow as the sizing anchor), guaranteeing zero map resize or layout
shift.
- Removes native SVG `<title>` elements from `[data-map-inspect]` rects
while keeping `aria-label`, preventing delayed OS tooltips over network
pills and host badges.
- Places high-priority anomalies (`DEGRADED`, ZFS errors, unhealthy
disks, link down/busy, cert warnings) in a `shrink-0` slot ahead of
telemetry so warnings stay visible at narrow desktop widths even with
long resource names.
- Preserves touch tap cards on touch screens and handles mixed
keyboard/pointer edge cases (WCAG 1.4.13 pointer hoverability, `Tab` /
`Shift+Tab` legend focus protection, Escape persistence across live
redraws, and viewport/zoom clipping checks on stage pointer leave).
## Verification
- Prettier `--check` on changed frontend files: passed
- Vitest (all 7 `infrastructureMap` suites): 326/326 passed
- `npx tsc --noEmit`: passed
- `npm run build`: passed
- Chromium Playwright verification against the fresh production build at
`1280x800` (dark and light mode, 125% zoom) and `1024x768`: zero
geometry shift, zero tooltip portals, zero console errors, all keyboard
and mixed-input regressions verified
Reuse a complete readiness scan to tighten stale deadline bounds for
both clock domains. This keeps subsequent scrapes from walking an
already-ready backlog under the worker lock.
Contract-Neutral: Scheduler Health fields, Prometheus values, queue
admission and the readiness window are unchanged. Tighten only the
internal deadline bounds after a complete count.
---
Fleet candidate `20261128T173205Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `bdf64f4dd71deedbe0f1a77d9a4dfbedb45e740a` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Fix two dark-mode WCAG contrast defects on /alerts/thresholds and
/alerts/schedule alongside keyboard focus, live slider feedback, and
phone
touch-target gaps across unclaimed alert scheduling and badge
components:
- Replace solid dark:bg-blue-500 on enabled StatusBadge pills (2.04:1
contrast with dark:text-blue-300 and identical dark hover) with
dark:bg-blue-900/30 and dark:hover:bg-blue-900/50 (7.41:1 contrast).
- Replace solid dark:bg-blue-500 on selected Quiet hours Suppress
Categories cards (2.48:1 muted description contrast and invisible
blue-500 checkbox outline) with dark:bg-blue-900/25 (9.15:1 contrast),
matching Smart grouping cards below it.
- Add focus-within rings (plus shrink-0 checkboxes and cursor-pointer on
grouping cards) for sr-only checkbox cards in AlertQuietHoursSection and
AlertGroupingSection, and focus-visible rings on quiet-day, escalation,
and reset buttons.
- Switch AlertGroupingSection's Grouping window range slider from
onChange
to onInput so the minute readout updates live while dragging.
- Add 44px narrow-phone touch targets (min-h-11 sm:min-h-0 / min-w-11
sm:min-w-0) on quiet-day, remove/add escalation, and reset-to-defaults
buttons, and mark decorative inline SVGs aria-hidden="true".
Contract-Neutral: UI-only dark-mode contrast, accessibility, live slider
input, and touch-target polish with no API, backend, schema, or
subsystem contract delta.
---
Fleet candidate `20261128T173048Z-web-product` from the `web-product`
lane. Reviewed tip `834888f9cbcc22e57abd787865543ed3e6973ab4` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
frontend-modern/eslint.config.js previously enforced its shared UI safety
and helper-centralization rules (dark:bg-white, bg-base with text-white,
hardcoded min-h-screen palette backgrounds, orphaned CSS prefixes, and
local metric color/time/canvas/tooltip reimplementations) only under
src/components/ and src/pages/, leaving src/features/ and src/utils/
presentation helpers unguarded.
Compose those shared rules across src/features/** and src/utils/** (and
into the later platform-table and Proxmox-drawer no-restricted-syntax
blocks so ESLint flat-config rule replacement never drops them), and add
zero-false-positive dark-mode contrast guards blocking opaque bright
dark:bg-<hue>-400/500 paired with pastel dark:text-<hue>-200/300/400 as
well as unpaired light hover:bg-{white,slate/gray/zinc/neutral-50|100}
without dark:hover:bg-*. Track the four pre-existing component files
already covered by queued fixes or open PRs so no new dark-mode contrast
or hover white-flash regressions can land anywhere in src/.
Add programmatic ESLint regression tests in
frontend-modern/scripts/__tests__/eslint-config-guardrails.test.mjs.
Contract-Neutral: ESLint configuration and guardrail unit test only with no runtime UI, API, schema, or subsystem contract delta.
Change-source: pulse-maintainer
Hover tooltips on the Infrastructure Map sat directly over neighbouring tiles and connection arcs. I replaced the floating pointer tooltip with a dedicated bottom inspector bar that swaps into the legend footprint without shifting or resizing the map.
Changes:
- Swap hover and focus summaries into the existing footer legend footprint (position: relative wrapper with the legend kept in normal flow while hidden and inert) so hovering never changes SVG size or triggers layout refits.
- Remove native SVG title elements from map inspect rects while keeping aria-label so delayed browser tooltips do not cover network pills or host badges.
- Prioritise anomalies (degraded ZFS pools, ZFS errors, unhealthy disks, link alerts, certificate warnings) ahead of live telemetry so warnings remain visible on narrow viewports with long names.
- Keep touch tap cards unchanged on small touch screens where the footer can sit off-screen.
- Preserve WCAG 1.4.13 pointer hoverability across the map stage, keep legend keyboard focus intact while hovering tiles, keep focused tile readouts and aria-describedby intact on pointer leave unless dismissed by Escape or clipped off-screen, and preserve Escape dismissal across live redraws.
- Update Infrastructure Map unit tests and integration spec coverage.
Contract-Neutral: Frontend-only Infrastructure Map hover UX change with no backend or API contract changes
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.
Change-source: pulse-maintainer
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
Restore the exact reviewed source from #5418. Its Frontend required check failed in the Help unit suite because of the API.md range assertion casing, now corrected on main by #5414. Keep the existing log, data and polling semantics.
Change-source: pulse-maintainer
Address the #1 product-repo output constraint (`PR checks (Pulse)`,
18.2m median / 42.1m p90 in `output-constraints.json`) by rebalancing
`Backend tests (rest-*)` from five complete post-#5400 hosted runs and
parallelizing verified global-free tests in `internal/notifications` and
`cmd/pulse-agent`:
- `.github/scripts/go-package-test-seconds.txt`: refresh package medians
from hosted runs 46158110488, 46158121717, 46160606118, 46161398655
(3-way PR) and 46161509141 (2-way main), and set
`REST_SHARD_FIXED_SECONDS_3` (`309.230 191.908 0.000`) to account for
consistent fixed-slice asymmetry between rest-0/rest-1 and rest-2.
Leave-one-out holdout validation improves every 3-way PR holdout by
-88.4s to -320.7s peak combined task-seconds and cuts 4-slot peak wall
time by -18.7s to -24.1s on three of four holdouts while holding the
fourth at its monitoring floor.
- `cmd/pulse-agent/collector_token_ingress_unix_test.go`: add
`t.Parallel()` to `TestCollectorTokenReaderInstallerIngress` and its
12 subprocess subtests so they run concurrently and overlap with the
three release-identity builds (`14.4s` serial -> `~1.2s` subtests;
combined parallel group passes in `24.82s` under `-race`).
- `internal/notifications/*_test.go` (15 files): add `t.Parallel()` to
99 verified global-free tests while keeping all `t.Setenv`,
`spawnAsync` (`newShutdownAdmissionFixture`), `log.Logger`
(`captureWebhookResponseLogs`), `zerolog.SetGlobalLevel`, and
`emailAttachmentAllocationProbe` / `testing.AllocsPerRun` tests
strictly serial (full `internal/notifications -race` passes in
`200.89s` vs `214.13s` baseline on 2 cores).
Zero production code or test assertions changed.
Contract-Neutral: Test-only parallelization and CI shard weight refresh;
no production behavior or subsystem contract changes.
---
Fleet candidate `20261128T164856Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`b4e8d388c74efa2f72ef76c09bab4c9e861bea5d` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
**Show all failure causes and queue counts in delivery health**
AlertDeliveryHealthCard previously rendered only the single dominant
entry from
failureClasses7d inside one long red paragraph, hiding secondary failure
classes
and their remediation guidance as well as live queue counts (pending,
sending,
sent) and leaving narrow-screen action buttons below 44px touch height.
Add pure presentation helpers in alertDestinationsPresentation.ts to
sort all
non-zero failure classes with per-class guidance and build queue count
badges,
and update AlertDeliveryHealthCard.tsx to display the structured
breakdown in
full mode (/alerts/notifications) and compact queue/cause pills in
summary mode
(/alerts) while hiding stale breakdown data whenever delivery status is
unavailable.
Contract-Neutral: UI-only presentation refinement on
AlertDeliveryHealthCard using existing NotificationQueueHealth fields
with no API, schema, or subsystem contract delta.
**Improve alert status banner accessibility and phone touch targets**
Harden the three alert-delivery status banners rendered on /alerts and
/alerts/notifications (AlertDeliveryPausedCard,
AlertDestinationsLoadErrorCard, and AlertNoDestinationsCard):
- Expose role="alert" on AlertDestinationsLoadErrorCard so screen
readers
announce when notification settings fail to load and hide saved
channels.
- Declare type="button" on the load-error Retry control and add
aria-busy
plus animated spinner feedback during retry and delivery activation.
- Mark decorative status icons aria-hidden="true", add focus-visible
indicators on paused and load-error actions, and top-align the
load-error
icon with multi-line error text on narrow screens.
- Ensure all narrow-viewport banner actions meet 44px touch target
height
(min-h-11 sm:min-h-0) while preserving compact desktop layout.
- Add dedicated unit tests for AlertDestinationsLoadErrorCard and
AlertNoDestinationsCard and expand AlertDeliveryPausedCard tests.
Contract-Neutral: UI-only accessibility, busy-state, and narrow-viewport
touch-target improvements in AlertDeliveryPausedCard,
AlertDestinationsLoadErrorCard, and AlertNoDestinationsCard with no API,
backend, schema, or subsystem contract delta.
---
Fleet candidate `20261128T165855Z-web-product` from the `web-product`
lane. Reviewed tip `99cbad86d46bf669c89e291b01580fdc60829849` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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 72ec70fe93 from maintainer/20261128T153507Z-delivery-trust onto current main (b250914857). PR #5419 passed all 27,783 frontend unit tests in 498.10s (run 46167305741, job 141057011877) and failed only Backend tests (rest-1) twice on an unrelated cold-build timeout in lifecycleAgentFixture (repaired in the follow-up commit).
Contract-Neutral: Merge of previously reviewed test-runner configuration and test-helper unit tests onto current main; production builds, runtime 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)
frontend-modern/scripts/sync-public-docs.mjs previously copied only 10
hardcoded docs and invoked fs.copyFile unconditionally on every build.
That silently left the other 57 mirrored docs under public/docs/ out of
sync during npm run build and failed with EPERM (while unlinking
public/docs/README.md) on worktrees where unchanged mirrored docs carry
group/ACL permissions.
Discover all mirrored markdown files under frontend-modern/public/docs/
using the same root-sourced set as scripts/check_docs_mirror.py and
docsLinks.test.ts while retaining the 10 baseline docs for minimal build
fixtures, skip writing byte-identical targets, and add unit tests in
frontend-modern/scripts/__tests__/sync-public-docs.test.mjs.
---
Fleet candidate `20261128T161326Z-web-product` from the `web-product`
lane. Reviewed tip `c6b46dcecdd4769df9ea79aa76ba62453d01ea12` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Address the #1 product-repo output constraint (`PR checks (Pulse)`,
18.2m median / 42.1m p90 in `output-constraints.json`) by rebalancing
`Backend tests (rest-*)` from five complete post-#5400 hosted runs and
parallelizing verified global-free tests in `internal/notifications` and
`cmd/pulse-agent`:
- `.github/scripts/go-package-test-seconds.txt`: refresh package medians
from hosted runs 46158110488, 46158121717, 46160606118, 46161398655
(3-way PR) and 46161509141 (2-way main), and set
`REST_SHARD_FIXED_SECONDS_3` (`309.230 191.908 0.000`) to account for
consistent fixed-slice asymmetry between rest-0/rest-1 and rest-2.
Leave-one-out holdout validation improves every 3-way PR holdout by
-88.4s to -320.7s peak combined task-seconds and cuts 4-slot peak wall
time by -18.7s to -24.1s on three of four holdouts while holding the
fourth at its monitoring floor.
- `cmd/pulse-agent/collector_token_ingress_unix_test.go`: add
`t.Parallel()` to `TestCollectorTokenReaderInstallerIngress` and its
12 subprocess subtests so they run concurrently and overlap with the
three release-identity builds (`14.4s` serial -> `~1.2s` subtests;
combined parallel group passes in `24.82s` under `-race`).
- `internal/notifications/*_test.go` (15 files): add `t.Parallel()` to
99 verified global-free tests while keeping all `t.Setenv`,
`spawnAsync` (`newShutdownAdmissionFixture`), `log.Logger`
(`captureWebhookResponseLogs`), `zerolog.SetGlobalLevel`, and
`emailAttachmentAllocationProbe` / `testing.AllocsPerRun` tests
strictly serial (full `internal/notifications -race` passes in
`200.89s` vs `214.13s` baseline on 2 cores).
Zero production code or test assertions changed.
Contract-Neutral: Test-only parallelization and CI shard weight refresh; 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.
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
---
Fleet candidate `20261128T163524Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`6e9f9a69e1e434990e0769463d66560665d680e2` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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
frontend-modern/scripts/sync-public-docs.mjs previously copied only 10
hardcoded docs and invoked fs.copyFile unconditionally on every build.
That silently left the other 57 mirrored docs under public/docs/ out of
sync during npm run build and failed with EPERM (while unlinking
public/docs/README.md) on worktrees where unchanged mirrored docs carry
group/ACL permissions.
Discover all mirrored markdown files under frontend-modern/public/docs/
using the same root-sourced set as scripts/check_docs_mirror.py and
docsLinks.test.ts while retaining the 10 baseline docs for minimal build
fixtures, skip writing byte-identical targets, and add unit tests in
frontend-modern/scripts/__tests__/sync-public-docs.test.mjs.
Change-source: pulse-maintainer
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.
Change-source: pulse-maintainer
PR #5405 (a453fe365f) split the GET /api/metrics-store/history range
documentation in docs/API.md and frontend-modern/public/docs/API.md into
two sentences, changing "; invalid or longer ranges return `400`." to
". Invalid or longer ranges return `400`."
Update the case-sensitive substring assertion in
frontend-modern/src/utils/__tests__/docsLinks.test.ts to match the
published API reference so Public docs and Frontend unit tests pass on
main.
Contract-Neutral: Test-only update aligning an existing
docsLinks.test.ts assertion with already-landed API.md wording from
#5405; no runtime, API, or subsystem contract changes.
---
Fleet candidate `20261128T150501Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`1b33c6010b41367027e779e4d06a394b9418f49e` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
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/...`
Fix two dark-mode WCAG contrast defects on /alerts/thresholds and
/alerts/schedule alongside keyboard focus, live slider feedback, and phone
touch-target gaps across unclaimed alert scheduling and badge components:
- Replace solid dark:bg-blue-500 on enabled StatusBadge pills (2.04:1
contrast with dark:text-blue-300 and identical dark hover) with
dark:bg-blue-900/30 and dark:hover:bg-blue-900/50 (7.41:1 contrast).
- Replace solid dark:bg-blue-500 on selected Quiet hours Suppress
Categories cards (2.48:1 muted description contrast and invisible
blue-500 checkbox outline) with dark:bg-blue-900/25 (9.15:1 contrast),
matching Smart grouping cards below it.
- Add focus-within rings (plus shrink-0 checkboxes and cursor-pointer on
grouping cards) for sr-only checkbox cards in AlertQuietHoursSection and
AlertGroupingSection, and focus-visible rings on quiet-day, escalation,
and reset buttons.
- Switch AlertGroupingSection's Grouping window range slider from onChange
to onInput so the minute readout updates live while dragging.
- Add 44px narrow-phone touch targets (min-h-11 sm:min-h-0 / min-w-11
sm:min-w-0) on quiet-day, remove/add escalation, and reset-to-defaults
buttons, and mark decorative inline SVGs aria-hidden="true".
Contract-Neutral: UI-only dark-mode contrast, accessibility, live slider input, and touch-target polish with no API, backend, schema, or subsystem contract delta.
Change-source: pulse-maintainer
**Keep History reads and writes moving during expiry logging**
Capture cleanup counts under the History mutex and write the diagnostic
after unlocking so an independent sample and chart read can finish while
the sink is blocked.
**Make the History logging regression fail promptly on a held lock**
Use a nonblocking check before exercising actual chart reads and writes
while cleanup logging is gated.
---
Fleet candidate `20261128T134519Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `3c7fb97150785e1ec66368aa5bbeb62132b09316` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)