Commit Graph
21530 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] c48788bdf4 Fix operator time validation and Alerts card/threshold usability (#5479)
Repair functional validation, dark-mode border/contrast, keyboard focus,
and mobile touch-target defects across unclaimed Alerts and per-resource
Operator Overrides surfaces:

- ResourceOperatorStateSection.tsx: validate recurring maintenance and
  automatic-action daily-hours HH:MM inputs via parseTimeToMinute so
  clearing a time input disables Save and reports a role="alert" error
  instead of submitting NaN/null minutes; gate handleScheduleSave on
  scheduleValidationError() for both one-time and recurring schedules;
  disable One time/Recurring toggles, weekday buttons, recurring inputs,
  and Applies to select during saves; add aria-pressed to One time and
  Recurring buttons; and add blue focus-visible rings and 44px mobile
  touch targets across all 14 buttons and time/timezone inputs.
- AlertOverviewAlertCard.tsx & alertOverviewPresentation.ts: add
explicit
  type="button" on Acknowledge and Timeline actions, add min-h-11 mobile
  touch targets and blue focus-visible rings to primary/secondary alert
card actions (aligning flush with 44px Snooze on 360px phones), and add
  focus-visible rings to alert resource links.
- ResourceMonitoringPolicyAction.tsx: raise the Monitoring trigger
button
  to min-h-11 on mobile with a blue focus-visible ring, and add inset
  blue focus-visible rings plus focus:bg-surface-hover highlighting on
  portaled menuitem choices.
- AlertsConfigurationSurface.tsx: add explicit type="button" on Reload
  settings and add min-h-11 mobile targets plus blue focus-visible rings
  on Reload settings, Save Changes, and Discard in the floating
  unsaved-changes bar.
- AlertResourceTableMobile.tsx, AlertResourceTableRow.tsx, and
  AlertResourceMetricEditor.tsx: replace bare Tailwind v4 border-t and
  off-state border classes with explicit border-border (fixing stark
  white dark-mode lines), replace nine low-contrast text-slate-400/500
  classes with text-muted, and add blue focus rings to desktop metric
  edit cells and mobile card metric inputs.
- Add targeted Vitest regression coverage across all modified components
  and record paired desktop/narrow dark/light browser proof receipt
  ac8ceedae3c2a23a.json.

Contract-Neutral: Repairs client-side time-window validation, semantic
border/text tokens, mobile touch targets, and keyboard accessibility in
existing Alerts and Operator Overrides UI components without changing
API payloads, routes, or subsystem contracts.

---
Fleet candidate `20261129T052113Z-web-product` from the `web-product`
lane. Reviewed tip `78b6dff71d0113426bce61acb2372270a184824c` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 06:28: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] 78b6dff71d Fix operator time validation and Alerts card/threshold usability
Repair functional validation, dark-mode border/contrast, keyboard focus,
and mobile touch-target defects across unclaimed Alerts and per-resource
Operator Overrides surfaces:

- ResourceOperatorStateSection.tsx: validate recurring maintenance and
  automatic-action daily-hours HH:MM inputs via parseTimeToMinute so
  clearing a time input disables Save and reports a role="alert" error
  instead of submitting NaN/null minutes; gate handleScheduleSave on
  scheduleValidationError() for both one-time and recurring schedules;
  disable One time/Recurring toggles, weekday buttons, recurring inputs,
  and Applies to select during saves; add aria-pressed to One time and
  Recurring buttons; and add blue focus-visible rings and 44px mobile
  touch targets across all 14 buttons and time/timezone inputs.
- AlertOverviewAlertCard.tsx & alertOverviewPresentation.ts: add explicit
  type="button" on Acknowledge and Timeline actions, add min-h-11 mobile
  touch targets and blue focus-visible rings to primary/secondary alert
  card actions (aligning flush with 44px Snooze on 360px phones), and add
  focus-visible rings to alert resource links.
- ResourceMonitoringPolicyAction.tsx: raise the Monitoring trigger button
  to min-h-11 on mobile with a blue focus-visible ring, and add inset
  blue focus-visible rings plus focus:bg-surface-hover highlighting on
  portaled menuitem choices.
- AlertsConfigurationSurface.tsx: add explicit type="button" on Reload
  settings and add min-h-11 mobile targets plus blue focus-visible rings
  on Reload settings, Save Changes, and Discard in the floating
  unsaved-changes bar.
- AlertResourceTableMobile.tsx, AlertResourceTableRow.tsx, and
  AlertResourceMetricEditor.tsx: replace bare Tailwind v4 border-t and
  off-state border classes with explicit border-border (fixing stark
  white dark-mode lines), replace nine low-contrast text-slate-400/500
  classes with text-muted, and add blue focus rings to desktop metric
  edit cells and mobile card metric inputs.
- Add targeted Vitest regression coverage across all modified components
  and record paired desktop/narrow dark/light browser proof receipt
  ac8ceedae3c2a23a.json.

