Commit Graph

3817 Commits

Author SHA1 Message Date
pulse-triage[bot]
75eb1782fc Correct agent paths and Patrol admin auth boundaries in Help docs
Fix factual route and authorization mismatches in the candidate Help edits:
- Replace non-existent /api/agent/recent-changes and /api/agent/patrol-control-status with the manifest-owned /api/agent/changes and /api/agent/patrol-control/status (and legacy /api/agent/operations-loop/status) routes in docs/UNIFIED_RESOURCES.md and its shipped mirror.
- Align GET /api/ai/cost/summary (ensureSettingsReadScope) and POST /api/ai/patrol/preflight and /api/ai/patrol/readiness (ensureSettingsWriteScope) with their actual instance-administrator enforcement in docs/AI_AUTONOMY.md and its shipped mirror.
- Clarify Autopilot acknowledgement actor requirements as authenticated human sessions (refusing API tokens) in docs/PATROL_ARCHITECTURE.md and its shipped mirror.
- Anchor all corrected route paths and handler checks in scripts/tests/test_actions_patrol_and_resources_auth_docs.py.

Contract-Neutral: Documentation and router-anchored regression test corrections only; aligns shipped Help with existing runtime routes and authorization checks without changing runtime behavior.
Change-source: pulse-maintainer
2026-11-29 07:27:17 +00:00
pulse-triage[bot]
d68889bdea Align Operational Trust, AI Autonomy, Unified Resources, and Patrol Help
Align shipped Help documentation and mirrors for Operational Trust,
AI Autonomy, Unified Resources, and Patrol Architecture with live
backend router and handler authorization contracts:
- Document Patrol attention scope boundaries (monitoring:read/write and
  legacy ai:execute, 4 KiB suppression body cap), offered Docker restart
  three-capability requirements (plan, approve, execute) and mock-mode
  refusal (attention_action_mock_mode), canonical /api/actions per-stage
  scopes and capabilities, human-bound API token and withheld-token
  rules (action_capability_denied), live credential revalidation, and
  the POST /api/actions/{id}/force-fail local instance-admin escape
  hatch in docs/OPERATIONAL_TRUST.md.
- Document operator-state remediation-lock authorization (approve action
  grant or admin session vs non-remediation edits), AI cost export/reset
  admin scopes, Patrol run/preflight/readiness scopes, host-command tool
  output withholding, org-admin standing suppression and finding-reset
  rules, and prompt-context note/objective execute-capability checks in
  docs/AI_AUTONOMY.md.
