Reconcile local scheduled work against the successfully read availability catalog. Removing a saved check drops its pending poll and any returning claim's successor. Reject queued availability proposals made against the previous roster without discarding independent provider work or treating a read failure as an empty catalog.
Change-source: pulse-maintainer
Background Patrol investigations previously inherited `DefaultPlanTTL`
(5 minutes), so approval-mode proposals expired to `needs_attention`
before an operator opened Pulse.
- Add `actionplanner.DefaultPatrolPlanTTL` (24h) beside `DefaultPlanTTL`
(5m).
- Wire `PlanOptions.TTL` through `internal/actionlifecycle` into
`actionplanner.Planner`.
- Pass `DefaultPatrolPlanTTL` from `patrolActionBroker.submit` and
`NewActionRefreshPlanner` so both new Patrol proposals and refreshed
legacy Patrol plans remain approvable for 24 hours, aligning with
investigation store retention while keeping live freshness, policy, and
emergency-stop checks intact at execution time.
Verification:
- Targeted Go tests passed across `internal/actionplanner` and
`internal/api` (`TestPlanner*`, `TestPatrolRefresh*`,
`TestPatrolActionBroker*`, `TestActionInboxSweep*`).
- `status_audit.py --check`, `registry_audit.py --check`, and pre-commit
governance guardrails passed.
**Show overdue queued polls in Scheduler Health**
A poll due within seconds and a poll left waiting past its scheduled
time can have identical queue counts. Report the oldest queued age in
the existing tenant-scoped snapshot and its saved-snapshot queries. Keep
future retries, claimed polls, and dead letters out of the age and
preserve measured zero separately from older responses.
**Link to the claimed-poll metric heading**
Match the existing fragment for the emoji-prefixed Scheduler Health
heading in the Prometheus guide.
---
Fleet candidate `20261125T212706Z-core-runtime` from the `core-runtime`
lane. Reviewed tip `1af732ddce3685891c41eaf468513b50843d2526` on `main`.
[How Pulse handles
triage](https://github.com/rcourtman/Pulse/blob/main/docs/AI_TRANSPARENCY.md)
Background Patrol investigations previously inherited DefaultPlanTTL (5 minutes), so approval-mode proposals expired to needs_attention before an operator opened Pulse.
- Add actionplanner.DefaultPatrolPlanTTL (24h) beside DefaultPlanTTL (5m).
- Add PlanOptions.TTL in internal/actionlifecycle so broker-owned callers can override the default 5-minute interactive plan TTL.
- Pass DefaultPatrolPlanTTL from patrolActionBroker.submit and NewActionRefreshPlanner so both new Patrol proposals and refreshed legacy Patrol plans remain approvable for 24 hours, aligning with investigation store retention while keeping live freshness, policy, and emergency-stop checks intact at execution time.
Contract-Neutral: Set a 24-hour plan TTL on Patrol-originated action proposals and refreshes with no subsystem or API contract changes
Address three reliability and telemetry defects found while auditing v6.8.0 and v6.9.0 production telemetry:
- Pass investigationStreamIdleTimeout on ensureFinalTextResponse summary requests so OpenAI-compatible and local providers keep Patrol's 60s stream idle budget (and subscription agents keep 4m) instead of falling back to the 12s default chunk timeout.
- Record OutcomeTimedOut on abandonedInvestigationSession when the stuck-run sweep closes an overdue run, keeping durable schema-23/24 telemetry aligned with the finding outcome instead of recording generic failed.
- Treat NotificationFailureTLS as non-retryable so broken-certificate and HTTP-on-HTTPS destinations dead-letter immediately instead of repeating failed handshakes across queue and SMTP retries.
- Clarify the TLS certificate test error message in classifyNotificationError so Email and Webhook tests no longer suggest a Skip TLS Verify toggle that only Apprise HTTP provides.
Contract-Neutral: Bug fixes for Patrol summary stream idle timeout, abandoned run timed_out telemetry, and notification TLS retryability and error copy with no subsystem or API contract changes
A poll due within seconds and a poll left waiting past its scheduled time can have identical queue counts. Report the oldest queued age in the existing tenant-scoped snapshot and its saved-snapshot queries. Keep future retries, claimed polls, and dead letters out of the age and preserve measured zero separately from older responses.
Change-source: pulse-maintainer
The connection-degraded evaluator discards availability rows. Do not load and decode saved checks, derive location status, or build demo availability rows just for that evaluator. Keep the full ledger and its availability projection intact.
Contract-Neutral: Internal alert input acquisition only; platform alert evidence, evaluation policy, and the full connections payload are unchanged.
Change-source: pulse-maintainer
Index distinct reporting hosts once from the canonical tenant registry, rather than loading and listing it for every displayed capability. Keep both ambiguity checks and read fresh inventory when planning or binding dispatch.
Contract-Neutral: Internal projection cost only; readiness payloads, tenant authority, refusal rules and execution-time checks are unchanged.
Change-source: pulse-maintainer
Update TestContract_DockerLifecycleActionsResolveCommandAgentAndDispatchOneTypedOperation
to pin commandAgentForToken(ctx, e.agents, tokenID) and the
dockerTokenHasAmbiguousHosts guard introduced during Docker container
action session hardening.
Contract-Neutral: Contract test update matching the hardened Docker command-agent resolution signature.
Fold Windows service local-restriction checks into the existing
service_windows.go read in TestWindowsServiceRuntimeStartsHealthServer
and remove the extra router_routes_monitoring.go source read from
TestContract_AgentCommandPayloadsRequireActionScope (route disclosure
is verified behaviorally in agent_action_disclosure_test.go).
Contract-Neutral: Test refactor to keep source-text read counts within lint baselines without changing product behavior.
Reject oversized agent identity strings while truncating host tags,
custom sensors, RAID arrays, disks, and Docker container metadata so a
single report cannot exhaust server memory or alert storage. Cap Ceph
pools per report, retire superseded agent Ceph clusters on switch or
removal, and bound SMART/Unraid disks and identity matcher candidate
work during ingest.
Enforce JSON item and record caps on agent report decoding, bound
Proxmox cluster node status/endpoints and initial health check
concurrency, validate or clamp unencodable timestamps across agent
reports, Ceph, TrueNAS, TLS observations, and recovery rows, limit PMG
read errors per poll while formatting task errors outside m.mu, and
avoid taking hostAgentLifecycleMu for no-op tombstone sweeps or unowned
uninstall requests.
Contract-Neutral: Security hardening for agent/cluster report bounds, timestamp validation, and lifecycle lock contention without changing public API contracts.
Restrict host and Docker uninstall alias recording and removal cascades
so one token cannot block or remove another enrolled host. Prevent
tokens already enrolled elsewhere from superseding stale host or Docker
records, and run Docker duplicate supersession only when creating a new
Docker host record.
Check persisted host ownership and stored Docker records directly during
identity resolution, and prefer exact HostID matches in continuity
lookups so forked records never capture a reinstalled host. Scope
Kubernetes cluster IDs per active token while allowing rotated tokens to
retain cluster records, prevent agent Ceph reports from hijacking
Proxmox or other active agents' Ceph records, scope Docker container
metric IDs by host, disable SSH temperature collection on non-default
tenants, and reload API tokens atomically under config.Mu.
Contract-Neutral: Security hardening for agent identity ownership, cross-host metric isolation, and multi-tenant reload/SSH boundaries without changing public API contracts.
Separate user-editable host metadata writes from administrator command
execution policy so monitoring:write callers cannot toggle or clear
commandsEnabled. Require Docker container action dispatch to verify
live session ownership and full 64-character lowercase container IDs,
and refuse dispatch when a single token reports multiple Docker hosts
for the target identity.
Verify Proxmox node action runner routing against the live session
hostname and prevent automatic host-report node links from stealing a
node held by another reporting agent. Gate command details on agent
resource-context, changes, and events routes behind action capability
checks, and withhold probe credentials from agents using other tokens.
Contract-Neutral: Security hardening for agent action routing, metadata authority, and command/probe disclosure without changing public API contracts.
Adds inbound push and heartbeat availability checks (`protocol: "push"`)
for cron jobs, backups, and scheduled tasks, strictly gated behind
`availabilityPushChecks` at `stage: "build"` in
`frontend-modern/src/utils/featureReleases.json`.
### Summary
- **Feature release gate**: Registered `availabilityPushChecks` at
`stage: "build"` with no shipped guide links. Verified on a production
build that no push preset, protocol option, or wording is exposed.
- **Config and cron schedule**: Added `AvailabilityProbePush` (`push`),
interval and 5-field UTC cron schedules plus grace windows, 256-bit
base64url token generation, and encrypted persistence in
`availability_targets.enc`.
- **Monitoring and alerting**: Added local 15-second deadline
evaluation, `/start` duration measurement, explicit `/fail` handling,
push validity windows for `availability_history` and evidence envelopes,
and unified `availability_unreachable` incidents.
- **Inbound API and security**: Added token-authenticated
`GET`/`POST`/`HEAD /api/push/{token}` (supporting `/start`, `/fail`,
`?status=up|down`, `?msg=`, `?ping=`) with constant-time token
comparison, per-target and per-IP rate limiting, a 1 KiB POST body cap,
and admin-only `POST /api/availability-targets/{id}/rotate-push-token`.
- **Frontend**: Added feature-gated push preset, schedule editor,
post-create Ping URL and `curl` snippet display with copy actions,
two-step token rotation, and mobile-safe wrapping.
### Verification
- Go tests: `internal/config`, `internal/availabilityprobe`,
`internal/monitoring`, and `internal/api` (including router public-path,
auth-bypass, and route inventory tests)
- Frontend tests: `tsc --noEmit`, `AvailabilityTargetSlot.test.tsx`
(24/24), `npm run lint:feature-releases`, and production `npm run build`
- Browser verification: Verified production build hides push checks
(`1280x800`), development build creates a cron push check, ingests live
unauthenticated `curl` pings (`/start`, success, 413 oversized body, 404
unknown/revoked token, `/fail`, recovery), rotates tokens, and renders
cleanly at `1280x800` and `390x844`
(`frontend-modern/browser-verification/bf6c955c53a21415.json`).
Update TestConfigImportOrganizationManagerKeepsAccessCredentials to expect 401 Authentication required when the session is deleted during the import body read, matching requestBodyAuthority's credential withdrawal enforcement while still asserting zero restored tokens or SSO providers.
Contract-Neutral: Align config import test expectation with request-body credential revalidation
Refuse OIDC sign-in with email_unverified when Allowed Domains or Allowed Emails are configured and the identity provider reports email_verified as false, and exclude unverified email addresses from legacy RBAC role migration candidates.
Contract-Neutral: Security fix preventing unverified OIDC email claims from bypassing email/domain restrictions or claiming legacy roles
Use registered ServeMux route patterns and fixed HTTP method labels in metrics, cap JSON request bodies across operator-state, maintenance review, resource links, alerts, auto-register, and AI handlers, bound handoff and purchase-return JWTs before parsing, bound TrueNAS topology parsing and JSON-RPC WebSocket message size, cap alert suppression reasons at 240 characters, and share bounded in-memory buffers with write deadlines for GitHub-proxied agent downloads.
Contract-Neutral: Security fixes bounding memory usage and label cardinality against OOM and DoS
Bound action plan requestId and reason sizes and stream audit canonicalization, bind owning org context in action recovery, Patrol proposals, and Docker observation, derive Basic action credential IDs from username rather than Authorization header hash, tag approval.pending and action.completed events with owning org, recheck live token and session credentials before action decision and execution commits, prevent non-reviewers from replaying stored action records via execute, and withhold action authority from relay mobile tokens minted by non-approvers.
Contract-Neutral: Security fixes closing action authority, multi-tenant event and recovery isolation, replay disclosure, and audit OOM bugs
Revoke organization-bound API tokens on org deletion and before ID reuse, cap non-admin owned organizations at 20 on creation and transfer, close in-runtime public signup on provisioned workspaces and preserve existing orgs, avoid starting cold tenant monitors under config.Mu, store tenant Docker prepare-token records in the instance inventory, scope maintenance verification reruns to the request org, and read API token metadata under config.Mu across readiness and discovery readers.
Contract-Neutral: Security fixes closing multi-tenant isolation, lifecycle cleanup, org limit, signup, and data-race bugs
Accept session CSRF tokens only via X-CSRF-Token header and issue CSRF cookies only for live sessions, move Basic public URL capture behind checkAuth and require instance token authority, invalidate old admin sessions on quick-setup rotation, make failed-login lockout atomic and bounded across login, Basic auth, password change, and config transfer, and recheck admitted sessions and tokens on every request body read.
Contract-Neutral: Security fixes hardening CSRF transport, lockout atomicity and bounds, credential rotation, and in-flight request body authority
Require full-access instance tokens for SSO provider mutations and RBAC admin routes, disable credential-less loopback trust and recovery in hosted mode, prevent logout races in ensureAdminSession, enforce owner org membership for owner-acting tokens outside config.Mu, gate alert policy and operator-state remediation fields for sessions, require admin and settings:write on checkout start, and redact entitlement lease credentials from billing-state API responses and logs.
Contract-Neutral: Security fixes closing authorization, scope, loopback trust, session-race, and credential redaction gaps
Reject whitespace-padded SSO subjects and stable sso: principals during legacy migration, drop free-form OIDC name claims from legacy candidates, record original SSO provider issuers without renaming existing users on upgrade, withdraw mapped roles when the last group mapping is removed, and replace stale roles or fail closed when a mapped role does not exist.
Contract-Neutral: Security fixes tightening SSO principal derivation, legacy migration, and authoritative role replacement
Remove setup-token bypass on POST /api/system/ssh-config and POST /api/system/verify-temperature-ssh so both require admin session or instance settings:write scope. Validate allowlisted SSH directive argument values in HandleSSHConfig using OpenSSH word splitting so shell metacharacters, command substitution, and option flags in ProxyJump or HostName values are rejected.
Contract-Neutral: Security bug fix removing unintended setup-token bypass and validating SSH directive values
Hardens Pulse agentexec command transport, AI provider/tool sandboxing,
and Assistant/Patrol authorization boundaries:
- Bind agentexec sessions to organization and live connected agent token
ownership, reject NUL bytes in agent IDs, add write deadlines so stalled
agents cannot freeze dispatch, and enforce symlink-safe `/var/log` reads
with target-aware command policy.
- Sandbox AI read-only tools and providers: reject `lsblk --sysroot`,
bare hostnames in `ss` filters, sensitive path escapes, unbounded
`pulse_query` preallocation, unescaped `@path` attachments in Claude
subscription prompts, SSRF to broadcast/non-global-unicast targets in
`fetch_url`, Gemini key exposure, and command output leaks in failed
Codex turns.
- Enforce Assistant session ownership and handoff authority, bound
unknown-session abort tracking, prevent cross-org inventory leakage
after monitor reload, lock Patrol dismiss/resolve note steering behind
host-command authority, redact tool outputs from Patrol run history for
non-admins, protect saved AI provider keys on base URL changes, and
serialize AI settings updates.
Evaluate clusterEndpointAddressChanged against each member's effective
dial target via monitoring.PVEClusterEndpointURL and
proxmox.ClusterEndpointIdentity (matching clearMovedClusterEndpointChecks)
instead of comparing raw IPOverride strings. Equivalent URL spellings or
overrides that preserve a member's existing effective destination no
longer trigger spurious credential re-entry errors, while genuine host,
port, or target moves still require re-entering the credential.
Update TestPVEEndpointReachabilityAfterAddressEdit to supply the fixture
token value for the three subtests that genuinely move a member to a new
host or port, and expand TestHandleUpdateNode_StoredSecretDoesNotFollowAddressChange
to cover equivalent spellings, port changes, and effective-target matches.
Contract-Neutral: Security hardening follow-up without public contract change
Refuse metadata and journal writes that exceed their loader's size limit
across HostMetadataStore, GuestMetadataStore, DockerMetadataStore,
HostContinuityStore, and DockerReportOrderStore, rolling back rejected
in-memory mutations. Reserve half of host_metadata.json for command
policy updates via SetCommandsEnabled, cap polled guest identity names
at 255 bytes, and return size refusals in GuestMetadataStore.save before
advancing revision or lastWriteErr so monitor reloads stay healthy.
Prevent a PVE cluster or endpoint-reported node name from claiming
another configured connection's node identity or namespace in
EnsurePVEClusterNodeIdentities, pveNodeIdentityScope, and
DerivePVENodeIdentity. Restrict guest parent node resolution in
ResourceRegistry to nodes on the guest's own connection, and never
interpret a bare reported node name as another node's canonical
resource ID when routing commands.
Contract-Neutral: Security hardening fix without public contract change
Restrict updateEnvFile in ConfigPersistence so UPDATE_CHANNEL is only
written for supported canonical channels (stable or rc), preventing
multiline injection into .env.
Keep destination API tokens and SSO settings during POST
/api/config/import unless the caller is an instance administrator or
holds an instance-wide wildcard API token.
Apply tenant outbound destination limits and Apprise CLI restrictions
to organization administrator imports before staging any files.
Reload and publish restored SSO settings and withdraw stale cached OIDC
and SAML services after a default-organization import replaces SSO
configuration.
Contract-Neutral: Security hardening fix without public contract change
Hold PVE cluster member validation in validateNodeAPI to the member's
saved pin (including explicit TLSFingerprintOverrides) or CA validation,
restricting first-use trust strictly to unpinned members under a pinned
primary. Add tlsutil.FetchVerifiedFingerprint and never overwrite saved
member pins or treat TLS failures as API auth denials.
Add monitoring.PVEEndpointFingerprint so diagnostics, cluster
re-detection, refresh-cluster, direct storage fallback, and port 443
fallback enforce the same per-endpoint pin polling uses and refuse
contradictory saved pins.
Contract-Neutral: Security hardening fix without public contract change
Refuse PVE, PBS, and PMG node updates that change the host or a cluster
member override address while keeping a stored password or token value.
Probe PVE cluster detection from deep copies, re-locate the target
instance under config.Mu before storing results, guard PVE slice
removals under config.Mu, and return 409 Conflict if a connection is
removed or changed during cluster refresh.
Honor the requested VerifySSL and fingerprint settings during PBS
turnkey token creation in handleAddNode.
Scope non-default tenant node reloads to MultiTenantMonitor.ReloadTenant,
coalesce queued reloads in ReloadableMonitor.Reload, and space
auto-register reloads for existing connections per organization.
Contract-Neutral: Security hardening fix without public contract change
Close four authorization and TLS policy gaps in the Proxmox setup and agent install handlers:
- Refuse org-bound agent tokens in /api/auto-register outside their authorized organizations including default, and compare the WebSocket Upgrade header untrimmed to match auth middleware.
- Bind /api/auto-unregister setup tokens to the recorded host as spelled before marking a token used, in both live and recent grace-period branches.
- Record VerifySSLExplicit on PBS connections, prevent ungranted background agent re-registration from lowering VerifySSL or pinning an unverified certificate over chosen CA verification.
- Require callers requesting enableCommands on /api/agent-install-command to hold agent:exec themselves, and document the requirement in docs/API.md.
Contract-Neutral: Security hardening fix without public contract change
Tighten canonical /api/auto-register authorization and identity matching across PVE, PBS, and cluster members:
- Require positive TLS pin agreement (ProxmoxFingerprintsMatch) before adopting a new address for a covered cluster member or moving a connection via an install grant.
- Prevent agent tokens from replacing an established TLS pin with a conflicting certificate on cluster members and top-level PVE and PBS connections.
- Require the registering host's own /cluster/status to confirm the cluster's saved host before refreshing a shared cluster token secret.
- Require exact-host matching before inferred matches, reject unresolved/unpinned agent-created preserved-host matches, and clear planted cluster metadata on DHCP continuity moves.
- Verify submitted Proxmox credentials against the target connection before saving agent-token updates, re-locate the slice slot after verification, compare owned endpoints without DNS resolution, and re-confirm agent token authority before mutating state.
Contract-Neutral: Security hardening fix without public contract change
Capture orgID and PBS direct-connection state under Monitor.mu before spawning the best-effort stale-backup purge goroutine in SetRecoveryManager, and skip spawning when no PBS instances or recovery manager are configured. This prevents the detached goroutine from reading shared Config.PBSInstances concurrently with a subsequent MultiTenantMonitor reload.
Also isolate PULSE_DATA_DIR and PULSE_LEGACY_KEY_PATH in TestMonitorReloadKeepsTenantChatServiceOnTenantReadState so it runs hermetically on hosts with a system /etc/pulse/.encryption.key.
Contract-Neutral: Concurrency race fix in recovery manager wiring with no public contract change
Enforce action-execute authority on Patrol prompt inputs and tool outputs, and harden AI settings saves against secret exfiltration and stale-autonomy races:
- Require action-execute capability on knowledge note mutations, Patrol objective writes, and finding notes, and refuse free-text note or resolution_note fields on dismiss/resolve without host-command authority.
- Bind withAssistantActionAuthority on Patrol run history, Patrol stream, and investigation transcript routes and withhold host tool outputs unless the caller holds host-command authority.
- Refuse AI settings updates that move an OpenAI, Z.ai, or Ollama base URL to a different origin while retaining an existing secret unless the credential is re-entered or cleared.
- Decode the AI settings request body before loading config, serialize AI settings saves through the policy-mutation coordinator while preserving stored Patrol autonomy authority, and guard Service.LoadConfig against overwriting concurrent autonomy updates via patrolAutonomyRevision.
Contract-Neutral: Security hardening of AI tool sandboxing, agentexec sessions, and Patrol/Assistant authorization without public contract delta
Confine Assistant sessions to their owning callers, prevent abort map memory leaks, and preserve tenant read-state isolation across reloads:
- Record a server-derived session owner on Assistant sessions and enforce chat.SessionAccess across list, read, rename, delete, abort, handoff lookup, and chat turns, returning 404 for foreign or inaccessible sessions.
- Track supplier HandoffAuthority on stored handoff envelopes so lower-privilege handoff context never replays into a higher-authority turn when an administrator continues a session.
- Record session aborts only on active turn loops in AbortSession so aborting idle or unknown session IDs cannot leak unbounded memory.
- Resolve each organization's own read state in AIHandler.SetReadState and re-point tenant chat services after Router.SetMultiTenantMonitor replaces the monitor manager.
Contract-Neutral: Security hardening of AI tool sandboxing, agentexec sessions, and Patrol/Assistant authorization without public contract delta
Close command-channel session hijacking, transport stalls, and read-only policy bypasses across agentexec and hostagent:
- Always qualify agentexec session keys with the organization ID (including default), reject control characters in agent IDs, and verify organization ownership on session lookup.
- Enforce a 10s write deadline on agentexec text writes and close timed-out connections so a non-reading agent cannot pin the session write lock and block action admission.
- Refuse first-use install-token command bindings when another unexpired token of the organization holds the live command session, monitor host record, or durable token binding for that agent ID.
- Confine auto-approved host log reads beneath /var/log via os.Root and /dev/fd descriptors to prevent symlink escapes, and require approval for guest (container/vm) log reads where host confinement does not apply.
- Restrict auto-approved pvesh get commands to listed non-credential API subtrees and restrict docker/podman format templates to direct field selections so output masking cannot be stripped.
Contract-Neutral: Security hardening of AI tool sandboxing, agentexec sessions, and Patrol/Assistant authorization without public contract delta
Return (bool, error) from the saved SMTP and Apprise destination checks
and copy only the Password or APIKey field at the call site instead of
returning the full EmailConfig or AppriseConfig structs. This preserves
identical credential destination binding while keeping unrelated
recipient and server URL fields out of password-taint flows into
delivery destination hashing.
Contract-Neutral: internal handler refactor preserving notification destination binding
Scope Kubernetes and TrueNAS recovery subject keys by provider scope so
same-named PVCs or datasets in different clusters cannot collide in
rollups, bound recovery series day spans, and close deleted tenant
recovery stores on cleanup.
Skip queued WebSocket requestData full-state frames while an earlier
complete snapshot is still waiting on the client send channel, and
reject schemeless `@` hosts and non-http(s) URLs in tenant outbound
policy validation so IPv6 zone-ID syntax cannot bypass loopback checks.
Contract-Neutral: security hardening and resource-bound guards without API schema changes
Bound vCenter inventory lists and nested JSON arrays before decoding,
prevent infinite recursion on cyclic placement parent chains, and bound
Proxmox guest-agent JSON responses before unmarshaling.
For availability probes, verify the HTTPS server certificate (trusted
chain or pinned SHA-256 fingerprint) before sending stored credentials,
header values, or request bodies unless explicitly opted out. Cap HTTP
probe response headers at 64 KiB and transport error strings at 240
bytes, and require re-entering write-only HTTP secrets when assigning a
new host agent to an availability check.
Contract-Neutral: security hardening and additive HTTPS probe TLS verification options
Refuse blank or whitespace-only SMTP servers in EnhancedEmailManager
before dialing so an empty host cannot reach loopback under tenant
outbound policy.
Bind saved SMTP passwords, Apprise API keys, and masked webhook headers
and custom fields to their saved destination and transport security so
updates or test sends to another host require re-entering the secret.
Percent-encode control bytes and cap length on alert-derived webhook
headers (X-Pulse-Event-ID and ntfy Title) so agent-supplied IDs cannot
fail grouped webhook batches. Pass the Apprise CLI body on standard
input with NUL bytes removed and bound the title argument so
unrepresentable alert text cannot block grouped Apprise CLI deliveries.
Contract-Neutral: Security hardening for notification destination binding, SMTP blank-host rejection, webhook header encoding, and Apprise CLI delivery without changing public API contracts
Bound alert configuration update lists (custom rules, rule filters, and
escalation levels) before decoding and trim oversized escalation lists
on load. Cap bulk acknowledge and clear identifier counts and stop
echoing unknown identifiers in bulk not-found errors.
Store Docker restart-loop increases per report rather than one entry per
restart, require recorded hostId ownership during Docker alert cleanup,
bound Docker container label tags, and attribute alert event log
snapshot volume by recorded hostId with fair-share pruning.
Ensure active-alert degraded recovery markers and mirrors stay within
startup read limits, mark trimmed recovery markers incomplete so startup
restores from SQLite without deleting omitted rows, and recover from
pre-existing oversized markers via SQLite. Restrict backup-age guest
attribution to Proxmox providers.
Contract-Neutral: Security hardening for alert config limits, bulk alert bounds, Docker and backup alert isolation, and restart recovery without changing public API contracts
Require a completed X25519 key exchange before serving relay DATA
frames, and refuse repeated KEY_EXCHANGE frames on an already
encrypted channel so keys cannot be replaced under an authenticated
channel token.
Mark every request forwarded by the relay HTTP proxy with a Via header
after the header allowlist so the local API loopback trust rule never
treats remote mobile requests as direct local host requests. Update
relay runtime and public security docs to reflect the channel
encryption requirement and the channel-admission token trust boundary.
Contract-Neutral: Security hardening for relay channel encryption and loopback trust without changing public API contracts
Promotes Availability checks from a subtab under Machines to a primary top-level navigation page at /availability admitted via PlatformAdmission.Availability.
Includes:
- PlatformAdmission.Availability projection in internal/unifiedresources/platform_admission.go
- Dedicated /availability page with inline Add, Edit, Test, and Pause/Resume management powered by AvailabilityTargetSlot and drawer headerActions
- localStorage-persisted Table and Fleet presentation toggle without duplicate Add check buttons
- Legacy /standalone/availability redirect to /availability without polluting Machines route memory
Adds inbound push and heartbeat availability checks (protocol: push) for cron jobs, backups, and scheduled tasks, gated behind availabilityPushChecks at stage build in featureReleases.json so production builds and shipped guides remain unchanged until review and preview approval.
Includes:
- Push target config, 256-bit token generator, and standard 5-field UTC cron schedule parser in internal/config
- Local deadline evaluation on 15s ticks, /start duration tracking, explicit /fail handling, and push evidence/history validity windows in internal/monitoring
- Constant-time token-authenticated /api/push/{token} (/start, /fail, ?status=up|down, ?msg=, ?ping=) with rate limiting and 1 KiB body cap, plus admin /rotate-push-token endpoint in internal/api
- Lazy-loaded feature-gated AvailabilityPushConfigSection keeping AvailabilitySettingsPanel within its bundle size budget, Ping URL and curl snippet copy actions, two-step URL rotation, and mobile-safe layout in frontend-modern
Adds native DNS resolution monitoring (protocol dns) so operators can verify resolvers like Pi-hole, AdGuard Home, Technitium, and Unbound directly without maintaining a custom HTTP wrapper.
- Add AvailabilityProbeDNS and AvailabilityDNSConfig (queryName, recordType A/AAAA/CNAME/TXT/MX/NS/SRV/PTR, transport udp/tcp, optional expectedValue) with config revision tracking and default port 53.
- Implement DNS probe execution in internal/availabilityprobe/dns.go using github.com/miekg/dns, separating transport reachability from RCODE, empty-answer, and value-mismatch failures (automatically shared with Pro remote host agents).
- Add DNS resolution protocol option, DNS resolver preset, DNS query form fields, and DNS-specific test feedback in AvailabilityTargetSlot and target presentation helpers.
- Update docs/AVAILABILITY.md, docs/CONFIGURATION.md, and docs/API.md to document native DNS checks.
Reject enabled creation, activation and changed scope selections when a custom list lacks the required openid token. Check the effective update under the existing save lock before persistence or service initialization. Keep defaults, disabled drafts, unchanged legacy selections and the last working provider intact.
Contract-Neutral: Reject unusable non-OIDC scope selections only on enabled creation, activation or replacement. Supported OIDC scopes, legacy round-trips, routes, response schemas, stored configuration and access semantics are unchanged.
Change-source: pulse-maintainer
Proxmox cannot restrict VM.GuestAgent.FileRead to /proc/meminfo, so granting it on / via PulseMonitor gave every Pulse PVE token arbitrary guest file-read access as qemu-guest-agent (typically root) across all QGA-enabled VMs. Remove it from all four PVE setup surfaces (proxmox_setup.go, install.sh, setup_script_render.go including Setup Doctor, and Settings manual commands), extend optional /proc/meminfo HTTP 403 backoff to 30 minutes matching APT 403 handling, and document the risk and role-tightening command for existing PVE 9+ installs.
Initialize the fixture's audit dependencies so the successful Edit branch can complete and its readback can be asserted.
Change-source: pulse-maintainer