Contract-Neutral: Repairs client-side time-window validation, semantic border/text tokens, mobile touch targets, and keyboard accessibility in existing Alerts and Operator Overrides UI components without changing API payloads, routes, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 05:58:31 +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] 95123a74f9 Fix Alerts bulk-edit dialog, slider focus/contrast, and destinations (#5477)
Repair layout, keyboard focus, contrast, and semantic-token defects
across
Alerts Thresholds and Notification Destinations surfaces:

- BulkEditDialog.tsx: remove the duplicate nested fixed inset-0
min-h-screen
overlay inside Dialog (which collapsed Dialog's role="dialog" shell to a
2px
ghost border strip and dropped horizontal padding at 360px phone
widths),
  link ariaLabelledBy to the heading, pass disabled={isOff()} to
  ThresholdSlider so metrics toggled Off visibly dim and disable, raise
Unchanged/Clear dark-mode contrast with text-muted, and add min-h-11
mobile
touch targets and blue focus-visible rings to Clear, Cancel, and Apply.
- ThresholdSlider.tsx: add peer on the hidden range input and a visible
blue
peer-focus-visible ring on the custom thumb pill so keyboard users can
see
slider focus, and render thumb values in text-base-content (keeping
metric
color borders via border-current) to fix ~2.2:1 light-mode contrast on
green
  and amber thresholds.
- ThresholdsTable.tsx: add blue focus-visible rings on the help-banner
dismiss,
Expand all, and Collapse all buttons, and replace hover:text-muted with
  text-muted hover:text-base-content.
- AlertDeliveryLogCard.tsx: migrate hardcoded gray-* neutral classes to
  semantic tokens (text-base-content, text-muted, border-border,
hover:bg-surface-hover, divide-border, bg-surface-alt) and add a 44px
mobile
  touch target plus blue offset focus-visible ring on Refresh.
- WebhookConfigForm.tsx, EmailProviderSelect.tsx,
AlertAppriseDestinationsSection.tsx, and AlertDestinationOffSummary.tsx:
add
  aria-pressed and blue focus-visible rings to webhook service selector
buttons, add focus-visible rings to custom
field/header/reapply/test/show-
  settings buttons, and replace overflow-hidden with min-w-0 on
  EmailProviderSelect so edge focus rings are not clipped at 360px.
- Add targeted Vitest regression assertions across all seven test files
and
  record paired desktop/narrow dark/light browser proof receipt
  2d83a24486fa9fd6.json.

Contract-Neutral: Fixes dialog layout, slider focus/contrast, semantic
tokens, and keyboard accessibility in existing Alerts Thresholds and
Destinations UI components without changing API payloads, routes, or
subsystem contracts.

---
Fleet candidate `20261129T043009Z-web-product` from the `web-product`
lane. Reviewed tip `6334ff59b6a3baaa5391b5a4c9d01ac048b72fc8` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 05:35:11 +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] 6334ff59b6 Fix Alerts bulk-edit dialog, slider focus/contrast, and destinations
Repair layout, keyboard focus, contrast, and semantic-token defects across
Alerts Thresholds and Notification Destinations surfaces:

- BulkEditDialog.tsx: remove the duplicate nested fixed inset-0 min-h-screen
  overlay inside Dialog (which collapsed Dialog's role="dialog" shell to a 2px
  ghost border strip and dropped horizontal padding at 360px phone widths),
  link ariaLabelledBy to the heading, pass disabled={isOff()} to
  ThresholdSlider so metrics toggled Off visibly dim and disable, raise
  Unchanged/Clear dark-mode contrast with text-muted, and add min-h-11 mobile
  touch targets and blue focus-visible rings to Clear, Cancel, and Apply.
- ThresholdSlider.tsx: add peer on the hidden range input and a visible blue
  peer-focus-visible ring on the custom thumb pill so keyboard users can see
  slider focus, and render thumb values in text-base-content (keeping metric
  color borders via border-current) to fix ~2.2:1 light-mode contrast on green
  and amber thresholds.
- ThresholdsTable.tsx: add blue focus-visible rings on the help-banner dismiss,
  Expand all, and Collapse all buttons, and replace hover:text-muted with
  text-muted hover:text-base-content.
- AlertDeliveryLogCard.tsx: migrate hardcoded gray-* neutral classes to
  semantic tokens (text-base-content, text-muted, border-border,
  hover:bg-surface-hover, divide-border, bg-surface-alt) and add a 44px mobile
  touch target plus blue offset focus-visible ring on Refresh.
- WebhookConfigForm.tsx, EmailProviderSelect.tsx,
  AlertAppriseDestinationsSection.tsx, and AlertDestinationOffSummary.tsx: add
  aria-pressed and blue focus-visible rings to webhook service selector
  buttons, add focus-visible rings to custom field/header/reapply/test/show-
  settings buttons, and replace overflow-hidden with min-w-0 on
  EmailProviderSelect so edge focus rings are not clipped at 360px.
- Add targeted Vitest regression assertions across all seven test files and
  record paired desktop/narrow dark/light browser proof receipt
  2d83a24486fa9fd6.json.