- Document /api/resources live-credential revalidation and identity
  mutation scopes, operator-state remediation-policy protection,
  /api/agent/* command-disclosure redaction (commandRedacted: true),
  unauthenticated /api/agent/capabilities discovery, and
  POST /api/infra-updates/check execute authority in
  docs/UNIFIED_RESOURCES.md.
- Document Patrol host-command output withholding, prompt-context write
  checks, standing suppression and finding-reset org-admin bounds, and
  reinvestigate/autonomy authority in docs/PATROL_ARCHITECTURE.md.
- Add router-anchored regression coverage in
  scripts/tests/test_actions_patrol_and_resources_auth_docs.py.

Contract-Neutral: Documentation and router-anchored regression tests only; no runtime behavior, API contract, or frontend source changed.
Change-source: pulse-maintainer
2026-11-29 07:03:45 +00:00
pulse-triage[bot]
e06abc3de9 Align Alerting, Multi-Tenant, and RBAC Help docs with auth contracts (#5478)
**Align Alerting, Multi-Tenant, and RBAC Help docs with auth contracts**

Align shipped Help documentation and mirrors for Alerting, Multi-Tenant
Organizations, and RBAC with live backend router and handler contracts:
- Document alert policy authorization (requireAlertPolicyManager:
instance
admin, org owner/admin, explicit RBAC alerts:write such as operator, or
monitoring:write token vs viewer triage actions), RequireOrgManager
refusal
of non-default org-bound tokens on /api/notifications/*, instance-admin
authority for Apprise CLI targets, and instance-admin authority for
shared
  queue/DLQ/terminal-failure actions in docs/ALERTING.md.
- Fix multi-tenant onboarding agent scopes to match agent:report,
  docker:report, and kubernetes:report routes, mark POST /api/orgs and
  DELETE /api/orgs/{id} as session-only, document member-removal token
blocking for user-owned org-bound tokens, and align live Apprise CLI and
  /api/notifications/* token limits in docs/MULTI_TENANT.md.
- Document backend RBAC actions (plan, approve, execute), additional
resources (actions, discovery), operator alerts:write policy authority,
and instance-wide wildcard token requirements (refusing org-bound tokens
  with 403) in docs/RBAC.md.
- Add router-anchored regression suite
scripts/tests/test_alerting_and_org_auth_docs.py.

Contract-Neutral: Documentation and regression tests only; no runtime
behavior, API contract, or frontend source changed.

**Correct non-default org notification token guidance in Help docs**

TenantMiddleware (CheckAccessContext -> APITokenRecord.CanAccessOrg)
denies unbound and default-bound API tokens on non-default organizations
with 403 access_denied, while RequireOrgManager (refuseOrgBoundToken ->
tokenActsForInstance) refuses org-bound tokens with 403. Remove the
incorrect claim in docs/MULTI_TENANT.md that an instance-wide
settings:write token with X-Pulse-Org-ID can manage non-default
organizations' /api/notifications/* endpoints, clarify docs/ALERTING.md
and both frontend-modern/public/docs/ mirrors, and anchor both code
checks in scripts/tests/test_alerting_and_org_auth_docs.py.

Contract-Neutral: Documentation and regression tests only; no runtime
behavior, API contract, or frontend source changed.

---
Fleet candidate `20261129T050357Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`d73b42160802129e331e7f420dbb6d29802f097d` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 06:08:29 +00:00
pulse-triage[bot]
d73b421608 Correct non-default org notification token guidance in Help docs
TenantMiddleware (CheckAccessContext -> APITokenRecord.CanAccessOrg) denies unbound and default-bound API tokens on non-default organizations with 403 access_denied, while RequireOrgManager (refuseOrgBoundToken -> tokenActsForInstance) refuses org-bound tokens with 403. Remove the incorrect claim in docs/MULTI_TENANT.md that an instance-wide settings:write token with X-Pulse-Org-ID can manage non-default organizations' /api/notifications/* endpoints, clarify docs/ALERTING.md and both frontend-modern/public/docs/ mirrors, and anchor both code checks in scripts/tests/test_alerting_and_org_auth_docs.py.

Contract-Neutral: Documentation and regression tests only; no runtime behavior, API contract, or frontend source changed.
Change-source: pulse-maintainer
2026-11-29 05:47:35 +00:00
pulse-triage[bot]
ec665884bc Align Alerting, Multi-Tenant, and RBAC Help docs with auth contracts
Align shipped Help documentation and mirrors for Alerting, Multi-Tenant
Organizations, and RBAC with live backend router and handler contracts:
- Document alert policy authorization (requireAlertPolicyManager: instance
  admin, org owner/admin, explicit RBAC alerts:write such as operator, or
  monitoring:write token vs viewer triage actions), RequireOrgManager refusal
  of non-default org-bound tokens on /api/notifications/*, instance-admin
  authority for Apprise CLI targets, and instance-admin authority for shared
  queue/DLQ/terminal-failure actions in docs/ALERTING.md.
- Fix multi-tenant onboarding agent scopes to match agent:report,
  docker:report, and kubernetes:report routes, mark POST /api/orgs and
  DELETE /api/orgs/{id} as session-only, document member-removal token
  blocking for user-owned org-bound tokens, and align live Apprise CLI and
  /api/notifications/* token limits in docs/MULTI_TENANT.md.
- Document backend RBAC actions (plan, approve, execute), additional
  resources (actions, discovery), operator alerts:write policy authority,
  and instance-wide wildcard token requirements (refusing org-bound tokens
  with 403) in docs/RBAC.md.
- Add router-anchored regression suite scripts/tests/test_alerting_and_org_auth_docs.py.

Contract-Neutral: Documentation and regression tests only; no runtime behavior, API contract, or frontend source changed.
Change-source: pulse-maintainer
2026-11-29 05:14:57 +00:00
pulse-triage[bot]
489dfcb0db Align Webhooks, Audit, and TrueNAS Help docs with route auth contracts (#5476)
**Align Webhooks, Audit, and TrueNAS Help docs with route auth
contracts**

Correct org-bound API token refusal, instance-admin boundaries, license
tiers,
and missing registered routes across docs/WEBHOOKS.md,
docs/AUDIT_LOGGING.md,
and docs/TRUENAS.md (and their frontend-modern/public/docs/ mirrors) to
match
internal/api/router_routes_monitoring.go, router_routes_licensing.go,
router_routes_registration.go, platform_connection_shared.go,
security_setup_fix.go, and pkg/licensing/features.go, and add
router-anchored
doc contract assertions in scripts/tests/test_admin_docs.py and
scripts/tests/test_truenas_docs.py.

Contract-Neutral: Documentation and router-anchored doc tests only;
aligns shipped Help guides with existing runtime authorization, license
tier, and route contracts without changing runtime behavior.

**Preserve webhook example Bearer placeholder for Help test contract**

Keep the Authorization: Bearer <token with settings:write> placeholder
text in
the HTTP snippet inside docs/WEBHOOKS.md (and its
frontend-modern/public/docs/
mirror) so webhookExampleGuide.test.ts passes while the surrounding
prose and
Scope table retain the instance-wide (non-org-bound) token requirement.

Contract-Neutral: Documentation-only placeholder alignment matching
existing Help test contract without changing runtime behavior.

---
Fleet candidate `20261129T042245Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`945e88fe08718848edd9cef27b50352ac44c804c` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 05:07:58 +00:00
pulse-triage[bot]
3259833d5a Fix monitoring test logger data race and rebalance CI backend shards (#5474)
**Fix monitoring test logger data race and rebalance CI backend shards**

1. Eliminate the recurring main Build and Test Backend tests (rest-1)
   DATA RACE observed in runs 46191313678 (job 141127584174) and
   46197384546 (job 141144000959), where
   TestPollPBSConfigLoggingDoesNotBlockConfigEditOrPeerPoll overwrote
   the unsynchronized global zerolog/log.Logger struct while background
   alerts.NewManager().periodicSaveAlerts() goroutines leaked by earlier
   tests called log.Debug():
   - Install a single atomic io.Writer router (monitoringTestLogSink) on
     log.Logger once in internal/monitoring/main_test.go TestMain and
     route all 10 internal/monitoring/*_test.go log-capture and
     log-suppression sites through setPackageTestLogOutput /
     disablePackageTestLogs (atomic sink swap + atomic zerolog global
     level) and syncTestLogBuffer, plus a -race regression test.
   - Add t.Cleanup(m.alertManager.Stop) to all six
     TestMaybePollPhysicalDisksAsync_* tests in
     monitor_pve_disk_alert_settle_test.go and
     monitor_pve_disk_fallback_test.go.

2. Rebalance .github/scripts/go-package-test-seconds.txt from ten
   complete post-#5428 hosted Build and Test runs (seven 3-way PR runs
   and three 2-way main push runs, runner-speed normalized) to address
   PR checks (Pulse) — the #1 slowest stage in output-constraints.json
   (19.1m median / 44.8m p90):
   - Set REST_SHARD_FIXED_SECONDS 165.028 0.000 and
     REST_SHARD_FIXED_SECONDS_3 32.619 236.856 0.000 (replacing the
     inverted pre-#5428 309.230 / 191.908 / 0.000 offsets).
   - Leave-one-out holdout cross-validation cuts runner-normalized peak
     shard task-seconds on 7/7 3-way holdouts (-86.8s to -214.8s) and
     3/3 2-way holdouts (-58.9s to -117.6s).

3. Add disposable per-suite NODE_COMPILE_CACHE bytecode caching to
   frontend-modern/scripts/__tests__/check-bundle-size.test.mjs and
   build-embed-assets.test.mjs, matching sync-embed-dist.test.mjs,
   to avoid recompiling jsdom across 107 test child processes.

Contract-Neutral: Test-harness logger synchronization, CI shard
scheduling weights, and test-only Node bytecode caching; no production
code, runtime behavior, or subsystem contracts changed.

**Revert NODE_COMPILE_CACHE experiment in frontend script tests**

Offline source proof (source-deagws44) showed cold first-child V8
bytecode cache writes pushing the first test in both
check-bundle-size.test.mjs and build-embed-assets.test.mjs past
Vitest's 5000ms default timeout without meaningfully improving
steady-state
per-test duration. Restore both test files byte-for-byte to e372097c0e.

Contract-Neutral: Test-only revert restoring frontend script tests to
base main; no production code or subsystem contracts changed.

**Fix shard rejection test under fixed-slice skew and stop leaked
monitor**

Ensure run_go_package_slice_test.py exercises reversed-order rejection
on every multi-package shard even when REST_SHARD_FIXED_SECONDS leaves
shard 0 with one synthetic fixture package, and register
t.Cleanup(monitor.Stop) in TestNewMonitorReusesGuestFilesystemReplies so
its alert manager goroutine does not leak across monitoring tests.

**Isolate alert data dirs in physical disk monitoring tests**

Use alerts.NewManagerWithDataDir(t.TempDir()) across the six
TestMaybePollPhysicalDisksAsync_* tests so
t.Cleanup(m.alertManager.Stop) does not persist alerts into a shared
default directory read by subsequent tests.

**Preserve logging broadcaster in monitoring TestMain atomic sink**

PR #5467 replaced log.Logger's output in
internal/monitoring/main_test.go with
an atomic sink defaulting only to os.Stderr, disconnecting
internal/logging's
LogBroadcaster fan-out. Every internal/monitoring test using
newMonitoringLogCapture (VMware, TrueNAS, and container SSH notice tests
in CI
shards rest-0 and rest-2) stopped receiving log lines.

Initialize monitoringTestLogSink with io.MultiWriter(os.Stderr,
logging.GetBroadcaster()) to preserve the default broadcaster wiring,
and
assert broadcaster delivery after
setPackageTestLogOutput/disablePackageTestLogs
restoration in TestPackageTestLogOutputSwapIsRaceFree.

Contract-Neutral: test-only harness fix in
internal/monitoring/main_test.go restoring default LogBroadcaster wiring
for monitoring unit tests

---
Fleet candidate `20261129T034336Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`67819721145b32896ec74b62eefc41b135e3fe4e` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 04:52:06 +00:00
pulse-triage[bot]
3e5a8de2fd Align Webhooks, Audit, and TrueNAS Help docs with route auth contracts
Correct org-bound API token refusal, instance-admin boundaries, license tiers,
and missing registered routes across docs/WEBHOOKS.md, docs/AUDIT_LOGGING.md,
and docs/TRUENAS.md (and their frontend-modern/public/docs/ mirrors) to match
internal/api/router_routes_monitoring.go, router_routes_licensing.go,
router_routes_registration.go, platform_connection_shared.go,
security_setup_fix.go, and pkg/licensing/features.go, and add router-anchored
doc contract assertions in scripts/tests/test_admin_docs.py and
scripts/tests/test_truenas_docs.py.

Contract-Neutral: Documentation and router-anchored doc tests only; aligns shipped Help guides with existing runtime authorization, license tier, and route contracts without changing runtime behavior.
Change-source: pulse-maintainer
2026-11-29 04:34:47 +00:00
pulse-triage[bot]
669ede860f Clarify API.md probe-secret and AI admin auth contracts
Correct two documentation details introduced in 37b1ce53fe against the actual handlers in internal/api/:

- GET /api/agents/agent/{agent_id}/config: clarify that withholdProbeSecretsFromOtherTokens redacts assigned HTTP check credentials and request bodies only for other API tokens, while organization administrator browser/proxy sessions (record == nil) also receive them.
- GET /api/ai/cost/summary, POST /api/ai/test*, POST /api/ai/patrol/preflight, and POST /api/ai/patrol/readiness: note that their handlers call ensureSettingsReadScope/ensureSettingsWriteScope, which also enforce instance admin / instance-wide token authority.

Contract-Neutral: Documentation accuracy correction and docs-only test assertions aligned to existing internal/api/ handlers with no runtime behavior change.
Change-source: pulse-maintainer
2026-11-29 04:15:47 +00:00
pulse-triage[bot]
bf14e30b94 Merge commit '2bc93d3005db24941ccbca9a5279502c186fd9b2' into maintainer-async/20261129T034336Z-delivery-trust/pulse
Change-source: pulse-maintainer
2026-11-29 03:51:45 +00:00
pulse-triage[bot]
37b1ce53fe Align API Reference auth, TrueNAS scope, and route contracts
Correct docs/API.md (and its frontend-modern/public/docs/API.md mirror)
against the registered route handlers in internal/api/router_routes_*.go,
internal/api/agent_ingest.go, internal/api/router.go, and
internal/config/truenas.go:

- Document GET /api/config as authenticated with monitoring:read instead
  of Public Config, and note authentication on GET /simple-stats and
  GET /ws (monitoring:read and organization membership rechecked every 10s).
- Update PUT /api/truenas/connections/{id} to match ScopeConfigured and
  docs/TRUENAS.md (setting monitorDatasets, monitorPools, and
  monitorReplication all to false is preserved as all off) and document
  POST /api/truenas/connections/preview and /{id}/preview.
- Align /api/settings/relay* and /api/onboarding/* auth, scope
  (relay:mobile:access or settings:read), and Relay+ license boundaries
  with router_routes_ai_relay.go and docs/RELAY.md.
- Document enforced admin and scope rules for /api/system/settings,
  /api/config/system, /api/system/mock-mode, /api/server/info,
  /api/agent/version, /api/agents/*/report, GET /api/agents/agent/{id}/config,
  and AI/Patrol/cost endpoints (/api/ai/models, /api/ai/test*,
  /api/ai/execute*, /api/ai/patrol/autonomy*, /api/ai/patrol/preflight,
  /api/ai/patrol/readiness, /api/ai/cost/*, /api/ai/debug/context).
- Add router- and config-anchored regression checks in
  scripts/tests/test_api_reference_routes.py.

Contract-Neutral: Documentation accuracy correction and docs-only test coverage aligned to existing registered routes and config semantics with no runtime behavior change.
Change-source: pulse-maintainer
2026-11-29 03:44:47 +00:00
pulse-triage[bot]
9170ad8868 Align OIDC CSRF lifecycle and API security, RBAC, and org Help docs
Align two unclaimed shipped Help guides and their frontend-modern mirrors
with landed runtime behavior in internal/api/:

- docs/OIDC.md: replace the stale "browser cookies with a 24-hour
  lifetime" claim with the landed session vs. CSRF cookie split
  (24-hour __Host-pulse_session / pulse_session cookie; 3-hour 55-minute
  pulse_csrf cookie matching the 4-hour server-side TTL and 8-token cap,
  auto-refreshed and 30-minute proactively rotated on GET /api/*) across
  both OIDC and SAML sections.
- docs/API.md: document GET /api/security/status's three detailLevel
  tiers (public, authenticated, privileged) and Bearer/query-token
  exclusion, GET /api/security/tokens/<id>, POST /api/security/apply-restart
  auth and X-Setup-Token bootstrap gating, RBAC's wildcard (*) token-scope
  and non-default org refusal plus GET /api/admin/rbac/integrity and
  POST /api/admin/rbac/reset-admin, and replace the false "Default org
  members cannot be managed." claim with POST /api/orgs/default/members
  (viewer-only, HTTP 200 / 400 invalid_role), DELETE
  /api/orgs/default/members/{userId}, and the seven invitation and
  incoming-share routes.
- Mirror both guides to frontend-modern/public/docs/ and add
  source-bound regression assertions in scripts/tests/test_oidc_session_docs.py
  and scripts/tests/test_admin_docs.py.

Contract-Neutral: Documentation and source-bound docs tests aligning OIDC and API Help guides with existing internal/api runtime behavior with no runtime, API, or UI contract changes
Change-source: pulse-maintainer
2026-11-29 02:26:45 +00:00
pulse-triage[bot]
b7f28c8290 Fix shard rejection test under fixed-slice skew and stop leaked monitor
Ensure run_go_package_slice_test.py exercises reversed-order rejection on every multi-package shard even when REST_SHARD_FIXED_SECONDS leaves shard 0 with one synthetic fixture package, and register t.Cleanup(monitor.Stop) in TestNewMonitorReusesGuestFilesystemReplies so its alert manager goroutine does not leak across monitoring tests.

Change-source: pulse-maintainer
2026-11-29 02:08:36 +00:00
pulse-triage[bot]
4b4abb421c Align scheduled reporting and MSP plan ceiling Help docs with runtime (#5464)
Document all scheduled reporting routes, status codes, schedule kinds
(resources, vm_inventory, backup_health including not_observed history
coverage and Pulse Pro runtime rendering, and patrol_digest), SMTP
pre-checks, 15 MiB attachment caps, and retry/unconfirmed semantics in
docs/API.md and docs/MSP.md, removing the stale claim that missing SMTP
falls back to saving reports to disk. Align ARCHITECTURE.md,
docs/DEPLOYMENT_MODELS.md, and docs/PULSE_PRO.md with the Scale
40-workspace MSP ceiling and no Pulse-hosted MSP service today, sync all
five shipped frontend-modern/public/docs mirrors, and add regression
tests in scripts/tests/test_reporting_schedule_docs.py and
scripts/tests/test_deployment_update_docs.py.

Contract-Neutral: Documentation and documentation regression tests only;
runtime reporting routes, schedule validation, and MSP plan limits are
unchanged.

---
Fleet candidate `20261129T010634Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`7e4d373833a6673b80a0bdd582f3576b3a5b178d` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 01:59:11 +00:00
pulse-triage[bot]
7e4d373833 Align scheduled reporting and MSP plan ceiling Help docs with runtime
Document all scheduled reporting routes, status codes, schedule kinds
(resources, vm_inventory, backup_health including not_observed history
coverage and Pulse Pro runtime rendering, and patrol_digest), SMTP
pre-checks, 15 MiB attachment caps, and retry/unconfirmed semantics in
docs/API.md and docs/MSP.md, removing the stale claim that missing SMTP
falls back to saving reports to disk. Align ARCHITECTURE.md,
docs/DEPLOYMENT_MODELS.md, and docs/PULSE_PRO.md with the Scale
40-workspace MSP ceiling and no Pulse-hosted MSP service today, sync all
five shipped frontend-modern/public/docs mirrors, and add regression
tests in scripts/tests/test_reporting_schedule_docs.py and
scripts/tests/test_deployment_update_docs.py.

Contract-Neutral: Documentation and documentation regression tests only; runtime reporting routes, schedule validation, and MSP plan limits are unchanged.
Change-source: pulse-maintainer
2026-11-29 01:20:07 +00:00
pulse-triage[bot]
84ea313025 Align Pro runtime gating and switch guidance across shipped Help docs
Align six unclaimed shipped Help guides and their mirrored copies under
frontend-modern/public/docs/ with FilterCapabilitiesForRuntimeIdentity in
pkg/licensing/entitlement_payload.go and the shipped Pro runtime switch UI
in frontend-modern/src/components/Settings/ProLicensePlanSection.tsx:
- Document paid_runtime_required blocking and the Settings -> System -> Plans & Billing
  Pro runtime switch path (Switch this install to Pulse Pro / Switch this container to
  Pulse Pro, with Download Pulse Pro fallback) in docs/CENTRALIZED_MANAGEMENT.md
  (agent_profiles) and docs/AI_AUTONOMY.md (ai_autofix).
- Add the shipped in-app Pro runtime switch path alongside Download Pulse Pro in
  docs/AUDIT_LOGGING.md, docs/WEBHOOKS.md (Audit Webhooks), and docs/FAQ.md.
- Enumerate all six privateRuntimeCapabilities keys (ai_alerts, ai_autofix,
  kubernetes_ai, agent_profiles, rbac, audit_logging) plus Pro reporting extensions
  and paid_runtime_required in docs/AUTO_UPDATE.md.
- Add source-bound regression coverage in scripts/tests/test_license_recovery_docs.py.

Contract-Neutral: Aligns shipped Help documentation and doc-verification tests with existing runtime capability filtering and Pro runtime switch UI without modifying runtime or API contracts.
Change-source: pulse-maintainer
2026-11-29 00:44:39 +00:00
pulse-triage[bot]
45d5c6e709 Eliminate 70s real-clock waits and parallelize slow Pulse backend tests (#5457)
Address the #1 product-repo output constraint in
signals/output-constraints.json
(`PR checks (Pulse)`, 19.1m median / 44.8m p90) by removing real-clock
idle
waits and serial test bottlenecks across five slow backend packages on
the
`Backend tests (rest-*)` and `Unified Agent Native Verification`
critical paths:

- `internal/websocket/hub_test.go`: run
`TestClientWriterRevalidatesIdleConnection`
inside `testing/synctest` over an in-memory buffered `net.Conn` listener
so
the real production `client.writePump()` 30-second ping ticker and
policy
withdrawal run in virtual time (`30.00s` -> `0.00s` under `-race`). Add
`t.Parallel()` to 87 verified global-free tests across 10 files (keeping
  `setAuditLogger`, `log.Logger`, and `SetGlobalLevel` tests serial).
- `internal/truenas/transport_test.go`: run
`TestAuthenticatedRPCSurvivesIdleTransportTimeout` inside
`testing/synctest`
  over an in-memory buffered TLS `net.Conn` listener via
`client.outboundDialContext` so the real 30-second keepalive ticker,
35-second
idle deadline, and 40-second idle wait run in virtual time (`40.02s` ->
`0.02s` under `-race`). Add `t.Parallel()` to 98 verified global-free
tests
across 3 files (keeping `captureRPCCloseLogs` and `t.Setenv` tests
serial).
- `internal/unifiedresources/*_test.go` (14 files): add `t.Parallel()`
to 294
verified global-free tests across the slowest serial test files so they
run
concurrently and overlap with `TestRetentionLoop_RunsInitialPrune`'s 30s
wait (keeping `AllocsPerRun`, `mock.SetEnabled`, and `t.Setenv` files
serial).
- `pkg/proxmox/*_test.go` (4 files): add `t.Parallel()` to caller-budget
and
context-cancellation tests and subtests (keeping `log.Logger` tests
serial
  and leaving human-claimed `ha_status_test.go` untouched).
- `scripts/installtests/*_test.go` (17 files): add `t.Parallel()` to 110
verified isolated tests (including `agent_url_admission_test.go` and its
8
  subtests; leaving human-claimed `build_release_assets_test.go` /
`root_install_sh_test.go`, `guidance_recipe_runner_test.go`, and serial
  `TestInstallSHNASBootOwnersQuiesceBeforeRecoveryErasure` untouched).

Zero production code or test assertions changed.

Contract-Neutral: Test-only virtual-time (testing/synctest) and
t.Parallel() execution speedups; no production behavior or subsystem
contract changes.

---
Fleet candidate `20261128T184500Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`d1d08f4e7d209a5974041613d7bf8f525fa94179` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 00:23:37 +00:00
pulse-triage[bot]
6cf31ff133 Align Cloud availability and Pro runtime switch Help docs (#5456)
Align eight unclaimed shipped Help guides and their mirrored copies
under
frontend-modern/public/docs/ with current Pulse runtime behavior:
- Clarify in docs/CLOUD.md that Pulse Cloud is not generally available
  (matching docs/README.md) and remove the unscheduled custom-domain
  future-release promise.
- Document the shipped Switch this install to Pulse Pro (systemd/Proxmox
  LXC) and Switch this container to Pulse Pro (Docker) cards from
  ProLicensePlanSection.tsx across docs/RBAC.md, docs/UPGRADE_v6.md,
  docs/PRODUCTION_SECURITY.md, and docs/i18n/{de,es,fr}/README.md while
  preserving manual pulserelay.pro/download.html guidance.
- Align SECURITY.md's token management breadcrumb to
  Settings -> Security -> API Access.
- Add source-bound regression tests in
scripts/tests/test_cloud_migration_docs.py,
  scripts/tests/test_localized_public_docs.py, and
  scripts/tests/test_upgrade_v6_docs.py.

Contract-Neutral: Aligns shipped Help documentation and doc-verification
tests with already-shipped Pro runtime switch UI, Cloud availability
posture, and Security navigation without modifying runtime or API
contracts.

---
Fleet candidate `20261128T232846Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`9d40b90fdd6e44ad2f40f8a2b59ed93888d698a5` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 00:03:00 +00:00
pulse-triage[bot]
f1383b424d Align Pro runtime switching, License/Relay API, and Map inspector docs (#5453)
**Align Pro runtime switching, License/Relay API, and Map inspector
docs**

- Align docs/PULSE_PRO.md (and its frontend-modern/public/docs/ mirror)
  with the shipped in-app Switch this install to Pulse Pro and Switch
  this container to Pulse Pro cards (GET /api/updates/pro-runtime,
  POST /api/updates/pro-runtime/apply), typed refusal reasons, and
  GET /api/license/runtime-capabilities (capabilities vs
  blocked_capabilities on Community builds).
- Document GET /api/license/runtime-capabilities,
  GET /api/license/entitlements, and GET /api/license/commercial-posture
  in docs/API.md (and its mirror) to match
  internal/api/router_routes_licensing.go.
- Align docs/RELAY.md (and its mirror) API Reference with all six routes
  and admin/authenticated plus relay-entitlement gates in
  internal/api/router_routes_ai_relay.go.
- Align the held docs/MAP.md guide (and its mirror, remaining unlinked
  while Map is in Build stage) with #5415's zero-shift bottom inspector
  bar, priority-ordered anomalies, and preserved touch tap cards.
- Add source-bound documentation verification tests in
  scripts/tests/test_license_recovery_docs.py and
  scripts/tests/test_relay_and_map_docs.py.

Contract-Neutral: Documentation and documentation-only tests aligned to
existing shipped runtime contracts with no behavioral or subsystem
contract change.

**Fix Relay onboarding auth and scope contract in RELAY.md**

Clarify in docs/RELAY.md (and its frontend-modern/public/docs/ mirror)
that all six Relay and mobile onboarding routes require administrator
access for browser sessions (via RequireAdmin or ensureSettingsReadScope
in internal/api/router_routes_ai_relay.go), while API tokens require an
instance-wide settings:read or settings:write token on
/api/settings/relay* and accept either relay:mobile:access or
settings:read on /api/onboarding/*. Update
scripts/tests/test_relay_and_map_docs.py to verify this contract and
assert Map stays unlinked before release while featureReleases.json is
not at stage released.

Contract-Neutral: Documentation accuracy correction and docs-only test
update aligned to existing shipped router and scope contracts with no
runtime behavior change.

---
Fleet candidate `20261128T225512Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`9aa26db022492ad2acecc5576efac30b046e5cab` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 23:41:47 +00:00
pulse-triage[bot]
9d40b90fdd Align Cloud availability and Pro runtime switch Help docs
Align eight unclaimed shipped Help guides and their mirrored copies under
frontend-modern/public/docs/ with current Pulse runtime behavior:
- Clarify in docs/CLOUD.md that Pulse Cloud is not generally available
  (matching docs/README.md) and remove the unscheduled custom-domain
  future-release promise.
- Document the shipped Switch this install to Pulse Pro (systemd/Proxmox
  LXC) and Switch this container to Pulse Pro (Docker) cards from
  ProLicensePlanSection.tsx across docs/RBAC.md, docs/UPGRADE_v6.md,
  docs/PRODUCTION_SECURITY.md, and docs/i18n/{de,es,fr}/README.md while
  preserving manual pulserelay.pro/download.html guidance.
- Align SECURITY.md's token management breadcrumb to
  Settings -> Security -> API Access.
- Add source-bound regression tests in scripts/tests/test_cloud_migration_docs.py,
  scripts/tests/test_localized_public_docs.py, and
  scripts/tests/test_upgrade_v6_docs.py.

Contract-Neutral: Aligns shipped Help documentation and doc-verification tests with already-shipped Pro runtime switch UI, Cloud availability posture, and Security navigation without modifying runtime or API contracts.
Change-source: pulse-maintainer
2026-11-28 23:41:33 +00:00
pulse-triage[bot]
76b566749f Enforce shipped-Help link and doc-lint guards in Public docs CI (#5452)
Docs-only pull requests and pushes skip Build and Test's frontend lint
job via scripts/ci_docs_only.py, relying on
.github/workflows/public-docs.yml
to guard public documentation and shipped in-app Help. Previously,
Public
docs omitted four frontend doc-lint audits that only ran under Build and
Test's npm run lint:

- Run the three zero-dependency Node doc audits unconditionally before
  the docs recipe shards in Public docs (no actions/setup-node or npm ci
  overhead): feature-release-audit.mjs (blocks unreleased build/preview
  feature guides from shipped Help and release notes),
  external-domain-audit.mjs (blocks fabricated Pulse-branded domains),
  and planning-doc-status-audit.mjs (requires explicit Status headers on
  docs/*_{SPEC,PLAN,CONTRACT}.md).
- Run npm run lint:shipped-docs-links (added in #5448) inside Public
  docs' existing in-app Help check immediately after npm ci so broken
  relative repository links, invalid /docs/* routes, and missing heading
  anchors fail docs-only PRs before merging.
- Extend scripts/tests/test_public_docs_workflow.py to assert all four
  workflow steps and ordering, execute the three zero-dependency audits
  against both the live repository and failing/passing temporary git
  fixtures, and verify the package.json script binding for
  lint:shipped-docs-links.

Contract-Neutral: Extends the Public docs GitHub Actions workflow and
its workflow contract tests to run existing frontend doc-lint audits on
docs-only changes with no runtime, API, schema, or subsystem contract
delta.

---
Fleet candidate `20261128T225257Z-web-product` from the `web-product`
lane. Reviewed tip `9a9e3d310c434420879ad9a92c15542ec4245fd5` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 23:28:06 +00:00
pulse-triage[bot]
9aa26db022 Fix Relay onboarding auth and scope contract in RELAY.md
Clarify in docs/RELAY.md (and its frontend-modern/public/docs/ mirror) that all six Relay and mobile onboarding routes require administrator access for browser sessions (via RequireAdmin or ensureSettingsReadScope in internal/api/router_routes_ai_relay.go), while API tokens require an instance-wide settings:read or settings:write token on /api/settings/relay* and accept either relay:mobile:access or settings:read on /api/onboarding/*. Update scripts/tests/test_relay_and_map_docs.py to verify this contract and assert Map stays unlinked before release while featureReleases.json is not at stage released.

Contract-Neutral: Documentation accuracy correction and docs-only test update aligned to existing shipped router and scope contracts with no runtime behavior change.
Change-source: pulse-maintainer
2026-11-28 23:24:43 +00:00
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]
9a9e3d310c Enforce shipped-Help link and doc-lint guards in Public docs CI
Docs-only pull requests and pushes skip Build and Test's frontend lint
job via scripts/ci_docs_only.py, relying on .github/workflows/public-docs.yml
to guard public documentation and shipped in-app Help. Previously, Public
docs omitted four frontend doc-lint audits that only ran under Build and
Test's npm run lint:

- Run the three zero-dependency Node doc audits unconditionally before
  the docs recipe shards in Public docs (no actions/setup-node or npm ci
  overhead): feature-release-audit.mjs (blocks unreleased build/preview
  feature guides from shipped Help and release notes),
  external-domain-audit.mjs (blocks fabricated Pulse-branded domains),
  and planning-doc-status-audit.mjs (requires explicit Status headers on
  docs/*_{SPEC,PLAN,CONTRACT}.md).
- Run npm run lint:shipped-docs-links (added in #5448) inside Public
  docs' existing in-app Help check immediately after npm ci so broken
  relative repository links, invalid /docs/* routes, and missing heading
  anchors fail docs-only PRs before merging.
- Extend scripts/tests/test_public_docs_workflow.py to assert all four
  workflow steps and ordering, execute the three zero-dependency audits
  against both the live repository and failing/passing temporary git
  fixtures, and verify the package.json script binding for
  lint:shipped-docs-links.

Contract-Neutral: Extends the Public docs GitHub Actions workflow and its workflow contract tests to run existing frontend doc-lint audits on docs-only changes with no runtime, API, schema, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 23:05:53 +00:00
pulse-triage[bot]
e372097c0e Align Patrol, Operational Trust, and Unified Resources Help docs (#5451)
**Align Patrol, Operational Trust, and Unified Resources Help docs**

Fix runtime drift across four shipped Help guides and their mirrored
copies under
frontend-modern/public/docs/:

- docs/AI_AUTONOMY.md: document that local subscription agent CLIs
(codex-subscription, claude-subscription) run 1 investigation at a time
  rather than 3 in parallel (GetPatrolInvestigationConcurrency() in
internal/config/ai.go), document the 64-finding critical-first in-memory
deferred queue (maxDeferredInvestigations), and document the
human-session
  Autopilot acknowledgement API endpoints
  (POST /api/ai/patrol/autonomy/acknowledgements and
  DELETE /api/ai/patrol/autonomy/acknowledgements/{id}).
- docs/PATROL_ARCHITECTURE.md: document investigation concurrency limits
and
  the in-memory critical-first deferred queue
  (internal/ai/patrol_investigation_queue.go).
- docs/OPERATIONAL_TRUST.md: list all ten registered
pulse_operational_trust_*
  Prometheus metrics and their bounded label vocabularies from
  internal/operationaltrust/metrics.go, including partial_permission on
evidence observations, and reference full metric names in alert
examples.
- docs/UNIFIED_RESOURCES.md: replace the contradictory "upgrading from
platform-specific navigation" description for MIGRATION_UNIFIED_NAV.md
with
  its retired historical context matching docs/README.md.

Extend source-bound regression tests in
scripts/tests/test_authentication_diagnostic_docs.py,
scripts/tests/test_production_rollout_docs.py, and
scripts/tests/test_navigation_help_docs.py.

Contract-Neutral: Shipped Help documentation alignment and source-bound
docs unit tests only; no runtime UI, backend API, schema, auth, or
subsystem contract delta.

**Remove semicolons and em dash from updated Help docs prose**

Replace semicolons in docs/AI_AUTONOMY.md and docs/OPERATIONAL_TRUST.md
and
the em dash in docs/UNIFIED_RESOURCES.md (plus their shipped mirrors
under
frontend-modern/public/docs/) to satisfy scripts/check_public_docs.py
diff-mode prose rules.

Contract-Neutral: Punctuation-only cleanup in shipped Help
documentation; no runtime UI, backend API, schema, auth, or subsystem
contract delta.

**Fix evidence metric other label placement in Operational Trust Help**

In internal/operationaltrust/metrics.go, operationalEvidenceMetricState
only emits the seven explicit evidence states and never returns other,
while operationalMetricSource uses boundedMetricLabel and falls back to
other. Move other from state to source in docs/OPERATIONAL_TRUST.md and
its shipped mirror.

Contract-Neutral: Shipped Help documentation accuracy fix only; no
runtime UI, backend API, schema, auth, or subsystem contract delta.

---
Fleet candidate `20261128T222013Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`bc408415ab04658467709d410978bc19368f62e0` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 22:58:20 +00:00
pulse-triage[bot]
d160c6d886 Align Patrol, Operational Trust, and Unified Resources Help docs
Fix runtime drift across four shipped Help guides and their mirrored copies under
frontend-modern/public/docs/:

- docs/AI_AUTONOMY.md: document that local subscription agent CLIs
  (codex-subscription, claude-subscription) run 1 investigation at a time
  rather than 3 in parallel (GetPatrolInvestigationConcurrency() in
  internal/config/ai.go), document the 64-finding critical-first in-memory
  deferred queue (maxDeferredInvestigations), and document the human-session
  Autopilot acknowledgement API endpoints
  (POST /api/ai/patrol/autonomy/acknowledgements and
  DELETE /api/ai/patrol/autonomy/acknowledgements/{id}).
- docs/PATROL_ARCHITECTURE.md: document investigation concurrency limits and
  the in-memory critical-first deferred queue
  (internal/ai/patrol_investigation_queue.go).
- docs/OPERATIONAL_TRUST.md: list all ten registered pulse_operational_trust_*
  Prometheus metrics and their bounded label vocabularies from
  internal/operationaltrust/metrics.go, including partial_permission on
  evidence observations, and reference full metric names in alert examples.
- docs/UNIFIED_RESOURCES.md: replace the contradictory "upgrading from
  platform-specific navigation" description for MIGRATION_UNIFIED_NAV.md with
  its retired historical context matching docs/README.md.

Extend source-bound regression tests in
scripts/tests/test_authentication_diagnostic_docs.py,
scripts/tests/test_production_rollout_docs.py, and
scripts/tests/test_navigation_help_docs.py.

Contract-Neutral: Shipped Help documentation alignment and source-bound docs unit tests only; no runtime UI, backend API, schema, auth, or subsystem contract delta.
Change-source: pulse-maintainer
2026-11-28 22:35:37 +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]
d1d08f4e7d Eliminate 70s real-clock waits and parallelize slow Pulse backend tests
Address the #1 product-repo output constraint in signals/output-constraints.json
(`PR checks (Pulse)`, 19.1m median / 44.8m p90) by removing real-clock idle
waits and serial test bottlenecks across five slow backend packages on the
`Backend tests (rest-*)` and `Unified Agent Native Verification` critical paths:

- `internal/websocket/hub_test.go`: run `TestClientWriterRevalidatesIdleConnection`
  inside `testing/synctest` over an in-memory buffered `net.Conn` listener so
  the real production `client.writePump()` 30-second ping ticker and policy
  withdrawal run in virtual time (`30.00s` -> `0.00s` under `-race`). Add
  `t.Parallel()` to 87 verified global-free tests across 10 files (keeping
  `setAuditLogger`, `log.Logger`, and `SetGlobalLevel` tests serial).
- `internal/truenas/transport_test.go`: run
  `TestAuthenticatedRPCSurvivesIdleTransportTimeout` inside `testing/synctest`
  over an in-memory buffered TLS `net.Conn` listener via
  `client.outboundDialContext` so the real 30-second keepalive ticker, 35-second
  idle deadline, and 40-second idle wait run in virtual time (`40.02s` ->
  `0.02s` under `-race`). Add `t.Parallel()` to 98 verified global-free tests
  across 3 files (keeping `captureRPCCloseLogs` and `t.Setenv` tests serial).
- `internal/unifiedresources/*_test.go` (14 files): add `t.Parallel()` to 294
  verified global-free tests across the slowest serial test files so they run
  concurrently and overlap with `TestRetentionLoop_RunsInitialPrune`'s 30s
  wait (keeping `AllocsPerRun`, `mock.SetEnabled`, and `t.Setenv` files serial).
- `pkg/proxmox/*_test.go` (4 files): add `t.Parallel()` to caller-budget and
  context-cancellation tests and subtests (keeping `log.Logger` tests serial
  and leaving human-claimed `ha_status_test.go` untouched).
- `scripts/installtests/*_test.go` (17 files): add `t.Parallel()` to 110
  verified isolated tests (including `agent_url_admission_test.go` and its 8
  subtests; leaving human-claimed `build_release_assets_test.go` /
  `root_install_sh_test.go`, `guidance_recipe_runner_test.go`, and serial
  `TestInstallSHNASBootOwnersQuiesceBeforeRecoveryErasure` untouched).

Zero production code or test assertions changed.

Contract-Neutral: Test-only virtual-time (testing/synctest) and t.Parallel() execution speedups; no production behavior or subsystem contract changes.
Change-source: pulse-maintainer
2026-11-28 19:24:22 +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