Contract-Neutral: Fixes dialog layout, slider focus/contrast, semantic tokens, and keyboard accessibility in existing Alerts Thresholds and Destinations UI components without changing API payloads, routes, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 05:03:51 +00:00
pulse-triage[bot] 20acb32cc9 Fix remaining unclaimed dead DaisyUI styles and tighten ESLint (#5475)
Replace undefined DaisyUI utility classes that emit zero CSS in Pulse's
Tailwind CSS v4 build across all remaining unclaimed shipped production
components, and tighten the ESLint CSS allowlists and token rules:

- AvailabilityDrawerHistory.tsx: replace dead `bg-base-200/70` on the
  two loading skeletons with `bg-surface-alt dark:bg-surface-hover` so
  skeletons are visible in both light and dark modes inside
  `InfoCardFrame`, and replace `bg-base-200/70` on the status timeline
  track with the recessed semantic well token `bg-page`.
- ContainerUpdateBadge.tsx: replace dead `focus-visible:outline-primary`
  on both locked Update controls (`<span>` and `<button>`) with explicit
  `focus-visible:outline-solid focus-visible:outline-2
  focus-visible:outline-offset-2 focus-visible:outline-blue-500`.
- DockerApplications.tsx & DockerComposeDeployments.tsx: replace dead
  `text-primary` and `hover:text-primary` on Compose application list
  hover links, "All applications" back links, and reviewed service
  deployment links with WCAG AA interactive blue (`text-blue-600
  dark:text-blue-400`) and explicit blue `focus-visible` outlines.
- KubernetesConfigTable.tsx: replace dead `text-primary` on the
  "Show all N" / "Hide routine metadata-only" toggle button with WCAG AA
  interactive blue, subtle hit-area padding (`px-1.5 py-0.5`), and an
  explicit blue `focus-visible` outline.
- BrandingSettingsCard.tsx: replace dead `text-error` on the header logo
`role="alert"` validation message with `text-red-600 dark:text-red-400`.
- eslint.config.js: extend `UNDEFINED_DAISYUI_TOKEN` to block dead
  `outline-*` DaisyUI classes (such as `outline-primary` and
  `outline-accent`) and remove twelve clean files from
`UNDEFINED_DAISYUI_PREEXISTING_FILES` / `OUTLINE_NONE_PREEXISTING_FILES`
  (the five newly fixed files above, three already-landed Alerts files
  from #5463, and four newly landed files from #5468).
- Add rendered unit tests across all six components plus ESLint
  guardrail assertions, and record paired desktop/mobile dark/light
  browser verification receipt `cbc1bcf2a679e261.json`.

Contract-Neutral: Fixes dead DaisyUI CSS classes, focus outlines, and
ESLint CSS allowlists in existing Availability, Docker, Kubernetes, and
Branding UI components without changing API payloads, routes, or
subsystem contracts.

---
Fleet candidate `20261129T034523Z-web-product` from the `web-product`
lane. Reviewed tip `1c4186073cc009090dcc36e6db7f3399e8678e68` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 05:01:49 +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] 945e88fe08 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.
Change-source: pulse-maintainer
2026-11-29 04:42:44 +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] 280bab9d56 Align API Reference auth, TrueNAS scope, and route contracts (#5473)
**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.

**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.

---
Fleet candidate `20261129T032957Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`669ede860fa725639979cf43dcac2955132c7334` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 04:34:15 +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] 1c4186073c Fix remaining unclaimed dead DaisyUI styles and tighten ESLint
Replace undefined DaisyUI utility classes that emit zero CSS in Pulse's
Tailwind CSS v4 build across all remaining unclaimed shipped production
components, and tighten the ESLint CSS allowlists and token rules:

- AvailabilityDrawerHistory.tsx: replace dead `bg-base-200/70` on the
  two loading skeletons with `bg-surface-alt dark:bg-surface-hover` so
  skeletons are visible in both light and dark modes inside
  `InfoCardFrame`, and replace `bg-base-200/70` on the status timeline
  track with the recessed semantic well token `bg-page`.
- ContainerUpdateBadge.tsx: replace dead `focus-visible:outline-primary`
  on both locked Update controls (`<span>` and `<button>`) with explicit
  `focus-visible:outline-solid focus-visible:outline-2
  focus-visible:outline-offset-2 focus-visible:outline-blue-500`.
- DockerApplications.tsx & DockerComposeDeployments.tsx: replace dead
  `text-primary` and `hover:text-primary` on Compose application list
  hover links, "All applications" back links, and reviewed service
  deployment links with WCAG AA interactive blue (`text-blue-600
  dark:text-blue-400`) and explicit blue `focus-visible` outlines.
- KubernetesConfigTable.tsx: replace dead `text-primary` on the
  "Show all N" / "Hide routine metadata-only" toggle button with WCAG AA
  interactive blue, subtle hit-area padding (`px-1.5 py-0.5`), and an
  explicit blue `focus-visible` outline.
- BrandingSettingsCard.tsx: replace dead `text-error` on the header logo
  `role="alert"` validation message with `text-red-600 dark:text-red-400`.
- eslint.config.js: extend `UNDEFINED_DAISYUI_TOKEN` to block dead
  `outline-*` DaisyUI classes (such as `outline-primary` and
  `outline-accent`) and remove twelve clean files from
  `UNDEFINED_DAISYUI_PREEXISTING_FILES` / `OUTLINE_NONE_PREEXISTING_FILES`
  (the five newly fixed files above, three already-landed Alerts files
  from #5463, and four newly landed files from #5468).
- Add rendered unit tests across all six components plus ESLint
  guardrail assertions, and record paired desktop/mobile dark/light
  browser verification receipt `cbc1bcf2a679e261.json`.

Contract-Neutral: Fixes dead DaisyUI CSS classes, focus outlines, and ESLint CSS allowlists in existing Availability, Docker, Kubernetes, and Branding UI components without changing API payloads, routes, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 03:59:22 +00:00
pulse-triage[bot] 0397f63650 Fix CI auth-pattern/retry failures and speed up Vitest suites (#5472)
**Fix CI auth-pattern/retry failures and speed up Vitest suites**

- Tighten connectionAuthErrorPattern in
internal/api/connections_aggregator.go
so numeric 401/403 codes require HTTP/status boundaries instead of
matching
ephemeral URL ports (:40129, :403/) or SHA-256 certificate fingerprints,
fixing live main failure 46215872442
(TestPVEConnectionsLedgerSurfacesStartupFailuresAndAlerts)
  and preventing TLS/network failures from showing as Unauthorized.
- Raise waitResolvedContract timeout in
internal/notifications/resolved_grouping_contract_test.go
from 12s to 30s to exceed the 5s-ticker 2s+4s three-attempt retry phase
  latency (~16s worst case) that timed out main run 46213654778
  (TestResolvedGroupingDisabledBurstRetainsRateLimit at 15.50s).
- Split pure stateless Node unit tests in
frontend-modern/vitest.projects.ts
and vite.config.ts into a non-isolated node-shared project while keeping
  mocking/env/storage/store/i18n/subprocess tests isolated, and route
  DOM-free scripts/__tests__/*.test.mjs files out of jsdom.
- Add per-suite NODE_COMPILE_CACHE to check-bundle-size,
build-embed-assets,
  form-label-audit, and solidSerialization subprocess tests, and memoize
repeated renderDocMarkdown reads across 14 slow uncached doc test
suites.

Contract-Neutral: Tightens internal HTTP 401/403 regex boundaries to
stop port/fingerprint false positives without changing API schemas or
external contracts; all other edits are test-runner configuration and
test-only runtime optimizations.

**Revert per-file NODE_COMPILE_CACHE in subprocess script tests**

Offline VM measurement (source-9mta_zay vs baseline source-3551_k_3)
showed
per-file empty NODE_COMPILE_CACHE directories slowed the 4-way parallel
script tests from 39.87s to 41.29s and caused three 5000ms timeouts from
concurrent cold V8 bytecode writes.

Contract-Neutral: Test-only revert removing experimental
NODE_COMPILE_CACHE from four test files; production scripts and build
behavior are unchanged.

**Route secondary doc renders through createGuideFixture in 3 doc
tests**

Completes createGuideFixture conversion for agentObserverGuide.test.ts,
recoveryBackupScopeDocs.test.ts, and temperatureFAQ.test.ts so secondary
cross-guide renders reuse the per-suite fixture cache instead of calling
removed renderDocMarkdown directly.

Contract-Neutral: Test-only fix completing fixture helper migration in
three doc unit test files.

---
Fleet candidate `20261129T023214Z-delivery-trust` from the
`delivery-trust` lane. Reviewed tip
`3c8a1353ff412af6f47e5f1d03ec4fa90e2cfe4c` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 03:59:02 +00:00
pulse-triage[bot] 6781972114 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
Change-source: pulse-maintainer
2026-11-29 03:53:15 +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] 3c8a1353ff Route secondary doc renders through createGuideFixture in 3 doc tests
Completes createGuideFixture conversion for agentObserverGuide.test.ts,
recoveryBackupScopeDocs.test.ts, and temperatureFAQ.test.ts so secondary
cross-guide renders reuse the per-suite fixture cache instead of calling
removed renderDocMarkdown directly.

Contract-Neutral: Test-only fix completing fixture helper migration in three doc unit test files.
Change-source: pulse-maintainer
2026-11-29 03:09:10 +00:00
pulse-triage[bot] 0a6dd76faf Revert per-file NODE_COMPILE_CACHE in subprocess script tests
Offline VM measurement (source-9mta_zay vs baseline source-3551_k_3) showed
per-file empty NODE_COMPILE_CACHE directories slowed the 4-way parallel
script tests from 39.87s to 41.29s and caused three 5000ms timeouts from
concurrent cold V8 bytecode writes.

Contract-Neutral: Test-only revert removing experimental NODE_COMPILE_CACHE from four test files; production scripts and build behavior are unchanged.
Change-source: pulse-maintainer
2026-11-29 03:03:37 +00:00
pulse-triage[bot] e873bb0844 Align OIDC CSRF lifecycle and API security, RBAC, and org Help docs (#5469)
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

---
Fleet candidate `20261129T021137Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`9170ad8868153fece4a8bae82c92c5214dc0e2ee` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 02:59:20 +00:00
pulse-triage[bot] 1c94b092b0 Fix CI auth-pattern/retry failures and speed up Vitest suites
- Tighten connectionAuthErrorPattern in internal/api/connections_aggregator.go
  so numeric 401/403 codes require HTTP/status boundaries instead of matching
  ephemeral URL ports (:40129, :403/) or SHA-256 certificate fingerprints,
  fixing live main failure 46215872442 (TestPVEConnectionsLedgerSurfacesStartupFailuresAndAlerts)
  and preventing TLS/network failures from showing as Unauthorized.
- Raise waitResolvedContract timeout in internal/notifications/resolved_grouping_contract_test.go
  from 12s to 30s to exceed the 5s-ticker 2s+4s three-attempt retry phase
  latency (~16s worst case) that timed out main run 46213654778
  (TestResolvedGroupingDisabledBurstRetainsRateLimit at 15.50s).
- Split pure stateless Node unit tests in frontend-modern/vitest.projects.ts
  and vite.config.ts into a non-isolated node-shared project while keeping
  mocking/env/storage/store/i18n/subprocess tests isolated, and route
  DOM-free scripts/__tests__/*.test.mjs files out of jsdom.
- Add per-suite NODE_COMPILE_CACHE to check-bundle-size, build-embed-assets,
  form-label-audit, and solidSerialization subprocess tests, and memoize
  repeated renderDocMarkdown reads across 14 slow uncached doc test suites.

Contract-Neutral: Tightens internal HTTP 401/403 regex boundaries to stop port/fingerprint false positives without changing API schemas or external contracts; all other edits are test-runner configuration and test-only runtime optimizations.
Change-source: pulse-maintainer
2026-11-29 02:57:35 +00:00
pulse-triage[bot] aab14ef6dd Fix dead DaisyUI styling in Proxmox coverage, Machines, and headers (#5468)
Replace undefined DaisyUI utility classes that silently emit zero CSS in
Pulse's Tailwind CSS v4 build across four unclaimed Proxmox coverage,
Machines, and shared platform table header components:

- ProxmoxCoverageTable.tsx: replace undefined `text-accent` and
  `focus-visible:outline-accent` on both "Show more possible latest
  tasks" and "Show more restore points" pagination buttons with WCAG AA
  interactive blue (`text-blue-600 dark:text-blue-400`), explicit
  `focus-visible:outline-blue-500`, uniform `min-h-10` (40px) touch
  targets, and muted `cursor-default text-muted` styling once exhausted.
- AgentsMachinesTable.tsx: replace five undefined DaisyUI classes
  (`bg-base-200/70`, `hover:border-primary/40`, `hover:bg-primary/10`,
`hover:text-primary`, `focus-visible:ring-primary/40`) on the `{N} VMs`
  host link pill with `bg-surface-alt`, themed blue hover states, and
  explicit `focus-visible:ring-blue-500/60`.
- TableCardHeader.tsx: replace undefined `focus-visible:ring-primary/40`
  with `focus-visible:ring-blue-500/60` and add
  `focus-visible:ring-offset-surface` so dark-mode keyboard focus on
  table clear buttons no longer flashes a bright white ring offset.
- PlatformHostScope.tsx: replace undefined
`focus-visible:ring-primary/40`
  on host-scoped table headings with `focus-visible:ring-blue-500/60`.
- Add rendered unit tests covering the updated classes and record the
  paired desktop/mobile dark/light browser verification receipt.

Contract-Neutral: Fixes dead CSS utility classes, focus outlines,
dark-mode ring offsets, and mobile touch target height in existing
Proxmox coverage, Machines, and shared table header components without
changing API payloads, routes, or subsystem contracts.

---
Fleet candidate `20261129T020320Z-web-product` from the `web-product`
lane. Reviewed tip `86bc9ae71fc2713dd9f23901a049fececc45701e` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 02:53:45 +00:00
pulse-triage[bot] de676d401d Fix SMART alert rules styling, ESLint ratchet, and Alerts bundle size (#5465)
**Fix SMART alert rules styling, ESLint ratchet, and Alerts bundle
size**

Replaces undefined DaisyUI classes in ThresholdsTableSMARTDefaultsCard
(border-base-300, text-warning, toggle-warning, input-bordered) with
Pulse themed border/surface tokens, TogglePrimitive, and 44px mobile
touch-target inputs, and stops clearing a numeric SMART input from
snapping immediately to 0 before blur. Removes
ThresholdsTableSMARTDefaultsCard.tsx from
UNDEFINED_DAISYUI_PREEXISTING_FILES
in eslint.config.js so future regressions are blocked by lint.

Deduplicates repeated platform threshold section wrappers, platform
resource memos, backup/snapshot toggle mutations, and alerts config
default maps into shared helpers, cutting the Alerts chunk by 1.13 kB
gzipped (138.11 -> 136.98 kB) and expanding Total JS headroom from
0.56 kB to 1.65 kB (1609.92 / 1611.57 kB).

Contract-Neutral: Fixes SMART alert control styling/input editing,
tightens the frontend ESLint allowlist, and deduplicates internal Alerts
threshold helpers without changing API payloads, alert semantics,
routes, or public subsystem contracts.

**Fix alert/Patrol UI contrast and focus, and enforce a11y lint audits**

Replace undefined DaisyUI classes in IncidentTimelinePanel.tsx
(`text-error`,
`text-primary`) with WCAG AA themed red/blue tokens so timeline fetch
errors
and Retry actions stay clearly legible in dark and light themes.

Ensure CollapsibleSection.tsx always applies `border-border` when
`isGloballyDisabled` is true (fixing light-gray fallback borders in dark
mode)
and replace the dead Tailwind v3 `ring-opacity-50` class with
`ring-blue-400/50`.

Replace undefined `focus-visible:ring-primary/40` on FindingsPanel.tsx
controls
with `focus-visible:ring-blue-500` and add accessible names
(`aria-label`) to
the Patrol context-note and dismissal-note textareas.

Extend frontend-modern/scripts/form-label-audit.mjs and
table-row-a11y-audit.mjs
to enforce WCAG 2.1 accessible names on native form controls (with
FindingsPanel
already clean and excluded from the pre-existing allowlist), block
interactive
roles or non-negative tabIndex on table rows, and block positive
tabIndex (> 0)
across production TSX.

Contract-Neutral: Fixes broken UI styling and WCAG accessibility in
existing Alert and Patrol components and tightens offline frontend lint
audits without changing routes, API contracts, schemas, or subsystem
guarantees.

**Tighten ESLint CSS/contrast allowlists after merged Alert/Patrol
fixes**

Remove now-clean files from pre-existing ESLint allowlists:
- Remove DEAD_TAILWIND_V3_PREEXISTING_FILES completely
(CollapsibleSection.tsx
was the final entry; pulse/no-dead-tailwind-v3-classes now applies to
all
  production UI source files).
- Remove FindingsPanel.tsx and IncidentTimelinePanel.tsx from
  UNDEFINED_DAISYUI_PREEXISTING_FILES.
- Remove CollapsibleSection.tsx, WebhookConfigForm.tsx, and
statusBadgeModel.ts
  from DARK_MODE_CONTRAST_PREEXISTING_COMPONENT_FILES (leaving only
  APITokenManager.tsx).

Update eslint-config-guardrails.test.mjs to assert all five newly clean
files
are permanently guarded against regressions.

Contract-Neutral: Tightens frontend ESLint allowlists and guardrail
tests for already-fixed Alert, Patrol, and shared UI files without
changing runtime code, routes, APIs, or subsystem contracts.

---
Fleet candidate `20261129T013750Z-web-product` from the `web-product`
lane. Reviewed tip `2bee1e79c4ffea045c6bd39ece5d30b245a1a66f` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 02:27:21 +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] 86bc9ae71f Fix dead DaisyUI styling in Proxmox coverage, Machines, and headers
Replace undefined DaisyUI utility classes that silently emit zero CSS in
Pulse's Tailwind CSS v4 build across four unclaimed Proxmox coverage,
Machines, and shared platform table header components:

- ProxmoxCoverageTable.tsx: replace undefined `text-accent` and
  `focus-visible:outline-accent` on both "Show more possible latest
  tasks" and "Show more restore points" pagination buttons with WCAG AA
  interactive blue (`text-blue-600 dark:text-blue-400`), explicit
  `focus-visible:outline-blue-500`, uniform `min-h-10` (40px) touch
  targets, and muted `cursor-default text-muted` styling once exhausted.
- AgentsMachinesTable.tsx: replace five undefined DaisyUI classes
  (`bg-base-200/70`, `hover:border-primary/40`, `hover:bg-primary/10`,
  `hover:text-primary`, `focus-visible:ring-primary/40`) on the `{N} VMs`
  host link pill with `bg-surface-alt`, themed blue hover states, and
  explicit `focus-visible:ring-blue-500/60`.
- TableCardHeader.tsx: replace undefined `focus-visible:ring-primary/40`
  with `focus-visible:ring-blue-500/60` and add
  `focus-visible:ring-offset-surface` so dark-mode keyboard focus on
  table clear buttons no longer flashes a bright white ring offset.
- PlatformHostScope.tsx: replace undefined `focus-visible:ring-primary/40`
  on host-scoped table headings with `focus-visible:ring-blue-500/60`.
- Add rendered unit tests covering the updated classes and record the
  paired desktop/mobile dark/light browser verification receipt.

Contract-Neutral: Fixes dead CSS utility classes, focus outlines, dark-mode ring offsets, and mobile touch target height in existing Proxmox coverage, Machines, and shared table header components without changing API payloads, routes, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 02:24:09 +00:00
pulse-triage[bot] 2bc93d3005 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.

Change-source: pulse-maintainer
2026-11-29 02:15:04 +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] d19e46e499 Merge candidate 8f319c62b6 (monitoring logger race fix and CI shard weights)
Change-source: pulse-maintainer
2026-11-29 02:02:32 +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] e46239bb79 Fix remaining Alerts dead DaisyUI and forced-colors focus styling (#5463)
**Fix remaining Alerts dead DaisyUI and forced-colors focus styling**

Replace undefined DaisyUI error and hover classes and Tailwind v4
focus-visible:outline-none across the remaining three Alert feature
components so error banners, snooze preset hover states, and keyboard
focus indicators render reliably in light, dark, and forced-colors
modes:

- AlertResourceIncidentsPanel.tsx: replace undefined `text-error` with
  WCAG AA `text-red-700 dark:text-red-400` on the incident load error
  banner, matching IncidentTimelinePanel.
- AlertSnoozeAction.tsx: replace undefined `hover:border-primary` and
`hover:bg-primary/5` on snooze duration preset buttons with themed blue
  hover tokens (`hover:border-blue-500 hover:bg-blue-50/70
  dark:hover:border-blue-400 dark:hover:bg-blue-950/30`).
- AlertNoDestinationsCard.tsx: replace `focus-visible:outline-none` with
  `focus-visible:outline-hidden` on both action controls so Windows High
  Contrast / forced-colors focus outlines remain visible.
- Add unit-test assertions covering the error, hover, and focus-outline
  classes across all three components.

Contract-Neutral: Fixes dead CSS utility classes and forced-colors focus
outlines in existing Alerts UI components without changing API payloads,
routes, alert semantics, or subsystem contracts.

**Record browser verification receipt for Alerts CSS and focus fixes**

Record the paired before/after desktop Chromium (1440x940 dark/light)
and mobile WebKit (360x820 dark/light) browser verification receipt
covering AlertNoDestinationsCard.tsx, AlertResourceIncidentsPanel.tsx,
and AlertSnoozeAction.tsx.

Contract-Neutral: Adds a browser verification receipt JSON for
already-committed Alerts UI fixes without changing runtime code, APIs,
routes, or subsystem contracts.

---
Fleet candidate `20261129T010108Z-web-product` from the `web-product`
lane. Reviewed tip `4fcc9d3bdbf02bdb6faeb7067721e3f72ca1fd80` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 01:50:43 +00:00
pulse-triage[bot] 2bee1e79c4 Tighten ESLint CSS/contrast allowlists after merged Alert/Patrol fixes
Remove now-clean files from pre-existing ESLint allowlists:
- Remove DEAD_TAILWIND_V3_PREEXISTING_FILES completely (CollapsibleSection.tsx
  was the final entry; pulse/no-dead-tailwind-v3-classes now applies to all
  production UI source files).
- Remove FindingsPanel.tsx and IncidentTimelinePanel.tsx from
  UNDEFINED_DAISYUI_PREEXISTING_FILES.
- Remove CollapsibleSection.tsx, WebhookConfigForm.tsx, and statusBadgeModel.ts
  from DARK_MODE_CONTRAST_PREEXISTING_COMPONENT_FILES (leaving only
  APITokenManager.tsx).

Update eslint-config-guardrails.test.mjs to assert all five newly clean files
are permanently guarded against regressions.

Contract-Neutral: Tightens frontend ESLint allowlists and guardrail tests for already-fixed Alert, Patrol, and shared UI files without changing runtime code, routes, APIs, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 01:44:24 +00:00
pulse-triage[bot] dd534c3d81 Merge reviewed PR #5458 (d0ea1cd544) onto main with #5461 fix
Change-source: pulse-maintainer
2026-11-29 01:42:50 +00:00
pulse-triage[bot] 81a77797e7 Merge reviewed PR #5460 (7da3c936e1) onto main with #5461 fix
Change-source: pulse-maintainer
2026-11-29 01:42:46 +00:00
pulse-triage[bot] 4fcc9d3bdb Record browser verification receipt for Alerts CSS and focus fixes
Record the paired before/after desktop Chromium (1440x940 dark/light)
and mobile WebKit (360x820 dark/light) browser verification receipt
covering AlertNoDestinationsCard.tsx, AlertResourceIncidentsPanel.tsx,
and AlertSnoozeAction.tsx.

Contract-Neutral: Adds a browser verification receipt JSON for already-committed Alerts UI fixes without changing runtime code, APIs, routes, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 01:24:05 +00:00
pulse-triage[bot] e6d4b3a245 Fix registration security docs test for Security API Access path (#5461)
PR #5456 aligned SECURITY.md and frontend-modern/public/docs/SECURITY.md
to
the live Settings navigation breadcrumb ("Settings → Security → API
Access").
Update the stale assertion in registrationSecurityGuide.test.ts to match
so
Public docs and frontend unit tests pass on main.

Contract-Neutral: Updates one stale Vitest assertion in
registrationSecurityGuide.test.ts to match the already-landed
SECURITY.md breadcrumb without changing runtime behavior, UI, routes, or
public subsystem contracts.

---
Fleet candidate `20261129T004020Z-web-product` from the `web-product`
lane. Reviewed tip `2201eb5375bf1abcf6ab7e560fde408b143736b6` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 01:21: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] e9edd7966c Align Pro runtime gating and switch guidance across shipped Help docs (#5462)
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.

---
Fleet candidate `20261129T002545Z-product-intelligence` from the
`product-intelligence` lane. Reviewed tip
`84ea313025fd9f90298f90083c4946404842b5c1` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-29 01:10:46 +00:00
pulse-triage[bot] 856a304b1e Fix remaining Alerts dead DaisyUI and forced-colors focus styling
Replace undefined DaisyUI error and hover classes and Tailwind v4
focus-visible:outline-none across the remaining three Alert feature
components so error banners, snooze preset hover states, and keyboard
focus indicators render reliably in light, dark, and forced-colors modes:

- AlertResourceIncidentsPanel.tsx: replace undefined `text-error` with
  WCAG AA `text-red-700 dark:text-red-400` on the incident load error
  banner, matching IncidentTimelinePanel.
- AlertSnoozeAction.tsx: replace undefined `hover:border-primary` and
  `hover:bg-primary/5` on snooze duration preset buttons with themed blue
  hover tokens (`hover:border-blue-500 hover:bg-blue-50/70
  dark:hover:border-blue-400 dark:hover:bg-blue-950/30`).
- AlertNoDestinationsCard.tsx: replace `focus-visible:outline-none` with
  `focus-visible:outline-hidden` on both action controls so Windows High
  Contrast / forced-colors focus outlines remain visible.
- Add unit-test assertions covering the error, hover, and focus-outline
  classes across all three components.

Contract-Neutral: Fixes dead CSS utility classes and forced-colors focus outlines in existing Alerts UI components without changing API payloads, routes, alert semantics, or subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 01:09:29 +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] 2201eb5375 Fix registration security docs test for Security API Access path
PR #5456 aligned SECURITY.md and frontend-modern/public/docs/SECURITY.md to
the live Settings navigation breadcrumb ("Settings → Security → API Access").
Update the stale assertion in registrationSecurityGuide.test.ts to match so
Public docs and frontend unit tests pass on main.

Contract-Neutral: Updates one stale Vitest assertion in registrationSecurityGuide.test.ts to match the already-landed SECURITY.md breadcrumb without changing runtime behavior, UI, routes, or public subsystem contracts.
Change-source: pulse-maintainer
2026-11-29 00:42:51 +00:00
pulse-triage[bot] 7da3c936e1 Fix alert/Patrol UI contrast and focus, and enforce a11y lint audits
Replace undefined DaisyUI classes in IncidentTimelinePanel.tsx (`text-error`,
`text-primary`) with WCAG AA themed red/blue tokens so timeline fetch errors
and Retry actions stay clearly legible in dark and light themes.

Ensure CollapsibleSection.tsx always applies `border-border` when
`isGloballyDisabled` is true (fixing light-gray fallback borders in dark mode)
and replace the dead Tailwind v3 `ring-opacity-50` class with `ring-blue-400/50`.

Replace undefined `focus-visible:ring-primary/40` on FindingsPanel.tsx controls
with `focus-visible:ring-blue-500` and add accessible names (`aria-label`) to
the Patrol context-note and dismissal-note textareas.

Extend frontend-modern/scripts/form-label-audit.mjs and table-row-a11y-audit.mjs
to enforce WCAG 2.1 accessible names on native form controls (with FindingsPanel
already clean and excluded from the pre-existing allowlist), block interactive
roles or non-negative tabIndex on table rows, and block positive tabIndex (> 0)
across production TSX.

Contract-Neutral: Fixes broken UI styling and WCAG accessibility in existing Alert and Patrol components and tightens offline frontend lint audits without changing routes, API contracts, schemas, or subsystem guarantees.
Change-source: pulse-maintainer
2026-11-29 00:24:12 +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] d0ea1cd544 Fix SMART alert rules styling, ESLint ratchet, and Alerts bundle size
Replaces undefined DaisyUI classes in ThresholdsTableSMARTDefaultsCard
(border-base-300, text-warning, toggle-warning, input-bordered) with
Pulse themed border/surface tokens, TogglePrimitive, and 44px mobile
touch-target inputs, and stops clearing a numeric SMART input from
snapping immediately to 0 before blur. Removes
ThresholdsTableSMARTDefaultsCard.tsx from UNDEFINED_DAISYUI_PREEXISTING_FILES
in eslint.config.js so future regressions are blocked by lint.

Deduplicates repeated platform threshold section wrappers, platform
resource memos, backup/snapshot toggle mutations, and alerts config
default maps into shared helpers, cutting the Alerts chunk by 1.13 kB
gzipped (138.11 -> 136.98 kB) and expanding Total JS headroom from
0.56 kB to 1.65 kB (1609.92 / 1611.57 kB).

Contract-Neutral: Fixes SMART alert control styling/input editing, tightens the frontend ESLint allowlist, and deduplicates internal Alerts threshold helpers without changing API payloads, alert semantics, routes, or public subsystem contracts.
Change-source: pulse-maintainer
2026-11-28 23:50:56 +00:00
pulse-triage[bot] 1550e08cf2 Harden shipped docs link audit URL check and heading tag stripping (#5454)
Replaces substring URL matching and regex HTML tag stripping in
frontend-modern/scripts/shipped-docs-links-audit.mjs to resolve
high-severity
CodeQL alerts #374 (js/incomplete-url-substring-sanitization) and #375
(js/incomplete-multi-character-sanitization):

- Parse anchor URLs with new URL(href) and match exact protocol
(http/https),
hostname (github.com), and path prefix (/rcourtman/pulse/blob/main/)
while
keeping host and path constants separate for
test_repo_docs_link_drift.py.
- Strip heading HTML tags with a linear character scanner that tracks
quoted
  attribute values and HTML tag-open characters before entity decoding.
- Add unit and fixture tests covering structured URL matching (including
lookalike hosts, query-embedded URLs, case normalization, and dot
segments)
  and character-scanned heading tag stripping.

Contract-Neutral: Hardens internal CI link-audit script parsing without
changing shipped Help routes, link rules, or public subsystem contracts.

---
Fleet candidate `20261128T231722Z-web-product` from the `web-product`
lane. Reviewed tip `bf4b2b22452149b654bbc06318eeb02e2f8d8afe` on `main`.

[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
2026-11-28 23:49:36 +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