Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Storage Recovery Contract
Contract Metadata
{
"subsystem_id": "storage-recovery",
"lane": "L15",
"contract_file": "docs/release-control/v6/internal/subsystems/storage-recovery.md",
"status_file": "docs/release-control/v6/internal/status.json",
"registry_file": "docs/release-control/v6/internal/subsystems/registry.json",
"dependency_subsystem_ids": [
"api-contracts",
"cloud-paid",
"frontend-primitives",
"monitoring",
"unified-resources"
]
}
Purpose
Slow Assistant JSON refusal preserves recovery state
Current token authority is also retained at the synchronous Assistant execute and Kubernetes result writers. Lost access returns a generic 401 before any final response is committed, not an empty successful recovery result. Refusal does not delete evidence, reset recovery state, widen grants or cancel a recovery job. Native JSON independent-reader and persisted-token-delete regressions cover the disclosure boundary without replaying a recovery workload or changing data.
Assistant synchronous results are returned as JSON or plain text with
nosniff; omitted or executable downstream media cannot make recovery-related
result text render as HTML. The transport does not rewrite result bytes,
mutate saved evidence or cancel work. Native media and core-handler round-trip
regressions do not establish original workload or filesystem recovery.
Assistant reader withdrawal is not a recovery mutation
The shared API stream guard also covers Assistant results, not recovery-state
mutation. Current API-token refusal suppresses subsequent response frames and
retains the admitted organisation; it never deletes stored evidence, clears a
recovery marker or cancels an independent recovery job. Deadline forwarding does
not expose an unguarded writer, including through the outer API status/error
wrapper. Legacy Assistant work remains background-bound;
chat remains request-bound. Native Assistant independent-reader/lifetime and
persisted-token-delete regressions in internal/api/ pin this boundary using
synthetic text, not a recovery replay or customer workload.
Revoked monitoring sockets do not preserve recovery access
Dashboard /ws token reads revalidate current authority before data/queued
frames and idle pings; refusal closes only that connection, without sending
queued state. Current tenant ownership is resolved without stale/global
fallback. This neither removes saved inventory, data or credentials nor changes
storage/backup operations, authorized sessions or independent administrator
access. Real persisted token DELETE and immutable-request/tenant tests cover
the boundary. It does not establish original workload thaw, filesystem writes,
credential recovery, publication or an installed runtime outcome.
Long-lived agent reads preserve current token boundaries
Agent event subscriptions revalidate API-token authority before admitting product frames and idle heartbeats. Withdrawing command scope changes the read projection, never canonical action/evidence or recovery data. Revocation, expiry, invalid identity/principal/role or loss of organization/read authority closes the stream without executing anything. Tenant-owner replacement cannot retain a stale inventory or borrow a global duplicate credential.
Disclosure refreshes replace a bounded context layer above the admitted request,
not a growing chain of retained token snapshots. The normal repeated-frame
TestAgentEventTokenRefreshKeepsBoundedContext verifies live redaction, unchanged
canonical evidence and original cancellation cleanup; this is not a recovery or
filesystem operation.
Normal lifecycle, real registered-route persisted deletion, contract disclosure and shared MCP-consumer tests cover the boundary and unchanged canonical record. No history source, retention, backup, thaw or filesystem operation is added. Previously stopped recovery work remains stopped; source proof is not recovery.
Backup views share bounded owned-focus restoration
Coverage posture sorting and By date regrouping use the same existing backups presentation helper for focus lost during a retained native DOM move. It restores only the same connected target still inside its table and cancels after any intervening focus choice, even if that choice is later blurred. By date's earlier restoration did not cancel that latter choice; its normal-suite date-group regression now covers it. Genuine retirement still uses the existing surface fallback. No sorting, date validity, collection, protection or access rule changes. The consolidation reduces overlapping handling. Its exact build still exceeds the August Proxmox reference budget by 0.07 KiB; the final candidate declares a bounded 256-byte Proxmox reference allowance (80,595 → 80,851), not a measured baseline reset. The 15% threshold, every other chunk and total limits remain unchanged. Normal Proxmox/shared suites and exact production checks verify it. Desktop/narrow actual Backups proof includes both views and source-bound pixels.
Coverage retains owned focus when live posture sorting moves a row
An accepted posture or inventory frame can reorder the same logical workload. Keyed row/component retention alone does not retain native focus when DOM nodes move. Coverage captures a focus target owned by its table before reconciliation and restores that same element without scrolling only if the completed move leaves BODY focused and the element and table remain connected. An intervening focus choice cancels restoration, even if that choice is subsequently blurred. External search/header focus is not reclaimed; removed or departed elements are not resurrected. Existing retirement fallbacks still own genuinely removed inspection content. Sorting, window budgets, row identity, drawer state, posture meanings, read cadence, policy and mutation permissions do not change.
Normal-suite ProxmoxCoverageTable.test.tsx covers reordered VM/LXC disclosures
at wide/narrow widths, retained detail links, external/intervening focus and
retired/departed targets. Production Backups desktop Chromium and 320px WebKit
proof binds actual poll-driven quality changes to unchanged same-node controls,
contrasts the parent native focus loss and checks keyboard/touch use, sorting,
filter retirement and no focus theft. This is inspection usability, not evidence
of original workload recovery or a guest/provider operation.
Public-URL token checks share authentication ownership
The pre-route public-URL authority check uses the existing locked token validator and detached snapshot. Normalisation and last-used metadata updates hold the same exclusive configuration ownership as ordinary authentication; subsequent scope checks never mutate the live record outside it. Both supported token headers retain the existing settings-write requirement. Expired, invalid, wrong-role and monitoring-only credentials gain no capture authority. Sessions, proxy/basic administration and URL/origin selection are unchanged.
TestPublicURLTokenCaptureUsesAuthenticationOwnership covers concurrent capture
and ordinary authentication, retained scope/identity and successful last-use
updates; TestPublicURLTokenCapturePreservesTokenRefusals pins both headers and
refused metadata. The real concurrent history HTTP test remains unchanged and
must pass with the race detector; the observed race is not warmed away or
suppressed. No new rendered state, token grant or runtime action is introduced.
Execution history uses a typed read-only projection
The recent-change read keeps kind-specific scalar status facts, not arbitrary caller metadata that happens to use a familiar key. Runbook titles, stored reason/From/To text and nested values can contain execution details and are redacted for monitoring-read callers. Fixed reasons derive only from admitted boolean command success or the closed incident outcomes; missing or malformed facts do not establish success or failure. Every execution-history projection is explicitly marked redacted. Executor/session reads and canonical evidence are unchanged; this adds no enrollment, token scope or action authority.
Normal-suite typed-fact, authenticated concurrent HTTP, contract and real MCP consumer regressions cover content visibility and unchanged stored evidence.
Coverage provider outcomes are not backup job results
Provider evidence identifies the source of each scoped assessment: PBS/PVE
backup inventories have explicit names; legacy restore-point evidence is named
as such, and unrecognised sources remain literal text (or Unknown when absent).
The rollup's jobState is displayed as Reported outcome, never Job or Collection:
an inventory observation can supply it, but a newer retained point can also
supply the outcome beside an older observation's source. Visible wrapping copy
keeps this evidence distinct from actual task and restore-point states. History,
access, reported values, protection, dates and policy do not change. The shipped
PBS/PVE comparison guides name the same Source/Reported outcome fields and
keep successful inventory reads separate from backup-task completion. Rendered
help tests preserve this distinction and every original-recovery safety limit.
Normal-suite ProxmoxCoverageTable.test.tsx covers known/unknown/literal sources,
all reported outcomes and narrow/wide rendering. ProxmoxBackupsTable.test.tsx
passes parsed inventory and posture reads through the consuming surface,
retaining a Running/unprotected point and a real OK task independently of
successful or failed inventory evidence, including polling and owned focus.
Desktop/narrow browser proof must inspect the production Backups consumer with
source-bound collector frames, its separate task/evidence meanings and readable
source/outcome/qualifier. This is safer inspection, not backup-job execution,
original guest recovery, a tested restore or published availability.
Scoped agent outcome reads do not disclose execution detail
The agent event/resource-context projections preserve validated execution,
verification/evidence-class and compensation axes in an explicitly redacted
actionResultSummary for tokens without ai:execute. Full canonical evidence,
free-form result/error text and verification notes are withheld rather than
rewritten into new evidence. Known refusal prefixes remain branchable; session
and existing command-capable reads remain unchanged. No stored evidence, agent
command admission, recovery action or recovery-data identity changes.
The ordinary API disclosure/contract tests check legacy and V2 producers, malformed-digest fallback, stored-evidence preservation and scoped concurrent streams. The MCP consumer test checks real authenticated tools/call and live notification readback. A content-free outcome is not independent recovery proof or permission to replay any stopped operation.
Datastore discovery cannot turn unread history into absence
PBS datastore enumeration uses the same bounded, fully read and closed HTTP 200 transport and unambiguous envelope admission as namespace, group, snapshot and writer inventories. Duplicate/case-aliased fields, non-null errors, invalid UTF-8 and partial/other success statuses are unread, not an accepted empty outer scope. Validate the entire enumeration before exclusions or any per-datastore requests. Retain payload-free diagnostics and existing HTML/HTTPS guidance. Explicit empty arrays and unique future metadata remain valid; filtering, status collection, permissions, auth, poll budgets and guest operations do not change.
TestDatastoreInventoryRequiresWholeResponse and the complete-body/valid-scope
controls exercise the client, including read/close/bound failures and excluded
stores. Normal-suite TestPBSDatastoreWholeResponseRetainsEvidence drives the
public poll and background worker for VM/CT warm/cold-live states: unread
discovery retains raw and durable evidence without renewal or guessed child
reads, withdraws protection without claiming an access denial, and ordinary
complete/empty reads recover and reconcile absence. The consumer lifecycle
exports these exact producer results for desktop/narrow Backups interactions
and pixel inspection. Existing discovery denial, skip, other-connection and
connectivity-fallback controls remain. No original guest recovery, production
occurrence, issue cause or containing release is established by this proof.
PBS backup listings require the whole response
Namespace, group and snapshot reads accept one unambiguous JSON envelope only
from a fully read and successfully closed HTTP 200 body within the existing
8 MiB bound. Trailing values/garbage, invalid UTF-8, duplicate envelope fields,
case aliases of data/errors, and non-null error envelopes are unread, not
accepted empty inventory or fresh protection evidence. Unique future metadata
and explicit empty arrays remain valid; the older-PBS namespace 404 fallback is
unchanged. Diagnostics contain no provider payload. No retry, auth, poll budget,
identity, guest operation or retention policy changes.
Normal client suites cover body/close/bound failures and envelope controls.
TestPBSWholeInventoryResponseRetainsEvidence exercises VM/CT cold/warm HTTP
collection through live state, cache times, durable points and posture: unread
scopes retain old evidence without renewing it, readable siblings advance, and
ordinary complete/empty reads recover and reconcile absence.
TestPBSWholeInventoryConsumerLifecycle feeds those actual poll results to
source-bound desktop/narrow Backups inspection. This is truthful collection,
not original guest recovery, an established #3248 cause or release availability.
Unread PBS writer inventories do not establish a terminal backup
The running backup/sync task reader shares the whole-response backup inventory
admission above: an explicit data array in one unambiguous, fully read and
successfully closed HTTP 200 response within the existing 8 MiB body bound.
Duplicate envelope fields (including escaped spellings), case aliases of
data/errors, invalid UTF-8 and other success statuses are unread; none can
turn a discarded writer or error into an accepted empty set. Missing/null arrays,
error-bearing envelopes, trailing JSON, unread/failed-close bodies and rows
without a nonblank worker type return no writer set, even after an earlier
family or page succeeded. Known non-writer types remain filtered; a missing
backup worker ID retains its conservative instance-wide match. Existing type
aliases, query filters, page bounds, permissions and polling budgets stay intact.
A failed writer read leaves this poll's write activity unobserved. An incomplete snapshot remains non-successful and may still be running; the absence of task evidence does not establish a terminal failure. An ordinary complete empty read can still establish no writer, and subsequent unread data withdraws that fact. Matched live tasks and completed manifests recover normally, without changing snapshot identity or borrowing a completion time. This is not guest liveness, a tested restore, an installed recovery or an established cause of #3248.
TestClient_ListRunningDataTasksRequiresReadableInventory, the later-page and
TestClient_ListRunningDataTasksRequiresUnambiguousResponse, HTTP-status and
complete-response controls exercise the actual reader, including both writer
families and later-page ambiguity. Normal-suite
TestPBSWriterInventoryDoesNotInventTerminalFailure connects VM/CT HTTP reads
through polling, raw state, durable points and posture, including failed reads
after prior no-writer evidence, contradictory envelopes/non-200 responses and
an unaffected completed sibling. Its opt-in
frames feed the actual existing Backups consumer at desktop/narrow widths for
interaction and native pixel proof. Fixtures perform only local GETs.
Unprotected does not mean an empty backup inventory
When complete readable history supplies no qualifying success, the posture
explanation says no successful, completed backup was found, not that no backup
exists. Running, failed and uncertain artifacts remain inspectable evidence;
they supply neither a successful-point time nor protection. Snapshot-only,
partial/unavailable history and all state, freshness, verification and policy
rules remain unchanged. TestProtectionExplanationDoesNotEraseUnsuccessfulBackupEvidence
checks all non-success outcomes through the real point/observation builder.
The ordinary PBS writer lifecycle checks the same explanation alongside live
and durable artifact outcomes and feeds desktop/narrow Backups pixel proof.
One unread storage does not withdraw backups Pulse did read
A partial PVE or PBS collection still confirms the points it re-read. Collectors renew a point's evidence only for rows a poll returned, stamped with that poll's observation time, so a point whose evidence was ingested no earlier than the latest observation for its provider scope supports protection under partial history with Partial or Unknown access. A point retained from an unread scope keeps its older evidence and may have been pruned since, so it never supports protection; neither does store-backfilled migration evidence, nor anything under denied, unavailable or unknown history. The posture is then Protected with partial coverage, and the cross-scope rule matches the unread-source rule: a supported current backup is not withdrawn because another source is partial. PBS snapshot-cache reuse within its 10-minute TTL counts as a read of that group, exactly as complete collections already treat it.
Provider observations also record which scopes went unread (PVE node or
storage, with its node when exactly one node attempted it; PBS datastore
namespace discovery or namespace), persisted in
protection_provider_observations.unread_scopes_json, capped at 32 and carried
on each provider state as unreadScopes. The list explains the gap only;
confirmation never depends on it. Explanations name up to three scopes, and the
Backups page shows one notice line for the unread scopes across its postures.
TestPVEUnreadStorageLeavesReadBackupsProtected drives the production shape
(one enabled but unreachable PBS storage beside readable archives), a pruned
archive retained by the partial poll, and the complete recovery.
TestBuildProtectionPosturePartialCollectionConfirmsOnlyReReadPoints,
TestStoreProtectionPostureKeepsReReadPointsUnderPartialCollection and
TestPBSMissingInventoryArrayRetainsUnreadScope keep retained, legacy and
migration points out of protection.
Coverage dates are inspectable without hover
Open Coverage evidence retains each point’s exact reported date as wrapping literal text beside its identifier and metadata, including seconds, fractions and timezone offsets. Missing dates say “Not reported”. Invalid and future raw dates remain inspectable without becoming valid ages or ordered evidence. The existing Unknown age and uncertainty notices still apply. This works in both the Details column and its folded phone projection; it adds no read or recovery operation and does not change completion, posture, chronology or preview rules.
Normal-suite coverageRestorePointIdentity.test.tsx exercises parsed PVE/PBS
inventory for all three point kinds, valid/invalid/future/missing/literal dates,
responsive projections, same-row polling and namesake isolation. Desktop and
narrow browser proof inspects the real Backups consumer and its updated dates.
The canonical bytes formatter supplies the existing Unknown size fallback in
both projections; no byte admission or sorting rule changes.
Coverage restore points retain their identifiers without hover
The existing open Coverage evidence rows show each point's full identifier and metadata, including an archive's full volume identifier rather than only its format/hover title. When the Details column is hidden, those same facts fold beside the source. Literal text wraps at every width; it is not interpreted as markup. Same-time points remain distinguishable without changing inventory identity, preview selection/order/limits, requests, counts, posture or state. Ordinary polling updates the same open rows and preserves disclosure focus.
Normal-suite coverageRestorePointIdentity.test.tsx consumes parsed PBS/PVE
inventory with tied dates for all three source kinds, literal markup, long
volume identifiers, an incomplete point and namesake guests. It covers responsive
projections and same-panel polling. Desktop/narrow browser proof exercises the
real Backups consumer with readable, inspected identifier and metadata pixels.
This is safer evidence inspection, not a restored guest or installed recovery.
Unknown restore-point sizes stay unknown across inspection and sorting
Raw inventory retains the provider's reported size. The recovery view admits only positive finite bytes for PBS snapshots, PVE backup files and guest snapshots; a missing or zero size is unavailable evidence, not a measured zero-byte point. Size sorting keeps those unknowns after known values in both directions. Existing completed-point counts, verification, retention, protection, known-volume chart semantics, identities, filters and requests do not change.
The By date row and its open detail explicitly say Unknown size, rather than suggesting no size or hiding the field. The detail explains that unknown does not mean an empty point. Coverage uses the same wording and explains its limit; when the size column is hidden, each disclosed point keeps its size beside its source. Ordinary polling updates the same inspected point and focus without requiring a new request or dismissing unavailable data as zero.
Normal-suite backupSizeEvidence.test.tsx consumes parsed raw PVE/PBS inventory
and covers zero/missing/one-byte reports for all three sources, both sort
directions, desktop/phone disclosure and same-point polling. Existing activity
and inventory suites preserve chart/read semantics. Browser proof exercises
these raw responses through the actual consuming Backups surface at desktop and
narrow widths, including unknown/known transitions and inspected pixels. This
is truthful recovery evidence, not a restored guest or an installed backup test.
PBS collection expiry preserves accepted scopes without inventing safety
PBS publishes namespace and snapshot listings accepted before a later child budget expires. Unread datastores/namespaces and failed or queued snapshot groups retain only existing raw history and cache times. Late responses are unread; accepted empty scopes remove only their own raw inventory. Partial enumeration does not reconcile durable absence, renew unread evidence, or claim protection. Unknown live-writer visibility keeps incomplete artifacts non-successful, never invents a completion. Explicit cancellation or an ended runtime/client binding still prevents publication, even after dropping a spent child deadline.
pbs_backup_budget_test.go and the registered protection-observation entry point
exercise actual PBS HTTP collection through live state, mapper, durable ingest
and posture for VM/CT, warm/cold state, every expiry phase and ordinary recovery.
Lifecycle tests cover the background owner and same-name client replacement.
Desktop/narrow browser proof consumes those emitted inventory/posture frames
through existing Backups polling and disclosures; dates, partial protection and
independent unread records must remain legible. No new API, auth, policy,
retention, guest operation, release or installed-recovery claim is implied.
Selected PBS datastore remains inspectable without hover
The existing PBS row disclosure is named by backup reader and datastore, rather than giving every store on one server the same control label. Single-line scan cells and responsive widths are unchanged. Its open detail presents the full, wrapping reader/store identities and admitted capacity bytes/percentage and inventory count, including when those columns are hidden or truncated. The shared platform detail row accepts optional row context inside the same native inline shell; this does not replace the canonical resource or its History target.
Loading and unavailable inventory remain nonnumeric; accepted empty inventory is zero. Unavailable/unknown capacity never becomes zero, even with a Healthy connection. A server without datastore data has neither a made-up store nor a count. Counts describe loaded entries, including in-progress/unverified entries, not backup protection. These independent evidence meanings, correlation, read cadence, retry, API, auth and protection policy are unchanged.
Normal-suite backupServerDatastoreAccess.test.tsx exercises long namesakes,
responsive projections, parsed inventory loading/failure/retry/polling, capacity
admission, no-store data, live reordering and retained detail/focus. The registered
ProxmoxBackupsTable.test.tsx verifies the selected consumer; shared detail-row
and platform-layout tests preserve the separate context/host owners. Browser
proof exercises actual keyboard/touch disclosure, open-record refresh and
complete wrapping identifiers at desktop/narrow widths with pixel inspection.
This is safer evidence inspection, not original guest or installed recovery.
Backup-server read states remain legible at intermediate widths
The existing PBS server table reserves enough count-column width for the full Loading and Unavailable labels, not only numeric counts, at basic, operational and expanded container widths. The shared 30% basic identity anchor, visible columns, 32px scan rhythm, independent connection/capacity evidence and full layout remain unchanged. Datastore names keep their existing truncation, title and detail access; no identity, count, polling, read/retry or protection rule changes. An unread inventory still never establishes a real zero.
Normal-suite proxmoxBackupsTablePresentation.test.ts verifies width allocation
and complete column totals; the registered ProxmoxBackupsTable.test.tsx
exercises actual loading/failure/accepted-empty cells with independent healthy
capacity. Browser proof must inspect the consuming table at desktop, phone and
intermediate container boundaries, including loading, failure, retry, real zero,
ordinary polling and native detail interactions. This is readable inspection,
not installed or original guest recovery.
PBS server counts belong to the exact backup reader and datastore
The existing Backups server count matches PBSBackup.instance to the resource's
configured connection name and matches the exact datastore name. Service IDs
(pbs- plus the connection name), hostnames and display labels are not backup
reader aliases; an empty tuple must not borrow another connection's inventory.
Both identities retain their positions, punctuation and case without a joined
separator key. Counts still include all admitted inventory entries and namespaces,
not only completed or verified points. Loading/unavailable inventory remains
non-numeric; independently observed capacity and reachability remain unchanged.
Normal-suite backupServerCountEvidence.test.tsx consumes parsed inventory and
checks prefix-alias and delimiter collisions, case, namespaces, valid zero and
existing all-entry semantics. Its real table consumer checks ordinary polling,
failed reads, retry and detail continuity without extra requests. Desktop and
narrow browser proof exercises the same producer through the inventory consumer
with native interactions and inspected pixels. No API, provider, guest, polling,
auth, resource identity or protection-policy change, nor installed recovery claim.
Accepted storage listings survive a later child-budget timeout
PVE storage polling commits listings accepted before a later node, content, retry-wait or assignment read exhausts the child budget. A nil-error response returned after expiry is unread, not a successful empty listing. No queued provider read starts after expiry. Remaining known local repositories and unlisted nodes retain their last live rows without renewing durable evidence; only accepted rows advance. An accepted empty repository can remove its raw rows, but incomplete instance-wide history cannot reconcile durable absence or claim complete protection or clear an earlier access warning. PBS attribution without node provenance survives an unread node until an accepted storage or complete enumeration replaces it.
Explicit request cancellation withdraws the enumeration. Dropping an expired child deadline for local publication does not drop the connection owner: runtime shutdown/replacement, client replacement and retirement still prevent late publication. Unexpired publication retains its request cancellation signal. A spent collection budget is not a recovery-store read failure: it does not start an already-expired backup-alert read, invent an evaluation-outage warning or clear existing wanted alerts. The next ordinary evaluation remains unchanged. Independent connections, local-disk identity, permissions, guest operations and provider budgets are unchanged. Every node's ordinary storage reads remain; an accepted shared view is not substituted for another node's access evidence.
pve_storage_budget_test.go covers VM/LXC, warm/cold live inventory, all five
expiry phases, exact retained/advanced raw and durable fields, accepted empty
membership, ordinary complete recovery, PBS attribution and owner withdrawal.
Source-bound desktop/narrow browser proof consumes emitted inventory/posture
frames through the existing Backups surface; this is not original installed
or frozen-guest recovery.
Coverage duration requires observed task timing
The existing Coverage task disclosure derives a duration only from positive, strict RFC3339 endpoints at or before the inventory observation time, with the end after the start and no reported running status. Future/invalid/nonpositive or reversed endpoints, or a running task carrying an end time, show Unknown and an explanation, not a numeric completed duration or Not reported. An absent end remains Not reported; a valid positive subsecond interval may round to 0s. Valid offsets are compared as instants. Task-reported status, errors, identity, latest-task ordering, protection and restore evidence remain independent and unchanged. Ordinary polling can withdraw and restore duration within the same inspected task without replacing the panel or taking focus.
Normal-suite taskDurationEvidence.test.ts consumes parsed raw inventory and
covers adverse endpoints/status plus valid, missing, offset and zero controls.
backupTaskEvidence.test.tsx exercises those states through the actual inventory
consumer and ordinary polling. Desktop/narrow browser interactions and inspected
pixels cover the changed producer-to-disclosure path. No new requests, provider
operation, collection policy or native guest recovery is implied.
Withdrawn backup evidence retains keyboard position
When polling removes a focused restore-point disclosure/detail, filtered Coverage
row, activity chart or the whole inventory body, focus moves to an existing
inventory retry if a source failed, otherwise the active Backups view. Kiosk mode
falls back to the named inspection region. The fallback only takes focus owned by
the retiring content, after removal, while the inspection is still connected and
no other control has acquired focus; it never scrolls the page. A normal detail
close still returns to that same point's surviving disclosure. Other-source
readable evidence, query/filter state, native controls and the existing retry
cadence remain unchanged; no stale point is retained to preserve focus.
Filtered charts and unmatched-evidence disclosures use their own retiring owners.
InlineDetailTableRow composes its internal native row ref with the consumer's
ref; registering a consumer cleanup must not disable its responsive span or
normal close-focus return. Its normal unit suite verifies both with a consumer
ref present. No new shared component or inspection wrapper is introduced.
Normal-suite backupInventoryFocus.test.tsx consumes parsed raw PVE/PBS responses
and covers both sources, summary/detail retirement, Coverage lookup, chart and
whole-body removal, accepted-empty polls, normal close, moved focus, kiosk and
unmounting. ProxmoxBackupsTable.test.tsx also covers a later polling-failure
notice after a fulfilled read, through pending retry and complete recovery.
Actual production-App desktop/narrow browser proof exercises native
keyboard focus and read-failure/retry through the real consumer, with inspected
pixels. This is accessible inspection, not guest thaw, restore or installed
recovery. No provider operation, route, auth or policy changes.
Existing backup search finds the native record in either view
By date text search includes each admitted restore point's native Identifier. Coverage search includes those same identifiers and full archive file metadata, not just a shortened format label. Matching remains a case-insensitive literal substring after trimming the query; punctuation in provider IDs and file paths is not a filter expression or a new identity. Switching views retains the query and finds the scoped owner without filtering its evidence preview or inventing completion, protection or attribution. Existing node/location/type facets and failed-read withdrawal still apply; search performs no provider reads.
proxmoxBackupRecoveryModel.test.ts covers all three source kinds, complete file
metadata, negative matches and undated incomplete evidence. The normal
ProxmoxBackupsTable.test.tsx consumes raw inventory and exercises input, selected
point, cross-view query retention, namesake isolation and clearing without extra
reads. Actual-App desktop/narrow proof checks lookup, native disclosure, scoped
filtering and ordinary read-failure/recovery with inspected pixels. No shared
search grammar, routes, API, source IDs, matching, policy or collection changes.
A dated backup disclosure identifies the restore point, not only its owner
The By date table keeps its existing native disclosure visible at phone widths, with a reserved 36px target beside the wrapping identity. A disclosure names the workload/PVE connection, source kind, precise creation time (or Unknown), backup reader, location and native identifier. Repeated workloads, tied dates and unavailable dates do not collapse into indistinguishable controls; sorting does not supply identity. Visible Created detail uses the same year/second/time-zone precision. Its Identifier is the native record ID, not a file count or format; the previous file/path metadata remains separately labelled. State-only polls do not rename the point; revised reader/location facts update the existing disclosure without dropping focus or changing owners.
Normal-suite ProxmoxRecoverableTable.test.tsx and
recoverableIdentityAccess.test.tsx cover names, unknown/tied dates, raw inventory
consumption, visible controls, single native activation and scoped refresh.
Actual-App desktop/narrow browser proof exercises point selection by accessible
identity, keyboard/phone activation, close-focus return and same-ID polling,
with inspected pixels. No shared primitive, source identity, provider read,
classification, count, policy or guest/backup/restore operation changes. This
makes existing inspection usable; it does not establish a tested restore,
original guest recovery or release availability.
Restore-point inspection states what its evidence cannot confirm
The existing By date record detail places a visible, wrapping evidence-limits note beside State. A guest snapshot shares the guest's storage and is not a separate backup; it does not count towards backup protection. Provider-reported verification is not a tested restore, and prune retention establishes neither verification nor workload protection. A running or failed point explicitly remains incomplete. Guest records do not establish thaw or filesystem writes; host backup records must not invent a guest. The note follows the current same-ID point during refresh without retaining an obsolete assurance.
Normal-suite ProxmoxBackupsTable.test.tsx consumes raw PBS/PVE inventory for
snapshot, verified/unverified/missing verification, PBS-backed file, running,
failed, prune-retained and host cases, plus open-record refresh continuity.
Actual-App browser proof must inspect desktop and 320px pixels and native
keyboard/touch disclosure, including same-point activity and verification
changes. No route, provider operation, auth, policy, count, classification,
identity, collection or polling behaviour changes. This is truthful recovery
inspection, not proof of a restore, guest recovery or published availability.
Guest SMART inspection withdraws a failed scoped read
A failed guest physical-disk resource read must not leave cached health words, temperatures or open SMART/history panels presented as current below an error. The guest consumer withholds that entire disk list until a successful scoped read. Its opt-in retained read error survives a quick drawer remount; cached rows cannot clear it. Other parents, organisations and default consumers do not inherit it. The shared hook reports background failure for this opt-in consumer as well; a successful scoped read clears the retained failure. It renders no response text, no zero-disk inference and no recovery action against the guest. An explicit retry uses the same parent-scoped resource query; pending retries stay focusable, announce their busy state and reject duplicate activation. Failed retries keep the same control. Recovery shows only the newly admitted records, with closed disk disclosures. A valid empty response says that no records were returned, not that the guest has no disks. Uninstrumented guests still get no empty card on first inspection.
When read failure or recovery removes focused content, focus returns to the
surviving inspection heading, including empty recovery. It must not steal focus
moved elsewhere, focus a hidden Overview or restore focus after leaving the guest.
useUnifiedResources.test.ts covers retained read errors, remount, successful
empty retry and scope/default isolation. GuestPhysicalDisks.test.tsx covers
retained/open evidence, failure/pending/retry,
recovery/empty, literal-response suppression and focus ownership. Desktop/narrow
browser proof must exercise the actual resource reader through the guest drawer,
scoped failure, keyboard/touch retry, recovery and inspected pixels. Resource and
disk identity, auth, collection, thresholds, History targets and refresh cadence
are unchanged; this is truthful inspection, not native disk or guest recovery.
Coverage keeps its evidence disclosure visible on phones
The existing Coverage chevron remains visible at phone widths, with the shared 36px native target reserved beside the wrapped workload identity. Whole-row tapping remains a convenience, not the only visible route to evidence. The button retains its scoped accessible name, expanded state and controlled panel; its action must not also toggle the row. Keyboard activation, same-key polling, owner links and full workload/connection identity remain unchanged.
Normal-suite ProxmoxCoverageTable.test.tsx checks the visible-control opt-out,
single activation, keyboard/row paths and refresh continuity. Actual-App browser
proof must inspect desktop and 320px pixels, ordinary disclosure clicks/taps,
namesake isolation, task refresh/withdrawal and close-focus return. No shared
primitive, read cadence, protection policy, backup or guest operation changes.
Backup-server rows leave host figures to the server drawer (2 November 2026)
A Backup servers row answers "is the server reachable and is this datastore OK?": Status, datastore, Used, Jobs, the backup count and dedup. The PBS host's CPU, memory, uptime and version moved out of the row into the server's drawer, where they sit with their History charts and the version badge. Status already says whether the box is alive, and those columns took the row's room from the datastore answers, which now carry job results and the fill forecast. Phones never showed them. The row model no longer copies host readings into datastore rows; the drawer reads them from the row's resource.
Host-figure truthfulness therefore belongs to the drawer. The deleted
table-cell proof (ProxmoxBackupServersTable.memory.test.tsx) has no surface
left to cover. The drawer keeps the cell's guarantees: when no History chart
can be drawn, a failed read or a locked range, its Latest readings strip still
shows the live CPU and memory with their current, last-known or
freshness-unknown qualifier; and the shared getMemoryPercent uses a valid
byte pair, a measured zero included, before a 0-100 percentage. Those are
shared drawer and helper behaviors on every platform, pinned by
ResourceDetailDrawer.history.test.tsx and resource.test.ts.
ProxmoxBackupServersTable.test.ts pins that rows carry no host readings and
keep the host resource the drawer reads, and ProxmoxBackupsTable.test.tsx
pins the column set.
Contradictory task completion cannot complete an archive
A PVE task's exit result and end clock must agree before its page can replace accepted live intent. A result without an end time, or an ended task still labelled running/active, is unread rather than proof that the archive writer finished. The existing node-scoped carry-forward preserves the last accepted writer without renewing it or re-ingesting it into durable history. Independent readable evidence progresses; ordinary consistent completion restores the same archive's usability. No end time, outcome or healthy restore point is fabricated.
The normal-suite client completion-matrix and VM/LXC archive-lifecycle tests exercise missing/empty native live statuses, successful/failed/warning/unknown ended results, contradictory clocks, exact retained observations, incomplete history and independent-node/recovery controls. Desktop and 320px browser proof must consume the actual HTTP-client/poller outputs through the production Backups inventory, inspect the running archive and independent completed point, and follow normal completion without losing the open disclosure. Policy, retention, identity, payloads and guest/backup/restore operations are unchanged.
Unread PVE task history cannot establish absence or completion
The paginated backup-history collector admits only a complete, bounded HTTP200
response with an explicit task array and unambiguous, scoped task identities and
times. Missing/null inventories, duplicate or case-conflicting fields, invalid
rows, contradictory errors, trailing data and unfinished bodies are unread,
not empty history. Audit authority likewise requires a whole unambiguous
response granting Sys.Audit on the requested node; a valid prefix cannot
qualify collection completeness. Valid empty arrays, independent accepted pages,
provider metadata, multi-guest jobs and existing pagination bounds remain valid.
Live tasks on a transiently unread/offline node retain only their last accepted
connection-scoped observations. Accepted IDs win, other nodes still advance, and
carried rows neither renew ObservedAt nor re-enter durable ingestion. Accepted
empty reads and removed nodes withdraw their live rows. Explicit access denial
withdraws that node's live rows and accepted page prefix; a later failed read
cannot resurrect them. History coverage remains incomplete until its existing
collection/authority checks pass. Retained running intent continues to keep its
writer's partial archive from claiming completion. No new endpoint, field, token
scope, policy, store/schema migration or guest/backup operation is introduced.
Normal-suite backup_history_response_test.go covers adverse envelopes, rows,
body completion, audit evidence and later-page failures; pagination controls
remain required. backup_task_inventory_lifecycle_test.go exercises the actual
HTTP client and poller through unread/empty/recovery/denial, connection isolation,
fresh-page precedence and VM/LXC partial-archive ingestion. Desktop/narrow browser
proof consumes those actual task frames in the production Backups table. These
are source continuity and attribution proofs, not restore availability, original
guest recovery or the cause of a reported freeze or stale date.
PBS snapshot group contradictions cannot renew recovery evidence
Every returned PBS snapshot must belong to its exact requested kind/opaque ID, and each native snapshot time may occur only once within that group response. The PBS client rejects an ambiguous response as a whole, including invalid rows beyond the live retention cap. Existing malformed-read handling retains accepted raw/history evidence without cache or point renewal, marks collection partial rather than complete or access-denied, and never reconciles absence from that read. Independent readable namespaces remain usable. Only ordinary valid reads restore complete evidence; explicit empty arrays still reconcile confirmed absence. No guest, backup, restore, retention policy, access or schema changes.
The normal-suite client backup_snapshot_identity_test.go and collector
pbs_snapshot_identity_test.go cover exact subjects, opaque host IDs, duplicates,
cold/warm VM/CT reads, historical preservation, cache/retry, independent scope,
valid recovery and authoritative emptiness. Desktop/narrow browser proof must
consume actual collector outputs through Backups inventory/posture clients,
inspect retained evidence, uncertainty, recurrence and recovery with keyboard
and touch. This proves truthful inspection, not original guest/native recovery.
Fleet protection reads bound their request fan-out
Coverage reads keep the existing 200-subject batch size and issue at most four posture requests at once per consuming surface. Queued batches start only as a slot completes, in request order; responses retain that order regardless of completion order. The entire validated fleet result and policy publish together, never progressively green partial health. A failed batch aborts active siblings, discards queued work and retains the initiating failure. A retired read cannot start queued batches even when a transport resolves after cancellation. Scope, organisation, replacement-read and disposal ownership remain unchanged, as do existing polling, auth, policy and independent restore-evidence inspection.
Normal-suite useProtectionPostures.concurrency.test.ts checks peak request
counts for a 10,001-subject fleet, out-of-order completion, atomic publication,
failure/retry and cancellation with queued work. Existing hook/cancellation and
Backups consumer suites remain required. Desktop/narrow browser proof must
exercise the actual HTTP producer through Coverage for multi-wave pending,
failure, retry and scope retirement, retaining independent evidence and focus.
This bounds client request pressure, not measured installed CPU relief or
original backup, guest or restore recovery.
Backup inventory identities must be unambiguous
Each PVE task, archive and guest-snapshot collection, and the PBS snapshot collection, requires unique exact record IDs. Identical repeats inflate counts; conflicting repeats share disclosure state and cannot select a trustworthy record. Reject the entire source read through the existing format-error path, without deduplication, partial acceptance or invented IDs. Preserve the existing withdrawal of a failed source's old restore points and open details, while independent source evidence remains usable. Only a valid read restores the failed source; scope/access withdrawal remains unchanged. IDs stay opaque, with independent collection namespaces. Valid empty/nil collections, policy, provider and guest operations are unchanged.
Normal-suite proxmoxBackupInventory.test.ts checks identical/conflicting IDs
in all four collections and distinct-ID controls. ProxmoxBackupsTable.test.tsx
checks initial/refresh rejection, withdrawal of affected points/details,
independent inspection, isolated retry and recurrence through the consuming page. Browser
proof must exercise the real HTTP reader and desktop/narrow interactions and
pixels. This establishes inspection safety, not native guest or backup recovery.
CORE disk throughput is not protection or counter evidence
Native per-disk read/write rates reach existing disk chart History under the
canonical disk target and original sample instant. They never populate cumulative
PhysicalDisk.IO, operation totals, busy percentage or backup/protection evidence.
A partial catalogue preserves individual samples without implying complete host
I/O. The physical-disk roundtrip pipeline checks both boot names and persisted
readback. Device/pool identity and recovery operations remain unchanged; browser
proof concerns the consuming drawer, not original appliance recovery.
Snapshot subjects retain their observed guest kind
A Proxmox snapshot's explicit VM/LXC kind takes precedence over best-effort current guest metadata. A conflicting lookup cannot lend the snapshot the replacement guest's canonical ID, source ID or display name: keep the original typed canonical subject and literal provider scope. Explicit unknown kinds retain the artifact but supply no canonical subject or subject-linked evidence. Only an absent legacy discriminator keeps best-effort lookup. Same-kind metadata, point IDs, snapshot facts, completion, collection quality and policy are unchanged. No store/schema migration, guest-agent, snapshot, backup or restore operation is introduced. Existing stored attribution changes only on ordinary re-observation.
The normal-suite mapper regressions cover both replacement directions, all recognised kind aliases, same-kind and absent metadata, explicit unknown and legacy kinds, connection/node isolation, retained facts/evidence and the actual protection-posture aggregation. Production Coverage consuming proof must keep original snapshots inspectable without crediting the replacement guest with their provider evidence, at desktop and narrow widths. This is attribution safety, not incident causality, native recovery or verified restore availability.
Backup read recovery retains keyboard position
PVE, PBS and protection-posture retries remain focusable while pending, report
aria-disabled, and reject duplicate activation. A failed retry retains its
control. When a recovered notice or whole-inventory error is removed, focus
owned by that content moves to the existing active Backups view link, or the
named inspection region when kiosk mode hides navigation. Recovery never
moves focus the operator has taken elsewhere, or restores it after leaving
the surface. Independent inventory, server health, assessment withdrawal,
read cadence, filters, guest operations and protection policy are unchanged.
ProxmoxBackupsTable.test.tsx exercises pending/failed/successful retries,
duplicate activation, partial whole-inventory recovery, moved focus, kiosk
fallback and disposal. Desktop and narrow browser proof must exercise the
real HTTP clients, keyboard input, ordinary polling and consuming pixels.
This is inspection accessibility, not original guest or installed recovery.
Protection assessments require explicit, valid instants
The browser admits assessment and provider timestamps only as calendar-valid, explicitly zoned RFC3339 instants, using the same parser as restore evidence. Date-only, timezone-free, impossible and browser-repaired dates cannot validate an otherwise Protected response. One invalid timestamp rejects the entire joined assessment through the existing unavailable/retry path: retained verdicts, provider quality and policy are withdrawn, not replaced by a partial batch or a client-computed protection decision. Independent restore evidence, workload identity and open details remain usable. Valid leap days, offsets, nanosecond fractions, epoch/future instants and optional absent/null fields keep their existing meaning and server-authored verdict. No endpoint, producer, policy, store or guest operation changes.
Normal-suite protectionPostureResponse.test.ts covers every assessment and
provider timestamp field and valid controls. useProtectionPostures.test.ts
checks whole-read withdrawal/recovery when the last of two fleet batches has an
invalid instant. ProxmoxBackupsTable.test.tsx drives malformed calendar,
zone-free and date-only assessments through the real Coverage consumer and
isolated retry. Desktop/narrow browser proof must exercise that changed HTTP
producer through health counts, open details and recovery/recurrence. This is
malformed-response safety, not original stale-protection causality or native
backup/guest recovery.
Coverage previews retain the evidence behind uncertainty
The existing Coverage restore-evidence preview retains the newest observed and completed point of each source, plus one undated observation of each source and completion state. Unknown dates cannot be silently sorted out behind a burst of dated backups or snapshots while the row tells the operator to inspect them. The preview states the number of unavailable/future dates without implying a time order or complete listing. Explicit bounded expansion makes every retained entry inspectable in the same panel, including literal origin and state. Expansion survives ordinary polling, resets on row close/change, and adds no read, route, restore/guest operation, identity or protection decision.
Normal-suite coverageEvidencePreview.test.ts checks uncertain witnesses,
deterministic bounded selection and valid newest/completed controls.
coverageEvidenceInspection.test.tsx exercises parsed inventories through the
real Coverage consumer, repeated expansion, namesake isolation, literal text,
polling recovery/recurrence and closing/reopening. Desktop/narrow browser proof
must inspect actual pixels and keyboard/touch expansion. This makes uncertain
evidence usable, not original stale-date causality or native guest recovery.
Backup completion strings share one strict instant rule
Backups inventory and Workloads use the same calendar-checked, explicitly zoned RFC3339 parser for reported backup times. Workloads must not turn impossible calendar dates, date-only strings or browser-local times into numeric completed backups before the badge, shield or guest drawer sees them. Age and exact UTC completion formatting apply the same rule to direct string inputs. Invalid present evidence stays Unknown, not fresh or absent; only existing absence sentinels (including Go zero time in resource mapping) mean no recorded backup. Numeric/Date inputs, valid offsets/leap days/fractions, future-time uncertainty, policy thresholds, backup activity, identity and canonical posture are unchanged. No backup/restore, filesystem or guest operation is added.
Normal-suite backupTimestamp.test.ts checks shared age/completion admission and
valid controls. backupTimestampFlow.test.tsx drives REST and owning-snapshot
resource updates through real badge, shield disclosure and guest drawer for
VM/LXC, recovery and recurrence while preserving open details/focus. Existing
inventory timestamp tests continue to cover PBS/files/snapshots/task chronology.
Source-bound desktop/narrow browser proof must exercise the changed resource
producer and those consuming surfaces, not just a formatter demonstration.
This is presentation truthfulness, not original stale-date causality, restore
availability, thaw or every-filesystem recovery.
Latest backup task evidence stays separate from recovery
Coverage’s existing expanded detail shows the scoped latest PVE task’s reported
status, start, duration, full literal error and task ID. Each latest or possible
latest task retains its own reported connection and native node, independent of
the workload's current placement after migration. Missing task origins say Not
reported; no workload, artifact reader or repository supplies them. Origin values
wrap as literal text and remain searchable alongside the exposed task ID.
Ordinary polling updates or clears them in the same open panel.
backupTaskOrigin.test.tsx checks the inventory/model/consumer path for migration,
namesake isolation, missing and literal origins, uncertain chronology, search
and focused same-panel updates. The model's normal-suite origin test covers the
same identity boundary. Matching, keys, posture and guest operations are unchanged. Long/multiline provider
text wraps without markup interpretation. An unreadable start says Unknown,
a missing duration says Not reported, and a failed task without error text
says Not reported. No task means no task section. Ordinary polling updates
and removes stale task details in the same keyed panel without losing focus.
The detail explicitly does not verify a restore or guest responsiveness.
That qualification wraps at narrow widths instead of inheriting cell nowrap.
backupTaskEvidence.test.tsx exercises the HTTP inventory parser, recovery
model and production Coverage consumer at desktop/narrow layouts, namesake
connection isolation, literal text, missing/invalid evidence, running/OK tasks
and same-panel polling/removal. Desktop keyboard and narrow touch browser
proof must inspect these existing details. No new read, route, task action,
matching rule, protection policy, backup/restore or guest operation is added.
Backup workload scope stays visible independently of its reader
Coverage retains the guest's PVE connection in its identity cell at every container width. When Target ID is hidden, type and VMID remain beside the name. Native disclosure names include the workload label and PVE connection; the existing Coverage and By date Workload details show the full wrapped connection, separate from the restore point's backup-reader Connection. A missing VM/LXC connection stays Not reported, including unmatched PBS evidence; PBS readers, namespaces and nodes never supply it. Host backups imply no PVE connection. Displayed scope does not change identity matching, resource/artifact keys, owner-link IDs, search/filter behaviour, completion, protection policy, verification, access or guest/recovery operations.
The normal-suite backupWorkloadIdentity.test.tsx exercises inventory parser,
recovery model and both table consumers, five layouts, duplicate names/IDs/nodes,
unknown/unmatched/host scope, distinct PBS origins, exact owner links, literal
text and same-key live updates with disclosure focus. Existing windowed-table
proof remains applicable; the Coverage row-height estimate accounts for its
second identity line. Browser proof must inspect real desktop/narrow consumers,
full long/unknown details and keyboard/touch interactions. This does not
establish original multi-surface identity, collector, guest or restore recovery.
Restore-point origin is distinct from workload placement
The existing frontend location scope retains the backup reader's connection as a display fact separately from its positional source/connection/repository key. Existing inventory and Coverage searches match the display connection, including an explicitly unknown origin, without changing exact filter keys. Existing inventory and Coverage consumers show that connection, including the full value in restore-point details and wrapped Coverage evidence. No guest node, namespace or workload connection supplies a missing backup origin. Same-named repositories remain independently identified; existing exact and legacy filter resolution, archive/PBS matching, native IDs, chronology, provider observations and protection policy are unchanged. No API shape, stored record, backup/restore or guest-agent operation changes.
The normal-suite backupSourceConnection.test.tsx covers the real inventory
producer and consumers for PBS, PVE archives and snapshots, unknown origins,
same-point polling and literal rendering. proxmoxBackupLocation.test.ts keeps
the exact key and compatibility controls. Desktop/narrow consuming browser
proof establishes readable source selection, not original #3248/#2681 recovery
or actual restore availability.
Disabled guest, storage and backup collection scopes remain disabled when a
trust edit is saved. Their false response values must survive the editor
round-trip rather than fall back to enabled new-connection defaults.
TestPVEEndpointTrustEditorPreservesDisabledCollectors verifies preservation.
Proxmox TLS recovery preserves storage and guest state
Reconciliation of saved API certificate trust is confined to the selected
endpoint authority/base path. It leaves backup/History data, guest identity,
credentials, discovered member records and unrelated pins intact. A saved
connection test reads the nodes API only and does not perform backup, restore,
freeze/thaw, filesystem, storage or guest-agent operations. Failure to persist
the PVE candidate does not publish its trust in memory.
TestPVEEndpointTrustAdmission and TestPVEEndpointTrustSavedPolling prove
these scoped save/probe boundaries, not installed backup or filesystem recovery.
Backup retention never substitutes for verification
The existing restore-point State cell and drawer status prioritise running or failed completion and then the reported verification result. A point kept when pruning still says Unverified or Verified as reported. Retention without a verification verdict says Kept with an informational tone, never Protected. The existing detail names Prune protection separately and says Not reported when backup verification is unavailable. Guest snapshots retain their existing informational state. The shared Coverage evidence uses the same state wording. Canonical workload protection, freshness, policy and inventory counts are not inferred from prune retention or an individual verified file.
The normal-suite backupRetentionPresentation.test.tsx exercises the real
inventory consumer, independent assessment, explicit/missing verification,
search compatibility and same-point polling with an open drawer and focus.
Shared badge and drawer tests retain completion precedence and reactive tones.
Desktop/narrow consuming browser proof checks the existing rows and details.
No provider data, route, access, retention operation or guest recovery changes.
Running local archives retain their executing-node scope
A live vzdump task can mark an archive as partial only on its own executing node's independent local disk. Identical VMIDs and paths on another local disk are not its output; current guest placement cannot substitute for the disk's read origin. Keep each node's earliest running-task start independently before applying the existing clock-skew window. Shared/remote storage views and tasks with no executing node retain conservative connection/VMID correlation. PBS entries without a manifest remain incomplete. Task age, running-state expiry, archive identity, access policy and public payload shape are unchanged.
TestPVEStorageRunningArchiveOrigin covers both read orders, either writer,
unknown origin, shared-flag/NFS/CIFS/PBS views, connection isolation, ended/failed
tasks and the pre-window control. The normal-suite
TestPVEStorageRunningArchiveOriginLifecycle exercises VM and LXC live dates,
asynchronous recovery points and canonical posture through running, unread and
completed phases. The writer's partial output never gains a completion time;
the independent completed copy remains usable. Its actual frames drive desktop
and narrow production Backups and workload-badge proof. No guest, backup,
restore or database/schema operation is introduced. This is source correlation
correctness, not incident recovery or a claim that an old task proves completion.
Retained local archives do not change kind when a VMID is reused
A PVE VM archive cannot advance the backup date or protect a live LXC using
the same connection and VMID, and an LXC archive cannot protect a replacement
VM. Local guest-date selection groups explicit qemu/vm and lxc/ct
subjects independently before comparing recency. Incomplete archives still
supply no completion date. Existing best-effort matching of legacy/untyped
rows, PBS matching, task state and provider observation policy are unchanged.
Recovery mapping uses the explicit artifact kind. When it contradicts the live guest lookup, the archive retains its historical typed canonical subject without borrowing the new occupant's ID or display name. Collector placement lookup likewise ignores an opposite-kind occupant: its archive keeps the read node, while a same-kind migrated guest still supplies its actual placement. The final state-layer alignment uses the same typed fence, so publishing the list cannot undo the collector decision. Both date and placement selection share the model's explicit-kind normalisation; legacy/untyped fallback remains unchanged. The independent local storage read origin and archive ID are unchanged. Same-kind metadata and legacy/untyped fallback retain their existing behaviour. The point ID, archive time, size and public JSON shape do not change. Ordinary collection updates existing point attribution; no deletion, schema migration, backup/restore or guest-agent operation is introduced.
TestUpdateStorageBackupsForInstanceKeepsArchiveGuestKind,
TestSyncGuestBackupTimesLocalArchiveGuestKinds,
TestFromPVEStorageBackupsRetainsExplicitGuestKind and the normal-suite
TestPVEArchiveSubjectKindLifecycle cover both replacement directions, aliases,
connection isolation, migrated placement/read origin, recency, incomplete files,
legacy controls, retained raw
artifacts, canonical dates/subjects, partial reads, complete absence and ordinary
recovery. Actual lifecycle frames drive production Coverage and backup-status
browser proof at desktop and narrow widths. This is a source safety repair,
not #3248 causal attribution, native recovery or verified restore availability.
Archive guest kinds come from artifact discriminators
PVE archive type detection ignores the storage-name prefix and incidental
filename text. The vzdump-qemu-/vzdump-lxc- archive prefix or PBS vm//ct/
group discriminator (with optional backup/) determines guest kind; exact
pbs-vm/pbs-ct formats remain the fallback. Unknown artifacts remain unknown.
A disk named qemu-archive may hold LXC backups without hiding them behind the
VM filter or emitting VM-typed PBS guest confirmations. VMID-zero host handling
and template/ISO admission stay unchanged.
A recognised archive path must encode a positive numeric guest ID that agrees with the returned VMID before supplying that kind. Malformed, overflowing or conflicting path subjects stay explicitly unknown even when a PBS format would otherwise supply a fallback. Retain the raw volume ID, returned VMID, date, size and read origin without choosing either subject. Such a row supplies no live guest date, placement, recovery subject or direct-PBS guest confirmation. Ordinary corrected re-observation restores attribution under the same archive ID; a failed read does not renew or reinterpret prior evidence. Opaque paths with exact PBS formats keep their existing fallback, and VMID-zero host and non-backup admission remain unchanged.
TestPVEArchiveSubjectRequiresAgreement covers both archive kinds and PBS
paths, optional storage/backup prefixes and malformed numeric tokens.
TestPVEArchiveSubjectCannotConfirmAnotherPBSGuest checks confirmation
withdrawal and recovery for both kinds. The normal-suite
TestPVEArchiveSubjectAgreementLifecycle follows conflicts, corrected metadata,
failed reads, recurrence, recovery and accepted absence through live inventory,
canonical dates, asynchronous recovery points and protection postures. An older
correctly attributed backup, independent LXC and another connection's namesake
stay isolated. Its actual frames drive desktop and narrow Backups proof; this
is attribution safety, not original guest recovery or a diagnosis of stale
protection reports. No guest, backup, restore, store/schema or access operation
is added.
An explicit unknown or unsupported non-empty kind is not an absent legacy
discriminator. Keep that archive's ID, read node, repository, date, size and
completion visible, but do not borrow a live VM/LXC's kind, name, canonical
subject or placement merely because its VMID matches. It cannot advance that
guest's LastBackup or protected posture, or hide an older correctly typed
backup. Only the empty-type legacy path retains best-effort matching.
TestPVEUnknownArchiveKindLifecycle follows opaque and recognised files through
polling, live dates, asynchronous ingestion and resource-ID postures, including
ordinary typed recovery, failed reads, return to unknown-only inventory and
accepted absence. It preserves a namesake in another connection. Mapper and
model tests also cover explicit unsupported/host kinds and the empty legacy
control. Actual lifecycle responses drive desktop and narrow Coverage, By date
and workload backup-status browser verification; no guest operation is used.
The normal-suite pve_backup_content_type_test.go exercises named-disk and
suffix collisions, prefixed/prefixless local and PBS paths, exact-format
fallback, unknowns, host/non-backup controls and typed direct-PBS confirmations
in separate connections. Its poll/ingest lifecycle checks exact archive facts,
canonical dates and subjects, partial-read evidence preservation, accepted
absence and ordinary recovery; optional actual-response frames drive desktop
and narrow production Backups consumer proof. No identities, stored timestamps,
policy, access, guest/backup operations or public JSON shape change. This is
source classification correctness, not #3248 causal attribution or installed
guest/filesystem recovery.
Local archive identities include their independent disk
A PVE volume ID is a path within a repository, not proof that identically named
local disks share content. Local archive deduplication and opaque public IDs
use the exact connection, storage read node, storage name and volume ID. The
pvelocal1: ID is a SHA-256 digest of those four length-prefixed UTF-8 byte
strings in that order. Case, delimiters and field boundaries are significant;
guest placement, timestamps, size and read order cannot rename a file. Distinct
local copies reach both live inventory and recovery history with distinct IDs.
Shared and inherently remote repositories keep their previous deduplication
and IDs, including direct-PBS attribution/exclusion behaviour.
This intentionally replaces the old connection/volume-only local IDs. No legacy record is assigned an invented disk: partial scans preserve old points and evidence unchanged, so unscoped history can overlap new observations until a complete accepted scan. Only that ordinary full scan reconciles obsolete IDs; other connections and unread files are not removed. Existing partial-history, carry-forward, absence and protection policies stay in force. JSON shape, guest attribution, read permissions and guest/backup operations are unchanged. Clients must continue treating archive IDs as opaque, not parsing the old delimiter.
pve_local_archive_identity_test.go covers VM/LXC, both node orders, warm/cold
cache, repeated partial reads, guest moves, independent accepted absence,
legacy-to-scoped reconciliation, connection isolation, tuple boundaries and
shared controls. The dir-storage/PBS regression also exercises both local
copies alongside a direct PBS connection. The normal-suite consumer lifecycle
can export its actual poll/ingest/posture frames for desktop/narrow Backups
proof. This establishes source identity correctness, not restore availability,
installed guest recovery or the cause of #3248's original stale dates.
Disabled local backup targets keep their own unread scope
A skipped local backup-content read cannot be covered by a successful same-named disk on another PVE node. Known live files retain their exact read origin, identity and dates; durable points retain their prior evidence and an incomplete provider observation, including when the live cache is empty. Accepted sibling rows still update or disappear on an accepted empty read. Disabled content endpoints are never queried to recover membership.
PVE also lists a node-restricted local target as disabled on excluded nodes.
Only for skipped local targets with an accepted same-name peer, one ordinary
bounded datacenter storage-catalogue read resolves that ambiguity. An explicit
nodes restriction can establish exclusion; matching names, missing/unrestricted
configuration and failed config reads cannot. Those unknown scopes stay unread,
not permission-denied or confirmed absent. Shared/inherently remote storage
retains its existing accepted-peer semantics. A cancelled catalogue read cannot
publish new inventory or provider evidence. Normal re-enable and complete reads
still establish absence and recovery. No public fields, identifiers, freshness
policy, access grants or guest/backup/recovery operations change.
pve_disabled_local_storage_test.go covers VM/LXC subjects, both node orders,
warm/cold live inventory, repeated skips, empty readable peers, unavailable or
denied configuration, explicit node restrictions, shared controls, cancellation,
connection isolation, all-disabled reads and ordinary recovery. Its normal-suite
lifecycle optionally exports actual poller/ingest/posture frames for production
Backups/API-hook desktop/narrow browser proof. This is monitoring correctness,
not archive availability, installed guest/filesystem recovery or a diagnosis of
#3248's original stale dates.
PBS unread namespaces retain only their own last accepted live files
When a PBS group-list request fails transiently, its previous live snapshot rows remain inspectable even if a sibling namespace succeeds. A transient namespace-discovery failure similarly retains known but unqueried namespaces, without guessing or issuing hidden-namespace requests. Accepted rows take priority over carried rows at the existing live-state bound. Carried dates, identities and snapshot-cache times are unchanged, and carried rows never enter the observed-group batch or renew recovery-point evidence. Provider history stays partial/unavailable rather than claiming protection.
An actual access rejection still withdraws that namespace's raw rows, including
when every namespace failed and another failure was transient. Wholly unread
mixed failures keep access Unknown rather than inventing universal denial;
uniformly rejected collection still reports Denied. Failed discovery
cannot override a namespace request actually made: neither a rejection nor an
accepted empty listing can be undone by carry-forward. Durable historical facts
remain qualified by collection/access evidence until a complete accepted scan
can reconcile absence. Ordinary successful reads restore the inventory. Public
JSON, identifiers, bounds, policy and native backup/recovery operations are
unchanged. pbs_namespace_continuity_test.go exercises VM/container scopes,
repeated transient/malformed reads, discovery loss, mixed denial, accepted empty
siblings, connection isolation and complete recovery/removal. Its optional
lifecycle frames drive the production Backups consumer and API hooks in
desktop/narrow browser proof. This is source continuity, not archive availability,
installed guest recovery or #3248's diagnosed stale-date cause.
Backup activity shares the list's inventory scope
By date activity counts and volume use the same search, node, workload type, exact backup location and source/verification filters as the restore-point list. Unresolved locations and empty matches cannot draw another scope's activity. Day selection is applied afterwards only to the list, so the chart continues to offer all dates in that inventory scope. Unknown-date notices also describe only the matching inventory. Completed-only admission, local calendar buckets, aggregate server-owned posture, query cadence and all backup/recovery operations are unchanged.
ProxmoxBackupsTable.test.tsx exercises every facet, combined filters,
case-sensitive/ambiguous locations, empty matches, count/volume, and switching
and clearing days/filters without extra reads. Source-bound desktop/narrow
browser proof exercises the actual inventory parser/model/chart/list and
shared filter controls. This corrects inspection, not #3248's original stale
timestamps or native guest recovery.
Backup activity ranges follow local calendar dates
The existing 7/30/90/365-day Proxmox backup activity windows contain exactly that many consecutive local dates, ending today. Clock changes, including half-hour changes, cannot skip or duplicate a date, omit the first hours of the oldest date, or cut short a long final day. Count and volume use the same date buckets as the existing day filter. Future instants and undated evidence remain excluded; source classification, stored timestamps, aggregate posture, policy and backup/recovery operations are unchanged.
proxmoxBackupActivityPresentation.test.ts exercises both clock-change
directions in London, New York and Lord Howe, plus UTC and a fixed half-hour
offset, across all four ranges and both metrics. Desktop/narrow consuming
browser proof drives the real inventory/model/chart through date selection,
volume, clearing and details. This is presentation correctness, not #3248's
stale-posture cause or native recovery.
Protection assessment batches share the consuming read's lifetime
Every protection-posture batch carries a cancellable transport signal owned by the one joined query read. Unmounting, replacing a read, changing the resource scope or switching organisations cancels all its pending batches. A failed batch cancels its siblings without replacing the original error; only a complete successful retry restores assessments. The abort listener is removed when the joined read settles. Existing stale-result guards and organisation/cache boundaries remain in force even for a transport that ignores cancellation.
The registered useProtectionPostures.test.ts and
useProtectionPostures.cancellation.test.ts cover successful shared signals,
scope/disposal/organisation cancellation, late results, polling, failure and
full-read recovery. Source-bound browser proof uses the real Backups consumer
and HTTP transport at desktop and narrow widths. This stops unnecessary stale
reads; it does not establish native guest recovery or change posture policy,
batch size, cadence, API, identity or access grants.
Same-named local backup disks retain independent read origins
An accepted storage listing on one PVE node cannot erase last-known files on
another node's unread local disk, even when both are named local. Each accepted
non-shared row keeps its storage read node as runtime-only provenance; the
public node remains guest attribution and may differ after migration. Hard
content failures and unread node catalogues/offline nodes retain only their
known local rows. Older rows without a read origin are retained conservatively
until an ordinary complete read replaces them. An accepted shared-storage read
still covers that shared repository. Disabled content-query admission is
unchanged; skipped local membership follows the scoped rule above.
Carried rows keep their exact dates and IDs, do not enter the observed-point batch and cannot renew point evidence. Partial scans remain partial and cannot reconcile durable history. Accepted independent rows still update or disappear on a successful empty listing. A complete empty scan can still establish absence, and ordinary successful reads restore the list. There is no public JSON/schema, guest/backup command, credential or policy change.
pve_local_storage_retention_test.go drives both node orders, repeated content
and catalogue failures/offline nodes, migrated guests, accepted empty siblings,
unknown old origins, connection isolation, shared-storage controls, complete
absence and recovery through the poller/ingest/posture journey. Its optional
producer supplies the production Coverage table's desktop/narrow browser proof.
Retained rows are not a fresh read, archive-availability or installed recovery
claim, and this does not establish #3248's original stale-timestamp cause.
Backup-location filters keep exact repository identity
A backup-location filter uses a case-preserving, position-preserving tuple of source kind, connection and repository. Display labels, case folding, empty field removal and delimiter concatenation cannot establish identity. Both By date and Coverage use the same exact key, including the selected restore points, per-source counts and latest-backup selection in expanded Coverage. New URL/saved-view values use that key. A legacy key is read-compatible only when it maps to one exact location in the current inventory; an ambiguous or missing match shows no filtered restore points and explains how to choose again or clear the filter. It never silently widens to all matching repositories.
proxmoxBackupLocation.test.ts, the recovery-model tests and the consuming
ProxmoxBackupsTable.test.tsx cover case/delimiter/position collisions, source
kinds, old saved views, exact filtering across views, details, clearing and
remount. A mounted inventory refresh that introduces a collision withdraws the
legacy interpretation, while an exact choice stays isolated. Desktop/narrow
browser proof exercises the compiled producer through
those surfaces. This changes a presentation filter, not workload matching,
server-owned aggregate posture, access, API reads or native recovery operations.
Protection posture reads validate the whole response
Backups accepts a batched protection assessment only when every returned row, provider state and policy has the existing transport shape. Duplicate subject IDs and inconsistent policies across batches are ambiguous reads, not a reason to choose the last health state or first policy. Invalid HTTP-success responses follow the existing failed-read withdrawal and source-local retry path: no retained health, provider explanation or policy is published, while independent restore evidence remains inspectable. Explicit null Go collections normalise to empty lists; missing collections do not. Extra fields remain compatible.
The registered protectionPostureResponse.test.ts, useProtectionPostures.test.ts
and consuming ProxmoxBackupsTable.test.tsx cover shape, ambiguity, whole-read
withdrawal and recovery. The client does not recompute server posture, infer a
missing subject's protection, or change policy, API, identity, access or native
backup/recovery operations. Desktop and narrow consuming browser proof checks
the visible unavailable, pending and recovered states.
Phone protection summaries prioritise completion and outcome
TrueNAS Protection uses the existing container-led phone projection to keep
Dataset, Finished and the labelled Outcome readable in single-line summary
rows. Artifact and Target columns return at the shared wider-table breakpoint;
both remain available in the existing wrapping inline details on phones. Header
and body priorities match. The completion sort remains available, and the same
actual-finish requirement applies to summary, sort and details: running and
start-only events still have no completion evidence. The registered
TrueNASProtectionTable.completion.test.tsx pairs those priorities and exercises
the real query/normalizer through details and completion transitions. Source-bound
desktop and narrow browser proof establishes actual fit and interaction; a DOM
class assertion alone does not establish readability. No date, outcome, query,
API, identity, policy or recovery operation changes.
TrueNAS protection dates require observed instants
The Protection table and its inline Started/Completed details use the shared backup timestamp admission rule: a calendar-valid RFC3339 instant with an explicit zone. Impossible dates, date-only strings, local times and invalid clock fields are not repaired by the browser. A malformed reported completion says Unknown in the row; details retain the original string beside Unknown date. Absent finishes and active runs still show no completion. Valid explicit offsets and fractional seconds retain their instant and normal localised presentation.
Malformed values sort after dated values in either explicit completion direction.
The default attention-first order also gives unknown dates no chronological rank,
without substituting a start for a non-empty malformed finish. The normal-suite
TrueNASProtectionTable.test.tsx exercises the actual query/transport
normalizer, table, details and sorting, with valid leap-day/offset controls.
Stored data, outcomes, policy, verification and native recovery are unchanged.
Source-bound desktop and narrow browser interactions/pixels remain required;
these synthetic cases establish consumer admission, not original incident recovery.
TrueNAS start and active-run dates are not completion evidence
The Protection table's Completed column, its explicit completion sort and its
inline details require a completion timestamp. A start is never substituted
for a missing finish. Running replication does not present a last-run timestamp
as completion of the active run, even when the source supplies it in completedAt.
Started evidence and the recorded outcome remain available, and an accepted
finished read updates rows and already-open details without a remount. Missing
completions sort last in both directions; dated terminal failures remain dated
failures, not successful backups. The registered
TrueNASProtectionTable.completion.test.tsx drives the real query and transport
normalizer through mixed timestamps, sorting and running-to-finished reads.
This changes presentation only: stored timestamps, outcome, identity, API,
policy, backup execution and native recovery are unchanged.
Failed TrueNAS Protection reads cannot look current
A failed recovery-points refresh must remain visible even when the query retains previously loaded TrueNAS events. Those dated events, their recorded outcomes, filters and details stay inspectable, but an accessible notice labels them as previously loaded and warns that counts/outcomes may be out of date and newer activity missing. The notice persists through a pending retry and an empty filtered result; only a successful read clears it. Refresh reuses the existing bounded read, not a snapshot, replication or recovery operation. Raw failure text is not rendered. Initial loading, initial failure and successful empty responses remain distinct, and access denials still withdraw retained data through the shared query's existing boundary.
TrueNASProtectionTable.refresh.test.tsx exercises the real hook/normalizer/table
journey, including failed and pending refreshes, filtering, recovery, empty and
access-denied results. This is truthful source presentation, not native appliance
or guest recovery. Existing limits and pagination, identifiers, outcomes, dates,
API/auth and policy are unchanged.
Saved configuration is not successful live recovery
Configuration import returns an explicit saved-but-incomplete error and failed audit outcome when an attempted live alert, notification or guest metadata reload fails. Independent reloads continue, but the recovery dialog must not close and claim success or schedule its normal success reload. The response names only fixed components, never private errors, destinations or archive inputs, and fits the consuming API client's plain-text bound. Persistence is already committed: this is not rollback, nor a reason to repeat the import. The existing bounded replay admission protects newer edits after partial apply. Initialization without a monitor remains supported; absent sub-managers in a present monitor fail without panic. The real-import runtime-outcome and router contract tests, frontend transport suite and source-bound consuming browser proof cover the distinction. No workload, database schema, guest-agent request or native recovery operation changes.
TrueNAS snapshot collection is not creation evidence
Undated or zero-date ZFS snapshots retain no start/completion time and have
Unknown outcome. Their IDs remain stable across polls regardless of collection
time; native dated snapshot IDs/times and replication semantics are unchanged.
On store open, former successful snapshot rows with no start become undated
Unknown observations: completion-only rows used the old collection-time fallback,
and rows with neither date could come from a zero native date. Every
row, ID and reference remains; valid detail objects retain the old synthetic
value as legacyCollectedAtMs, not creation evidence. No schema or retention
change, deletion, native snapshot, replication or restore is performed.
Undated snapshots cannot create successful-point, attempt-date or dated-series
claims from collection/insertion time. The mapper, reopened-store, rollup and
series controls in mapper/truenas/mapper_test.go and store/store_test.go
cover missing/zero/known dates, repeated collection, legacy correction and
provider/kind/mode isolation. The consuming TrueNAS Protection table and guide
retain missing dates as unavailable evidence rather than a fresh backup.
Future backup dates cannot establish current protection
Protection freshness and verification must fall at or before their evaluation time as well as within the existing policy windows. A future-dated backup has Unknown freshness and needs Attention; required future-dated verification is Unknown and needs Attention rather than a verified claim. Explanations name the clock uncertainty. Optional verification cannot claim Verified from a future date, but does not invalidate an otherwise current backup.
Reported dates, artifacts and collection/access evidence are retained unchanged;
clock uncertainty neither proves absence nor overrides denied access. Normal
dates recover through the existing read and poll paths. The registered
posture_test.go clock controls cover both policy boundaries and PVE/PBS
source/access separation. pve_backup_posture_clock_test.go drives the real
synthetic poll, async ingest, requested and state-filtered posture reads, and
clock correction. No clock mutation, backup execution or native recovery is
established by these fixtures.
The existing recovery rollup API uses the same upper clock boundary. Its shared
ComputeVerifyIntentAt classifier returns unknown when the success or newest
verification date is later than evaluation, instead of a false verified or a
stale-age claim. The existing seven-day inclusive verification window and
verified/stale/unknown wire values are unchanged. Both persisted and in-memory
rollups retain the original success, verification and attempt timestamps and
subject/provider scope; a normal corrected source date recovers on the next read.
This is a machine-API assessment correction, not a new frontend surface or an
installed/native backup recovery claim.
recovery_test.go covers future, absent, invalid, equal-time and window-boundary
inputs, extreme timestamps, five provider types and in-place correction without
rewriting evidence. recovery_handlers_test.go exercises real persisted writes,
org-isolated rollup reads and the canonical/compatibility HTTP payload through
future and corrected dates. The current frontend does not consume this rollup
intent; Coverage's separately assessed posture and its pixels are unchanged.
Canonical posture recognises recovery's Proxmox subject aliases
Protection posture selects stored points and publishes its subject ID using the same recognised Proxmox subject normalisation as recovery rollups. Retired node-scoped hashes, raw source triples and the legacy LXC prefix can advance the canonical guest's successful-point timestamp; a fresh point cannot be silently omitted while an older canonical point keeps the posture stale. Instance, guest and type boundaries remain in the existing identity resolver. Running archives, task-only success and partial/unreadable collection do not establish protection.
posture_test.go covers mixed historical/current identities and adverse
qualification/scope controls. store_posture_test.go checks canonical requested
subjects and state-filtered reads without an obsolete attention record. The ordinary poll/async-ingest regression in
pve_backup_posture_identity_test.go exercises four LXC guests across independent
estates, with canonical and legacy resource views. These are synthetic source
proofs, not confirmation of a reported installation's identity or recovery.
Configuration-import replays cannot repeat recent replacement
Import admission spans the existing file transaction and runtime apply. A committed equal archive/passphrase request is rejected for ten minutes after completion, even after a lost response or failed runtime apply; it cannot replace newer settings, credentials, metadata or recovery backups. Concurrent workspace imports are rejected, not queued. An uncommitted failure can retry after correction. The bounded, process-local registry fails closed rather than evict unexpired protection; it is not durable cross-restart idempotency.
config_import_replay_test.go exercises real handler/persistence replacement,
three loopback POSTs with response loss and newer legitimate edits, overlapping
archives and failed apply. The scoped router and admission concurrency/expiry/
capacity controls retain authentication and tenant separation. Complete legacy
archives and successful transaction semantics remain unchanged. None of this
is guest thaw, backup execution or original native recovery evidence.
Agent startup is not storage evidence
An agent's pending first report after a server restart is a monitoring-owned delivery state. Its retained enrollment and historical receipt carry no fresh storage metrics, healthy storage verdict or recovery evidence. Expiry of that reporting lease likewise supplies no new zero-valued chart observation or recovery proof. Storage and recovery consumers continue to require their own source observations.
Completed restore totals exclude incomplete inventory (24 October 2026)
The Backups restore-point total, completed-byte total, PBS-target count and per-day count/volume chart all exclude explicitly running or terminally incomplete artifacts. The same completion predicate selects the last backup. Running and failed entries remain in the dated inventory and row evidence, with separate summary counts; inventory and day-group counts name entries, not completed backups. Unknown dates and unverified completed points remain evidence, not absent or failed points. Completion establishes neither an independent backup (guest snapshots remain distinct), tested restore nor guest thaw. Registered recovery-model and consuming-table tests cover mixed, incomplete-only, unknown-date and completion-transition controls without any new backup execution, QGA requests, schema or persisted state.
Failed posture refreshes withdraw retained assessments (24 October 2026)
Protection posture remains visible while a refresh is pending, but a settled failure in any bounded batch withdraws all retained assessments and their policy from the active Coverage projection. Rows and health counts become Unknown; old protection explanations and provider-quality claims disappear. Independently readable backup artifacts remain available. A source-local, disabled-while-pending retry refreshes posture only, and restores assessments only after the complete joined read succeeds. Failed cached results cannot resurrect assessments on remount. The hook and consuming Backups table tests cover these transitions without changing server policy, access scope, backup execution or native guest recovery.
Patrol timer checkpoints preserve run and recovery history
The existing Patrol history envelope retains the next scheduled deadline and its effective interval. History and timer writes share a serialized read-modify-write boundary, preserving each other's records, daily tallies and cursor. A failed history read must fail the timer write instead of replacing unreadable evidence. The configuration and Patrol history tests cover concurrent writes, file reconstruction and failed-write retry. This cursor schedules a check only; it grants no additional recovery execution authority.
Recurring findings preserve the ownership of recovery evidence
Storage and recovery findings use the same occurrence-bound investigation
projection as other Patrol findings. A previous verified action remains
historical evidence when the finding is re-detected; it cannot resolve the new
occurrence or replace its investigation record. Finding-scoped investigation
and transcript reads select the current session, including an explicit absent
state before a new session starts. Explicit session and action history retain
the earlier result. The shared three-occurrence and persisted-restart controls
live in internal/api/ai_handlers_patrol_actions_additional_test.go.
Recovery APIs and investigations share the org-scoped point reader
Manager.ListPointsForOrg selects the composed recovery evidence source for
both the HTTP points API and investigation tools. Real installations retain
tenant-scoped SQLite reads, including errors; demo composition projects the
current canonical fixture graph through shared recovery filters and pagination.
It does not seed a second store or grant recovery execution. Source selection is
bound before consumers share the manager and follows runtime demo-mode changes
without exposing persisted rows through demo reads. Manager boundary tests preserve tenant
validation, cancellation and read failures; the API/tool parity regression in
internal/api/investigation_evidence_parity_test.go reads actual graph-owned
failure text without a PVE command connection.
Known PBS health survives unreadable backup inventories (13 October 2026)
Backups keeps the separately supplied PBS server/datastore projection mounted
while PVE and PBS inventories load, fail or recover. Inventory notices and
source-local retries remain explicit; both failures still suppress the inventory
summary rather than claim zero restore points or no backups. PBS counts are
Loading/Unavailable until its own valid response arrives; resource health,
capacity, identity and detail access remain independent. No backup execution,
agent requirement, credential/access change or reporter recovery is implied.
ProxmoxBackupsTable.test.tsx covers both pending reads, each source failure,
both failures and ordinary recovery without replacing the known server table.
Portable installation input does not change recovery authority
The backend setup/Proxmox/container copied-command reader can use BusyBox stty
when standalone stty is absent. Tool or terminal-mode failures stop before
installation; full same-tool restoration and silent overflow draining retain
the private credential boundary. The shorter root/sudo dispatch adds no root
profile, state/identity replacement, backup operation or incident-replay right.
Reported QNAP installed boot/watchdog/removal/reinstall recovery remains a
separate native outcome; source PTYs and publishing an incoming updater do
not establish it. portable_bootstrap_test.go and the serialized API contract
cover these producer boundaries without touching stored monitoring data.
Patrol maintenance coverage adds no recovery execution
Patrol's operator-state projection now projects the active recurring occurrence instead of the nil one-shot fields and inherits descendant-scoped ancestor maintenance. It reads existing operator-state rows only; it adds no recovery endpoint, execution route or recovery-point access.
Legacy Assistant mode echo and stored-preference compatibility follow the API settings contract.
Pro Patrol default adds no recovery execution
The Patrol autonomy handler now reports the Pro Ask first default for installs that never chose a mode. Investigations propose fixes for approval; the change adds no recovery endpoint, execution route or recovery-point access.
Assistant planning mode grants no recovery execution
The AI settings control projection describes read/query or plans for review in Actions. It does not authorise a backup, restore, replay or data change; action approval/run and independent verification remain separate. Stored legacy preferences, recovery-point access and Patrol policy are preserved. The retired Protected guests list was never a canonical saved-plan exclusion or a recovery execution safeguard. The handler change adds no recovery endpoint or execution route.
Retained guest identity cannot renew QGA eligibility
The shared VM's internal GuestAgentEvidence bounds eligibility when a fresh
VM-status read is unavailable. Snapshot copy and canonical replacement keep
its original time, including explicit missing evidence, without changing disk
capacity, usage, History storage or linked-agent precedence. No JSON field,
credential or command path is added.
TestGuestAgentEvidenceIsInternalSnapshotEvidence checks the shared-model
copy/wire boundary; TestGuestAgentAdmissionEvidenceContract covers expiry,
unknown/future origins and ordinary zero-reading recovery through both collectors.
Synthetic source proof does not establish native recovery or published availability.
Shared guest disk evidence is not recovery-point identity
The canonical Proxmox facet carries internal QGA filesystem source/time evidence for bounded monitoring fallback. It is omitted from JSON and does not change guest identity, backup attribution, storage selection or recovery-point keys. Complete guest observations replace a missing/expired origin rather than inheriting it. Canonical disk observation wire/identity and merge controls cover this shared type boundary; no native backup or recovery acceptance follows.
PMG collection scope remains separate from backup recovery
PMG settings readback emits explicit false dataset options; absence must not re-enable the existing edit form defaults. Backup polling remains independent of these mail/queue/quarantine/domain options and requires a pause to stop.
Shared node-settings and connections code preserves PMG collection opt-outs
without changing storage identity, capacity, History or recovery semantics.
The four mail/queue/quarantine/domain switches do not disable PMG configuration
backup discovery, and pausing the PMG connection still prevents subsequent
ordinary polls including backup reads. TestPMGCollectionScope in
monitor_pmg_test.go checks independent backup reads in every scope; no backup
restore, mail manipulation or native recovery is introduced or proved.
Persisted trust edits and restart consistency
The shared internal/api/ settings path durably saves an explicit empty
allowedOrigins before clearing live CORS policy. An omitted field does not
replace a different effective value; a failed or deployment-locked patch does
not partially change disk/runtime/cache state. Production config reload retains
the saved clear while existing deployment overrides stay authoritative.
Webhook edits resolve every saved placeholder before persistence or live
publication, and saved-form Test uses the same resolution without changing
configuration. Unknown/ambiguous placeholders fail rather than silently lose a
credential. TestAllowedOriginsSavedEffectiveLifecycle,
TestAllowedOriginsSaveFailurePreservesPolicy and
TestWebhookSavedFormTestMatchesEncryptedEdit cover these shared boundaries.
No database/driver/schema, backup recovery, retention or old queue snapshot
policy changes are part of this repair.
Storage usage headline follows the alert phase — issue #2068
describeStorageAlertHeadline says "Over N% usage limit" only while a usage
alert is breaching. When metricStatus.phase is latched or recovering,
the row says usage is under the limit and names the clear level, so the
headline never contradicts the usage bar beside it. Fill-forecast headlines
are unchanged.
Guest-memory read state stays independent of backup disk state
The existing guest drawer retains Core's selected memory provenance through both resources-API and canonical snapshot consumers. Retained memory remains last-known at its original observation time, even after a new poll or cleared backup lock. Missing provenance is unknown, unavailable memory is not zero, and an independent current Proxmox/Pulse Agent memory reading remains current while guest-agent filesystem reads are deferred. History samples and its access-denial boundary remain authoritative. This client repair does not run backup/QGA operations or establish independent thaw, covered-filesystem writes, liveness, resumption or delivery. Existing outage precautions remain effective.
Memory provenance does not imply recoverability
Canonical metric values may carry optional selected guest memory observation state/source/original known time. The facet follows that numeric source through cloning and frontend conversion; last-known or unavailable memory is not fresh backup evidence, a storage-health verdict or confirmation of thaw. This annotation changes no backup identity, retention, rollup selection, restore policy or snapshot data. The connected monitoring observation and metric source-selection controls verify the shared type without weakening recovery evidence requirements.
Latest provider observations do not scan retained evidence payloads
The protection-posture reader enumerates provider/scope keys through the existing covering index, then seeks the latest observation by observed time and ID. Only that row's evidence payload is read for each scope. The 90-day retention, schema, single-connection policy and evidence validation are unchanged; malformed or invalid latest evidence never falls back to older reassuring facts. Narrow index key enumeration still scales with retained history, but wide historical payloads are not ranked on every ingest or posture read.
store_queryplan_test.go checks the production SQL's covering enumeration and
indexed latest-row lookup. store_posture_test.go covers timestamp/ID ties,
provider/scope separation, corrupt latest evidence, cancellation, retained row
count and connection-pool deadline/recovery. The fixed synthetic history
benchmark uses 1,000/70,949/180,000 rows and two scopes; it is not native Pi
performance, backup restore acceptance or release qualification.
Backup inventory ownership is source-scoped and unambiguous
The existing Backups Coverage and By date views do not select a workload from an arbitrary substring, display label or first matching row when VMIDs repeat. PVE files, guest snapshots and task evidence use the supplied connection scope before native node names or aliases. One VMID inside a matching PVE connection stays associated after node migration; a known conflicting connection cannot be rescued by a reused node name or a singleton fallback. With no connection scope, an exact native node/alias must identify one candidate; wholly unscoped singleton observations retain their existing compatibility behaviour.
PBS instance and datastore identify a repository, not a PVE workload. A PBS namespace disambiguates repeated VMIDs only with a unique exact native node, alias or PVE connection label. Unique type/VMID PBS inventory retains the existing root-namespace association. This bounded presentation fix does not implement the runtime PBS source learner or alter server-owned protection policy.
Unresolved artifacts remain listed once and keep complete, collision-safe source keys (PVE connection/node or PBS instance/datastore/namespace), including host backup labels. Equal VMIDs, repository labels or host names cannot pool them across unproven sources. Untyped PVE tasks may join only PVE-scoped rows, not a PBS-only unresolved row with a lookalike namespace. The existing collapsed group and count say unmatched, not that the guest necessarily ceased to exist; its explanation wraps on phones. These rows remain not evaluated, separate from canonical provider-owned protection posture and live workload counts.
Verification: proxmoxBackupRecoveryModel.identity.test.ts reproduces prefix
and reused-node collisions, order independence, migration/alias controls,
conflicting scope, ambiguous type/namespace and separated unresolved sources.
Mounted ProxmoxBackupsTable.test.tsx backup-identity cases cover both views,
artifact preservation, reorder/display rename, expansion identity and no extra
inventory read. browser-tests/backup-identity.cjs uses production tables,
router, inventory readers and CSS with synthetic responses on desktop Chromium
and touch WebKit at 390px/320px, including keyboard/touch disclosure, ambiguity,
readable unmatched explanation and same-resource recovery. No native backup
identity, restore, guest thaw or containing-release acceptance follows from
these source/render observations.
PBS datastore capacity is not inferred from failed-read zeros
The existing Backups server table distinguishes a named datastore whose status read failed from an empty datastore and from a server without datastore data. Provider unavailable/error evidence or an unavailable server connection withdraws current capacity and deduplication figures, without dropping the row, changing its drawer identity or invalidating independently readable backup inventory. Unknown status, missing/nonfinite/negative capacity and invalid authoritative percentages cannot receive a healthy usage indication. Capacity requires a positive finite total and a finite nonnegative used observation; measured zero remains zero, and the existing 75/90-percent warnings and over-capacity danger remain intact. A subsequent valid same-identity snapshot restores presentation without a remount, timer or new read.
Fixed notices do not expose provider error text. Mounted
ProxmoxBackupServersTable.capacity.test.tsx covers these distinctions and
direct/canonical replacement; ProxmoxBackupServersTable.test.ts preserves
source evidence and independent datastore identity. The production-component
browser fixture checks desktop and narrow phone layouts. These synthetic
checks establish no native datastore repair, backup/thaw or release acceptance.
A multi-datastore PBS server reads as one server
The Backups "Backup server" table keeps one row per server and datastore, so
each datastore keeps its own capacity, count, dedup, detail toggle and web
link. (Superseded 2 November 2026: rows are now named by their datastore with
the server beside them, every row shows its server's status, and
continuesServer is gone; host version, CPU, memory and uptime live in the
server's drawer.) Rows
stay grouped (servers by name then ID, datastores by name), and windowing
follows the scroll position, so a later row is only ever mounted without its
first row once that first row has scrolled out of view. Capacity evidence is
unchanged: an offline server's later datastore still reads Unavailable.
Each PBS datastore says whether its jobs last succeeded (1 November 2026)
The Backup server table answers "is my PBS OK?" with the datastore's
housekeeping as well as its fill. Each datastore row shows the worst result of
its GC, prune, verify and sync jobs in a few words ("Sync failed", "Verify
late", "OK"), from summarizeDatastoreJobs in proxmoxBackupServerJobs.ts.
The verdict is the backend's: it reads JobHealthEvidence posture and reason
from pbsJobHealthPosture and never re-derives health from raw task status.
Only jobs bound to that datastore and enabled count; backup jobs stay with
Coverage, which already answers them per guest. The newest run of a repeated
job id speaks for it. A family whose server-wide read failed (evidence with no
store) leaves every datastore's result for that family unknown, never OK, and
a datastore with no reported jobs shows a dash rather than OK. The row's drawer
lists every job's result. The phone layout has no Jobs column, so a reachable
server's failed or late job takes the State cell there; an unreachable server
keeps its connection state, the larger problem.
TrueNAS connection probes do not settle recovery inventory
A successful settings probe reads system information only, on a separate client. It cannot advance the runtime poll watermark, manufacture an initial settled inventory or update the last observed recovery/resource contribution. A probe failure likewise does not impersonate a completed inventory refresh. Actual runtime auth/permission failures and existing cache withdrawal remain effective; a later probe success must not erase them. Source controls cover never-polled and previously observed-but-failing states through the real API boundary. No restore, guest mutation or native appliance acceptance is implied.
Partial backup inventory is not empty recovery evidence
The existing Proxmox Backups view treats PVE and PBS inventories as independent reads. Fulfilled artifacts remain usable when the other source is loading or unavailable. The page identifies that source, marks totals as incomplete and does not claim no backups exist until both inventories have fulfilled. PBS server backup counts show loading/unavailable rather than a fabricated zero; current server health and server-owned protection posture remain independent facts. Isolated retry preserves filters and the other source, while settled failures withdraw the failed source's artifacts. Both failed reads have a shared retry. Organisation changes and disposal cancel/replace reads and prevent late responses from restoring former inventory. No polling, recovery operation, native identity rule, protection-policy or provider contract is changed.
Verification: ProxmoxBackupsTable.test.tsx exercises pending/partial/both-source
failure, retries, measured empty counts, access denial, org-switch races and
disposal. browser-tests/backup-inventory.cjs uses production components,
API adapters, router and CSS in Chromium/WebKit with synthetic HTTP responses;
these controls are not native backup, permission, thaw or release acceptance.
An HTTP success alone does not establish readable recovery evidence. The client
validates the data envelope, source collections and consumed row fields before
publishing that inventory. Malformed or undecodable responses invalidate that
source atomically, not a silently truncated list or confirmed empty inventory.
PVE's explicitly nil Go collections remain valid empty observations; absent
fields are not nil collections. Optional unknown facts and additional fields
retain their existing meaning, and completion flags are never coerced.
proxmoxBackupInventory.test.ts, the mounted backup-table tests and
browser-tests/backup-inventory-format.cjs cover this response boundary, source
isolation and recovery without extending native protection or thaw claims.
Backup identity, phone storage and History consent composition
The Proxmox Coverage last-backup pointer selects completed PBS snapshots or PVE
backup files, never guest-local snapshots. Guest snapshots remain listed as
restore evidence but cannot make an old independent backup look current.
Archive detail uses its format (or filename fallback), preserving the full
provider volid for hover and search in both Coverage and By date.
Coverage rows carry that one counted backup age at every width; per-source
PBS, PVE-file and guest-snapshot age columns are not row columns, because a
fresh snapshot beside a stale backup read as protection that posture does not
grant. The row expansion keeps the newest point and the newest completed point
of every source inside its bounded evidence list, so neither recent snapshots
nor a running or failed job hide the latest usable backup. The Backup health
strip states what its attention, unprotected and unknown counts mean from the
server posture policy (freshnessWindowSeconds) using the causes
internal/recovery/posture.go evaluates, and renders no rule until that policy
has loaded rather than a guessed window.
The workload backup shield explains its colour from the configured Fresh and
Stale Hours and links to the Recovery thresholds through the shared
ALERT_BACKUP_THRESHOLDS_PATH; it reads no recovery evidence of its own.
Phone pool/disk rows preserve health and identity while using weighted widths, consistent gutters and compact capacity/health labels. Full disk risk reasons move into the existing expanded header; the ZFS activity badge uses supplied scan data only when rebuild is reported and keeps the full summary as its title. Collection-independent, organisation-owned disk History remains intact.
The UpdateHistory confirmation is a version-rollback consent, not a full-state recovery promise. Its current API exposes no verified restore-scope metadata; copy must retain installation-only and legacy differences and direct full-state recovery to the stopped-service procedure. Regressions cover these distinctions, archive/snapshot attribution and storage values; the composed browser fixture checks real table/drawer rendering, not native or installed recovery.
Disk History is independent of current collection
The existing physical-disk History catalog is selected by disk family, not by whether the latest snapshot contains temperature or extended SMART values. Temperature and ATA reallocated-sector charts, or temperature and NVMe endurance/spare charts, query only the already-resolved canonical disk target. A missing current field must not hide stored observations. An empty series is shown as no stored history in that range, never a fabricated zero or a plotted current-value fallback; the chart legend may still name the snapshot's reading, labelled current or last known. Overview continues to report current collection availability; explicit unavailable/unsupported I/O still suppresses the disk drawer's I/O chart panels.
Catalog entries retain their identity across matching snapshots so ordinary current-temperature changes cannot remount charts, drop inspection or restart History reads. The shared chart owner still invalidates reads and inspection when the explicit target or range changes; a late cancelled response cannot populate its replacement. This changes neither disk correlation nor collector, retention, permission or entitlement policy, and proves no appliance recovery.
Verification: DiskDrawer.test.tsx and diskDrawerPresentation.test.ts pin
the disk-family catalog, its identity across matching snapshots, explicit I/O
suppression and current readings that are never invented;
DiskDrawer.history-collection.test.tsx mounts the disk drawer over the actual
drawer history owner to cover absent current fields, stored zero versus empty,
NVMe/ATA catalogs, request counts, preserved range and inspection, a fresh read
and cleared inspection on range or target change, late former-target responses
and no read without a resolvable identity. An empty stored series reads "No
stored history in this range"; the chart legend may still show the snapshot's
own reading, labelled current or last known. The production disk Overview,
drawer history, client and CSS are checked with synthetic API data by
frontend-modern/browser-tests/disk-history-collection.cjs (desktop Chromium,
touch/dark phone WebKit), guest-storage-2263.cjs (the Overview inside the
guest drawer) and history-touch.cjs (touch, pointer and keyboard inspection),
not native NAS or installed acceptance.
Independent physical disk temperature
Disk Overview displays a finite positive reported temperature even when the optional extended SMART object is missing or empty. Temperature formatting and configured per-disk-type thresholds remain unchanged; absent counters are not invented. When no detail readings or collection messages remain, the existing accessible unavailable-details message is shown. This presentation does not establish fresh collection, SMART health or native appliance acceptance.
Verification: DiskDrawer.test.tsx covers same-identity snapshot replacement
through temperature-only, hot, missing and extended-SMART states in one mounted
drawer; diskDrawerPresentation.test.ts covers a temperature beside a missing
or empty SMART object and invalid readings without invented counters;
diskDetailPresentation.branchcov0724pm.test.ts covers disk types, invalid
readings, units and configured thresholds. The production disk drawer fixture
in frontend-modern/browser-tests/disk-temperature.cjs checks desktop and
phone presentation with synthetic snapshots.
Pool detail capacity observations
The existing pool drawer's Configuration rows preserve missing capacity as
n/a, independently for Used, Free, Total and Usage. Finite non-negative
observations, including measured zero, remain visible even when another field
is absent. Free space may be derived only when both total and used bytes are
observed; usage may be derived only when used is observed and total is positive.
Explicit provider free-space and percentage observations take precedence over
those derived values. Unknown capacity is not an empty pool or proof of free
space. This presentation does not establish freshness, pool health or recovery.
Regression verification: the capacity evidence matrix in
frontend-modern/src/features/storageBackups/__tests__/storagePoolDetailPresentation.test.ts
and the production-drawer fixture in
frontend-modern/browser-tests/pool-capacity.cjs cover missing, empty, full and
partial snapshots, including live transitions on desktop and phone viewports.
These synthetic checks are not native collector acceptance.
RAID required-member count evidence — issue #2369
Canonical host RAID metadata carries optional requiredDevices, excluding
spares, separately from source-native attached/bitmap totals. Array protection
risk follows the shared required-member assessment rather than assuming that
every attached spare is a missing active member. Missing configured members,
failed devices and explicit degraded state remain critical; maintenance and
spare presence cannot erase those risks. A healthy spare is not recovery proof,
backup coverage or storage mutation authority. Collector, ingestion and
canonical event-ledger tests distinguish that correction from genuine member
recovery, which resolves the existing health incident only after the reported
active set again meets its requirement.
Incident history retains canonical storage-related risk, source identity and separate observation/occurrence timestamps. A recorded alert closure or operator note is not a restore result. Canonical read failure remains unavailable and bounded or partial history cannot establish current storage health or backup coverage. Recovery judgment still requires independent current evidence.
Delivery-log URL masking occurs in the HTTP diagnostic projection and does not rewrite retained attempt history or destination configuration. Preserved failure context and attempt identifiers describe notification delivery only, not a restore result or storage freshness. Malformed URL diagnostics fail closed in the response; this does not delete the retained failure, change retention windows, or grant retry, storage or recovery authority.
Canonical Patrol and Assistant continuation, 2026-09-07
The shared action API preserves full canonical approval requirements and actor/
request idempotency for storage-adjacent callers. An accepted plan is not an
executed operation or a recovery proof. The current Patrol capacity case measured
an exhausted container tmpfs and independently reverted the disposable fixture.
Its unexecuted restart plan does not establish product recovery or backup restore
correctness. See docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md for
exact observations and the separate unqualified backup and wider rollout gates.
Container filesystem evidence is a read-only observation at a named resource mountpoint. It grants no storage mutation, recovery or host-capacity authority. A full container tmpfs does not establish host-array exhaustion. Unknown byte or inode inventory remains unavailable, and no image-layer count substitutes for observed filesystem capacity. Shared queries preserve native source and time for model interpretation. Qualification must compare the diagnosis with the independent storage fault, not merely match resource IDs or ENOSPC terms.
Container image-layer sizes do not establish filesystem capacity. Docker resource metrics omit that invalid ratio, and retained queries exclude legacy ambiguous disk observations while preserving new valid provider measurements. The shared REST resource projection retains missing read/write directions independently of measured zero. An idle I/O rate cannot establish available capacity, backup coverage or recoverability. This correction adds no recovery authority or verified recovery outcome.
Patrol consumes storage evidence in the original diagnostic conversation. A saved finding does not close storage-read authority before the explicit run limit. Missing backup or recovery evidence remains unknown, and neither finding persistence nor an omitted assessment establishes successful recovery.
Canonical disk source status may carry the collector's expected update interval. This freshness metadata remains separate from physical-disk risk, SMART values and recovery/action authority. Source status cloning preserves the optional field, and absent cadence retains the source default. Fresh observation recovery must not erase a current hardware-risk assessment.
Assistant physical-disk metrics use the canonical disk host projection and separate the disk format filter from the metrics operation selector. Missing SMART observations remain missing coverage, not disk failure or recovery readiness. Retained performance history is operational evidence and does not establish backup coverage or restorability.
Provider incident nativeSeverity is evidence, not a storage recovery result or identity component. TrueNAS NOTICE remains actionable while INFO remains resource evidence; both retain canonical monitor risk. This distinction must not alter pool health assessment, recovery confirmation counts, or storage action authority.
TrueNAS replication state FINISHED is successful completion evidence when a
last-run timestamp exists, matching the provider success event. Explicit error
text still takes precedence. Missing or zero last-run dates cannot establish a
successful copy: success becomes unknown, but explicit failed, warning and
running outcomes survive without start/completion timestamps. Collection time
must not fill those dates. Undated task IDs remain stable across polls and
separate across connections; dated native outcomes/times are unchanged. Failed
and warning events remain in the Protection Attention filter even when their
time is unavailable. Normal ingest corrects the same undated task row; no
history is deleted and no native task or restore is run.
Persisted recovery rollups must retain this outcome and success time rather
than classify a completed replication as unknown. This does not imply restore
verification or resolve provider INFO alert lifecycle behaviour.
Verification: TestFromTrueNASSnapshot_ReplicationTimeAndStateEvidence covers
nil/zero/native dates, error precedence and known-state retention;
TestFromTrueNASSnapshot_UndatedReplicationIdentity covers repeated polls,
connection isolation and non-mutation. TrueNASProtectionTable.test.tsx checks
undated attention/filter/detail behaviour; truenasProtectionEvidenceDocs.test.ts
checks the shipped guidance. Consuming browser proof must use actual mapped
payloads at desktop and narrow viewports, not a hand-written outcome fixture.
Unraid StorageMeta.numDisks is optional source evidence: zero denotes an explicitly empty parity array, not proof that pools are protected or that a recovery point exists. Suppressing the no-parity warning for zero must not erase disk-failure evidence or grant storage/recovery authority.
A manifestless PBS snapshot never becomes a successful recovery point and never advances backup age. Recovery mapping reports it as running while a live writer accounts for it or current-task visibility is unavailable; after a complete current-task observation finds no writer, it is a failed/incomplete artifact with no completion time and no verification verdict. Recovery tables keep both states inspectable while excluding them from latest-recoverable pointers.
The shared internal/api/ helper-binary download route is isolated from
storage and recovery semantics. /download/pulse-agent-helper serves a signed
Linux runtime artifact only; it cannot read, mutate, restore, export, or select
storage state, recovery timelines, backup providers, or repository scope.
The parallel /download/pulse-agent-runner artifact route and
/api/agents/action-runner/credential issuance route are also adjacent
API/agent-lifecycle boundaries. A signed runner binary or host-bound typed
action credential is not a backup, snapshot, recovery point, restore grant,
retention decision, or repository selector. Safe-profile inspect/apply/rollback
preserves collector identity and installation files only; it must not rewrite
storage/recovery evidence or reinterpret a restored legacy collector profile as
recovery success. Typed host.storage_cleanup remains governed remediation,
not storage-recovery authority inferred from the credential itself.
The shared bounded action-identity validator may reject credential issuance
before secret generation when a host ID cannot be represented consistently by
the runner and session protocol. That fail-closed identity result cannot select,
delete, restore, or reclassify storage/recovery state.
Runner credential rotation follows the shared two-phase token-inventory commit
boundary: issuance durably prepares a bounded, non-dispatchable replacement
without removing or disconnecting the active predecessor; activation after
durable runner health proof fences both runner transports before credential
persistence, atomically promotes the exact registered replacement before
unfencing, and removes only its recorded predecessor set. In-flight typed work
remains bound to the predecessor's immutable WebSocket generation and cannot be
reinterpreted as replacement or storage-recovery evidence after promotion. A
failed save restores predecessor credential/session authority only after the
durable inventory is restored; indeterminate compensation fail-closes both
transports. The installer may restore predecessor files only after the
server atomically cancels and durably removes the exact still-pending bearer;
activation-winning, persistence-failure, and indeterminate outcomes retain the
replacement instead. Failed persistence or session promotion preserves one
coherent token/session outcome, and an unactivated replacement expires without
changing the predecessor. Exact bearer self-revocation uses the same durable
boundary and cannot select another token, organization, or host. These
credential rollback rules protect restart-time authentication truth only; they
are not a customer backup, recovery point, restore operation, or
storage-cleanup grant.
The adjacent collector authority-reduction route removes agent:exec and
agent:manage only from the caller's exact host-bound credential and closes
only its matching command session after durable persistence. This transition
cannot select, mutate, restore, delete, or reclassify storage/recovery evidence;
installer rollback retains the reduced credential and restores no
collector-controlled descendant metadata as a storage snapshot.
The helper-backed collector updater likewise retains only one fixed
last-known-good executable and an identity-bound pending/commit receipt. A
startup recovery or deadline rollback of an uncommitted activation is agent
lifecycle state, not a Pulse storage snapshot,
recovery point, backup retention record, or authorization to read or mutate
customer storage/recovery data.
First-run authentication always writes the canonical .env persistence
artifact before runtime state changes. Root systemd installation may also
write a service override, but reload, restart, backup, and recovery remain
anchored to the canonical data/config-path file rather than service discovery.
Token display-name changes use the existing API-token persistence boundary. The in-memory record must roll back if persistence fails, while the token ID, secret hash, scopes, and expiry remain intact so restart and restore preserve both credential continuity and the latest successfully stored label.
Own the storage and recovery product surfaces, recovery-point persistence and
querying, and the operator-facing storage health presentation layer while
keeping adjacent commercial reporting APIs out of storage/recovery product
state.
Unified storage metadata may carry source alias IDs so the alerts subsystem can
rewrite legacy threshold keys to the current metrics-target identity. Those
aliases are compatibility evidence only: they do not retarget a datastore,
backup artifact, recovery point, protection posture, or restore operation, and
storage/recovery consumers must continue to use the canonical resource and
provider identities for all domain authority.
The Proxmox overview is also a large-estate read-side consumer: it owns one
canonical unified-resource snapshot for its node and guest regions, and its
shared workloads adapter must consume that snapshot without starting a second
workload or infrastructure inventory request. Backup and recovery tables keep
their domain-specific evidence requests, while an overview refresh must update
all overview regions from the same owner snapshot rather than mixing reads
from different inventory generations.
The vSphere overview follows the same read-side ownership rule for its host,
VM, datastore, and network regions. Its canonical snapshot is constrained to
the vmware-vsphere source at the resource API boundary, and the embedded
workloads adapter consumes that page-owned snapshot instead of issuing a
second generic inventory request. Source aliases used to project a canonical
websocket snapshot are transport filtering only: a VMware datastore remains
descriptive inventory and does not gain backup, protection, recovery-point,
or restore semantics from that projection.
The physical-disks surface consumes every page in the server-declared unified
resource result, scopes same-named Proxmox nodes by instance, and never hides a
disk behind a client-side page ceiling. Search includes vendor, WWN, transport,
instance, controller, and member target. Explicit 0% life remaining is a
known critical value for SSD/NVMe media; absent or negative wearout remains the
neutral unknown state.
The shared internal/api/resourceapi/resources.go registry builder may repair
availability-check identity by replaying authoritative supplemental records.
That availability composition remains owned by API contracts and unified
resources; it does not make availability rows recovery points, storage health,
backup evidence, or restore authority.
The shared alerts API may persist and apply schedule.initialNotify for email,
webhook, or Apprise delivery. That notification routing is not storage-health,
backup, recovery-point, restore, or protection evidence; storage/recovery
surfaces must not infer product state from the selected destination.
The shared Connections aggregation path may also carry an unexported PBS/PMG
monitor-resource identity into alert evaluation so availability policy resolves
against the owning resource rather than the public ledger row ID. That routing
identity must not enter the public Connections payload, become recovery-point
identity, or be interpreted as backup, restore, or protection evidence.
The shared AI handlers may reopen dismissed Patrol findings and synchronize
the unified finding projection. That finding-state transition does not create,
delete, validate, or restore recovery points and must not be treated as
storage-health, backup, restore, or protection evidence.
The shared Proxmox config discovery path likewise persists powered-off cluster
members and separates membership from member API reachability. Storage and
recovery consumers may use the resulting provider-scoped node/instance
identity to keep same-named cluster storage distinct, but member retention or
confirmed retirement does not fabricate backup evidence, restore points, or
storage protection state.
Storage and recovery presentation may consume the Proxmox connection's
cluster-node display override for host, location, parent, backup-task, and
filter labels. Matching remains on immutable node identity plus current or
prior native Proxmox names: a display value must never become a datastore,
archive, backup task, recovery-point, restore, PBS, routing, or credential key.
Search includes both presentation and native diagnostics, duplicate display
values are allowed, and clearing an override deterministically restores the
current native node name.
Recovery-point mapping of PBS snapshots whose VMID exists on more than one
PVE connection may link a snapshot only on positive evidence: namespace
placement, guest-name label, or the submission-source mapping (owner token,
datastore, PBS instance — strongest first, scoped to the PBS instance)
learned from the same batch's attributable snapshots. A source component
never positively attributed stops resolution instead of deferring to weaker
components, and a snapshot whose source decisively belongs to a connection
with no matching guest stays unlinked; it must never be linked to another
cluster's guest with the same VMID. The learned mapping is positive evidence
only, so a source resolving to a single connection proves nothing while some
other connection owning a candidate guest has had no snapshot attributed to
it: that connection is invisible to the mapping rather than absent from the
source, and resolution stays inconclusive for the PBS instance until every
candidate connection has been observed.
Physical-disk to node association is evidence-directional. An unlinked disk reported by a host agent carries no Proxmox scope, so its instance is empty and the matching node name is the only evidence available; that fallback match must stand. An agent disk whose canonical parent is a merged Proxmox node inherits that parent's explicit node/instance ownership, including controller members that have no PVE inventory row. Once a disk carries a Proxmox instance it belongs only to a node in the same instance and must not attach to a node outside it, including a node with no instance at all. Requiring an instance on both sides for unlinked agent disks, or discarding inherited instance evidence for linked disks, empties node filters, breaks per-node grouping, and strands metric target resolution.
The Physical Disks surface reads wearout through the same evidence boundary the
server applies. -1 is unreported and renders as a muted placeholder, a 0
from an endurance-reporting device is a spent disk and renders critical, and a
0 from a rotational or untyped disk is absence rather than a fault.
An external availability probe that stops reporting contributes only indeterminate reachability evidence. Even when its target is a NAS, PBS, datastore, or other storage resource, the resulting warning and canonical probe alert are not backup failure, protection drift, snapshot damage, recovery-point loss, or restore-readiness evidence. Storage/recovery consumers must wait for their domain-owned observations. The shared Connections row and availability evidence use server receipt time for remote-probe freshness while retaining agent check time as observation metadata; storage/recovery must not reinterpret either timestamp as backup recency, datastore health, or recovery freshness.
Agent-install command generation under internal/api/ may carry an explicit
TLS-verification override, but it does not alter storage credentials, backup
authority, restore behavior, or persisted recovery state. The generated
command remains a bounded onboarding artifact with server-owned token quoting.
Its monitoring-default credential and local command-authority marker likewise
grant no backup mutation, restore, or recovery-state authority; agent:exec
appears only when the operator explicitly requests the transitional
command-capable profile.
Restore-point chronology is not completion or protection
The existing Proxmox Backups Coverage and By date views preserve completed artifacts with missing, unusable, zero-time or future dates as unknown age, not a current/green backup or an absent point. Unknown chronology cannot elect an arbitrary or older dated artifact as the latest completed point. PBS, PVE, guest-snapshot and independent-backup selections each retain this uncertainty; the same selector owns full-inventory and location-filtered Coverage. Running and failed artifacts remain listed but never contaminate completed chronology. Guest-local snapshots still cannot fill the independent-backup slot.
Unknown ages have a fixed explanation and accessible name; no invalid-date or raw malformed timestamp is displayed. Dated ages keep their existing 7/30-day bands and reported timestamp. Unknown dates remain in the artifact list, but are omitted from the activity chart and day filters, including future events on today's date. The page explains that omission instead of claiming no activity from an unreadable date. Inventory replacement refreshes its reference clock, so a newly completed point is not compared with the page-mount time. Server-owned protection, verification and completion facts remain independent; this presentation proves no native restore, thaw or workload liveness.
Verification: the backup-date-evidence families in the recovery-model,
activity, shared-age and mounted backup-table tests cover invalid/future dates,
known-plus-unknown ordering, independent sources, scoped filtering, incomplete
artifacts, valid boundaries and later inventory replacement. The production
fixture browser-tests/backup-date-chronology.cjs uses the existing router,
API readers, components and CSS with synthetic HTTP in desktop Chromium and
phone-emulated WebKit, not native appliance or published-release acceptance.
Coverage owns independent scalar copies of each latest-artifact pointer. In-place stable-row reconciliation must not let an older source pointer mutate the last-backup value after a newer point arrives from another source. Connected replacement controls and inspected renders cover that boundary.
The compact By date layout reserves enough age space for the full cautionary Unknown word rather than the former numeric-age-only allocation, while keeping independent task/state labels legible and the canonical identity anchor. Both 390px and 320px browser checks measure age text and state clipping, supplemented by inspected renders.
Compact Coverage age cells use the existing metadata-size text and reclaim numeric-age gutters so the full Unknown word stays visible even beside a Job column at 320px; text-range checks account for cell padding, not only the outer box.
Canonical Files
internal/recovery/index.gointernal/recovery/manager/manager.gointernal/recovery/store/store.gofrontend-modern/src/components/Storage/Storage.tsxfrontend-modern/src/features/storageBackups/storageModelCore.tsfrontend-modern/src/utils/storageSources.tsfrontend-modern/src/hooks/useRecoveryPoints.tsfrontend-modern/src/routing/resourceLinks.tsfrontend-modern/src/types/recovery.tsfrontend-modern/src/utils/recoveryDatePresentation.tsfrontend-modern/src/utils/recoveryTimelinePresentation.tsfrontend-modern/src/utils/textPresentation.tsfrontend-modern/src/utils/storageSummaryCache.tsfrontend-modern/src/components/Storage/useStorageSummaryCharts.tsfrontend-modern/src/features/storageBackups/storageCapacityDeltaPresentation.tsfrontend-modern/src/features/proxmox/proxmoxBackupRecoveryModel.tsfrontend-modern/src/features/proxmox/ProxmoxBackupsCoverageStrip.tsxfrontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsxfrontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsxfrontend-modern/src/features/proxmox/ProxmoxPageSurface.tsxfrontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsxfrontend-modern/src/features/proxmox/proxmoxBackupsTableShared.tsxfrontend-modern/src/features/proxmox/proxmoxBackupSourcePresentation.tsinternal/recovery/model/posture.gointernal/recovery/posture.gointernal/recovery/store/store_posture.gofrontend-modern/src/hooks/useProtectionPostures.tsfrontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsxinternal/mock/recovery_points.gofrontend-modern/src/components/Storage/useStoragePoolsTableWindowing.ts
Shared Boundaries
Protected progress and synchronous reads use the API-owned non-executable media policy. Configuration-import replay admission retains guard-keyed request fingerprints without retaining archives or passphrases. These transport guards do not cancel independent agent work or establish durable recovery idempotency.
The shared OIDC Test diagnostic's failed-discovery response carries only a
numeric HTTP status and fixed guidance, not provider/proxy reason phrases,
headers or bodies. Testing does not save settings or replace credentials and
must not imply successful sign-in or completed recovery. Storage, backup and
restore state remain untouched; api-contracts owns the executable consumer
and provider/settings/file preservation checks.
The shared internal/api/ audit exporter/summary now refuses synchronous
selections above 10,000 events before verification or encoding, never returning
truncated history as a complete recovery record. Storage recovery, retention,
backup state and unified resource export-history endpoints remain unchanged;
api-contracts owns the exact selection/rejection semantics and proof.
Webhook DELETE's explicit success acknowledges saved/live destination removal, not deletion of its retained queue configuration or failed-attempt history. Queue records still follow the existing cancellation/retention policy; no storage schema, backup, restore or data-removal acknowledgement is added.
Operator storage vocabulary without identity changes
Storage topology names preserve Proxmox plugin vocabulary, including LVM-Thin, NFS, SMB/CIFS, iSCSI, ZFS and BTRFS. Explicit topology overrides still win. Only a storage explicitly marked shared whose retained location is the synthetic cluster/shared marker reads Shared, with the supplied reporting-node count when more than one node is present. Node-local storage and shared storage with a real native location keep that location. This is host-label presentation, not resource consolidation: IDs, parent/node hints, ownership evidence, metrics targets, alerts, health and recovery authority are unchanged. Adapter/presentation regressions and the production storage table browser fixture verify labels without treating shared capacity as a backup or demonstrating native recovery.
- After password configuration has been persisted and the runtime local-admin identity changes, authorizer synchronisation must also occur if subsequent API-token persistence fails. Development first-run reset must clear the configured-admin bypass only on successful auth reset, not on its persistence-failure rollback path. No role-store deletion or migration is part of this recovery.
PBS host history correlation
Backups hydrates type=pbs,agent with source=pbs and reuses Overview guest inventory. Deduplicate combined snapshots by canonical ID before correlation, avoiding false ambiguity for agents in both queries. Standalone non-PVE PBS telemetry remains available without downloading the guest estate twice.
The same agent can still arrive as two distinct resources: a PVE guest carrying its telemetry and the standalone source=pbs host row. Collapse those candidates by agent identity and resolve the Backups PBS row to the guest target, whose persisted host series the drawer charts. Distinct agent identities stay ambiguous, and a missing agent identity is not sameness proof. Do not add a second guest-estate request to compensate. When no host can be safely correlated, a successful PBS node-status poll now records CPU and memory on the separate PBS service target; those partial service observations do not imply host-agent disk, network, or I/O history.
For token-auth PBS connections that cannot report nodeName, a registry-corroborated pbs.linkedAgentId takes precedence over connection labels when selecting the Agent-bearing host row. It must resolve to the same source-native Agent ID on a standalone or PVE-merged host; a PVE-only node with no Agent facet cannot supply host History. The PBS row and service target stay canonical; only its drawer presentation uses the host metrics target. If the explicit link changes, retained correlation to the former host is discarded rather than carrying old charts across a replacement.
The backend may establish that explicit link through a running PVE guest's unique, fresh endpoint IP and its state-owned Agent/VM link when the in-guest Agent omits interface IPs. It declines reused/non-unique IPs, stopped or stale guests, and competing Agent links. No connection-name guess or VirtualBox host inference is implied by this fallback; when it cannot identify a host, only the separately observed PBS API CPU/memory service History is available.
The operator's PBS connection label is never sufficient backend host identity. A label matching an unrelated Agent must not win over the endpoint's corroborated PVE guest-IP/Agent link or project that Agent's SMART disks under PBS. If only the label matches, the backend leaves the host link absent and the PBS service series separate; Backups presentation has its own correlation boundary.
The direct backend PBS-to-Agent path requires non-zero observations within five minutes and excludes loopback, link-local, non-unicast and recognisable Docker-local interface addresses. Private management networks, custom management bridges and explicit report-IP hints remain eligible, including correctly parsed IPv6 URL endpoints. A stale Agent at a reused endpoint must lose PBS disk membership and its presentation link; a fresh unique replacement may acquire them, while concurrent eligible Agents remain ambiguous. pbs_pmg_registry_test.go covers unsafe direct evidence, management-network controls and fresh/stale/replacement/ambiguity transitions through monitor registry replacement. Its three-PBS/nine-Agent fixture preserves distinct source-native host targets and disk/network/I/O telemetry, but does not establish the reporter's VirtualBox identity or installed History acceptance.
A realtime refresh can briefly omit the correlated host row while the PBS server row remains. Retain the last resolved host per PBS server across that omission instead of falling back to the service target, so the drawer's Identity rows and History series stay on the host key. Reuse the remembered host only while it is still fresh relative to the server and drop it once stale, so a removed or replaced host is not advertised indefinitely; a present but ambiguous host still declines.
Verification: ProxmoxBackupServersTable.drawer.test.tsx covers standalone and merged guest targets, missing disks, duplicate guest/host representations of one agent, genuinely ambiguous identities, and retaining the resolved host target across a transient host-row omission; ProxmoxBackupServersTable.test.ts covers retention, staleness and pruning; ProxmoxPageSurface.contract.test.tsx covers hydration and deduplication.
Notification recovery reload ownership
Queue recovery API handlers follow router monitor replacement instead of retaining a stopped notifier. Retry and Dismiss retain their existing persistence operations and history semantics; this repair does not delete or rewrite recovery stores, change database internals, or establish crash-recovery qualification.
Shared Docker-update verification boundary
The shared API result converter classifies independent Docker update readback
using replacement identity, state/running agreement and running health, rather
than identity alone. Both immediate execution and durable receipt reconciliation
use this converter. Contradictory observations affect verification only;
missing agent readback is inconclusive. Execution and compensation records
remain unchanged: container backup-rename compensation is not a storage backup,
recovery point, or independently verified restore. No storage selection,
retention or recovery authority is added. The focused
TestDockerContainerUpdateIndependentObservationMustMatchState in
internal/api/docker_container_action_result_test.go asserts that independent
verification changes never rewrite successful execution history, including
stopped replacements and missing readback.
A running replacement whose health check is still starting is now
inconclusive rather than contradicted, and the Docker module waits for that
health to settle before deciding whether to roll back to the original
container. Both are action-verification and container-lifecycle behaviour.
Restoring the renamed original container is still action compensation, not a
storage backup, recovery point or restore, and no storage or recovery path
is added.
Recovery consumers of security status must distinguish currentUsername (the validated caller identity) from privileged authUsername (administrator configuration). Presence of currentUsername in a scoped response does not authorise export, import, recovery or unprotected backup transfer; existing settings capabilities and backend enforcement still gate those operations.
The Patrol action broker and shared policy-writer wiring under internal/api/
remain API/action-lifecycle authority even when the target is storage-related.
Automatic admission requires a fresh, resource-bound policy lease and an
atomic approval-plus-executing transition; missing, unreadable, malformed,
or revoked policy fails closed before any backup, restore, SMART, or other
storage executor/network call. Human approval remains distinct evidence.
Emergency stop after executing is best-effort cancellation, never recovery
or rollback proof.
Action audit recovery preserves the canonical plan-time policyDecision
object inside the existing immutable plan JSON. SQLite reopen and MemoryStore
round-trip retain exact authority order, source revision, scope, reason codes,
approval requirement, and digest; absent historical fields read as explicit
legacy_unknown. Recovery must never synthesize policy authorities or treat
the descriptive snapshot as reusable dispatch authorization.
The authenticated /actions workspace recovers from the durable server list
and detail contracts (/api/actions and /api/actions/{id}), not from client
memory. Reconnect and resume must rehydrate both pending and settled action
records, then load the selected action by id so expiry, revocation, policy
drift, execution, verification, and compensation truth come from the current
audit record. Resource links may hand an action id into that workspace, but the
handoff is only a lookup key: a pending-only cache, an open dialog snapshot, or
any other client-local state is never recovery authority and must not recreate
an action that the durable store no longer returns.
Assistant access to recovery points and storage evidence is read-side context.
ai:chat, relay-mobile chat, and the read_only control level cannot project
or execute storage/infrastructure mutation, finding lifecycle changes, or
knowledge persistence. Any future storage action must cross the explicit
ai:execute plus governed action-plan boundary; it must not be introduced as
a recovery-provider read helper or compatibility alias.
frontend-modern/src/features/proxmox/ProxmoxBackupServersTable.tsxshared withunified-resources: Proxmox backup server table rows are both a storage/recovery backup-health surface and a unified-resource platform-table consumer boundary.frontend-modern/src/features/proxmox/ProxmoxCoverageTable.tsxshared withunified-resources: Proxmox workload coverage rows are both a storage/recovery protection-posture surface and a unified-resource identity consumer boundary.frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsxshared withunified-resources: Proxmox recoverable workload table rows are both a storage/recovery coverage surface and a unified-resource platform-table consumer boundary.internal/api/configapi/setup_script_render.goshared withagent-lifecycle,api-contracts: the generated Proxmox setup-script is a shared boundary across agent lifecycle (forced-command keys, install/uninstall edits), API contracts (rendered token shape and encoded rerun URL), and storage/recovery (backup visibility grants, Pulse-managed temperature SSH keys, and SMART disk-temperature collection). The user-chosen connection name carried by assisted setup travels on the server-side setup token, not through the rendered script or its registration payload, so honoring it changes neither the backup visibility grants the script applies nor the storage-side identity that backup and recovery attribution key on (hostname and candidate hosts).internal/proxmoxidentity/backup_identity.goshared withalerts,monitoring: Proxmox PBS backup subject identity is a shared runtime boundary for monitoring backup freshness, backup-age alert attribution, and recovery-point guest mapping.
Storage resource projections may show alert indicators from the canonical active-alert read model only while detector evaluation is enabled. They must not hide storage or recovery alerts when external notification delivery is pending, paused, snoozed, unavailable, or destination-disabled; those delivery states do not change the underlying storage evidence or active lifecycle. Likewise, retrying or dismissing retained notification failures changes only delivery-queue state and its warning. It does not alter storage health, protection posture, recovery-point evidence, or restore readiness.
Extension Points
Diagnostic source-build identity is not a recovery checkpoint or a schema transition. A build-injected test version retains the current data and config while the version API disables release-update and agent-target suggestions. Returning from a reporter image remains an explicit image rollback with the operator's backup available, not an automatic update or retention action.
The authenticated runtime-display projection under shared internal/api/ may
publish effective Docker-action visibility and outbound-telemetry booleans,
plus the effective PVE polling cadence in seconds, to read-only viewers. Those
presentation values are not backup evidence, storage health, recovery
readiness, restore scope, or remediation authority — the cadence integer in
particular says nothing about backup polling, which stays on the admin-only
settings payload — and storage/recovery consumers must not infer any of those
states from them.
Agent-token validation added to internal/api/connections_aggregator.go and
its runtime input assembly in internal/api/connections_alerts.go is
fleet-governance evidence only. A missing, revoked, or expired host-agent
credential may mark that agent connection invalid and drive a local
authentication-repair handoff, but storage/recovery consumers must not
reinterpret that credential state as backup failure, protection drift,
recovery-point loss, restore readiness, datastore health, or provider
identity. Token inventory that is unavailable or deliberately synthetic stays
unknown rather than fabricating storage or agent incidents.
Collector role-scope enforcement under internal/api/agenttokens/,
internal/api/collector_authority.go, internal/config/, and pkg/auth/ is
likewise an authentication boundary, not storage or recovery evidence. Its
exact monitoring allowlist and durable excess-scope reduction must not be
reinterpreted as backup coverage, restore authority, protection health, or
permission to broaden provider credentials.
Docker / Podman report ingress under internal/api/docker_agents.go is outside
storage/recovery ownership even though storage/recovery routes share the broad
internal/api/ extension boundary. Encoded/decoded report ceilings,
compression diagnostics, and agent warning behavior remain owned by
api-contracts and agent-lifecycle; storage/recovery consumers must not
reinterpret an accepted large inventory report as backup coverage, recovery
freshness, or restore evidence.
Self-hosted purchase start under shared internal/api/, including the
website-finish handoff used when an install has no secure callback address, is
cloud-paid state. It carries no backup, restore or recovery evidence, and
storage and recovery surfaces must not treat a purchase or activation key as
recovery readiness.
Commercial v5-to-v6 migration posture may be carried by internal/api/
handlers that storage/recovery references for setup or support-adjacent flows,
but it remains API/cloud-paid state. Storage and recovery surfaces may point
operators at the v6 upgrade guide when license egress is blocked, but they must
not reinterpret commercial_migration as backup coverage, restore readiness,
or storage-health evidence, and must not mutate first_failed_at.
Mobile onboarding reads exposed through internal/api/onboarding_handlers.go
are storage/recovery-adjacent only as hosted recovery/support handoff
surfaces. Recovery code may consume the API-owned
409 onboarding_not_ready diagnostics, but it must not construct a partial
mobile pairing QR/deep-link payload from relay settings when relay
registration or the dedicated Pulse Mobile credential is incomplete.
Docker and Podman app-container CPU fields on unified resource metadata are
storage/recovery-adjacent only because DockerData is a shared resource
payload. Raw per-core CPU evidence and normalized capacity CPU must not be used
as backup coverage, restore readiness, storage-health, or recovery-point
signals.
The same dependency rule applies to nullable Docker OOMKilled evidence.
Storage and recovery consumers may preserve and display it as runtime workload
context, but must not reinterpret confirmed OOM, confirmed non-OOM, missing
evidence, or exit code 137 as backup damage, protection health, restore
readiness, or a recovery-point signal.
It also applies to monitoring-authored DockerData.IdentityConflict
duplicate-identity evidence: storage and recovery consumers may surface it as
runtime workload context explaining unreliable host rows, but must not
reinterpret cloned-machine identity flapping as backup coverage gaps,
protection drift, restore readiness, or a recovery-point signal, and must not
mint additional storage or recovery rows for the flapping hostnames.
Local subscription-agent settings in internal/api/ai_handlers.go remain an
ai-runtime transport choice even when Patrol observes storage or recovery
evidence. They do not expand recovery inventory, restore authority, or storage
mutation permissions; provider-requested operations still cross the existing
governed tool and verification boundaries. CLI authentication state must not be
included in recovery exports, snapshots, or support bundles, and must not be
interpreted as recovery readiness.
Patrol investigation evidence copied by
internal/api/patrol_action_broker.go into broker-owned action origin is
correlation provenance, not storage or recovery proof. A tool-use evidence ID
must not be reinterpreted as backup freshness, protection coverage, restore
readiness, or verification truth; those claims continue to require their
domain-owned typed evidence and deterministic verification paths.
The Patrol attention routes' mobile relay scope acceptance in
internal/api/relay_mobile_capability.go and the attention route gates in
internal/api/router_routes_ai_relay.go / internal/api/attention_mutations.go
are an API auth-surface mapping, not a storage or recovery grant. A
relay:mobile:access credential reading attention items — including their
protection-posture presentation fields — gains no backup, restore, snapshot,
or recovery-export authority, and attention lifecycle mutations stay inside
the alert acknowledge/suppress surface; storage and recovery mutations keep
their own governed routes and verification paths.
Unified Agent durable-operation-receipt metadata is likewise an internal
monitoring and agent-lifecycle boundary. The exact current protocol may be a
fail-closed prerequisite when unified resources derive the bounded
clean_package_cache APT capability, but the raw version is not a public
resource field and is never storage truth, pressure truth, mutation authority,
verification truth, or recovery evidence. Storage pressure and cleanup posture
remain independently observed inputs, and the live authenticated agent-server
readiness check remains authoritative before any action admission or dispatch.
Agent updater history on AgentData in internal/unifiedresources/types.go
is observational fleet metadata. Its shared typed status and optional update
check, attempt and success timestamps survive canonical resource cloning and
host read views as owned copies. This must not alter a coexisting storage or
recovery facet or become evidence of backup completeness, protection health,
restored data, restore readiness or successful recovery. A helper activation
commit or an accepted one-shot agent update report proves only that updater
outcome. TestCloneResourceOwnsAgentUpdaterStatusAndTimes and
TestHostUpdateEvidenceSurvivesCanonicalAdapterViewAndClone pin metadata
ownership and isolation, without qualifying a storage or recovery operation.
Per-member cluster endpoint connection-address overrides accepted by
internal/api/configapi/config_node_handlers.go (clusterEndpointOverrides on the node
update payload writing ClusterEndpoints[n].IPOverride), including the
agent-driven writes of the same field by canonical auto-register member
matching in internal/api/configapi/config_setup_handlers.go, are monitoring
connectivity state only. Storage- and recovery-adjacent surfaces may observe
the effective member address for support diagnostics, but they must not treat
a present or absent ipOverride as backup coverage, restore readiness, or
PBS reachability evidence, and PBS instance addressing must stay on its own
configuration rather than inheriting PVE cluster member overrides.
Shared command-agent token binding in internal/api/agent_exec_token_binding.go
is API-owned adjacent infrastructure. Storage- and recovery-adjacent setup or
diagnostics flows may observe the API-owned bound_agent_id,
bound_hostname, and bound_at metadata, but they must not rebind generic
agent:exec tokens or treat a Proxmox install-command token as recoverable for
another host after the first command registration identity has been persisted.
Remote-config suppression of command enablement for generic or unbound
command-scope tokens is part of that same adjacent API boundary. Storage and
recovery surfaces may observe disconnected command readiness, but they must not
re-enable command config, reinterpret the suppression as backup or restore
state, or introduce a recovery-local command-token binding path.
Proxmox VM/LXC lifecycle verification in internal/api/ is likewise adjacent
action-governance evidence, not recovery evidence. The node agent may execute a
governed qm / pct action while the tenant-scoped server Proxmox client
independently observes guest status and uptime, but a confirmed start, stop,
shutdown, or reboot proves only that action's registered postcondition. Storage
and recovery surfaces must not reinterpret that ActionResultV2 evidence as a
recovery point, backup freshness, restore success, or protected-workload state.
Hosted tenant agent install commands in internal/api/cloud_agent_install_command.go
are adjacent API/lifecycle transport only. A provider-hosted MSP PVE/PBS install
token may allow agent reporting for the scoped tenant workspace, but it must not
grant backup visibility, recovery authority, or storage health privileges; those
remain governed by the setup-script and source-specific backup API boundaries
below.
Assistant chat-session history endpoints in internal/api/ai_handler.go
(session list/rename/fork/summarize, turn undo/redo including the
retry/regenerate expected-prompt guard on POST /api/ai/sessions/{id}/undo,
and mid-turn steering via POST /api/ai/sessions/{id}/steer)
are ai-runtime conversation-state surfaces only. Undoing or regenerating an
Assistant turn rewrites chat transcript history; it is never a restore
operation, does not revert storage mutations or governed actions the original
turn produced, and must not be surfaced or interpreted as backup coverage,
restore readiness, or recovery evidence.
Operations-loop status wiring in internal/api/agent_resource_context.go is
storage/recovery-adjacent only through the shared action-audit and verification
projection. Sibling handlers in internal/api/ such as the AI settings handler
(ai_handlers.go) carry AI provider configuration (for example per-provider
base URL overrides or the registry's suggested Patrol quickstart model
metadata) that is ai-runtime config-surface, not storage or recovery
state; a manual scoped Patrol check routed through this handler is
investigate-only as well (it may analyze storage resources but invokes no
backup, restore, SMART, or recovery operation, and carries resource identity
only). The Patrol action-broker and proposal-catalog factories wired from
internal/api/router.go onto that AI settings handler are likewise
ai-runtime/api-owned: a storage-targeted investigation may only emit a typed
action proposal onto the canonical action lifecycle, never a storage or
recovery operation, so this wiring creates no storage/recovery execution
surface. Starter counts, contextual Assistant/external-agent collaboration
counts, Patrol control completed-loop or resolved-loop outcome evidence,
patrolControlValueState, legacy patrolAutonomy* compatibility aliases, and
the operator-readable progressLabel on that
status are API-contract orientation evidence
for Assistant, Patrol control, the legacy Pro activation entry point, and MCP
entry points; they must not be treated as recovery coverage, backup
verification, storage-health proof, recovery-job state, or a reason to surface
verification stdout, command text, resource IDs, or backup identities. The legacy
proActivationOperationsLoopStarterCount field is entry-point-specific, while
the legacy completed/resolved/value proActivation* fields mirror the same
Patrol control outcome classifier as compatibility aliases and do not create a
second storage/recovery signal.
Persisted Patrol run history carries an uncapped per-UTC-day run tally beside its capped newest-first run list. The list is bounded for the operator-facing history and saturates within hours on a normally scheduled install, so it cannot serve as a run count over a reporting window; the tally advances from a persisted high-water mark, is pruned to its retention bound, and is a count of runs only. It never records run identity, scope resource IDs, finding IDs, evidence, or narrative, and it is not recovery coverage, backup verification, or storage-health proof.
The schema-v10 Patrol blocked cause rides the outbound ping only and creates no new persisted state: it is read from live Patrol runtime status at snapshot time, not from the run history list or the run tally, records no run identity, provider configuration, or blocked-reason text, and is likewise not recovery coverage or storage-health proof.
Availability-refusal warn logs and the optional actionReadiness detail
emitted through the shared internal/api/ action handlers are likewise
process-log observability only: they create no persisted state, no storage or
recovery signal, and no backup, restore, or storage-health proof.
First-party workflow starter activity recorded through shared internal/api/
handlers, including Pro activation entry-point telemetry for the same
operations-loop prompt, is likewise API/privacy/commercial activation evidence
only; storage and recovery surfaces must not treat it as backup readiness,
restore capability, recovered-state proof, or storage-health verification.
Outbound usage telemetry projection in internal/api/telemetry_pulse_intelligence.go
is likewise API/privacy evidence only. Update funnel and governed-action
adoption counters may summarize content-free activity for product analytics,
but storage and recovery surfaces must not treat those counters as backup
coverage, restore capability, recovery-job proof, storage-health verification,
or evidence that a specific resource was protected or recovered.
Proxmox page stale-agent notices are adjacent frontend and agent-lifecycle
plumbing even though ProxmoxPageSurface is a storage/recovery canonical file.
Those notices may link an operator to scoped agent update commands for the
latest fixes and node details (the notice's own wording; command execution is
a separate setting the update does not change), but they must not be
interpreted as backup visibility, recovery readiness, restore capability, or a
storage/recovery-owned command path. Suppressing those notices when the API has
no deployable agent update target is likewise lifecycle/frontend behavior and
does not change Proxmox backup or recovery evidence.
Proxmox overview Patrol coverage posture is adjacent Patrol context, not
storage/recovery evidence, and must not render on ProxmoxPageSurface.
Patrol coverage, schedule, finding, and approval state belongs on Patrol-owned
surfaces or explicit Patrol affordances; Proxmox overview must not treat it as
backup coverage, restore readiness, PBS verification/protection proof, or a
replacement for the Proxmox Backups tab and workload Backup column.
The outdated sensor setup notice above the Proxmox tabs is temperature
guidance, not storage or recovery evidence. It reads the registry's per-node
proxmox.sensorSetupOutdated verdict from the node rows the active tab already
loads (Overview, Storage, Replication and Backups load nodes; Ceph and Mail do
not, so it does not render there), so the Overview query must not add
physical_disk rows to feed it; the derived ProxmoxData flag opens no storage
or recovery path.
ProxmoxPageSurface.contract.test.tsx pins the notice on Overview with no disk
rows and an Overview query without physical_disk.
The Proxmox inline estate totals are likewise an adjacent frontend-primitives
and unified-resource projection, not backup or recovery evidence.
ProxmoxPageSurface must flow the already-loaded workload inventory into the
shared workload filter counts and derive cluster/standalone topology through
platformEstateOverviewModel.ts for the existing Nodes header rather than
creating a Proxmox-only metric or spotlight panel. The node inventory uses the
shared bounded table-preview disclosure so workload controls remain in the
initial reading flow, but it must retain canonical node ordering and reveal the
same already-loaded collection rather than changing backup or recovery scope.
That bounded node preview remains before the virtual guest inventory at every
viewport; narrow layouts must not move it after the full guest list's virtual
scroll extent, where the node estate would become effectively undiscoverable.
The workload filter belongs immediately before the workload table it controls,
after the node preview, and its committed search term must also flow into the
node table. ProxmoxPageSurface renders that one WorkloadsFilter itself and
passes the embedded WorkloadsSurface the same workload state; the surface
renders no filter row of its own. That state is the surface's only data input:
the app-container exclusion and its nested-context cue
(excludedWorkloadTypes, showNestedExcludedWorkloads) live on the page's
useWorkloadsState call, and the surface mount carries only the state, the
locked platform, the empty-state copy and the Guests title. The state call
carries no vms, containers, nodes or useWorkloads option: guests, and
the nodes they resolve their parents against, both come from the page's one
resource snapshot. The node table must use the shared Proxmox search model so a
matching guest retains its owning node while unrelated nodes disappear; a
node search must likewise retain the directly matching node. The table still
receives the real already-loaded PVE node collection as its source, so the
estate-empty No Proxmox VE nodes state remains reserved for genuinely absent
node inventory, while a narrowed result uses the distinct no-match state.
The Proxmox Guests title/count must remain frontend-primitives-owned chrome:
the page supplies it through the Workloads tableTitle slot and the shared
TableCardHeader renders it with both populated and filtered-empty guest table
states. This heading alignment changes neither workload backup scope nor the
storage/recovery evidence carried by the adjacent Backup column and Backups
tab.
The guest table's grouped node rows are identity-only dividers. Node stats and
the node drawer stay with the Proxmox nodes table above it: the embedded
Workloads table has no grouped-row drawer, hover preview, or group pin, and
ProxmoxPageSurface passes no host-metric option to the embedded Workloads
state. Those dividers carry no backup or recovery evidence; the per-guest
Backup column remains the overview's protection signal.
The overview's node-row action selects the shared workload node scope and
reveals the guest section. The title names the selected node and reports the
filtered guest count, including zero. Activating the selected node again or
using its Show all nodes control clears only
the node scope, preserving search, status and type filters. These navigation
actions do not change backup ownership or recovery evidence. Verify selection,
clear and independent node disclosure in the Proxmox table tests and the
current frontend-modern/browser-verification.json interaction matrix.
Those counts and layout controls must not imply
protection, verification, or restore readiness beyond the evidence held by the
workflow-owned Storage, Backups, Ceph, and Mail surfaces.
Proxmox backup inventory loading and load-failure chrome is likewise a
frontend-primitives dependency. ProxmoxBackupsTable owns the backup API
queries, recovery model, filters, coverage split, and backup-specific error
copy, but repeated loading and retry shells must compose
PlatformTableLoadingState and PlatformErrorState; storage/recovery must not
fork local table-card loading rows or refresh-button error empty states.
Proxmox backup source/state chips are also a frontend-primitives boundary:
proxmoxBackupSourcePresentation.ts owns backup-source labels and semantic
badge tones, proxmoxBackupsTableShared.tsx owns the backup table helper
composition, and visible source/state chips must render through MetadataBadge
instead of restoring local rounded-sm xs badge spans.
Backup ages read the frontend-primitives shared relative-time clock:
ProxmoxBackupAgeText measures the full and compact age text and its
current, aging, or stale band from useRelativeTimeNow, so a backup row that
stays mounted for days moves from current to aging without new inventory, and
because every clock read returns the wall clock, a backup that finished since
the last tick never bands as a future, unknown age. ProxmoxPageSurface reads
replication jobs through createNonSuspendingQuery with a 30-second background
poll, because the Replication table's Last sync and Next sync move on the same
clock. Each read forwards the query's abort signal, so a replaced or unmounted
read is cancelled. Whether replication exists is unknown until a read
succeeds, counted from the last reset (an organization switch): a failed read
before then holds a direct replication link on the error and its Retry instead
of falling back to Overview, and once a read has succeeded a failed poll
reports the error but keeps that answer (the jobs and the tab, or the Overview
fallback for an empty answer) rather than reopening the route. An access
denial (401 or 403) withdraws the jobs and the tab, and a direct link holds on
the denial so the operator sees why. The poll re-reads the existing read-only
/api/replication/jobs snapshot and opens no new storage or recovery path.
A successful replication observation requires the unified-resources-owned
inventory parser to accept the complete typed snapshot and matching total.
Missing, null, malformed or ambiguous job lists are unavailable, not evidence
that replication is unconfigured; they follow the same failed-read navigation
and retry rules above. This validation neither changes PVE job status nor
establishes a completed copy, guest thaw or native recovery.
Proxmox backup-health and recoverable-artifact summary rows follow the same
platform-table density contract as every other provider surface. Storage and
recovery owns which backup, datastore, workload-type, and VMID facts matter to
an operator, while frontend-primitives owns the canonical 32px single-line
summary row. Compact layouts must not stack those secondary facts beneath the
resource name and make the row taller: keep essential identity inline when no
detail disclosure exists, and otherwise preserve supporting context in its
existing column, the row's accessible title, or the expanded detail content.
The Backup servers summary on the Proxmox Backups tab owns PBS reachability and
datastore capacity, but its row expansion is the canonical unified-resource
drawer, not a second storage-local detail model. A PBS resource merged with a
Pulse Agent keeps the
PBS service evidence and exposes the agent's system, hardware, network, disk,
thermal, history, and management context through that shared drawer. Bare-metal
PBS hosts therefore remain fully inspectable after leaving the standalone
Machines surface, while storage/recovery does not duplicate agent telemetry or
invent a competing provider drawer hierarchy.
Proxmox Overview must not duplicate this domain table; its route-scoped
snapshot remains limited to the node and guest regions it owns.
The product-family projection may still deliver the PBS service and its Agent
host as separate resources. In that case the Backup servers table correlates
only a unique normalized host-identity match for drawer presentation, preserves
the PBS row identity and datastore/service evidence, and delegates host current
metrics and stored History to the Agent metrics target. An absent or ambiguous
Agent match fails closed on the original PBS resource; datastore names, backup
artifacts, and proximity in the input list are never host-correlation evidence.
The Proxmox backup view selector follows the same ownership split:
storage/recovery owns the chronological-versus-coverage view values and backup
semantics, while the visible segmented selector shell must compose the
frontend-primitives FilterButtonGroup.
Backup-location filtering is repository-scoped rather than host-scoped. Its
identity combines source kind, provider instance, and datastore/storage so two
PBS instances with the same datastore name remain distinct and the workload's
PVE node never masquerades as backup ownership. The route query owns that scope
across the chronological and coverage views. Coverage rows must narrow their
artifact collection, latest evidence, and per-source counts before rendering;
they retain the server-owned canonical protection posture rather than deriving
a location-local posture from incomplete client evidence. The focused model and
rendered-route proofs in
frontend-modern/src/features/proxmox/__tests__/proxmoxBackupRecoveryModel.test.ts
and frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx
pin this boundary.
Tenant report branding settings are adjacent tenant-local configuration, not a
storage or recovery product state. reportBranding persisted in a tenant
runtime's system.json should be preserved by the existing tenant data
backup/restore path, but it must not create cross-client report storage,
restore scope, backup visibility, or recovery authority.
Scheduled report definitions and generated report files are likewise
reporting-owned tenant-local artifacts. The scheduler may save output under
the workspace data directory for operator retrieval and retention, but those
PDF/CSV files are not recovery points, backup artifacts, storage-health
evidence, restore manifests, or cross-client storage inventory. Storage and
recovery flows may preserve them as normal tenant data during backup/restore,
but must not interpret their presence as infrastructure protection.
Report attempt counts, retry deadlines and delivery outcomes are persisted
alongside the tenant's schedule definitions. A saved report file is separate
from an SMTP acceptance record and does not establish recipient receipt.
Restart recovery preserves pending safe retries and marks an interrupted email
attempt unconfirmed. These fields are normal tenant configuration data, not
restore verification or independent proof of an external delivery.
Commercial downgrade preserves the schedule definitions as inert tenant
configuration and blocks background generation when advanced_reporting is
absent. Existing generated files outside the lower entitlement become hidden
through the commercial access boundary and are purge-eligible only after the
durable day-60 timestamp. Purge must stay inside reports/generated, skip
directories and symlinks, and never treat the cleanup as deletion of report
definitions, audit records, backups, or recovery points.
Generated Proxmox setup-script, runtime host-agent setup, and installer
auto-registration changes that affect backup visibility permissions are
storage/recovery-adjacent: optional PVE /storage grants must remain effective
for privilege-separated tokens by assigning the same PVEDatastoreAdmin role to
both the service user and the concrete token id.
Generated PVE setup-script smoke checks must run after those concrete token
grants have been applied and must not skip or reorder the optional /storage
backup-visibility grant path. If the smoke check fails, the script may fall
back to manual completion, but the displayed token details must still describe
the same ACL state that would have been submitted to Pulse.
The generated Proxmox Audit/Repair path is storage/recovery-adjacent for the
same reason: when backup visibility was requested, repair must reapply the
optional /storage grant to the service user and to the current concrete token
id if that token still exists, without rotating credentials from repair mode.
PBS generated setup-script auto-registration is storage/recovery-adjacent
because the registration result determines whether PBS backup evidence can flow
without manual follow-up. The rendered script must post auto-registration to the
canonical Pulse base URL plus /api/auto-register; it must not derive the POST
target from the setup-script artifact download URL.
Proxmox platform backup surfaces may embed source-specific backup evidence, but
the source of truth must stay explicit. PBS source-detail tables on the Proxmox
Backups tab consume /api/backups/pbs and render PBS-authored size,
protection, verification, namespace, owner, and file facts from
models.PBSBackup. PVE snapshot, storage-archive, and task tables consume
/api/backups/pve and must keep columns source-aware: columns that PVE cannot
populate for the current data set are omitted rather than rendered as all-dash
placeholders. The Proxmox Backups tab owns two primary operator workflows: a
default chronological By date recoverable-artifact feed with daily activity
summaries, and a By guest workload coverage table for current live guest
posture. Raw PBS, snapshot, and backup-file facts remain source-visible inside
those aggregate workflows rather than equal-weight source browser tabs. Those
views may correlate unified-resource workload identity with PBS artifacts, PVE
backup archives, guest snapshots, and backup tasks, but they must keep each
artifact's source visible and must not flatten PBS verification/protection facts
into PVE archive or snapshot semantics. Workload coverage posture must be
derived from real recovery evidence and recent task outcomes, including
explicit uncovered and failed-latest-task states, rather than from source-detail
row counts alone. Large-estate rendering must preserve that same full result
set without mounting every row. PlatformWindowedRows routes both
the coverage table and dated artifact feed through measured shared table-window math
once the result set exceeds the mounted budget, keeps at most 140 desktop or 36
phone row/header items mounted, and preserves continuous scroll height with
table spacers. Filtering,
sorting, health counts, and day-group counts continue to operate over the
complete client-side result set; windowing must not become pagination, a partial
count, or a recovery-local Next / Load more control. Expanded coverage
evidence remains owned by the visible workload row.
The Proxmox shell hydrates Overview, Storage, Replication, Backups, Ceph, and
Mail from source-scoped route resource families. Only the visible tab enables
its query and consumes realtime reconciliation; desktop and phone shells must
not prefetch inactive resource families behind the active route. Storage reuses
the shell's bounded agent/PBS/storage/physical-disk/Ceph source instead of
opening a duplicate page query or an all-estate subscription; hidden route
state effects remain dormant and a forced Proxmox storage scope is not
serialized as redundant URL state. Backups reuses the source-scoped Overview
guest snapshot and adds only the PBS resource family, so it cannot repeat the
large VM/LXC enumeration under a second request owner.
Unknown source-scoped resource facets must not advertise optional Proxmox
workflows as if their providers are present. Estate-wide aggregations are not
tab evidence: unrelated provider rows can share VM or storage types. The
navigation rail may expose Replication from its independent positive job count,
while Storage, Backups, Ceph, and Mail
wait for positive resource counts. A direct link keeps its requested route
hydrating while counts are unknown; after counts arrive, an unsupported route
renders Overview instead. Hiding a tab is navigation presentation, not a
verdict about backup coverage, artifact recoverability, or stored history.
PBS server/datastore rows may display backup counts, but the
counts must come from the PBS backup API artifact identity, not from a
datastore-capacity approximation. The table owns which PBS artifact count is
meaningful for the backup-health row, while dense integer count presentation
belongs to frontend-primitives: backup count cells must compose
PlatformTableNumberValue with formatPlatformTableIntegerValue instead of
reintroducing local toLocaleString() formatting.
The backup-health coverage strip must keep its aggregate target and restore-point
context visibly associated with the strip at phone widths; responsive wrapping
must not leave a reserved empty column between the title and that context.
The Proxmox Backups toolbar is durable recovery navigation, not transient
component state. Search, active workspace, node, guest type, source, posture,
and selected activity day use the canonical PROXMOX_BACKUPS_QUERY_PARAMS
keys in frontend-modern/src/routing/resourceLinks.ts so reloads, shared links,
and browser bookmarks restore the same result set. Switching to
By date clears the hidden coverage posture; switching to Coverage clears
the hidden source and selected day in the same route write. Contextual
Clear filters clears every narrowing parameter in one write while retaining
the active workspace, so a reset cannot resurrect an earlier filter or move
the operator to a different recovery workflow.
PBS server/datastore utilization follows the same split: storage/recovery owns
which datastore usage percentage is meaningful for backup-health risk, while
frontend-primitives owns one-decimal percent presentation through
PlatformTablePercentValue and formatPlatformTablePercentValue instead of
local rounded % strings.
PBS server uptime follows the same split: storage/recovery owns whether the
server uptime belongs on the backup-health row, while frontend-primitives owns
the one-unit uptime label through formatPlatformTableUptimeValue instead of
local formatUptime calls.
PBS server memory/datastore byte labels and recoverable-artifact size labels
follow the same split: storage/recovery owns whether memory, datastore usage,
or artifact size is meaningful backup/recovery evidence, while
frontend-primitives owns byte-unit presentation through
formatPlatformTableBytesValue instead of direct formatBytes imports in
backup table files.
Recoverable-artifact age labels follow the same split: storage/recovery owns
which artifact creation timestamp and age band describe recovery freshness,
while frontend-primitives owns compact relative-time rendering through
PlatformTableRelativeTimeValue instead of direct formatRelativeTime imports
in backup table files.
Those Proxmox backup workflows own recovery semantics, source-specific
empty-state copy, and retry/filter actions, but their table empty-state frame
must compose the frontend-primitives-owned PlatformTableEmptyState shell
instead of importing EmptyState directly or wrapping it in a backup-local
card.
The Proxmox overview workload table's Backup column is the primary
glance-level protection signal for current guests. It must remain visible,
dense, and backed by the canonical guest LastBackup synchronization from PVE
storage and PBS evidence; the Proxmox Backups tab is the drilldown for
coverage, restore-point, and source-detail evidence, not the first place users
must visit to learn whether a guest is backed up.
The adjacent Proxmox overview memory-basis control is operational workload
presentation only. Comparing a VM or LXC's used bytes with its parent-node
memory total may change the memory bar and memory sort order, but it must not
change Backup-column freshness, protection coverage, restore-point
correlation, storage-health state, or recovery authority.
The adjacent Proxmox overview guest-totals strip is likewise presentation-only
and must consume the embedded Workloads surface's filtered statistics. It must
not fall back to page-wide guest summary counts when search, type, status, or
node filters have narrowed the visible workload inventory; backup and recovery
authority remain unchanged by either set of presentation counts. Filtered
totals omit zero-value status categories and their separators so the strip
does not add false orientation noise beside a narrowed result set.
That overview Backup signal belongs to Proxmox VMs and LXCs. If the embedded
Workloads table demotes Docker-in-LXC app-container rows out of peer
membership, the backup surface must still receive the page model's Proxmox
guest inventory for VM/LXC coverage and must not reinterpret Docker runtime
membership as backup or recovery ownership.
Docker-in-LXC drawer links may add Docker runtime host route state through the
shared resourceLinks.ts module, but that query state is Docker-lens scope
only. Storage and recovery route builders/parsers must not reuse that Docker
host facet or treat it as backup-source, datastore, node, or recovery ownership.
The platform page embedding point may pass read-only Proxmox guest inventory
into that backup surface solely for workload identity correlation; the backup
surface must still source restore evidence from the PVE/PBS backup APIs rather
than treating the page shell as recovery state.
Shared router wiring may pass monitor-owned Proxmox/PBS/PMG source freshness
thresholds into unified-resource adapters so resource rows do not flap between
normal poll cycles, but storage/recovery consumers may use that only as
operational resource-status context. Backup freshness, restore coverage,
storage protection, and recovery authority remain sourced from the canonical
PVE/PBS backup and storage-health evidence.
Storage/recovery auth-adjacent changes may consume SSO-authenticated sessions,
but they must not reinterpret SAML or multi-provider SSO availability as a
storage/recovery entitlement; that provider-route and license truth belongs to
the shared API/security boundary.
Storage/recovery may consume authenticated chart and report routes through the
shared API boundary, but it must not own router-level auth configuration reads.
Those reads stay API/security-owned and must snapshot mutable auth credentials
under config.Mu.RLock() before storage-adjacent routes rely on the resulting
session or API-token decision.
Storage/recovery may also consume org-scoped session identity from the shared
API boundary, but durable user IDs remain the authorization principal. Contact
email may support display or legacy lookup only; storage and recovery surfaces
must not create their own email-keyed membership or entitlement interpretation.
Hosted direct handoff subjects that reach recovery-adjacent protected routes
must therefore already be stable non-email principals; a blank handoff UserID
must fail at the shared API boundary instead of being repaired from contact
email.
Hosted public magic-link sessions follow the same dependent-auth contract:
storage/recovery-adjacent routes may consume the resulting browser session, but
shared auth must reject blank owner/member principals rather than minting an
email-keyed session from delivery metadata.
Checkout webhook magic-link delivery is part of that same dependent-auth
boundary: storage/recovery may observe billing activation for a server-linked
org, but Stripe contact email must not become recovery or storage authority
unless the shared API organization resolver maps it to a stored owner/member
principal first.
Runtime org authorization on that shared API boundary must also stay strict:
storage/recovery-adjacent routes may consume accepted org access only after
OwnerUserID or member UserID matches the authenticated principal, not after
the session user string matches OwnerEmail or member Email.
The canonical actor vocabulary for those shared sessions is
docs/release-control/v6/internal/IDENTITY_INVARIANTS.md; recovery and storage
work may consume accepted org access, but must not mint or widen access from a
delivery email. For SSO-authenticated browser sessions, storage and recovery
consume the API-owned provider-scoped principal only, not raw SAML/OIDC
username, email, or display claims.
Storage/recovery remediation or restore-adjacent workflows may consume
POST /api/actions/plan only as the API-owned resource capability planning
contract. This subsystem must not create a storage-local approval policy,
stale-plan hash, blast-radius model, or execution protocol outside
internal/api/actions.go, internal/actionlifecycle/service.go, and
internal/actionplanner/planner.go. The Patrol proposal broker
(internal/api/patrol_action_broker.go) is part of that same API-owned
boundary: storage/recovery surfaces must not treat Patrol-proposed action
audits (origin surface patrol) as a storage-local execution channel or
mint their own proposal origins, and they must not subscribe storage-local
side effects to the API-owned org-scoped action-transition hook.
Patrol continuity re-reads action audits by id or trusted origin and treats
callback payloads only as wakeups. The underlying SQLite origin path persists
absent origins as NULL and guards JSON extraction/indexing with json_valid,
so legacy empty values cannot make audit insertion or recovery fail. Storage
and recovery consumers may observe the reconciled result but must not cache a
second authoritative Patrol action state.
Storage/recovery surfaces may consume unified-resource platformScopes as
read-only platform membership context, but they must not reinterpret runtime
scope overlap as storage or recovery ownership. A Docker workload that also
belongs to an owning platform remains governed by the resource, policy, and
backup capability contracts exposed by unified resources and the shared API
boundary.
Action list/detail reads may attach the current canonical resource name and
contract type as a sibling resource presentation object. Storage and recovery
consumers may show that metadata, but restore or remediation authority remains
bound to request.resourceId, the reviewed plan hash, and the durable action
record. A resource rename or an unavailable presentation projection must never
retarget execution, invalidate recovery evidence, or make an existing audit
unreadable.
Successful action plans also remain API-owned audit facts before
storage/recovery surfaces consume them: approval-required plans must persist
as pending_approval with initial lifecycle evidence, and retry/idempotency
handling must not duplicate those lifecycle events. Storage/recovery
approval or rejection decisions must route through
POST /api/actions/{id}/decision, which records the API-owned audit decision
without executing the underlying capability. Any storage/recovery execution
handoff for the approved action must route through
POST /api/actions/{id}/execute so the API-owned action audit records
executing before dispatch and the terminal result afterward instead of
creating storage-local action transport. The API execution gate also owns
stale-plan protection: if the current resource or capability no longer hashes
to the stored plan, execution must fail as action_plan_drift with a failed
audit row and plan_drift: result before any provider restore/remediation
driver runs. Dry-run-only plans remain planning
evidence only; storage and recovery surfaces must not present them as
executable, dispatch them through provider-local restore/remediation paths, or
bypass the API fail-closed execution gate.
Storage/recovery consumers of agent-surface action failures must use the
shared internal/agentcapabilities error envelope and
agentcapabilities.AgentErrCode* vocabulary emitted by internal/api/; they
may explain action_plan_drift, missing resources, unavailable executors, or
approval-state failures, but must not mint storage-local error codes or branch
on handler-local string copies outside the canonical manifest vocabulary.
Docker / Podman start, stop, and restart actions are adjacent runtime actions,
not storage or recovery controls: storage/recovery consumers may render their
redacted action history as context, but must not treat container lifecycle
capabilities, DockerData, or agent command verification as backup freshness,
restore support, or a recovery-local execution path. When the API-owned Docker
lifecycle executor resolves a command agent by Docker source ID or canonical
host name and dispatches a trusted internal container command after action
approval, storage and recovery consumers may observe only the resulting action
audit and verification evidence; they must not reinterpret that trusted command
path as recovery authority or a storage-owned action transport. Canonical
Docker action evidence preserves both the raw, freshness-validated observer
clock and the server receipt clock. Storage/recovery consumers must not treat
bounded positive skew as recovery failure or rewrite timestamps to make stale
or excessively future evidence appear valid.
Container restart declares rollback unavailable. Its canonical
ActionResultV2.compensation therefore records support unavailable and status
not_available; neither same-agent readback nor a distinct direct-daemon
observation creates rollback authority. Removing an exactly labelled disposable
lab fixture is test-environment cleanup compensation only, never product
rollback or evidence that Pulse can restore the restarted process. Dispatch,
callback loss, and process-restart recovery remain on the shared action attempt
and operation-receipt journal: reconciliation queries the bound attempt/receipt
without blind redispatch, and an interrupted, missing, conflicting, or
tombstoned receipt cannot authorize another mutation. Storage/recovery code must
not add a Docker-specific receipt journal, infer restore readiness from a
terminal container action, or represent cleanup as recovery compensation.
Query-only reconciliation routes that receipt through the immutable action id
and operation kind recorded on the admitted dispatch attempt, not through the
resource's current capability inventory. A completed mutation may replace the
resource, while a safe update preflight refusal may remove the capability that
admitted the action; neither condition may strand terminal agent truth or
authorize redispatch. This routing remains API/action-lifecycle authority, and
storage/recovery consumers gain no executor selection or recovery authority
from the operation binding.
Disconnected command-agent readiness for those lifecycle actions remains an
API/runtime fail-closed condition; storage/recovery consumers may observe that
an action is unavailable, but must not reinterpret it as recovery degradation
or attempt a recovery-local container command path. Typed resource
actionReadiness reasons are operator explanation only in this subsystem, not
backup freshness, restore support, or recovery action authority.
Agent-managed host package updates follow the same boundary. The API-owned
internal/api/host_update_action_executor.go may dispatch only the closed,
fingerprint-bound install_os_updates operation after canonical lifecycle
approval. Storage/recovery consumers may observe its redacted audit outcome and
reboot-required fact as context, but must not treat package installation as
storage maintenance, recovery evidence, or a storage-owned mutation path.
The adjacent action_preflight request for a package update or package-cache
cleanup is API/action-lifecycle and agent-transport readiness evidence only.
Storage/recovery may display its bounded refusal reason but must not treat that
read-only exact-digest check as storage repair, cleanup execution, recovery
proof, a reservation on package-manager state, or authority to bypass the
second precondition check at durable dispatch.
The API-owned internal/api/host_storage_cleanup_action_executor.go is a
narrow exception only in product purpose, not ownership: it may reclaim the
fixed APT package cache through the canonical action lifecycle when the cache's
actual filesystem is pressured. Storage/recovery consumers may observe its
redacted byte outcome as operational context, but package-cache deletion is
not backup pruning, restore evidence, arbitrary path cleanup, or a
storage-owned executor.
For Proxmox VM and system-container resources, a node-agent-backed workload
discoveryTarget is shared API and unified-resource evidence only;
storage/recovery consumers may use it to reach the canonical action path, but
must not treat it as backup visibility, restore authority, or storage-local
command ownership.
The agent resource-context endpoint follows the same adjacent-evidence rule for
storage/recovery consumers: bounded context sections, provenance, redactions,
and recent action counts may help explain a workload or protected service, but
they must not create restore authority, backup visibility, storage-local
approval policy, or a bypass around the API-owned action and recovery
contracts.
Assistant session rename through PATCH /api/ai/sessions/{id} is also only
browser-safe history metadata for storage/recovery consumers. A renamed
conversation may make protected-item investigation easier to find, but title
text must not become backup coverage evidence, restore entitlement,
storage-owner identity, approval policy, or a provider-local recovery command
handoff.
Assistant session undo/redo through POST /api/ai/sessions/{id}/undo and
POST /api/ai/sessions/{id}/redo is likewise adjacent conversation repair
state only. A restored prompt or restored message count may help an operator
continue a protected-item investigation, but it must not become backup coverage
evidence, recovery freshness, restore entitlement, storage-owner identity,
approval policy, or a provider-local recovery command handoff.
The POST-only guard on Assistant session mutations (/abort,
/summarize, /fork, /undo, /redo, /steer; 405 with Allow: POST
for any other method that reaches the handler) is transport hardening in
internal/api/ai_handler.go.
It opens no storage, backup, or recovery read or write path, and a rejected
request never reaches session state.
Approved Assistant tool execution through internal/api/router_routes_ai_relay.go
is also adjacent API/AI action plumbing for storage/recovery consumers.
AssistantToolExecutor / ApprovedAssistantToolExecutor may execute an already
approved native Assistant tool. MCP remains an external adapter term, not an
approved-fix execution dependency; neither name grants backup visibility,
restore authority, storage-owner identity, or a storage-local command
transport.
Legacy OpenCode-style Assistant file-change routes under
/api/ai/sessions/{id}/diff, /revert, and /unrevert are not
storage/recovery rollback operations. If those routes are called directly, the
API must fail them as unsupported rather than presenting file diffs or reverts
as backup rollback, restore eligibility, recovery freshness, storage-owner
identity, or provider-local recovery authority.
Mock-mode Assistant chat startup through internal/api/ai_handler.go is also
only adjacent AI/runtime proof for storage/recovery consumers. The handler may
enable the Assistant runtime in memory during mock mode so the typed mock SSE
fixture works without real providers, but that effective config and paced mock
tool stream must not become backup visibility, recovery readiness, restore
authority, storage health evidence, or a recovery-local fixture path.
Storage and recovery may also consume unified-resource TrueNAS app and VM
metadata, TrueNAS native service metadata, plus TrueNAS network-share metadata,
as read-only workload, system, and storage-access context when explaining
appliance-owned storage or protected items. TrueNASData.App,
TrueNASData.VM, TrueNASData.Share, and TrueNASData.Services remain
unified-resource/platform truth sourced from the TrueNAS API; storage/recovery
must not reinterpret app containers, VM device inventory, service PIDs, share
paths, volumes, or update posture as storage ownership, restore entitlement, or
a separate Docker-only or TrueNAS-local inventory path.
Docker / Podman volume inventory and Kubernetes PersistentVolume /
PersistentVolumeClaim / StorageClass inventory are also read-only platform
context for this subsystem. Storage and recovery surfaces may use those records
to explain runtime attachment, provisioning class, or protected workload
context, but restore entitlement, storage risk, and recovery-point ownership
remain on the storage/recovery and provider contracts rather than on Docker
volume rows or Kubernetes PV/PVC/StorageClass rows. Other Kubernetes native
inventory objects that flow through the shared resource decoder, such as
ConfigMaps, Secrets, ServiceAccounts, Roles, ClusterRoles, RoleBindings,
ClusterRoleBindings, ResourceQuotas, LimitRanges, PodDisruptionBudgets, and
HorizontalPodAutoscalers, remain platform configuration, policy, RBAC, or
autoscaling evidence only and must not become storage/recovery ownership,
restore scope, or secret material. RBAC summary inventory in particular
never carries credentials or restore inputs. If those
ConfigMap or Secret rows are marked metadataOnly, storage and recovery may
surface that trust state as context only; they must not infer payload
availability, key names, or restore inputs from the row.
Docker engine /system/df storage-usage buckets are host-level runtime
capacity evidence for the Docker page and unified-resource Docker host facet;
they are not storage/recovery resources, recovery-point sources, or restore
entitlements. Docker Swarm node records are likewise runtime topology context,
not storage owners or recovery scope. Docker Swarm secrets and configs are
metadata-only runtime configuration context; secret/config payload bytes are
outside the storage/recovery contract and must not become restore material,
recovery scope, or a storage/recovery-owned secret source.
- Add or change recovery-point persistence, rollups, or series derivation through
internal/recovery/ - Route transport changes for storage and recovery endpoints through
internal/api/and the owningapi-contractsproof routes The authenticated workload-history usage intake and its bounded daily tally are adjacent privacy/API telemetry only. They record four content-free aggregate milestones and do not represent workload history data, backup history, recovery points, retention policy, restore evidence, or storage provider state; storage/recovery surfaces must not consume them as such. The schema v17 Patrol posture fields assembled throughinternal/api/(Patrol autonomy level, model route class, coarse token buckets, and investigation outcome counts) are the same kind of adjacent privacy/API telemetry: closed buckets derived from AI configuration, the local usage ledger, and the findings store. They do not represent backup history, recovery points, retention policy, restore evidence, or storage provider state, and storage/recovery surfaces must not consume them as such. The schema v18 update-discovery fields assembled throughinternal/api/(effective update channel, last update check outcome, and whether it offered a newer release) describe only Pulse server release discovery. They are not backup, retained-update-backup, rollback, or restore evidence, and storage/recovery surfaces must not consume them as such. Commercial migration startup behavior ininternal/api/licensing_handlers.goandinternal/api/licensing_bridge.goremains adjacent cloud-paid/API state. Synthetic mock-license suppression must not become a storage entitlement, recovery-readiness signal, backup artifact rule, or provider credential path. Report branding validation and reporting request assembly ininternal/api/system_settings.goandinternal/api/metrics_reporting_handlers.goremain adjacent API/security/reporting ownership. Storage and recovery workflows may consume generated report output when a separate reporting surface exposes it, but workspace logo settings are not backup artifacts, recovery-point metadata, restore evidence, or storage-provider credentials. The alert rows that request assembly builds now keep an alert's handover resolution (moved to a Pulse agent, not recovered). That changes how a report states alert health only; it opens no storage, backup or recovery path, and report backups still come from the recovery store. Machine (agent) reports now list the storage pools and physical disks whose unified parent is the machine, through the same row builders as node reports. Storage reports attach their pool's own alerts (the Proxmox source ID plus ZFS pool and device children, or the agent's alert on an Unraid array), and physical-disk reports attach the Proxmox health and wearout alerts owned by the disk's recorded hardware through the journal's shared serial/WWN and ambiguity rules, including earlier paths, rather than inheriting a replacement's current path. All of it reads the existing unified storage and disk projections only; it opens no storage, backup or recovery path and grants no storage action. Update-plan readiness payloads and apply-route readiness enforcement are adjacent shared API context only. Storage and recovery surfaces may observe the resulting update state if a future settings flow links to recovery preparation, but they must not reinterpret agent-token, agent-migration-security, or server-update readiness checks as backup readiness. Governed AI action-target normalization ininternal/api/ai_handlers.goandinternal/api/ai_resource_types.gois likewise adjacent AI/API ownership: storage and recovery may consume resulting Assistant context if exposed by another surface, but must not treat resource-to-action-target coercion as recovery scope, backup ownership, restore authorization, or storage-provider identity. Mobile onboarding QR/deep-linkinstance_urlsanitization ininternal/api/onboarding_handlers.gois also adjacent API/relay-mobile ownership. Storage and recovery consumers must not treat an omitted non-HTTPS Pulse web handoff URL as storage source identity, recovery endpoint identity, backup readiness, or restore-scope evidence. AI provider registry and/api/settings/aicredential-shape changes ininternal/api/ai_handlers.goare adjacent runtime configuration only: provider ids, default model routes, provider endpoints, API-key fields, and configured-state fields must not become backup-source identity, recovery target identity, restore authorization, storage-provider health, or recovery-point metadata. Shared API-token transport helpers may be consumed by storage/recovery- adjacent flows, butowner_user_idremains server-authored token identity metadata; storage/recovery extensions must not pass metadata that authors or overwrites that owner field. Adjacent first-run, regeneration, install, deploy-bootstrap, and enrollment token constructors must attach owner identity through the shared API/security helper, not through recovery or storage metadata maps. Shared setup-script transport may be reused by storage and recovery-linked setup flows, but it remains API/lifecycle-owned: generated PVE scripts must preserve Proxmoxauthorized_keyssymlinks by resolving the target before filtering Pulse-managed# pulse-SSH key entries, instead of letting recovery-adjacent setup replace the symlink path with a local file. Shared diagnostics routes may include Docker and Podman agent health notes, but storage/recovery does not own a recovery-local runtime vocabulary for those notes. Recovery-adjacent diagnostics consumers must preserve the source-specific Docker / Podman wording and recovery destinations governed by the shared diagnostics API contract. Hosted Pulse Account may deep-link a client workspace handoff to reporting surfaces such as/settings/support/reporting, but that target is a signed tenant-local navigation hint only. Storage/recovery must not treat control- plane handoff target paths as recovery-point selectors, restore scope, backup freshness evidence, report-generation authority, or a storage-owned redirect channel; report and backup API payloads remain owned by their tenant runtime routes. When sharedinternal/api/handlers expose structured Patrol readiness or provider/model/tool causes, storage and recovery surfaces may treat them only as adjacent operator context and must not convert them into storage health, recovery execution, or backup remediation authority. The same rule covers the operator-facingimpactandrecommendationfields propagated throughinternal/api/router.goFinding to UnifiedFinding conversion: storage and recovery surfaces may render them as adjacent finding context but must not reinterpret them as backup, restore, or storage remediation authority. Shared agent event and resource-context transport follows the same adjacent context boundary: monitoring/read API tokens receive redacted approval, action, and verification command payloads (commandRedacted:true) unless they also hold action execution scope. Storage and recovery consumers may display those redacted records as status or evidence, and action-audit verification command/output/note details read back from migrated legacy rows must remain stable redaction markers rather than raw historical details. Storage and recovery consumers must not derive backup, restore, storage remediation, or execution authority from the event stream or resource-context bundle. Theprevious_resolved_fix_summaryoperational-memory field carried on findings across regressions follows the same scope: storage and recovery surfaces may render it as adjacent finding context but must not auto-apply the recorded fix description as a backup, restore, or storage remediation action; replaying a prior fix is the action broker's authority, not the storage/recovery surface's. Thetrustblock on the patrol-status response (FindingsTrustSummary) follows the same scope: storage and recovery surfaces may read it as adjacent operator context but must not derive backup, restore, or storage remediation authority from any of its counters. Patrol finding lifecycle payloads exposed by shared AI handlers follow that same adjacent boundary: fields such as an operator resolution note are AI-runtime/API-contract vocabulary and persistence context, not backup metadata, restore evidence, storage remediation authority, or a recovery execution contract. Shared Patrol autonomy routes may also touch broadinternal/api/wiring, but monitor-mode AI configuration and remediation entitlement responses stay AI runtime/API-contract owned and must not become recovery-local policy, storage remediation authority, or storage-specific license semantics. Clearing stale full-mode unlock state through that monitor-only save path is likewise an AI runtime entitlement clamp, not recovery approval state or storage remediation permission. Adjacent Docker / Podman management routes may also shareinternal/api/transport with storage/recovery. Storage and recovery consumers must preserve the API-owned Docker / Podman module or host wording for management responses and must not introduce recovery-local container-runtime labels. Pro update credential wiring and update-broker transport ininternal/api/router.goand the update handlers are server self-update plumbing, not storage or recovery surface: storage and recovery must not consume them, and the pre-update backup and rollback machinery ininternal/updatesstays identical for community and private Pro archives so recovery semantics never fork by edition. That machinery lives solely in theinternal/updates/manager.goapply pipeline; the deployment adapters behind the update-plan endpoint are plan providers only and own no download, restore, or rollback path. The sanctioned rollback behindPOST /api/updates/rollbackrestores the updater's own retained pre-update backup (binary, data, config, env, VERSION) through that same manager pipeline; it is server self-update recovery, purely local with no broker or edition fork, and storage/recovery surfaces must not read it as guest backup, datastore restore, or recovery-point coverage. Proxmox-side LXC Docker inventory wiring may also pass throughinternal/api/router.goand Proxmox agent install-command generation, but storage and recovery may consume the resulting app-container/resource context only as workload inventory. The--enable-commandsinstall opt-in for host-side Docker-in-LXC collection must not be reinterpreted as backup freshness, restore coverage, storage protection evidence, or remediation authority for the LXC guest. Adjacent Proxmox VM/LXC lifecycle actions may also pass through the shared API action executor and Proxmox node command-agent path, but storage and recovery may consume their audit and refreshed resource state only as operator context. Start, shutdown, reboot, or hard stop capability must not be reinterpreted as backup freshness, restore safety, recovery entitlement, or storage-local remediation authority. Proxmox auto-registration dedupe for cluster-member endpoints is likewise adjacent API/lifecycle continuity: treating a non-primary cluster endpoint as already registered prevents accidental shared-token rotation, but it does not create backup visibility, recovery readiness, restore scope, or storage-local authority for that endpoint. Global resource timeline routing may also pass through sharedinternal/api/handlers. Storage and recovery surfaces may read canonical timeline records as adjacent evidence, but they must not reinterpret an unscoped/api/resources/timelineprovider activity row as backup freshness, restore coverage, storage protection, or remediation authority. That same adjacent API/security boundary owns CSRF replacement-token concurrency for browser mutations. Storage and recovery forms may benefit from the shared retry behavior when parallel requests receive replacement CSRF cookies, but they must not define storage-local CSRF retention, alternate retry tokens, or recovery-specific auth bypass semantics. That same adjacent API boundary also owns TrueNAS feature-default semantics for provider-backed recovery: storage and recovery must treattruenas_disabledas an explicit platform opt-out, not as the baseline onboarding state for a supported platform. That same adjacent API boundary also owns organization-share target-consent semantics. Wheninternal/api/org_handlers.goand adjacent route wiring evolve cross-organization sharing, storage and recovery may consume the resulting org-scoped access only after the canonical target organization has accepted the share; they must not treat pending share requests as live recovery access or invent storage-local approval bypasses. That same adjacent API boundary also owns signed release-asset download continuity when shared helpers serve installer or unified-agent assets: storage- and recovery-adjacent callers may reuse the sharedinternal/api/unified_agent.gopath, but they must not fork a second checksum or detached-signature vocabulary away from the canonicalX-Checksum-Sha256,X-Signature-Ed25519, and base64-encodedX-Signature-SSHSIGcontract. When that adjacent unified-agent download path is missing a local dev binary, its operator guidance must remain scoped to the requested OS/architecture. Storage/recovery-adjacent support flows may observe that error, but they must not hard-code a Linux-only rebuild command or infer recovery ownership from a missing macOS, Windows, FreeBSD, or Linux agent artifact. That same adjacent API boundary also owns pre-auth local recovery containment. Storage- and recovery-adjacent quick setup or break-glass routes may exist before auth is configured, but they must stay direct-loopback only, keep recovery-token validation bound to the generating client IP, and mint or clear browser recovery sessions instead of toggling a shared.auth_recoveryfile for every localhost caller. Shared auth probes and router bypasses on that adjacent API boundary must preserve route ownership: missing credentials must return an explicit auth response, route-specific setup/recovery errors must not be overwritten by a second generic auth body, and/api/config/exportor/api/config/importbypass entries must still leave public-network and credential decisions to their route-local handlers. That same adjacent token boundary does not make Relay mobile credentials available to storage/recovery flows.POST /api/security/tokens/relay-mobilemust stay API/security and Relay-entitlement owned, require the paidrelayfeature before minting, and must not be reused as a recovery session, export/import bypass, or storage-local credential transport. That same adjacent API boundary also owns monitored-system impact preview transport for provider-backed setup context./api/truenas/connections/preview,/api/truenas/connections/{id}/preview,/api/vmware/connections/preview, and/api/vmware/connections/{id}/previewmay surface canonical current/projected grouped systems for setup and support clarity, but storage and recovery must not reinterpret those routes as recovery-local onboarding, restore APIs, or commercial limit verdicts. That same adjacent monitored-system boundary also depends on restart-safe standalone host continuity. Storage- and recovery-adjacent setup or support flows may observe a returning host after server restart, but they must not reinterpret that gap as a new counted system or invent a storage-local grace rule when the shared API and monitoring boundary already carry recent host continuity. Any adjacent list surfaces that reuseinternal/api/resourceapi/resources.gomust also preserve the canonical unified-resourcename -> type -> idorder so duplicate-name storage and recovery resources do not reshuffle between cold hydrate, paginated reads, and later live runtime updates. If those same surfaces cold-hydrate from websocketstate.resources, the state payload must publish the same canonical resource types and display labels as/api/resourcesso storage and recovery do not momentarily switch between legacy and canonical infrastructure identities within one session. WebSocket current-state refreshes are an API/monitoring invalidation mechanism. Storage and recovery consumers may observe refreshed canonical resource, backup, and recovery state after the hub resolves the coalesced payload, but they must not treat the refresh event itself as backup evidence, recovery coverage proof, recovery-job state, or storage-health verification. Adjacent list surfaces that build/api/resourcesqueries with standard browser encoders must also treat%2Cseparators the same as literal comma-separated type filters, so storage and recovery consumers do not lose canonical Docker host, agent, or workload rows when sharing the unified resource endpoint. That same adjacent API boundary now also owns SSO outbound discovery and metadata fetch trust: storage- and recovery-adjacent surfaces may shareinternal/api/sso_outbound.go,internal/api/saml_service.go, andinternal/api/oidc_service.go, but they must not fork separate metadata/discovery HTTP clients, redirect policies, or credential-file read rules when they depend on shared backend auth helpers. That same adjacent security-status boundary now also owns paid prompt suppression for storage/recovery-adjacent primitives. History and recovery copy may describe unavailable local capability, but ordinary self-hosted v6 installs must not reinterpretpresentationPolicy.hideUpgradeas a license upsell opportunity or surface paid history/recovery upgrade prompts by default.hideUpgradeis now served false on compiled Pro-edition binaries even before license activation (edition-derived commercial context), so storage/recovery surfaces must keep following the served policy verbatim in both directions: they may show their existing gated-capability affordances when the policy exposes them, and they must not add edition- or license-sniffing of their own to re-suppress or re-expose paid prompts. - Route canonical storage/recovery resource selection through
frontend-modern/src/hooks/useUnifiedResources.tsand the owningunified-resourcescontract REST projection retains its validated source list onresource.sourcesas well as platform metadata, so owning-snapshot consumers keep the same provider context as websocket consumers. That provenance describes inventory; it supplies no fresh storage observation, protection verdict or recovery grant. That shared hook now also projects resourceclusterIdthrough the shared cluster-name helper, so storage and recovery links keep the same cluster-context label as other unified-resource consumers instead of rebuilding a local fallback chain. That shared hook plus the adjacent websocket/store adapter path must keep realtime transport merges canonical for storage/recovery consumers too: thinner websocketstate.resourcespayloads may refresh status and metrics, but they must not downgrade richer REST-hydrated platform summary fields or synthesize standaloneclusterIdvalues from resource names while the same session is open. For the default immediate-hydration path, storage and recovery consumers must also wait for the first canonical REST snapshot instead of painting thinner websocket transport rows first and then rehydrating into a richer canonical shape a moment later. Websocket-first unified-resource hydration is an explicit consumer opt-in, not the storage/recovery default. Infrastructure may use that opt-in for connected-system continuity only with delayed canonical REST revalidation; storage and recovery routes must continue to require canonical REST first unless their own contract is updated with equivalent shape-stability proof. The shareduseUnifiedResources()scope lifecycle is also a stability boundary for storage/recovery consumers: org-scope or enabled-state changes must invalidate stale in-flight REST refreshes before their errors or request-guard cleanup can leak into the active resource snapshot. The shared hook's realtime tick path may read the connection store lazily — skipping revisions the shared canonical cache already holds, catching up multi-revision gaps through the store's bounded changed-id history union, and dereferencing raw store subtrees only for rows the delta merge will clone — but that optimization must stay invisible to storage/recovery consumers: it must not change which canonical fields a merged row carries, must not reorder the REST-first hydration guarantee above, and a skipped store read must never leave a storage/recovery projection behind the shared cache's applied revision. The shared hook's full merge also clones the connection store's rows before merging them, so a cached storage/recovery row never shares a nested array with a row the store reconciles in place, and the browser no longer re-joins same-hostname host rows itself (each server row is one display row, as the server's presentation coalesce delivers it). Neither may change which canonical storage, disk, or recovery fields a merged row carries. The same invisibility bound covers the per-key fast merge: a changed row whose recorded patch keys stay within the metric fast-path allow-list may be merged as the previous display row with only the patched subtrees cloned in, and committed to instance projections as per-key subtree writes — but the result must stay content-equivalent to the full clone-canonicalize-merge. Thestoragefacet, structuralplatformDatakeys, and identity fields are all outside the allow-list, so a patch touching any of them forces the full merge path, and no storage/recovery-visible field may change value, presence, or merge semantics because of the fast path. Shared chart transports ininternal/api/chartapi/service.gomust follow the same rule in mock mode:/api/storage-chartsand adjacent infrastructure chart payloads must read throughGetUnifiedReadStateOrSnapshot()so storage and recovery consumers stay aligned with the canonical mock unified snapshot instead of slipping onto the live store graph. That sameinternal/api/demo boundary must keep runtime-admin operations hidden from public preview sessions:/api/diagnostics,/api/diagnostics/docker/prepare-token, and/api/logs/*must not remain readable side channels while storage or recovery demo routes are otherwise presented as read-only product surfaces.GETandHEADreads for/api/admin/usersand manual discovery at/api/discovermust stay hidden for the same reason; recovery-adjacent pages must not treat those admin-oriented read routes as safe public-demo evidence. Storage/recovery-adjacent diagnostics copy that references Docker / Podman runtime coverage must also inherit the canonical installed-agent identity: the coverage comes from Docker / Podman modules insidepulse-agent, not from a separate Docker-specific agent product. Storage and recovery consumers must also inherit the hook's canonicalResourceTypenormalization for route/query filters, so storage subtypes such asphysical_diskstay on the same cache-backed snapshot instead of relying on storage-local filter aliases. Storage and recovery consumers that need estate data-governance posture must read the hook's resource API-backedpolicyPosture()accessor rather than deriving sensitivity, routing, or redaction counts from storage-local tables, AI summary payloads, or route filters. Optional selector shells that only surface storage/recovery counts when they are visible must now pass an explicit enabled gate into that shared hook and any adjacent recovery-rollup query, so hidden workload-route selectors do not hydrate storage/recovery transport on the protected hot path. - Preserve API-owned node identity continuity in shared
internal/api/helpers so storage and recovery transport attachments do not fork by hostname-versus-IP drift across the same runtime. That same adjacentinternal/api/boundary also owns canonical host-alias propagation on grouped-system and attached-connection payloads.internal/api/connections_types.go,internal/api/connections_grouping.go, andinternal/api/connections_aggregator.gomust publish normalizedhostAliaseswhenever shared discovery or provider-backed inventory could observe the same node by hostname and IP, so storage- and recovery-adjacent consumers inherit one canonical represented-host identity instead of inventing local merge heuristics. When those aliases uniquely identify one enabled single-host API source (including PBS) and one Pulse Agent, the API-owned grouped systems payload must compose them into one source row rather than expose duplicate machine rows. PBS connection aliases include the hostname the PBS node reports about itself (models.PBSInstance.NodeName, captured during the PBS poll), so this composition holds even when the PBS connection is configured by an IP or DNS alias the agent never reports. This is presentation and collection-method composition only: agent liveness cannot become PBS reachability, backup freshness, protection, or recovery evidence, and the reported node name is grouping identity, not a storage or recovery health input. Storage and recovery may also observe/api/connectionsagent command-policy and config-rollout state from this adjacent API boundary, but that state must already be token-gated by agent lifecycle. It must not be reinterpreted as storage readiness, protected-system ownership, backup visibility, or a recovery-local command grant. Approved-action tool invocation parsing ininternal/api/router_routes_ai_relay.gois also adjacent API infrastructure rather than storage/recovery grammar: storage and recovery surfaces may consume governed Pulse tool execution results, but parsingpulse_*text invocations,default_api:prefixes, and quoted arguments must stay ininternal/agentcapabilities. Native Assistant workflow-prompt rendering throughPOST /api/ai/workflow-prompts/renderis the same kind of adjacent AI-runtime/API-contract transport: storage and recovery may provide context that makes a manifest-owned Assistant starter usable, but the sharedBuildPulseWorkflowPromptFromManifestrender contract, rendered prompt text, prompt argument validation, and starter availability must not become recovery-local route state, restore authority, or backup workflow grammar. That same adjacentinternal/api/boundary also keeps public hosted signup commercial-only: storage and recovery surfaces must not infer tenant existence, email issuance, or readiness from/api/public/signupresponse codes or payload fields when shared backend API helpers change nearby, and they must not treat that response as a source for owner identity because the stable hosted owner principal is server-side org metadata resolved later through magic-link verification. - Preserve fail-closed API assignment and lookup behavior in shared
internal/api/helpers so storage and recovery surfaces do not inherit orphaned profile or resource references from unrelated transport mutations. Preserve fail-closed proxy-auth administrator evaluation in those same shared helpers as an adjacent security/API boundary: storage and recovery surfaces may consume an already-authorized admin request, but they must not infer storage, restore, or protected-system authority from a proxy-auth user whose configured role header is missing or blank. SSO session display labels in those shared helpers are also adjacent security/API presentation state only. Storage and recovery surfaces may show the current user's display label when a parent shell provides it, but backup visibility, restore authority, protected-system ownership, and recovery-local audit attribution must continue to use backend-authenticated stable principals and storage/recovery resource identities. - Preserve canonical configured public endpoint selection in shared
internal/api/helpers so recovery and storage links do not inherit loopback-local scheme drift from admin-originated setup/install flows. - Preserve trailing-slash normalization in those shared install-command helpers so recovery-adjacent transport and link surfaces do not inherit double-slash installer paths or slash-suffixed public endpoint drift from canonical backend install payloads.
- Preserve canonical /api/auto-register token-action truth in shared
internal/api/helpers so adjacent setup and recovery-adjacent transport flows stay on caller-supplied credential completion instead of reviving deleted alternate completion modes. - Preserve the canonical setup-script
source="script"marker through those same shared auto-register helpers, and reject non-canonical source labels there, so later canonical reruns can keep treating script-confirmed tokens differently from agent-created tokens without reviving arbitrary caller-label compatibility. - Preserve the canonical auto-register node-type boundary in those same shared helpers so only supported
pveandpbsregistrations can complete, and unsupported runtime labels cannot bleed fake node identities into adjacent transport or recovery-adjacent state. - Preserve the canonical auto-register token-identity boundary in those same shared helpers so only Pulse-managed
pulse-monitor@{pve|pbs}!pulse-<canonical-scope-slug>token IDs matching the requested node type can complete, and arbitrary, cross-type, or non-Pulse-managed token identities cannot bleed into adjacent transport or recovery-adjacent state. Preserve canonical auto-register event intent in those same shared helpers: only first-time node creation may emit the toast-bearingnode_auto_registeredWebSocket event, while idempotent existing-node refreshes must stay on non-toast configuration-change events so adjacent storage/recovery transport does not infer a second protected-system admission from a credential refresh. The event data must preserve the canonical registrationsourceso script-created and agent-created lifecycle events remain distinguishable without re-reading setup state. That same adjacent transport boundary must also preserve disabled provider-connection admission truth. Storage- and recovery-adjacent setup surfaces may reflect zero-delta or removal-only monitored-system previews for disabled TrueNAS and VMware connections, but they must not reinterpret those responses as active counted storage capacity. That same shared helper boundary also owns script teardown symmetry:/api/auto-unregistermust remove the matching script-managed PVE/PBS node immediately, return the canonical success/noop envelope, and trigger the same discovery-refresh plus node-deleted websocket side effects as a manual delete so adjacent recovery/storage surfaces do not retain stale provider context after Pulse credentials have been removed from the host. - Preserve canonical /api/auto-register DHCP continuity in those shared helpers so a PVE or PBS node that reruns registration from a new IP with the same canonical node name and deterministic Pulse-managed token identity updates in place instead of duplicating the inventory record.
Known contradictory TLS fingerprints must veto inferred resolved-address,
changed-address name/token, and cluster-member continuity matches so
separate protected sources are not overwritten when sites reuse node
names, token identities, or private address ranges. An exact stored
endpoint remains authoritative for in-place certificate rotation.
That same shared helper boundary now also owns runtime-side Proxmox
candidateHostsselection from Pulse's network view: storage and recovery-adjacent transport flows may not bypass server-side reachable-host selection or persist the caller's first preferred host when the canonical auto-register helper has already chosen a different reachable endpoint. That same shared dependency also assumes the helper only persistsVerifySSL=truefor the selected Proxmox host when Pulse actually captured that host's certificate fingerprint, so adjacent setup and recovery-linked transport flows do not inherit a false strict-TLS claim for self-signed nodes that never completed fingerprint capture. That same shared dependency now also owns stale-marker repair truth: setup-token-authenticatedcheckRegistrationcalls may omit token completion fields and answer only{registered:boolean}, so adjacent transport flows must not reintroduce local marker trust or token rotation when the canonical auto-register helper can verify whether Pulse still has a matching node. - Preserve the governed root-or-sudo Unix wrapper in shared backend install-command helpers so storage- and recovery-adjacent transport surfaces do not inherit a stale raw
| bash -s --install payload shape from the canonical agent-install-command API and hosted Proxmox install responses. Token-bearing commands create the token only inside a root-owned mode-0700 bootstrap directory after elevation, install it at mode 0600, and remove the directory on exit; an invoking-user-owned temporary file is not valid root-installer credential state. - Preserve optional-auth tokenless behavior in those same shared backend install-command helpers so adjacent transport surfaces do not implicitly persist API tokens and flip auth-configured state when an operator only requested a Proxmox install command on a token-optional Pulse instance.
- Preserve backend-owned Pulse Mobile relay runtime credential minting in those same shared
internal/api/auth/security helpers so storage- and recovery-adjacent transport surfaces do not inherit browser-authored wildcard token bundles when they depend on the canonical security helper layer. - Preserve the dedicated backend-owned
relay:mobile:accesscapability and its governed backward-compatible route inventory plus the shared helper call sites around it, so storage- and recovery-adjacent transport surfaces do not treat the mobile relay credential as a general AI scope bundle. That same sharedinternal/api/machine boundary also owns hosted entitlement refresh targeting: when storage- or recovery-adjacent hosted routes execute under a tenant org without org-local billing state, the refresh path must repair the instance-leveldefaultlease and evaluator instead of rewriting the empty tenant org, so AI-guided recovery and hosted diagnostics do not collapse into false free-tier behavior. - Preserve shipped local security-doc guidance in shared
internal/api/config/setup helpers so storage- and recovery-adjacent transport surfaces do not reintroduce GitHubmainsecurity links when the running build already serves its own local security documentation route. - Keep shared
internal/api/Patrol transport and alert-trigger edits feature-isolated: Patrol-specific recency fields, callback fan-out, or alert-bridge wiring changes must not leak into recovery queries, storage links, or recovery-adjacent install/setup flows unless this contract changes in the same slice. Retained Patrol objective routes follow the same adjacency rule. A brief, canonical resource scope, observer lifecycle, or derived coverage state is AI/runtime plus API-contract context; storage and recovery consumers must not treat it as backup evidence, restore coverage, storage health, recovery-point identity, restore authority, or proof that a protected-system observer exists. The same adjacency rule applies to AI settings transport ininternal/api/ai_handlers.go: provider auth state, masked-secret payload fields, provider-test model selection, safe provider preflight diagnostics, and legacy Anthropic OAuth cleanup fields remain AI/runtime plus API-contract concerns and must not be absorbed into storage/recovery transport ownership just because those handlers live under the shared backend API tree. Storage/recovery-adjacent consumers may preserve or clear legacy OAuth tokens only through the shared AI settings owner; they must not treat stored OAuth tokens orauth_method=oauthas recovery capability, provider readiness, restore authority, or an AI-backed storage support signal. Patrol readiness labels on the same settings payload, including the user-facing Patrol control label for the stableconfigurationcheck ID, are AI/runtime plus API-contract wording and must not be reinterpreted as backup visibility, restore authority, recovery readiness, or storage-source health. The same adjacency rule applies to Pulse Assistant chat SSE progress ininternal/api/ai_handler.go: neutralworkflow_statetransport liveness such asstream_idle, provider startup, retry, fallback, and model-thinking status is Assistant/API progress only, not recovery acquisition, restore identity, backup task freshness, storage-provider health, or storage/recovery job progress. The native Assistant surface-tool inventory atGET /api/ai/assistant/surface-toolsfollows the same adjacent boundary: storage/recovery surfaces may display Assistant tool availability, but must not treat it as backup visibility, restore authority, recovery readiness, storage-health evidence, or storage/recovery job progress. Direct alert-investigation execution controls ininternal/api/ai_handlers.gofollow that same split: request-scopedAutonomousMode:falseandRequireCommandApproval:trueare AI action-governance constraints, not storage/recovery restore approval, recovery freshness, or storage diagnostic payload semantics. Visiblestream_idleworkflow progress on legacy Assistant SSE routes ininternal/api/ai_handlers.go, including direct execute and alert investigation streams, is likewise Assistant/API transport liveness only, not recovery acquisition progress, backup task freshness, restore readiness, provider health, or storage/recovery job status. The AI-runtime model-boundary sanitizer that governs how much Assistant infrastructure context reaches cloud models (credentials and local-only resources always withheld) is not a storage/recovery restore approval, backup freshness, recovery-scope, or restore-command signal. Patrol finding chat handoff execution controls ininternal/api/ai_handler.gofollow the same boundary: the backend-forced approval-required mode forfinding_idhandoffs with model-only Patrol briefing, resource, or action context is Assistant action-governance, not a storage/recovery approval, recovery freshness, or restore-command signal. If the resolvedfinding_idrequest also carries recognized same-finding Patrol product handoff context, resources, or action references, the merged model-only context remains secondary to backend-refreshed finding context and must not become storage freshness, restore eligibility, recovery execution authority, or a storage-local approval shortcut. Patrol run chat handoffs through that same shared handler follow the same adjacent-boundary rule. A run ID may let AI runtime rebuild model-only run context from Patrol history, but scoped storage resources or runtime failure details attached to that briefing are review context only and must not become backup freshness evidence, restore eligibility, storage health truth, or recovery execution authority. Alert, incident, and Patrol attention Assistant handoffs that send bounded model-onlyhandoff_context,handoff_resources, orhandoff_actionsthrough/api/ai/chatwithout afinding_idstay on that same adjacent AI/runtime boundary. Storage and recovery surfaces may consume the explanation context, but must not treat the handoff resource or action reference as backup freshness, restore eligibility, recovery execution authority, storage health truth, or a storage-local approval shortcut. Resource-context Assistant handoffs throughinternal/api/ai_handler.gofollow the same adjacent-boundary rule: storage or recovery resources may enter Assistant only as selected-resource, model-only context, not as a provider command, recovery action, raw path/config disclosure, or storage/recovery execution authority unless a governed action or recovery contract explicitly owns that operation. That same adjacent boundary also keeps the retired Patrol quickstart contract out of storage/recovery ownership: shared AI handlers no longer expose active quickstart credit, token, or hosted-model provider state, and storage/recovery surfaces must not reintroduce local quickstart accounting, token lifecycle, anonymous bootstrap identity, fake activation records, or commercial identity rules. That shared AI settings payload is also intentionally vendor-neutral: storage/recovery-adjacent consumers may see oldquickstart:*values only as compatibility data being cleared by the shared settings helpers, and they must not treat vendor model IDs or quickstart upstream-model defaults as part of storage/recovery transport ownership or route behavior. Structured Patrol investigation records follow that same adjacent-boundary rule. Storage and recovery surfaces may consume the resource context in a sharedinvestigation_record, but they must not reinterpret that record as recovery freshness, restore support, backup cadence, or storage-local action authority. Assistant chat summaries built fromfinding_idremain AI/runtime context; storage and recovery may read the resulting guidance only as adjacent investigation context, not as a recovery support verdict or restore execution contract. If that guidance is passed as model-only Assistant handoff context instead of persisted prompt text, the boundary is unchanged. If the same handoff seeds Assistant resolved-resource scope, that scope remains AI/runtime action-validation context only and still cannot become backup freshness, restore eligibility, or storage-local recovery authority. If Assistant stores the originating finding ID to refresh current unified finding and investigation-record context on follow-up turns, that stored reference is still an adjacent AI/runtime context selector and must not become backup freshness, restore support, recovery execution authority, or storage-local lifecycle state. Clearing that handoff when the current finding no longer resolves is adjacent AI/runtime invalidation, not a recovery freshness or restore-support decision. Structured action or approval references carried by that handoff are also adjacent AI/runtime review metadata only, including when Assistant recovers the current live Patrol approval by finding ID before building model-only action context. Unified finding lifecycle facts, latest lifecycle event briefing lines, and detailed lifecycle context carried by the same handoff remain Patrol/AI review metadata and must not become backup recency, restore support, or storage-local lifecycle state. Primary finding recency, evidence, verification, and governed action artifact facts in the finding briefing and related root-cause or correlated finding summaries resolved for that Assistant handoff are also adjacent AI/runtime explanation context only, including any recency or latest lifecycle facts attached to those related summaries; storage and recovery surfaces must not reinterpret those related records or their seeded handoff resources as backup freshness, restore eligibility, recovery execution authority, or storage-local capability truth. Current resource-state, source-health, incident, metric, and capability summaries carried by that handoff are also adjacent AI/runtime context and must not become backup freshness, restore eligibility, recovery execution authority, or storage-local capability truth. storage and recovery surfaces must not reinterpret approval IDs, action IDs, action lifecycle state, fix IDs, risk, or target labels as restore support, backup freshness, recovery execution authority, or a storage-local approval bypass. Any refreshed approval or action-audit status snapshot in Assistant handoff context is still read-only AI/runtime context and must not become recovery freshness, restore eligibility, or storage-local execution state. Finding briefings generated for those same Assistant finding handoffs are also adjacent AI/runtime context only: storage and recovery surfaces may read their Patrol conclusion and bounded evidence as investigation context, but must not reinterpret the briefing as backup recency, restore support, Patrol-authored remediation guidance, or storage-local action authority. Saved Assistant message history exposed by the shared AI endpoints follows that same adjacent boundary. Storage and recovery surfaces may consume only the API-owned client-safe transcript projection; hidden provider reasoning, rawpulse_*/patrol_*tool-call prose, token accounting text, and provider thinking text are not recovery evidence, backup freshness, restore eligibility, storage-local approval state, or recovery execution authority. API-facing Assistant chat tool calls projected throughinternal/api/chat_service_adapter.gomust stay on the sharedagentcapabilitiesprovider-call shape; storage and recovery consumers must not reinterpret Assistant transcript tool-call IDs, inputs, output, success flags, or provider continuation metadata as backup coverage, recovery freshness, restore support, or storage-local action authority. Searchable Assistant session-list queries onGET /api/ai/sessionsremain the same adjacent browser-safe history navigation projection: storage and recovery surfaces may not reinterpret search hits, handoff summaries, or message counts as backup coverage, recovery freshness, restore capability, or storage-local action authority. The Pulse Intelligence agent capability manifest ininternal/agentcapabilities/manifest.gofollows the same adjacency rule: external-agent tool metadata, action-mode governance, shared external-tool projection helpers, shared schema-envelope helpers, and typed MCP argument schemas may mention storage-adjacent resources, but they are not recovery-point sources, restore authority, storage ownership, or storage/recovery-owned API contracts. Native Pulse Assistant provider seams and native tool-adapter names in sharedinternal/api/ai_handler.go,internal/api/agent_profiles_tools.go,internal/api/router.go, andinternal/api/router_routes_ai_relay.gofollow that same adjacent boundary.MCPremains an external protocol, manifest, and wire-schema term, while the in-app AssistantToolAdapterfamily is AI/runtime plus API-contract state; storage and recovery may consume the resulting governed context, but must not fork a recovery-local tool transport or reinterpret native Assistant adapter naming as backup coverage, restore support, recovery freshness, or storage-local action authority. Pulse Intelligence operations-loop external-agent readiness ininternal/api/agent_resource_context.gois likewise adjacent AI-runtime/API-contract state only: storage and recovery surfaces may observe the resulting content-free readiness boolean when explaining a guided investigation, but they must not reinterpret the Pulse MCP token scope check as backup access, restore authority, provider credential readiness, or recovery-job capability. Patrol control completed/resolved outcome evidence exposed throughpatrolAutonomy*compatibility fields,patrolAutonomyValueState, and the operator-readableprogressLabelon that same status projection are derived from API-contract owned Patrol status and the sharedinternal/telemetrycount-only classifier without external-agent readiness as an input. The legacy Pro activation starter field is entry-point-specific, while legacy completed/resolved/valueproActivation*status fields are compatibility aliases only. Storage and recovery may not fork those branch rules or status labels, enrich them with backup or appliance identifiers, or treat MCP readiness, status wording, or any completed/resolved Patrol state as recovery coverage, restore verification, storage health, or recovery-job authority. Assistant runtime identity strings exposed by those shared API handlers follow the same ownership boundary: they must name the first-party surface as Pulse Assistant, not a legacy genericPulse AIruntime, and storage/recovery surfaces may not reinterpret that naming as recovery-local readiness or execution authority. Shared AI settings persistence, Patrol preflight, profile-suggestion, and remediation-impact copy exposed through those same adjacent handlers must keep Pulse Intelligence and Assistant & Patrol naming at the AI/API boundary; storage/recovery surfaces may observe that copy but must not reinterpret it as backup coverage, restore support, recovery freshness, or storage-local action authority. Thecan_redoflag on that same session-list projection is only Assistant conversation repair state. It must not be interpreted as recovery reversibility, restore availability, backup freshness, or any storage-local undo capability. That same adjacentinternal/api/boundary still carries Patrol-run execution identity. Storage and recovery may observe shared Patrol transport throughinternal/api/chat_service_adapter.go, but they must not drop, rewrite, or reinterpret the execution identifier that describes one Patrol run across agentic provider turns. Retired quickstart block reasons exposed through stale compatibility state are likewise not storage/recovery onboarding truth; adjacent pages may normalize the message, but they must not reinterpret it as a storage install prerequisite, provider-connection error, or recovery-capability verdict. - Keep provider-backed recovery onboarding on the adjacent platform-connections contract. When
internal/api/grows or changes TrueNAS connection CRUD, masked-secret preservation, saved-connection retest routes, edit-form saved-test payload overlays, or similar provider setup flows, storage and recovery may consume the resulting recovery points but must not absorb that connection-management ownership into storage/recovery-local handlers or page flows. That same adjacency also covers per-surface scope as it flows through the unified connections aggregator: wheninternal/api/connections_aggregator.goprojects TrueNASMonitorDatasets/MonitorPools/MonitorReplicationflags into the aggregator'sscopemap, storage and recovery may observe that projection to explain dataset/pool/replication coverage to operators but must not reinterpret those flags as a recovery freshness verdict, restore-capability gate, or storage-local scope registry. That same adjacent platform-connections boundary now also owns source-orientedsystems[]grouping on/api/connections. Storage and recovery may observe grouped source composition to explain whether a platform row is collecting additional host telemetry through Pulse Agent, but they must not reinterpret attached agents as separate protected systems, duplicate recovery inventory rows, or a storage-local ownership model. The same shared/api/connectionscontract also owns compactagentIdentityfacts for agent-backed rows; storage and recovery may read that metadata, including host-profile ids such asunraid, when they need to label a represented host, but they must not rebuild OS/endpoint identity from recovery inventory or alias heuristics, or reinterpret an agent host-profile id as a storage provider platform. When that grouped platform row is a Proxmox cluster, storage and recovery must also treat the backend-authored cluster moniker as the canonical row identity instead of re-expanding cluster-member agents into sibling host rows or per-node storage owners. If the grouped row carries backend-authored cluster member nodes, adjacent storage/recovery surfaces may use that composition for explanatory UI only; they must not promote those child nodes into a second top-level grouped-system taxonomy or infer per-node storage ownership from the settings payload. The same shared/api/connectionspayload also owns any agent-version/update facts and fleet-governance posture carried alongside those grouped rows; adjacent storage or recovery surfaces may reuse that signal for operator context, but must not fork their own version-comparison semantics, desired/applied config-drift classifier, rollout-state classifier, credential-health classifier, command-policy vocabulary, or another agent lifecycle vocabulary. If/api/connectionsreports agent config drift as pending or unknown because no trustworthy applied fingerprint exists, storage and recovery must preserve that uncertainty instead of translating it into a storage-local current/drifted verdict. If/api/connectionsreportsconfigDrift: not-applicablewith a current applied rollout because no managed host-agent config override is assigned, storage and recovery must preserve that no-rollout state instead of translating it into a pending storage/recovery problem. When/api/connectionsattaches an exact-match host agent to a blocked Proxmox API source without fresh node inventory, storage and recovery must treat that as one represented source with host telemetry, not as a second protected system or a storage-local duplicate host. - Keep backend-native platform actions on the adjacent AI/runtime and platform contracts. When
internal/api/wires native TrueNAS app control for Assistant, storage and recovery may consume the refreshed recovery points afterward, but they must not grow a parallel recovery-local action transport or action-specific payload shape. - Keep backend-native platform diagnostics on the adjacent AI/runtime and platform contracts. When
internal/api/wires native TrueNAS app log reads for Assistant, storage and recovery may use those diagnostics during investigation, but they must not grow a parallel recovery-local log transport or diagnostic payload shape. The same adjacent-boundary rule applies toGET /api/agents/diagnostics: storage and recovery may read Agent Fleet Doctor evidence as operational context for stale agents, version drift, profile drift, or identity split investigation, but must not treat that endpoint as a storage/recovery health source, repair API, or recovery-local fleet payload shape. Agent updater/module failure, missing telemetry, machine fingerprint, network evidence, and supported/unsupported installer handoffs remain lifecycle diagnostics; none proves backup completeness, protection posture, restore readiness, recovery-point identity, or storage mutation authority. An Agent Doctor repair handoff may open an existing lifecycle flow or copy a local installer command, but it must never be reinterpreted as a restore, recovery, SMART, or cleanup action. - Keep backend-native platform configuration reads on the adjacent AI/runtime and platform contracts. When
internal/api/wires native TrueNAS app config for Assistant, storage and recovery may use that runtime shape during investigation, but they must not grow a parallel recovery-local config transport or provider-shaped configuration payload. - Keep provider-backed poll cadence and settings-runtime health on the adjacent platform-connections contract. When shared
internal/api/and poller wiring expose TrueNAS last-sync status, failure summaries, discovered contribution counts, manual saved-test status refresh, or platform handoff links in settings, storage and recovery may consume the resulting datasets, apps, disks, and recovery artifacts but must not redefine those settings-runtime health semantics or connection-level handoffs in storage/recovery-local transport or page flows. - Keep recovery context inside the platform tab that owns it without restoring standalone recovery navigation. TrueNAS recovery context lives on the TrueNAS Protection tab and Proxmox recovery context on the Proxmox Backups tab; no shared recovery query vocabulary exists to reuse. A surface that exposes recovery context must land inside an owning platform/runtime route instead of inventing drawer-local recovery URLs, treating PBS services as the only recovery path, or sending operators to the retired Recovery aggregate route.
That same shared route-helper boundary also owns exact workload handoffs
when storage or recovery surfaces send operators back to node-scoped
workloads for investigation context. Proxmox VM and system-container links
must carry the canonical workload identity (
<instance>:<node>:<vmid>) in the shared workload query state rather than an opaque unified resource id, so recovery/storage drill-downs reopen the intended platform-owned workload drawer instead of landing on an unselected table state. Non-storage route constants in that same shared helper, including the Patrol control anchor, must stay owned by their product surface and must not be reused as recovery entry points or storage/recovery navigation aliases. - Keep alert-side recovery follow-up inside the owning platform tab. The resource-incident panel offers no recovery links today, and no shared recovery query vocabulary exists. A future alert-side recovery follow-up for TrueNAS or another API-backed platform must open the platform tab that owns those rows instead of freezing alert-local recovery URLs or reviving the retired Recovery aggregate route.
- Keep VMware onboarding runtime and recovery semantics separate on that same adjacent platform-connections contract. When
internal/api/router.go,internal/api/router_routes_registration.go, orinternal/api/vmware_handlers.goevolve VMware connection CRUD, poller-ownedpoll/observedsummary payloads, saved-test refresh, or observed datastore/VM snapshot visibility, storage and recovery may consume the resulting shared context but must not treat those onboarding/runtime payloads as canonical recovery artifacts, restore capability, or recovery-local control transport. The shared route registry's agent-ingest authorization also does not grant recovery authority or change VMware onboarding. A successful VMware connection test withdegradedoptional signal or performance diagnostics remains connection-readiness context only; storage and recovery must not reinterpret that warning as datastore protection damage, snapshot recovery failure, restore readiness, or recovery-point evidence. The shared route-registration file may also expose the authenticated running-release notes endpoint for deployment/update presentation. That route remains deployment-installability and API-contract owned; storage and recovery must not treat release-note availability or publication time as protection freshness, recovery evidence, or restore state. Its authenticated exact-version PNG screenshot route is presentation of that same release body only. Even when an image depicts backup coverage, the screenshot is illustrative release evidence and must never supply live protection state, restore readiness or storage mutation authority. - Keep VMware datastore projection on the shared unified-resource and storage-source contracts. When
frontend-modern/src/hooks/useUnifiedResources.tsor sharedinternal/api/router.gowiring starts surfacing VMware-backed canonicalstorageresources, storage and recovery may expose those datastores through the ownedvmware-vspheresource/platform vocabulary for inventory, capacity, and handoff flows only; they must not reinterpret that projection as VMware recovery support, restore semantics, or a provider-local protection surface. The same shared unified-resource boundary also covers canonical Resource.Uptime fallback on the consumer side. Whenfrontend-modern/src/hooks/useUnifiedResources.ts'stoResourcemapping extends the uptime fallback chain to land onv2.uptimeafter the existing platform-specific carve-outs, storage and recovery must treat that fallback as descriptive host/VM uptime only; they must not reinterpret it as backup freshness, recovery point recency, or protection cadence. Docker / PodmanDockerDatacontainer lifecycle, Podman metadata, and cumulative block I/O totals, including nullable runtime-authored OOM state and secret-free health-check target hostnames, remain unified-resource runtime context. Storage and recovery may use those fields only as workload description when linking to an owning runtime/platform page; they must not reinterpret health-check targets as protection topology, or container block I/O totals as backup throughput, recovery-point evidence, protection cadence, or storage-health ownership. - Keep VMware placement, cluster service state, guest-detail, VM snapshot-tree, VM virtual-hardware configuration, VMware Tools, VM hardware Ethernet, VM hardware disk, and network enrichment descriptive on that same shared unified-resource contract. When
internal/vmware/provider.go,internal/unifiedresources/types.go, andfrontend-modern/src/hooks/useUnifiedResources.tsproject datacenter, cluster,vmware.clusterHaEnabled,vmware.clusterDrsEnabled, folder, runtime-host, datastore-attachment, guest-hostname, guest-IP,vmware.currentSnapshotId,vmware.snapshotTree, snapshot creation/state/quiesce/current markers, child snapshot metadata,vmware.hardware, virtual hardware version, hardware upgrade policy/version/status/error, boot type/order/retry/setup-mode flags, CPU cores-per-socket and hot-add/remove flags, memory hot-add settings,vmware.tools, Tools run state, version status, version number/string, install type, upgrade policy, auto-update support, install-attempt count, guest reboot requests,vmware.networkAdapters, adapter MAC address/type, backing network id/name, backing type, connection state, start-connected / guest-control flags,vmware.virtualDisks, virtual disk label/type, IDE/SCSI/SATA/NVMe placement, VMDK path, backing type, datastore name, capacity,vmware.networkType,vmware.networkHostNames,vmware.networkVmNames, orvmware.tagsonto canonical VMwareagent/vm/storage/networkresources, storage and recovery may use that detail for labeling, navigation, and VM investigation context only; they must not promote those topology, cluster-service, guest, snapshot-tree, virtual-hardware, VMware Tools, vNIC, virtual disk, tag, or network fields into recovery ownership, restore targeting, protection grouping, compliance scoring, or a VMware-local recovery taxonomy without a separately governed slice.vmware.tagsis the sharpest case of that boundary, because vCenter tag vocabularies routinely read like backup policy — an operator-authoredBackup:NightlyorCompliance:PCIis a label the operator wrote, not a protection fact Pulse observed. Recovery may surface those tags as descriptive context and may filter by them, but a tag must never stand in for an observed backup, satisfy a protection requirement, or move a resource's coverage or compliance verdict; those verdicts continue to come from recovery-owned evidence alone. - Keep VMware datastore classification neutral on the shared storage adapter contract. When
frontend-modern/src/features/storageBackups/resourceStorageMapping.ts,frontend-modern/src/features/storageBackups/resourceStoragePresentation.ts, andfrontend-modern/src/features/storageBackups/storageAdapters.tsevolve canonical storage-record mapping, VMware-backed datastores must continue to land on the shared storage route as inventory-only datastores with neutral protection fallback, not as backup repositories, backup targets, or recovery-protected resources. That same shared storage adapter boundary also owns canonical platform family vocabulary through the governed platform manifest.frontend-modern/src/features/storageBackups/models.ts,frontend-modern/src/features/storageBackups/storageAdapterCore.ts, and adjacent shared storage presenters that need known provider ids oronprem/container/virtualization/cloudfamily mapping must derive that truth fromdocs/release-control/v6/internal/PLATFORM_SUPPORT_MANIFEST.jsonthroughfrontend-modern/src/utils/platformSupportManifest.ts, not from storage-local hard-coded provider arrays. Agent host-profile appliance identity is adjacent context for storage rows, not a storage-local platform classifier: Unraid storage may render through the generated host-profile label and runtime platform fallback, but storage/recovery must not reintroduceunraidas a first-class provider or recovery platform. SharedAgentData.hostProfilemay carry that profile id for presentation, while storage and recovery must continue to treatAgentData.platformas the normalized runtime platform. - Keep agentless availability endpoints neutral on the shared unified-resource and API contracts. When
internal/api/availability_handlers.go,internal/api/connections_handlers.go,internal/api/platform_mock_connections.go, orfrontend-modern/src/hooks/useUnifiedResources.tssurfacenetwork-endpointavailability resources, storage and recovery may consume their liveness as infrastructure context only; they must not reinterpret ping/TCP/HTTP endpoints as storage providers, backup targets, recovery repositories, or protected-workload evidence. The same neutrality applies when one or more canonicalavailabilityChecksfacets attach to a storage-related resource. The additive plural facet, its compatibilityavailabilitysummary, evidence freshness, andchecksrelationship remain monitoring context; they do not mint a second storage row or become backup coverage, recovery readiness, or restore evidence. That neutrality includes availability targets whosetargetKindismachine. A Linux server, desktop, laptop, or Mac mini monitored by an agentless reachability check still belongs to Availability checks rather than Standalone Machines; storage and recovery must treat the row as liveness context unless a separate storage/recovery-owned relationship ties it to backup or restore evidence. Certificate identity, trust, hostname validity, expiry, and anycertificate_*incident on those availability facets remain monitoring and alerts context. They do not prove storage encryption, backup integrity, repository authenticity, protection coverage, or restore readiness. The same neutrality applies to HTTP/S application-response contracts. Transport and application outcomes may explain liveness, but accepted status ranges, text/JSON assertions, and typed failure codes are not backup verification or restore evidence. Request bodies, response bodies, Basic passwords, bearer tokens, and operator header values remain encrypted configuration inputs and must never enter storage/recovery inventory, history, exports, evidence, diagnostics, or recovery authority. Omitted write-only values may be reused only while the HTTP/S endpoint origin is unchanged; a scheme, host, or effective-port change must not replay stored values to the new endpoint. - Keep infrastructure summary chart bucketing and short response caching presentation-only on the adjacent shared API boundary. When
internal/api/chartapi/service.gonormalizes mixed-cadence infrastructure history into equal-time summary buckets or serves a cached summary payload for repeated operator-facing summary-card requests, storage and recovery may consume the resulting visual context only; they must not reinterpret those normalized chart samples, cached timestamps, or cache hits as recovery freshness windows, backup cadence, or restore evidence. Expiry sweeps, oldest-payload eviction, and byte/cardinality limits in that shared chart cache are transport memory controls only. Storage and recovery must not reinterpret cache residency or an oversized uncached response as storage-history retention, recovery-point expiry, or backup coverage. The same router may wire the adjacent server-owned agent command authorization verifier, but storage/recovery must not treat an approval id, signed command grant, or command result as restore authorization or recovery evidence; that authority remains action-governance and agent-lifecycle owned. - Keep workload chart downsampling and short response caching presentation-only on that same adjacent shared API boundary. When
internal/api/chartapi/service.gocaps mixed-cadence workload history into equal-time buckets or serves a cached workload chart payload for repeated operator-facing workload requests, storage and recovery may consume the resulting visual context only; they must not reinterpret those shaped chart samples, cached timestamps, or cache hits as recovery freshness windows, backup cadence, or restore evidence. The compact/api/charts/storage-summarycapacity route is retired, and storage and recovery must not reopen it as a second storage-history transport beside/api/storage-charts. That same adjacent API boundary also owns summary-request minimization: storage/recovery-adjacent consumers may rely on filtered infrastructure or guest summary payloads, but they must not widen a scoped chart request back into full guest metric fan-out just because adjacent pages carry richer detail charts elsewhere. - Keep shared
frontend-modern/src/App.tsxpublic-route ownership explicit by surface. Storage/recovery preview entrypoints such as/preview/setup-completemay remain public app-shell routes, but unrelated commercial compatibility handoffs like/pricingmust stay separate thin route exits rather than borrowing storage/recovery preview framing, first-session copy, or page-state assumptions. The same route-ownership rule applies to Patrol aliases on the shared app shell:/patrolis the authenticated canonical surface while retired/aibrowser entry points stay unregistered, and storage/recovery route owners must not depend on or borrow that retired path for their own preview or compatibility entrypoints. The same route-ownership rule keeps retired self-hosted trial and managed-model acquisition banners out of shared app chrome: storage and recovery routes must not inherit commercial nudges simply becausefrontend-modern/src/App.tsxowns the authenticated shell. Cloud signup follows the same boundary:/cloudand/cloud/signupmust not return through storage/recovery preview framing or any other ordinary self-hosted app route when Cloud acquisition belongs to the account/control plane boundary. Authenticated/loginmust follow that same shared app-shell contract: once login succeeds,frontend-modern/src/App.tsxmust hand the browser back to the frontend-primitives-owned provider-first landing route instead of leaving storage/recovery-adjacent authenticated shells on a page-local not-found route. Storage/recovery must not redefine Standalone landing eligibility or restore legacy Infrastructure as the default storage/recovery-adjacent operational surface. Authenticated-shell demo organization suppression onfrontend-modern/src/App.tsxmay hide top-bar org chrome for public demo posture, but it must not leak into storage/recovery preview route ownership, first-session recovery copy, or route-level framing decisions. That landing decision may treat a completed current authenticated REST bootstrap or retained server-owned WebSocket state as sufficient platform-navigation evidence during stream recovery. It must continue waiting when neither server-owned condition exists, so stale browser-local metadata cannot send an evidence-free first load to a platform, storage, or recovery route. Retired/operations/*browser entry points are unregistered. They must not grow a second authenticated shell boundary that competes with storage/recovery route ownership. That same shared app-shell boundary must also respect blocking shared dialogs: background assistant affordances may hide while a modal owns the viewport, but storage/recovery routes must not grow their own parallel modal-stack bookkeeping just because they shareApp.tsx. App-shell route preloading may include Storage and Recovery modules so top-level tabs are warm after authentication, but it must not fetch storage summary charts, recovery history, provider state, or preview data fromfrontend-modern/src/App.tsxitself. The shared runtime bootstrap must likewise avoid prewarming Infrastructure or Workloads chart caches as a generic authenticated-shell side effect; storage/recovery chart data stays owned by the route or interaction that renders it. The shared app shell's authenticated landing and primary-tab routing may use the infrastructure navigation model that includes both owning platform pages and runtime lenses such as Containers. Storage and recovery route owners must treat that as shell-owned navigation evidence, not as a reason to restore Storage or Recovery as equal primary tabs or depend on platform-only tab terminology. - Keep public self-hosted purchase handoff and activation routes on the
adjacent commercial/auth boundary. When
internal/api/router.go,internal/api/router_routes_cloud.go,internal/api/licensing_handlers.go, orinternal/api/demo_mode_commercial.goevolve/auth/license-purchase-startor/auth/license-purchase-activate, storage and recovery may coexist with those shared public-route helpers but must not reuse the commercial-ownedportal_handoff_id, server-resolved checkout intent, purchase-return tokens, activation-bridge callbacks, owned billing purchase-arrival states, or demo-hidden commercial route policy as recovery identity, restore proof, preview framing, or backup/recovery-local transport. The adjacent licensing boundary also owns public-vs-Pro runtime build attribution for activated installs; storage and recovery surfaces may consume runtime-capability blocks, but must not infer paid runtime status from restore context, provider inventory, public image tags, or backup transport state. That same adjacent commercial boundary also owns the canonical self-hosted purchase intent label: storage- and recovery-adjacent surfaces may observeself_hosted_plan, but they must not emit or reinterpret legacymax_monitored_systemsintent or bypass the shared secure callback policy that limits self-hosted commercial return URLs to HTTPS instance origins or direct-loopback HTTP and keeps hosted commercial follow-up fetches on the restricted outbound client. The same adjacent commercial boundary owns the retired/api/upgrade-metrics/*and/api/admin/upgrade-metrics-funnelroute family: storage and recovery flows must not synthesize recovery-local stats, health, config, or funnel-report fallbacks when those routes are absent from the normal customer product API. That same adjacent commercial boundary also owns the plan-owned callback framing for those routes: storage and recovery may coexist beside/settings/system/billing/plan, but they must treatPlansandPlansas the canonical destination naming and must not reinterpret purchase-return bridge titles, retry actions, or success states as a recovery-localPulse Pro billingsurface. query state as a recovery-local contract once uncapped self-hosted monitoring is canonical. That same adjacent commercial boundary treats migrated-v5 monitored-system grandfathering as retired compatibility metadata: storage and recovery may tolerate resulting legacy entitlement fields while loading old records, but they must not infer a capacity floor from protected inventory, backup counts, recovery-point presence, billing-status reads, or continuity-verification payloads. That same adjacent commercial boundary also owns authenticated install-version attribution: storage and recovery may read the resulting licensed build context as commercial metadata, but they must not cache a second recovery-local version floor, derive restore eligibility from activation-version payloads, or backfill release lineage from protected inventory when the shared licensing runtime already sends the canonical process version. That same adjacent commercial boundary also owns internal demo-fixture capability handling: storage and recovery may render the resulting demo runtime as populated mock inventory, but they must not exposedemo_fixtures, billing identity, or alternate entitlement semantics as recovery-local transport or operator-facing storage metadata. - Keep storage and recovery route framing additive and owner-neutral.
frontend-modern/src/components/Storage/Storage.tsxand storage/recovery- adjacent route composition may use the sharedPageHeadershell for top-level route framing, but that header must stay additive on top of the canonical storage page model, recovery presenters, and shared summary caches. Header chrome must not become a second owner for storage filters, recovery posture, commercial purchase state, or transport selection. - Keep the unified connections ledger owner-neutral toward storage and
recovery. Shared
internal/api/router.gomay mount the/api/connectionsand/api/connections/proberoutes alongside the existing storage/recovery-adjacent API surfaces, andinternal/api/configapi/config_handlers.goandinternal/api/configapi/config_node_handlers.gomay carry the new per-instanceEnabled/Disabledround-trip, but storage and recovery consumers must not reinterpret the derived connectionstate(active/paused/unauthorized/unreachable/stale/pending/degraded) as storage health, backup-job posture, or recovery verification state; they also must not repurpose the shared probe route as a generic internal reachability scanner. Metadata, link-local, multicast, and unspecified destinations remain fail-closed before dial on that shared route, and any future storage/recovery adjacency must preserve that same boundary. Storage and recovery UI must keep sourcing those signals from their existing canonical page models instead of polling the connections ledger for per-datastore or per-backup truth. Platform-first top-level pages may embedStorageSurface(frontend-modern/src/components/Storage/Storage.tsx) with a forced source filter (forcedSourceFilter) so platform-scoped storage rows render through the same canonical surface rather than a forked per-platform table. The surface has noembeddedortableOnlymode and noforcedPlatformFilter, and noRecoverySurfacecomponent exists to embed alongside it.frontend-modern/src/App.tsxmay carry the platform-page route registrations that mount those embedded canonical surfaces, but the routes themselves must derive their paths from the canonical builders infrontend-modern/src/routing/resourceLinks.ts; ad hoc storage or recovery route strings inside per-platform features are not permitted. Platform-page default sub-tab choices must land the user on a canonical surface that actually populates. The canonical TrueNAS adapter already emits the top-level TrueNAS system as a unifiedagentrow tagged with thetruenasplatform, so the platform page defaults to/truenas/overview, whose Overview sub-tab lists those systems./truenas/storagerenders the TrueNAS-ownedTrueNASStorageTopologyTable, notStorageSurface; the Proxmox Storage tab infrontend-modern/src/features/proxmox/ProxmoxPageSurface.tsxis the only page that embedsStorageSurfacetoday. An embedding page gets the canonicalStoragePageControlstoolbar without opting in:Storage.tsxalways renders it (only kiosk mode hides it), there is noshowFilterToolbarprop, and there is no storage summary section to hide. The Proxmox embed passesforcedSourceFilter, its ownresourceSource,suppressNodeFilter,filterAriaLabel, and Proxmox search placeholder and empty-history copy. It passes noforcedView, so the Storage / Physical Disks view tabs stay.forcedSourceFilteris a typed page input that the route state reads as the source value and never writes back to the URL, andStorage.tsxsetssuppressSourceFilterwhenever it is present.StoragePageControlsthen drops the Source chip, so the user never sees the platform's name pinned as a removable filter chip, and the locked source does not count as an active filter that surfaces the toolbar's clear action.suppressNodeFilterdrops the Node chip so search carries host and node scoping, andStorage.tsxresets any selected node to all nodes while it is set. The embedded toolbar otherwise keeps search, the Status filter on the Storage view (Role and Group filters on Physical Disks once there is more than one choice), and the View popover's grouping and sort; it has no chart-collapse control. The seven-state Storage status catalog stays in the shared Add filter menu instead of occupying a permanent segmented rail; a non-default status surfaces through the canonical FilterBar chip. Grouping and sort remain durable presentation preferences in the shared View popover. Storage filter option semantics stay storage-owned, but FilterBar chip presentation is frontend-primitives-owned: storage status leading dots must usefilterChipStatusDotrather than storage-local span factories. - Keep agent memory composition descriptive on the shared unified-resource
contract.
internal/unifiedresources/types.gocarries the reclaimable page-cache split (AgentMemoryMeta.cache, holding used + cache + free within the reported total) as host RAM description for machine surfaces. It also carriesAgentMemoryMeta.usageUnavailable, and the parallel Proxmox and Docker raw memory facets, so a collector can preserve known capacity while declining to invent Linux usage fromtotal - MemFree. A newer unavailable report clears a stale canonical memory metric only when both observations come from the same source; a trusted linked source remains eligible to supply the merged metric. Storage and recovery consumers must preserve that distinction and must not reinterpret unknown host RAM usage as zero, full pressure, or a storage-health signal. Storage and recovery must not reinterpret that reclaimable RAM figure as disk cache, ZFS ARC sizing, storage-tier health, or capacity-planning evidence; disk and pool truth stays on the canonical storage and physical-disk resources.internal/unifiedresources/types.goalso carriesHostSensorMeta.native, the agent's lm-sensors temperature and fan inventory. An NVMe or drive-bay entry there is descriptive host context: storage and recovery must keep disk temperature, SMART and disk-heat truth on the physical-disk resources and must not read a native sensor as disk health, protection or recovery evidence. The inventory opens no storage or recovery path.internal/unifiedresources/types.goalso carriesAvailabilityData(probe protocol, address, latency, failure state) as a resource facet for agentless monitoring. Storage and recovery must not treat that availability facet as protection status, backup health, or recovery readiness; an unreachable probe on a storage resource is monitoring evidence, not a backup or recovery failure. UnknownLastCheckedandLastSuccessvalues remain absent optional timestamps on that shared facet; storage and recovery must not reinterpret absence or a year-one zero-time serialization as recovery age, missed backup cadence, or restore freshness. The same shared type file keepsMetricValue.valuenumeric whenever a metric object is present. Storage/recovery consumers must preserve explicit zero as an observed idle value and use absence of the metric object for unknown Proxmox guest I/O; they must not reinterpret zero as missing or accept a JSONnullvalue as recovery, backup, or storage-health evidence.
TrueNAS hosts and platform admission
A TrueNAS system host is agent-typed and reports through both the agent and
truenas sources. It admits the TrueNAS platform page and MUST NOT admit the
standalone platform page, because it is owned by TrueNAS rather than being a
Pulse-managed host in its own right. Admission is resolved by
unifiedresources.BuildPlatformAdmission; storage surfaces MUST NOT infer
host ownership from the agent source count.
TrueNAS navigation visibility
The TrueNAS platform page is admitted by the platformAdmission facet on the
canonical resource aggregations. A TrueNAS host admits the TrueNAS page and not
the standalone page, and the shell MUST take that answer from the facet rather
than inferring it from an agent-source count in a runtime payload.
Recovery list pagination meta
The /api/recovery/points and /api/recovery/rollups list transports in
internal/api/recovery_handlers.go clamp the requested page size to the
canonical bounds (default 100, max 500) and report their pagination meta
(page, limit, totalPages) from those normalized values. Those bounds
are defined once, as DefaultListPageLimit / MaxListPageLimit in
internal/recovery/model (re-exported through internal/recovery), and the
store-side clamps in internal/recovery/store (normalizeLimit /
normalizePage) MUST derive from those exported constants rather than
re-hardcoding the numbers: a storage-side page-size clamp that drifts from
the shared bounds re-opens the totalPages misreport that silently
truncates rollup iteration for clients walking the reported page count.
internal/recovery/store/store_test.go pins the store clamps to the shared
constants.
The node connection test tally persists as a bounded, day-bucketed JSON file in the config directory, pruned to a 31-day retention window so it cannot grow without limit however long an install runs. It is advisory telemetry state: it is outside backup, restore, and recovery, and a missing or corrupt tally must be discarded and rebuilt rather than surfaced as a recovery failure. Nothing may take a correctness dependency on its contents.
Bounded audit investigation scope
Audit list/export/summary consumers must not mistake a malformed time bound
for an unfiltered storage read. internal/api/activity_audit_handlers.go
rejects supplied empty/invalid RFC3339 bounds and equal/reversed windows with
HTTP 400 before querying; list/export also validate literal success booleans.
Absent filters and existing export/summary non-pagination remain supported.
This boundary adds no database/schema, retention, signing, quota or recovery
change. Fake persistent-logger controls in
internal/api/audit_filter_validation_test.go prove rejection without a store.
The canonical audit read handlers also refuse damaged raw query encoding and
repeated named singleton selectors before any event read, rather than silently
losing a filter or taking its first value. Absent webhook URL selections are
not deliberate removal: POST/PUT require an explicit array, with [] retaining
its intentional clear semantics. internal/api/audit_selection_validation_test.go
pins read non-execution, selected wire results, tenant isolation and mutation
preservation/clear/restore. Agent operations and storage internals are unchanged.
Audit webhook destination updates refuse repeated top-level urls members,
including JSON-escaped and case-folded aliases, before URL/DNS validation or
mutation. One complete object within the existing body bound is required;
trailing documents or oversized suffixes cannot apply a partial selection.
Singleton aliases and unknown fields remain compatible. Explicit clear/restore
and tenant-scoped access/entitlement remain unchanged. The executable controls
in internal/api/audit_handlers_test.go preserve selected destinations after
rejection; they establish neither receiver delivery nor installed recovery.
Forbidden Paths
- Reintroducing storage or recovery product logic as ad hoc dashboard-only summaries without a canonical page-surface owner
- Duplicating recovery-point normalization or rollup derivation outside
internal/recovery/ - Letting storage health presentation rules drift between
frontend-modern/src/components/Storage/andfrontend-modern/src/features/storageBackups/ - Treating storage and recovery as implicit leftovers inside broad monitoring or E2E lanes instead of governed product surfaces
- Writing internal
NormalizedHealthvalues directly to the storage URL status param; the URL must use the canonical option values fromSTORAGE_STATUS_FILTER_OPTIONS(e.g.,availablefor the Healthy filter) so that shared links and bookmarks reflect the same values that the filter dropdowns present to operators - Letting whitespace-padded storage route params hydrate non-canonical page state; shared storage URLs must trim and normalize
tab,source,status,node,group,sort,order,query, and deep-linkresourcebefore the page model consumes them so pasted or hand-edited links resolve to the same canonical state as UI-authored routes without dropping adjacent unmanaged params - Letting storage
sourcealiases or case drift survive in canonical route state; shared storage URLs must rewrite pasted values likePVE,pbs, orALLto the owned source option values (for exampleproxmox-pve) or the canonical unset state so copied links match the same source filter values the storage toolbar presents - Letting explicit storage
allsentinels survive in canonical route state; shared storage URLs must collapse case- or whitespace-variantallvalues for the managednodefilter back to the canonical unset state so copied links do not preserve a fake active node filter - Reintroducing an aggregate cross-platform Recovery page, a recovery route-state owner, or a shared recovery query serializer in
frontend-modern/src/routing/resourceLinks.tswithout a governed product decision. The aggregate page (frontend-modern/src/components/Recovery/with its state ownerfrontend-modern/src/features/recovery/useRecoverySurfaceState.ts) was deleted on 2026-05-26, andRECOVERY_QUERY_PARAMS,parseRecoveryLinkSearch, andbuildRecoveryRouteSearchwere deleted once nothing read them. Recovery rows render in the platform-owned Proxmox Backups and TrueNAS Protection tabs; the Proxmox Backups tab owns its route state through the/proxmox/backups/:viewsegment andPROXMOX_BACKUPS_QUERY_PARAMS, and the TrueNAS Protection tab keeps its search and status filter in component state and its sort in local storage, outside the URL. - Letting adjacent route state in shared
frontend-modern/src/routing/resourceLinks.tsreuse storage or Proxmox Backups query names or alter their parse/build behavior. Workload platform scoping, unified-resource storage deep links,buildStandalonePath()platform paths, the Kubernetes page's route-localKUBERNETES_QUERY_PARAMS.clusterscope, the Patrol control starter (patrolControlStarter=patrol_control, with legacyoperationsLoopStarter=patrol_control,operationsLoopStarter=patrol_autonomy, andoperationsLoopStarter=pulse_pro_activationas compatibility aliases only), and the Pulse Intelligence external-agent setup anchors (/settings/pulse-intelligence/agents#external-agent-setup, with/settings/security/api#external-agent-setupand/settings/security/api#pulse-mcp-setupas legacy compatibility hashes) share that module, and none of them is recovery state, storage focus, platform scope, or proof of backup or recovery posture. - Letting recovery row details on the Proxmox Backups or TrueNAS Protection tabs lead with transport-shaped payloads; operator-facing details must summarize outcome, artifact, target, and readable metadata labels first, and raw JSON or provider-specific keys must not lead the primary detail.
- Letting storage or recovery surfaces invoke retired self-hosted trial acquisition;
POST /api/license/trial/startand/auth/trial-activatemust stay closed on the ordinary self-hosted router, and storage/recovery-adjacent billing or support handoffs must not treat trial activation as recovery identity, restore proof, or backup transport state. - Treating an
AvailabilityDatafacet on a storage resource as backup, protection, or recovery evidence; an agentless probe attached to a NAS, PBS, or datastore resource is monitoring reachability, not backup success, snapshot health, or restore readiness. Storage and recovery must read protection status from the canonical backup and storage resources, not from the availability probe facet.
Completion Obligations
Recovered Docker update evidence preserves health uncertainty
The shared API action-result boundary must not turn a matching replacement ID into confirmed running health when the agent readback reports unhealthy, health-check starting or restarting. Unknown running health remains inconclusive, while the recorded completed execution and compensation facts remain unchanged. This rule does not settle missing receipts, prove intended stopped state, or authorise redispatch of a recovered update.
Verification: TestDockerContainerUpdateAgentReadbackMustSupportRunningClaim
in internal/api/docker_container_action_result_test.go pins these result
distinctions. Existing TestIssue1649StrandedDockerUpdateReconcilesWithoutRedispatch
and TestRouterRecoverExecutingDockerUpdateAfterCapabilityDisappears exercise
reconciliation without treating the verification correction as a new mutation.
Coverage rows reconcile replacement recovery-model snapshots by their logical
key before windowing. Refreshed names must render without discarding expanded
restore evidence or keyboard focus on a surviving row. Verify with
scripts/check-backup-browser-polling.mjs; full provider/WebSocket polling and
the reported backup-page scroll jump remain outside that isolated fixture.
Agent-backed lifecycle recovery must namespace every in-memory pending request, typed result, operation query, and deployment progress subscription by the admitted organization session. That transport namespace must not alter the durable receipt identity: action ID, attempt ID, operation kind/version, request digest, subject, and canonical agent ID remain immutable. Reconnect and restart recovery may query the owning live session for a terminal receipt, but may never resend an ambiguous mutation or accept a response from another tenant/session.
Legacy RBAC JSON import is an adjacent security-owned migration, not recovery
inventory or restore evidence. When shared internal/api/ construction
triggers that import, validation and SQLite writes must complete atomically,
corrupt or stale inputs must keep their source files, and non-default
organization stores must never consume the default organization's legacy
files.
Configuration export and import are recovery-adjacent privileged operations.
On an SSO-enabled instance, browser sessions must carry an effective RBAC
admin grant on *; SSO authentication alone is never recovery authority when
no local administrator is configured. Keep
TestConfigTransferSSOViewerDeniedBeforeBodyRead proving that an unassigned or
viewer SSO session is refused before an import body is read, and keep the
canonical pre-handler authorization proof covering both transfer routes.
- Update this contract when canonical storage or recovery entry points move. Routes added under the shared
internal/api/extension point that are clearly outside storage/recovery ownership (for examplePOST /api/ai/patrol/preflight, thepatrol_preflightsnapshot field added to/api/settings/ai, the auto-trigger preflight dispatch on settings save, the startup-seed dispatch inNewAISettingsHandler, and the cached-preflight integration into the Patroltoolsreadiness check — all owned by ai-runtime) do not extend this subsystem's contract; they live in their owning subsystem. Exact scoped-run identity resolution and structuredpresent,resolved, oruncertainPatrol finding assessments on that shared boundary are also adjacent AI/API state. Storage and recovery may supply evidence or observe the resulting finding, but an assessment is not backup success, restore verification, recovery freshness, storage health, or permission to mutate a storage system. Content-free Pulse Intelligence telemetry rollups under sharedinternal/api/are also adjacent-only. Storage and recovery may consume underlying recovery artifacts, action outcomes, or Patrol context through their owned surfaces, but pseudonymous action-plan, approval, approved-action-decision, rejected-action-decision, external-agent, Assistant, or Patrol usage counters are not backup inventory, restore capability, recovery freshness, or storage ownership evidence. Content-free update funnel counters under sharedinternal/api/are also adjacent-only. Update attempts, successes, failures, rolled-back counts, and coarse failure categories are release-adoption evidence, not backup coverage, storage-health proof, restore readiness, recovery-job state, or evidence that any storage or recovery endpoint was read, changed, or verified. Public first-run security status under the same shared API tree is also adjacent-only. Its sparse login-routing and presentation-policy fields are not recovery configuration, and storage/recovery consumers must not expect bootstrap-token paths, deployment/container identity, credential state, token diagnostics, or agent URLs before authenticated privileged access. Bootstrap-token authorization for the unconfigured server restart path is a security boundary, not a restore credential or recovery-control primitive. External-agent activity may be counted for narrow tokens that satisfy the called manifest capability scope, including read-only context calls. That keeps MCP collaboration measurable, but storage and recovery must not treat the resulting counter as evidence that a backup, restore, dataset, or storage endpoint was read or mutated. Approved action decision telemetry may use shared action lifecycle evidence or approved approval records, but the exported rollup remains a pseudonymous approve/reject journey counter. Storage and recovery must not reinterpret that counter as proof that a backup, restore, dataset, storage appliance, or recovery endpoint was approved, changed, inspected, or verified. Approved execution attempt telemetry may be backed by shared action lifecycle events, including refused-before-dispatch failures, but the exported rollup remains a pseudonymous operations-loop counter. Storage and recovery must not reinterpret that counter as proof that a backup, restore, dataset, storage appliance, or recovery endpoint was changed or verified. Approved action success telemetry may use the same governed audit stream only as a content-free count of approved actions that completed successfully. The approved execution counter remains attempt-based, and the success counter must not export resource identifiers, actor identifiers, command text, command output, verification details, backup scope, restore proof, or storage appliance state. Rejected action decision telemetry may use the same governed audit stream only as a content-free count of actions rejected before execution. It must not be treated as backup denial, restore denial, storage policy state, or proof that a recovery target was inspected or changed. The external-agent recent-use counter is backed by content-free authenticated agent/MCP capability activity for manifest-capable API tokens; storage and recovery must not reinterpret it as proof that a backup, restore, dataset, or recovery endpoint was used. The MCP adapter recent-use counter is likewise only adapter-origin collaboration telemetry forpulse-mcprequests. Storage and recovery may use the resulting reports for aggregate Pulse Intelligence adoption, but must not treat that bit as evidence that a backup, restore, dataset, storage appliance, or recovery endpoint was read, mutated, or verified. The operations-loop status projection is also adjacent-only. Its content-free stage, next-action, Patrol evidence, contextual collaboration, pending approval, governed action, verified outcome, and optional token-backed MCP readiness fields may describe Pulse Intelligence activation progress, but storage and recovery must not treat them as backup coverage, restore readiness, storage health verification, appliance access, dataset access, API-token authority for recovery paths, or recovery mutation proof. If an aggregate active Patrol finding or pending approval outranks older completed/resolved loop proof in that projection, that precedence remains only current operator orientation; it is not backup freshness, restore authority, or storage-local remediation proof. Operations-loop workflow starter request counts are even narrower: they are content-free markers that a native Assistant surface rendered, a first-party Patrol control handoff started, a legacy Pro activation entry-point handoff started, or a Pulse MCP surface rendered the manifest-ownedpulse_operations_loopstarter. The aggregate Patrol control starter count may include native Patrol, legacy Patrol autonomy, and legacy Pro activation starts, whileproActivationOperationsLoopStarterCountremains the legacy entry-point count. Storage and recovery may observe those aggregate activation reports, but must not treat starter access as backup coverage, recovery freshness, restore readiness, storage health verification, dataset access, appliance access, or evidence that any recovery endpoint was used. - Keep recovery store/runtime changes aligned with the storage and recovery frontend proofs in
registry.json - Tighten guardrails when legacy storage or recovery presentation paths are removed
- Preserve the dependency split: API payload ownership stays in
api-contracts, settings shell ownership stays infrontend-primitives, and canonical resource truth stays inunified-resourcesThat same adjacent API boundary now includes shared agent-target hostname equivalence. Storage- and recovery-adjacent surfaces that reuseinternal/api/router_routes_ai_relay.goor other shared agent lookup helpers may match a short host against the same agent's FQDN, but they must keep that logic on the canonicalinternal/unifiedresources/hostname_equivalence.gocontract instead of widening it into a broad short-name collapse across distinct FQDNs. Approved-action replay throughinternal/api/router_routes_ai_relay.gois likewise API/AI-owned transport: storage and recovery may consume the resulting incident context, but must not define storage-local approval argument keys or bypass the sharedinternal/agentcapabilitieshelper. - Keep storage and recovery table width budgeting source-owned rather than derived from raw visible-column counts, so long item labels and optional column sets cannot drift the right-edge badges and controls off-screen. Storage-pool, physical-disk, backup-server, coverage, and recoverable-artifact compact models must expose three to five semantically distinct phone fields, allow a sixth only when measured content remains legible, fix identity at the shared 30-percent track, use explicit compact labels for narrow evidence fields, and normalize the selected tracks to the container without a horizontal rail. A status already conveyed by the identity indicator must not consume a duplicate phone column. Desktop column sets and storage/recovery evidence semantics must remain unchanged.
Below 360 pixels of content width, those models must promote identity to 40
percent and may demote the lowest-priority field through the shared
platform-table-narrow-hidden/source-owned layout contract rather than preserving a fixed column count at the expense of legibility. Summary rows remain single-line; any truncated backup, datastore, workload, or topology value must be recoverable through a touch- and keyboard-operable inline detail rather than a hover-only title. - Keep at least one browser-level desktop recovery proof in the governed
recovery-product-surfacepolicy so right-edge column visibility and wrapper-fit regressions are caught at rendered layout time instead of only through unit-level width math - Keep the retired dashboard route from becoming a passive no-resources compatibility shell. First-session handoff now belongs to Infrastructure and Add infrastructure, and storage/recovery must not restore dashboard composition just to route operators to setup.
- Keep storage/recovery summaries on their owning snapshots after dashboard
retirement. They may reuse the canonical
all-resourcescache key fromfrontend-modern/src/hooks/useUnifiedResources.tsonly through their owned page or shared drawer surfaces, not as a dashboard-only resource snapshot. - Keep shared OIDC/SAML callback redirects on the canonical local-target
helper contract when storage- or recovery-adjacent routes inherit shared
auth browser handoff through
internal/api/, so adjacent surfaces do not revive per-handler absolute-target acceptance or rawreturnToconcatenation. - Keep dependent first-session reset behavior honest on the shared
internal/api/boundary: when/api/security/dev/reset-first-runis used to reopen the setup wizard in browser proof, the resulting status payload must genuinely expose unauthenticated setup so storage/recovery-owned empty-state and dashboard handoff proof does not silently fall back to an authenticated dashboard path. - Keep recovery support claims aligned with
docs/release-control/v6/internal/PLATFORM_SUPPORT_MODEL.md. Forward- compatible provider strings are not support declarations by themselves, and a platform should be treated as recovery-capable only when that model marks recovery as part of its support floor and the owning ingest/projection path exists in the same governed slice. - Keep runtime mock inventory on the same bounded support contract. When
/api/system/mock-modesurfaces mock TrueNAS pools/datasets or mock VMware datastores through shared storage/recovery-adjacent pages, that data remains inventory-only context and must not be treated as proof of restore capability, recovery artifacts, or widened platform recovery support. The mock connections ledger composed ininternal/api/platform_mock_connections.gois bounded the same way: while mock mode is on, real configured TrueNAS and vSphere sources are dropped from the aggregator inputs and only authored fixtures compose the storage source rows, so a demo payload never advertises a real storage appliance that mock mode has suspended from collection. ThePULSE_MOCK_KEEP_REAL_POLLINGopt-in is the single exception, because those sources genuinely do collect under it. - Keep runtime mock platform context derived from one shared fixture graph.
When shared
internal/api/and monitoring wiring surface mock storage/recovery-adjacent inventory or recovery artifacts, that data must come from the canonicalinternal/mock/fixture_graph.goowner so legacy snapshot-backed platforms, provider-backed fixtures, unified inventory, and recovery/storage context stay aligned instead of drifting through recovery-local fixture assembly or partial mock helper APIs. - Keep adjacent shared install-script fallback semantics honest on the
internal/api/boundary. When storage- or recovery-adjacent routes reuse shared public endpoint or installer helpers, dev prerelease runtime versions such asv6.0.0-devand build-metadata versions must not be treated as published GitHub release assets; only stable or explicit RC tags may back the shared installer fallback that those adjacent surfaces inherit. Published release-tagged local assets on that shared boundary should also preserve their detached.sigsidecars so recovery- and storage-adjacent flows do not silently downgrade installer or agent download trust back to unsigned local files during upgrade or repair. The served install-script endpoints themselves have no GitHub fallback: they serve the locally bundled AGENT installer or fail closed, never proxying the top-level GitHub install.sh SERVER installer, so a correct local script (signed or not) is always preferred over a wrong-identity proxied one on the unverified curl-piped-into-bash agent path (issue #1470). - Keep storage chart identity on the shared storage path. Pool rows, disk
rows, the pool Growth column, and storage detail charts must all address
history through the canonical unified-resource metrics-target IDs.
Expanded pool and physical-disk details follow the canonical
object-detail information architecture, which since 2026-10-13
(maintainer decision, carried from the resource drawers) keeps stored
history in the default view rather than behind a
Historytab: a pool detail leads with its Capacity Trend card, whose header holds the range picker, then configuration, topology and devices; a disk detail shows its health verdict and SMART facts, then its History charts with the range picker beside their heading, then live I/O. With only one view left, these details render noSubtabsstrip. Both pickers label their options with the sharedformatHistoryRangeOptionLabel("24 hours", "7 days"), the same names the resource drawers use. The range picker keeps the shared filter-select presentation; storage must not restore the retired storage-local range-selector classes and inline SVG select decoration. A disk detail mounted where it can be hidden (a guest drawer's Overview behind Manage) takeshistoryEnabledand passes it to every chart, history and live I/O alike, so a hidden disk reads nothing. Below thesmbreakpoint a disk detail shows its first History chart and any chart whose SMART card is out of bounds (cards and charts share labels,getDiskDetailPhonePinnedChartLabels); the remaining History charts and the whole Live I/O section fold behind the sharedPhoneChartsToggle. A pinned chart stays pinned after its card recovers. Folded charts read nothing until the toggle opens them; wider layouts show and read every chart. Its charts draw the shared min-max band. Storage-page pool growth readouts belong to that same contract: the table may derive per-pool used-capacity deltas from the shared/api/storage-chartssummary payload, but it must not fan out row-local/api/metrics-store/historycalls, invent a second storage-history cache, or drift onto storage-page-only metric identifiers. No dashboard storage trend survives the overview retirement, and its/api/charts/storage-summaryroute is gone with it. A future aggregate storage trend must not rebuild that behavior by fanning out per-pool/api/metrics-store/historyreads or by inventing a dashboard-only storage history transport. 15a. Keep shared diagnostics cache scope honest when storage/recovery-adjacent surfaces reuseinternal/api/diagnostics.go. The shared diagnostics payload must not include local commercial funnel summaries or infrastructure-onboarding analytics, so recovery-adjacent diagnostics do not inherit commerce telemetry, cross-tenant leakage, or hosted/local semantic drift through the shared backend route. Pulse Assistant runtime status in that shared payload must remain native Assistant availability (assistantRuntimeConnected), not MCP transport state, and storage/recovery consumers must not reinterpret it as backup coverage, recovery readiness, or storage-local action authority. - Keep storage summary interaction scoped through the same canonical IDs.
- Keep adjacent AI settings persistence vendor-neutral on the shared
internal/api/boundary. When storage- or recovery-adjacent hosted flows load or save AI settings through shared helpers, any historical hosted quickstart model IDs must be cleared before adjacent surfaces read or re-emit that state. Legacy Anthropic OAuth tokens follow the same shared-owner rule: adjacent storage/recovery code may not use them as provider configuration and must leave cleanup to the AI settings contract. 17a. Keep adjacent AI paid-control state entitlement-effective on that sharedinternal/api/boundary. Storage- and recovery-adjacent flows may preserve stored Assistant or Patrol preferences in config, but they must not treat stored autonomous, auto-remediation, or alert-triggered analysis settings as active restore, recovery, or support capability unless the shared AI runtime entitlement clamp exposes them as currently effective. AI settings control-refresh callbacks ininternal/api/ai_handlers.goare likewise native Assistant tool-visibility plumbing, not MCP transport state and not storage/recovery execution authority. When operators hover or focus pools versus physical disks, the storage page must reuse one resolved active-series ID for row emphasis in both views instead of leaving stale row-local IDs or storage-local hover branches on the page. Any pool or disk focus that becomes pinned through storage interaction must stay row-first: the open row is the scoped state, and explicit clearing belongs to the shared storage content-card header action plus the sharedEscapereset path rather than an extra storage-local strip, search-row widget, or filter-bar badge. Collapsing the open row's group hides the row without clearing that focus. Background whitespace clearing may remain a convenience, but storage must not rely on it as the only reversible control. Storage pool-group headers pin nothing. A header click opens or closes its group, exactly like its chevron, so it neither closes an open pool in another group nor writes asummaryGrouproute param, and Storage reads none. The group pin and its member-row emphasis were removed after the storage summary charts the pinned scope was built to rescope were retired: one click pinned a group and toggled it, so pinning an open group also collapsed it and hid the rows it emphasised. - Keep the storage summary history cache versioned with the chart contract.
frontend-modern/src/utils/storageSummaryCache.ts, whichfrontend-modern/src/components/Storage/useStorageSummaryCharts.tsreads for the pool Growth column, must carry an explicit summary contract version in its cache key so long-lived demo sessions do not rehydrate stale pool or disk series shapes after the storage summary chart model changes. It must also remain bounded to 20 recent node/range summaries, use LRU replacement, and abort in-flight requests when organization ownership changes so a late response cannot recreate an old-scope cache entry. - Keep cross-surface workload handoffs on canonical IDs too. Shared workload
chart transport may look up provider-backed VM history through unified
metrics targets, but infrastructure/workloads/storage/recovery navigation
and focus handoffs must stay on canonical workload IDs instead of
provider-native metric keys.
The same cross-surface rule applies when recovery-adjacent drawers or
summaries hand off Kubernetes pod history. Those surfaces may request pod
metrics only through the unified prefixed target
k8s:<cluster>:pod:<uid>and must rely on API-side canonicalization for any legacy bare pod ID instead of inventing a recovery-local pod history key. - Keep storage row emphasis on the shared frontend primitive contract. Pool
rows and physical-disk rows that mirror the active summary entity must
expose that state through
data-summary-row-activeand let the shared row presentation owned byfrontend-modern/src/index.cssrender the emphasis, rather than carrying storage-local sky fill classes that drift from the rest of the product or obscure inline capacity bars. Storage pool rows and physical-disk rows must also route pointer and focus preview throughfrontend-modern/src/components/shared/summaryInteractionA11y.ts, and may keep deliberate expand/pin ownership onfrontend-modern/src/components/shared/SummaryRowActionButton.tsx. Storage group headers have no preview or pin: the whole row and its disclosure chevron perform the same open/close, the row keepsdata-summary-group-idso the shared clear-surface click leaves an open pool alone, and the header must not add a separate scope/pinned pill button beside the chevron. Touch pool, physical-disk, and storage group rows own expansion through the whole row, so they must explicitly suppress the redundant visible mobile chevron. A drag that selects pool row text, such as a pool name being copied, must not expand the row:StoragePoolRowwires the sharedcreateRowTextSelectionGuard()fromfrontend-modern/src/components/shared/Table.tsx, and a press released in place still expands on the first click. This is presentation only; it changes no storage evidence, alert state or recovery authority. Touch users still must not inherit synthetic hover branches, and storage must not keep a special trailing expand column once the shared leading action contract exists. Static subgroup header emphasis for storage group rows must also route throughfrontend-modern/src/components/shared/groupedTableRowPresentation.tsand the shared.grouped-table-rowCSS contract infrontend-modern/src/index.css, rather than storage-local background classes or left-accent marker variants. The recovery history day headers this rule also named went with the aggregate Recovery page; the Proxmox Backups date feed's day dividers (ProxmoxRecoverableTable.tsx) style their cell directly because a cell-level background renders reliably across table layout engines. Storage pool rows must also keep sizing and alert accents on canonical class/data-attribute presentation rather than row-local inline style maps, so the public storage page stays CSP-safe under both normal and alert-highlighted demo/runtime states. - Keep recovery transport refreshes on the shared non-suspending query.
Every recovery read retains its last fulfilled response while the next
request is in flight through
frontend-modern/src/hooks/createNonSuspendingQuery.ts:frontend-modern/src/hooks/useRecoveryPoints.ts(the TrueNAS Protection tab's points) andfrontend-modern/src/hooks/useProtectionPostures.tspoll every 30 seconds, andProxmoxBackupsTable.tsxreads/api/backups/pveand/api/backups/pbsthrough the same primitive. The points and posture reads stay keyed by the query or resource IDs their tab passes, and the PVE and PBS inventory reads by fixed source keys, instead of recreating page-local suspense escape hatches or a second refetch state in the platform tables. The aggregate Recovery page's state owner, which this item used to name, was deleted on 2026-05-26 with the rollup, facet, and series hooks. - Keep storage/recovery-adjacent resource metadata on the shared unified
resource contract. When canonical storage resources expose provider-backed
identity such as Proxmox storage
pool, storage and recovery consumers must inherit that field throughfrontend-modern/src/hooks/useUnifiedResources.tsandfrontend-modern/src/types/resource.tsinstead of rebuilding backing pool identity from labels, paths, or storage-row-local heuristics. - Keep storage route writes on the shared route-state scheduler. Storage page
filter and tab updates may still own their query keys locally, but
frontend-modern/src/components/Storage/useStorageRouteState.tsmust route same-route replace navigation through the sharedcreateRouteStateNavigateSchedulerhelper so back-to-back storage filter changes coalesce against the current location instead of reintroducing a storage-local timeout queue. - Keep storage/recovery-adjacent config-import reload safety on the shared
internal/api/boundary. When storage or recovery setup flows depend oninternal/api/configapi/config_export_import_handlers.go, post-import reloads must tolerate absent notification managers and other optional runtime managers so adjacent browser surfaces inherit a fail-closed API response instead of a panic after the archive import succeeds. - Treat the shared Proxmox auto-register authority split as lifecycle/API context only. Direct agent-token health checks and a one-time, server-minted install registration grant must not widen backup, snapshot, restore, retention, replication, datastore-management, or recovery-policy authority.
Attention posture join
Patrol attention reads protection posture through the canonical recovery store
as a bounded subject-ID batch. Recovery remains the sole owner of protected,
attention, unprotected, and unknown derivation and its provider evidence.
Attention projection may order and display that posture but cannot recompute it
or call the store once per item.
The batch is keyed by each item's subject: the unified resource ID the alert's
own reference resolves to in current inventory, which is the ID recovery
records postures under. Before 24 October 2026 the batch asked for the alerts'
raw references (pve1:node1:100, docker:<host>/<container>), so a guest's
posture never attached to its alert. Only the requested IDs changed; no
recovery read, write or derivation path did.
If posture lookup fails, lifecycle work remains visible with partial coverage. If no subject-linked posture exists, the UI says protection is unknown rather than unprotected. The summary-only navigation path does not query recovery history.
Patrol model-readiness isolation
Keep Patrol model-readiness context fixtures synthetic and isolated from storage/recovery state. The advisor may model backup failure and storage pressure to assess context selection, but it must not read live backup records, invoke recovery APIs, mutate storage, or treat a synthetic pass as evidence that Safe auto-fix or Autopilot remediation is verified. An interrupted readiness run keeps the same isolation: preserved partial scenario evidence is synthetic probe output only, and the keepalive response transport, its up-front status commit, and its panic recovery introduce no storage or recovery side channel. A result recovered from a panic reports every dimension as not assessed and carries no storage or backup state at all. Readiness checks read that snapshot's completed overall verdict rather than a single dimension, so a tool-protocol pass on an unfinished run cannot be presented as verified Patrol capability over storage or recovery data.
Storage row presentation resolves its topology label from
storage.vdevLayoutfirst and falls back tostorage.topology, so a pool reads as its concrete layout ("Mirror", "Raidz2") without the discriminator ever carrying presentation detail. Regression coverage:labels a TrueNAS pool by its vdev layout while keeping the pool discriminatorandfalls back to the topology discriminator when no vdev layout is reportedinfrontend-modern/src/features/storageBackups/__tests__/storageAdapters.test.ts. When neither is reported, a Proxmox storage plugin type resolves to the name the Proxmox UI gives it (lvmthinis LVM-Thin,nfsis NFS,cifsis SMB/CIFS,iscsiis iSCSI,zfs,btrfs,glusterfs,esxilikewise); title-casing the raw plugin name is not a label. A storage the poller merged across the cluster carries the syntheticclusternode (the mock fixture'sshared), and its host label reads "Shared" with the reporting node count when the storage lists its nodes, never the raw marker.A rejected legacy RBAC import must not destroy the store. The import is transactional and leaves the legacy files in place, so a failure leaves the database un-migrated rather than half-migrated, which denies access rather than granting it. Failing manager construction instead takes the whole org's RBAC surface offline including
ResetAdminRole, the operator's only way back, on a conflict an ordinary v5 upgrade can produce. The store therefore stays live and records the failure onSQLiteManager.MigrationError. Management routes still fail closed withrbac_store_unavailablethrough the handler manager accessors; recovery reaches the provider directly and is deliberately exempt. Regression coverage:TestAdminRecoverySurvivesFailedLegacyRBACMigrationininternal/api/contract_test.go,TestRBACHandlersReportLegacyMigrationFailureininternal/api/rbac_handlers_test.go, and the rejection cases inpkg/auth/sqlite_manager_test.go.
Current State
Tenant agent install tokens persist in the instance token store
A tenant organization's agent install tokens are persisted in the instance
api_tokens.json (bound by OrgID), not in orgs/<id>/api_tokens.json. In
a provider-hosted client runtime that is the runtime's own data root, which
provider backups already capture. Proxmox install-grant consumption,
install-time command-policy markers and revocation are written to the store
that holds the record. A duplicate that an earlier version persisted in the
organization's file stays authoritative for its grant state and is revoked
together with the instance record. Proof: the TestHostedClientWorkspace*
tests in internal/api/host_agent_removal_lifecycle_integration_test.go.
Webhook destination edits restore submitted masks per key while preserving explicit map edits/removals. They retain encrypted persistence, serialized save-before-publish and owned rollback on live publication failure; invalid masks fail before either write. Restored secrets do not reach the response. The connected notification edit/reopen test verifies durable new settings; already admitted queue work remains a snapshot, not an implied retry or rewrite. No storage schema, retention, database internals or recovery mechanism changes.
Stored disk I/O cannot suppress native thermal History
The existing disk History response can supplement only its absent/shallow thermal series after a successful persistent-store read. Independent stored I/O values, timestamps and aggregate bounds stay intact; a closed/failed store returns its existing error rather than native success. No retention, pruning, schema, writer, recovery or database-internal change is involved. The connected native History route covers ordinary store writes, shallow readback, sufficient coverage and the error boundary.
The agent config-fetch audit suppression cache is bounded to 4,096
organisation/agent pairs, independently of persisted security audit history.
Expiry-index pruning forgets only suppression state, never audit rows or
recovery evidence. Unremembered overflow deliveries remain auditable with
reason=capacity; cache expiry, overflow, or restart is not a successful
storage operation or a reason to delete historical events.
Alert settings saves keep unsent keys without a new storage path
PUT /api/alerts/config now applies only the top-level keys the body carries
and keeps stored values for the rest, so a thresholds save no longer turns off
alert TTL cleanup. It still writes alerts.json through the existing
SaveAlertConfig path, opens no storage or recovery route, and leaves backup
and snapshot alert settings under the same replace-what-was-sent rule as every
other key. internal/api/alerting/alerts_test.go pins the handler.
Container diagnostics shares private bootstrap transport (1 October 2026)
Recovery-adjacent diagnostics now reuse the canonical complete installer fetch/preflight and root/sudo private token-entry boundary, rather than exposing credentials in a copied pipeline or reference service. Its existing token response remains separate, no-store and durably bound to the unchanged host-plus-Docker or workload-only scopes. The default-Linux service reference uses a protected token path and instructs users to retain the actual installer-generated unit for custom state and privilege profiles. Invalid unit structure fails before issuance. This changes no storage permission, retention, recovery operation or success condition; executable bootstrap and response proof is not persistent-data upgrade/rollback acceptance.
Credential-safe Proxmox bootstrap (1 October 2026)
The shared Proxmox setup boundary now receives its bootstrap credential from private terminal input via a bounded 0700/0600 file, before native setup mutation, rather than from copied shell literals or newly generated token-bearing download URLs. Existing registration grant binding, PVE/PBS monitoring scopes, and explicit non-rotating Audit/Repair remain unchanged. A private-file validation failure stops setup, and failed attempted registration exits nonzero with fixed guidance rather than echoed credential-bearing responses. This supersedes historical shared-boundary requirements for token-bearing commands and manual download URLs; it does not change storage permissions, recovery or retention.
Update progress stream delivery
Update progress delivery changes observation only. Streaming or polling a
backing-up, restoring or completed stage does not create a backup,
perform rollback or establish recovery success. Update history and retained
backups remain the recovery authority, independent of /api/updates/stream.
Hosted install tokens persist like any other workspace token
Hosted client workspaces now mint agent install tokens where they previously
returned none. Each token is issued through issueAndPersistAgentInstallToken
into the workspace's own config persistence, the same store and write path as
every other API token, so backup, restore and recovery of a client workspace
carry these tokens without any new storage surface. A restored workspace keeps
its agents' tokens; revoking one remains Settings → Infrastructure → Tokens.
Org managers see org-bound settings, not recovery administration
/api/security/status now grants an owner or admin of the selected
organization the org-bound infrastructureRead, availabilityRead and
reportingRead capabilities, because those routes already admit org managers
and read only that organization's state. systemSettingsRead, which gates
System → Recovery with backup polling and configuration export/import, stays
withheld from every org-scoped session, so an org manager is not offered
instance recovery or configuration transfer. See the api-contracts contract,
rule 35.
Superseded in part: reportingRead was briefly withheld from org managers
while report generation read the instance's default metrics store. Reports now
read only the request organization's metrics store and refuse resources outside
its inventory, so org managers again hold reportingRead alongside
infrastructureRead and availabilityRead, and the reporting routes use
ensureOrgAdminSession.
TLS verification preference survives node re-registration
A PVE or PBS node whose operator disabled certificate verification keeps that preference when the host agent re-registers the node after a disconnect, including when the stored fingerprint was cleared. This prevents a rotating or self-signed certificate from silently re-enabling verification and breaking the monitoring path used for backup and recovery evidence. New nodes still take the captured registration value. The same preference is preserved when automatic PVE consolidation folds a duplicate cluster or an overlapping standalone into the canonical connection on save, load or monitor reconciliation; a merged certificate fingerprint still pins the peer. See the agent-lifecycle contract for the runtime mechanism.
Manual update freshness
Server update-check freshness changes observation only. A refreshed availability result or an omitted publication date does not create a backup, perform rollback or establish recovery success. Existing update history and recovery authority remain independent of GET /api/updates/check.
TrueNAS workflows hydrate only their owning inventory
The TrueNAS Protection tab is a first-class workflow once a TrueNAS system is
present, so route discovery no longer depends on preloading recovery points.
TrueNASPageSurface.tsx requests the platform-scoped recovery inventory only
when /truenas/protection is active; Overview, Storage, Services, Apps, VMs,
and Shares do not compete with that independent request during first paint.
The unified-resource query follows the same route ownership: Overview retains
the complete TrueNAS incident-bearing resource set, while the detail workflows
hydrate only their system anchor and rendered storage, disk, app, VM, or share
types. Source-scoped type facets preserve evidence-gated navigation without
turning inactive rows into recovery state or preloading their inventories. The
surface contract pins the route query map, the inactive recovery null query,
and the direct Protection query parameters.
Agent config fetch auditing leaves recovery evidence unchanged
/api/agents/agent/{id}/config now records a successful fetch in the security
audit log only when it is new audit information (the agent's first delivery
after start, a token or desired-config change, or once a day), while every
failed fetch is still recorded. This changes no storage or recovery path:
recovery actions keep their own action audits, dispatch receipts, and
verification records, and only routine successful config polls stop producing
one security-audit row each. The rule is pinned by
internal/api/host_agent_removal_lifecycle_integration_test.go.
Fresh agent command policy preserves the existing recovery authority boundary
New self-hosted install-command tokens project their explicit command-policy
intent onto the accepted host exactly once before the first report
acknowledgement. This repairs stale disabled policy after agent reinstall but
does not create a new storage recovery path: enabled intent still requires the
shared exec-token binding decision and live agent:exec scope, generic tokens
remain fail-closed, and every Docker update, host update, cleanup, or recovery
action continues through its existing late-bound readiness, approval, dispatch,
receipt, and verification authority. The one-shot applied-agent marker also
prevents later reports from undoing an administrator disable. The authenticated
reinstall regression is pinned by
internal/api/host_agent_removal_lifecycle_integration_test.go.
Proxmox backup views use canonical workflow routes
The Proxmox backup surface exposes its two operator workflows as explicit
route-backed sections: /proxmox/backups/date owns the chronological recovery
feed and /proxmox/backups/coverage owns workload protection posture. The
legacy /proxmox/backups?view=... query form remains compatibility input only;
new links and tab state must use the path segment, preserve shared scope
filters, and clear incompatible per-view facets when crossing sections.
Overview backup evidence is authoritative on first paint
The canonical REST-to-resource-to-workload boundary preserves Proxmox
lastBackup and backupInProgress evidence before the overview renders. A
missing value may be presented as never backed up only after that authoritative
facet is loaded; the UI must not require a later WebSocket merge to replace a
transport-induced absence. Preserving this read-only evidence adds no backup,
restore, retention, or recovery authority. The behavior is pinned by
useUnifiedResources.test.ts and useWorkloads.test.ts.
Coverage rows name the last backup, not the newest restore point
The Proxmox coverage row's Last backup cell is the newest completed PBS
snapshot or PVE backup file. A guest snapshot never fills it: it shares the
guest's own storage, and the protection posture engine already refuses to count
snapshots as independent recovery, so a fresh snapshot beside a stale posture
must not read as a fresh backup. Snapshot-only rows show None and carry the
engine's own reason on hover; the guest snapshot keeps its dedicated column and
the restore-evidence disclosure. The backup-location filter re-derives that
pointer from completed, non-snapshot artifacts under the same rule. This is a
presentation and sort change only; it adds no backup, restore, or retention
authority. Pinned by proxmoxBackupRecoveryModel.test.ts and
ProxmoxCoverageTable.test.tsx.
Backup health states a verdict and groups exceptions by reason (1 November 2026)
The Backups health card states "47 / 49 protected" in its header strip, then
one row per cause for everything that is not, each with a count pill and a bar
for its share of rated targets ("No successful backup 2", "Not verified
recently 723"), and a Protected row last, matching the platform overview
tables rather than prose. The cause is the
protection posture's server-owned reason, set in DeriveProtectionPostureAt
beside the explanation it summarizes, so the page groups workloads without
parsing sentences or re-deriving the posture rules. Each reason belongs to
exactly one state; a posture stored before reasons existed, or a reason the
browser does not know, groups under its state ("Needs attention", "Not
protected", "Status unknown") rather than being dropped. The rating counts
active backup targets only: orphaned records, workloads still checking and
not-evaluated host and orphan rows stay out of both numbers, and the last two
are named beside the sentence.
A group line toggles Coverage to exactly its workloads through the ?reason=
URL state. From By date it opens Coverage already filtered, through the same
view path the tabs use; on the bare Backups route it also pins the Coverage
route, so the view cannot fall back to By date when the exceptions clear.
Choosing a posture pill drops ?reason=, and By date drops both, so the two
filters never combine into an empty list. The posture bar and the
per-posture count toggles are gone; the inline posture pills and the phone
Filters sheet still filter by posture. On the production install the strip
read "0 protected, 38 attention", which left the operator counting rows to
find the cause; on the 932-guest mock it now reads as five lines. No posture,
freshness or protection evaluation changes.
Backup servers show the datastore fill forecast (2 November 2026)
A PBS datastore row in the Backup servers table says when the store fills
("Full in ~4d", red within a day) while its active capacity alert carries
forecastDaysToFull. That alert is the existing storage capacity forecast the
PBS poller evaluates for storage <instance id>-<store> (alias
<instance id>/<store>), with its own trigger, latch and recovery lifecycle;
the Backups page never estimates a runway of its own. The dashed storage id is
ambiguous across connections (main + daily-tank and main-daily + tank),
so a row takes an alert only when its policy aliases name the exact
<instance id>/<store>, or, without aliases, its instance and store name match.
The resource name can be the PBS hostname, so it is never used. No countdown
does not mean the runway is safe: a store over the usage threshold alerts on
usage instead (the percentage already shows it) and a young trend is not yet
trusted. An unreadable store keeps "Unavailable" rather than a forecast.
Acknowledging the alert does not change when the store fills, so an
acknowledged forecast still shows.
On desktop the forecast pill takes the used/total bytes' place in Used (they
stay in its title and the drawer). On phones it takes State, as a job problem
does, and the percentage stays whole; a critical job problem keeps State over a
warning forecast. The datastore drawer adds a "Fill forecast" line with the
observed daily growth. The page owns the live alert store and passes a lookup
through ProxmoxBackupsTable's datastoreAlerts, so the table renders without
an alerts provider and shows no forecast when none is given.
Backups opens on Coverage, with plainer health reasons (3 November 2026)
The Backups tab now opens Coverage, which answers whether each guest is backed
up; By date stays one click away for finding a particular restore point, and
Coverage leads the view tabs. PROXMOX_BACKUPS_DEFAULT_VIEW is coverage, so
the section link and a bare /proxmox/backups bookmark both land there at
once, without waiting for the first assessment. Explicit date routes and
legacy ?view= links are unchanged.
Two Backup health reasons read plainer. "No backup history" (no-history)
sounded like "No successful backup" (no-backup) while meaning the opposite:
Pulse cannot read any history for that guest, so it cannot say either way. It
now reads "Backup status unknown". "Backup source reported a failure"
(source-failed) is now "Last backup failed": the newest attempt failed after
the last success, so an older backup still exists, which is why it sits under
Needs attention. "No successful backup" stays, because "No backup found" is
reserved: the inventory makes no all-time completeness claim. The empty
Coverage table reads "Nothing to check yet". Which workloads each reason
selects is unchanged.
Phone Coverage rows keep the workload name whole (3 November 2026)
On a phone the Coverage name cell also carried the VM id and the PVE connection, which cut names to a few letters ("ch..."), so every "checkout-web-*" guest looked the same. In the compact layout a row now shows the name alone unless another Coverage row shares it, judged across every row before search and filters so a filter never changes how a row is named; namesakes keep the VM id and connection that tell them apart. The disclosure label and the row drawer always carry both. Wider layouts are unchanged.
The datastore drawer answers the datastore (3 November 2026)
Opening a Backup servers datastore row filled about 750px with a "Selected datastore" list that repeated the row, then the whole server dashboard (CPU, network, disk and temperature charts), none of which says whether backups are safe. The drawer now leads with the canonical drawer heading, the datastore named with its status dot and "on ", then one compact Datastore block: capacity with free space, fill forecast when there is one, job results and backup entries. The server's own inspector waits behind a collapsed "Server" section ("Show server"), mounted and read only when opened, so power users lose nothing. A server row with no datastore is about the server and still opens its inspector directly. About 260px at desktop and phone widths.
Backup health reason rows show they open Coverage (2 November 2026)
Each Backup health reason row was already a button that filters Coverage to
those workloads, but it read as a static statistic. ProxmoxBackupsCoverageStrip
now ends each clickable row with a muted chevron that brightens on hover and
turns blue while the filter is on, and the hover title reads "Show in Coverage:"
before the name preview ("Clear this filter in Coverage" while pressed). The
Protected row opens nothing and carries no chevron; an empty last grid track
keeps its columns aligned. Rows stay 32px, the accessible names are unchanged,
and the phone bar narrows from 5rem to 4rem to make room. Which workloads each
reason selects is unchanged.
Failed PBS jobs are datastore problems, with an alert (3 November 2026)
A PBS sync, verify, prune or garbage-collection job whose newest run failed on
a datastore is now that datastore's problem, not a guest's. Backup health lists
it in its own "Datastores with failed jobs" rows below the guest reasons ("Sync
failed", the datastore count, the names), and each row brings the Backup
servers table into view. The guest verdict is unchanged: in the #1815 case the
guest's primary backup succeeded and stays protected while the failed copy to
the second store shows and alerts on its own. The rows and the alert use the
Jobs column's judgment (summarizeDatastoreJobs): only a failure pinned to the
datastore counts, the newest run of each job speaks, and storeless task history
or a late, warned or unknown job never does. Durable PBS task history, a Tasks
view, secondary-copy lag and PBS jobs in the 14-day Backup jobs chart remain
open under the cross-system task outcomes entry.
Task history no longer marks a datastore job family unknown (2 November 2026)
summarizeDatastoreJobs treats a family as unread for every datastore only
when a storeless entry that is not OK is a failed read (evidenceScope
partial-read or an error) or a failed or warned run. PBS task history
arrives with no store, one entry per past run,
and on a real PBS one run with an unclear status turned the Jobs cell for every
datastore to "Prune unknown" even though all six configured prune jobs reported
OK from /admin/prune. Configured jobs with a store still speak for their
datastore; a storeless partial read or failed task-history run still yields
"unknown", never OK. Attaching task history to its datastore upstream would be
the fuller fix, but older runs of a configured job would then need to defer to
its latest result.
Backup health and jobs bars match the rest of Pulse (2 November 2026)
The Backup health bars and the Backup jobs chart now fill with the same green, amber and red as the Overview CPU, memory and disk bars. They had their own shades, so the Backups page looked inconsistent beside every other page. What each bar counts is unchanged.
Backup servers rows sit under one header per server (2 November 2026)
The Backup servers table now puts a header row above each PBS server's datastores: its connection dot, its name with the web-interface link, and how many datastores it reports. On a real install with one server and two datastores, a muted server name on each row still left the maintainer asking whether they ran one PBS or two; the header answers that at a glance, the way guest tables group by node. Datastore rows are named by the datastore alone. A server with no datastore data keeps its reachability row, and its header claims no count, because an empty read is not proof of no datastores. The earlier note that each row carries its server's name and web link is historical. The table is titled "Backup servers" with the number of servers. Datastore rows no longer show "Healthy": that was the server's connection, and it read as the datastore and its backups being fine. Connection health is on the server header; phones keep a State column for the datastore's job result, a job problem or a fill forecast.
On Backups, "snapshot" means a guest snapshot (3 November 2026)
The page used "snapshot" for two opposite things: PBS restore points, which
are backups, and guest snapshots, which are not and never count as
protection. PBS items are now "PBS backups" everywhere the page names them:
the source filter, record details, the Backup health header ("N with PBS
backups"), the loading and empty copy, and the Coverage "No PBS backup or PVE
backup file" cell, whose hover now says "A guest snapshot is not a separate
backup". A PBS backup with no verification result shows "Backup", not
"Snapshot", in the By date state column. Guest snapshots keep "Snapshot",
the snapshots-only health reason reads "Only guest snapshots", and the empty
list says items appear "when available" rather than "once backups run",
since backup jobs do not make guest snapshots. The PBS filter's hover notes
that PBS itself calls these backup snapshots. Source kinds, filters, URLs and
what counts as protection are unchanged.
Backup servers rows are named by their datastore (2 November 2026)
The Backup servers table keeps one row per datastore, but each row is now
named by its datastore, with its server beside it in muted text and that
server's web-interface link, the way restore point rows name a workload and
its connection. The first column is "Datastore"; the separate Datastore column
is gone; every row carries its server's status. Rows named by their server read
as two PBS servers on a real two-datastore install, and hiding the repeated
name on later rows left a nameless row with only a toggle.
BackupServerRow.continuesServer is removed. A server with no datastore data
still gets one reachability row named by the server. Earlier notes in this
contract that status shows once per server, or that later rows keep a muted
server name, are historical.
Restore points drop the per-day chart (2 November 2026)
By date no longer draws "Completed restore points per day" (or its Volume
mode, range picker and day filter). Beside the Backup jobs card it read as the
same chart, yet it counted only points that still exist, bucketed by creation
day: pruned days fell to zero and retained weekly points spiked, so its shape
mostly showed the retention policy rather than what ran. Backup jobs reports
each day's retained backup task outcomes for current workloads; the list's day
headings already group restore points by date. BackupActivityChart.tsx, proxmoxBackupActivityPresentation.ts
and their tests are deleted, the undated-entry notice keeps only "remain
listed. Their ages are unknown." without its chart clause, and an old bookmark's
day parameter is ignored and cleared by Clear filters. Earlier notes in this
contract that describe the chart's sizing, tooltips, day focus or volume rules
are historical. docs/RECOVERY.md explains why Backup jobs and the list can
disagree for a day, and completedBackupCountsDocs.test.ts pins that copy and
that the table renders no activity chart.
Backups page orders its answers: health, servers, restore points (2 November 2026)
The Backups page now reads in the order people ask: Backup health beside Backup jobs (are my backups protected, did last night run), then the Backup servers table (is my PBS reachable, is its datastore filling), then the restore points: the By date / Coverage tabs, filters and list. The view tabs head the restore points only; health and jobs belong to the page and render the same in either view.
The Backup servers table stays mounted through inventory loading, failure and
retries, since it reads /api/resources, not either backup inventory. The
single loading or all-sources-failed state sits above it in the summary's place,
and the restore-point block appears only when an inventory is readable or a
source failure needs explaining. The posture-unavailable and unread-sources
notices stay with the health card they qualify; the unresolved saved-location
notice moves with the list it empties.
Tapping a health exception still lands on Coverage filtered to those guests.
Because the list now sits below the servers, a tap scrolls the restore points
into view when their top is below the fold (phones), honouring reduced motion,
and leaves the page where it is when the list already shows; clearing a filter
never scrolls. ProxmoxBackupsTable.test.tsx pins the section order and both
scroll cases.
Backup jobs names each time window where it is shown (3 November 2026)
The card's title read "Backup jobs 14 days" while its outcome pills counted the last 24 hours, and the pills' "24h" prefix was hidden on phones, so the pills read as the chart's totals. The title is now "Backup jobs", the pills are prefixed "Last 24h" ("24h" on phones, keeping the header on one line), and the chart's own axis, first day to Today, gives its span. When Pulse did not see the whole last 24 hours the pills carry "incomplete data" (was "partial") with the hover "Pulse did not see the whole last 24 hours, so these counts may be low". Counts, windows and history states are unchanged.
Backup jobs show 14 days of retained outcomes beside Backup health (2 November 2026)
A Backup jobs card answers "did last night's backups run, and is that
normal?": last-24-hour outcome pills ("456 ok", "35 failed", "33 running") in
its header strip and one stacked bar per day for the last 14 local days. It
reads /api/backups/jobs, which summarizes retained pve-task: history
through recovery.BuildBackupHealth, so a multi-guest vzdump job counts
through its attributed guest results, a stale running observation is not
counted as running, and days Pulse did not fully observe are outlined rather
than drawn as clean empty days. The live /api/backups/pve task list spans
only the latest collection window and must not be used for this history.
Unreadable history, malformed counts or a failed read after history was shown
read "History unavailable", never zero failures. Failed and warning guests are
named in their own pill's hover title.
The card is a page-owned section passed into ProxmoxBackupsTable as
summaryAside, so the table keeps exactly its PVE and PBS inventory reads. It
renders nothing until a backup task is counted (a PVE install without vzdump
jobs collects successfully and finds nothing), and sits beside Backup health
from xl only when it renders.
Backups page states its answer before its caveats (1 November 2026)
The health strip's posture rule moved behind a collapsed "What the counts mean" toggle, the "Health counts cover all targets and backup locations, regardless of filters" sentence and the chart's "Activity follows the backup filters" caption are gone, and restore-point and Coverage rows stay on one line (see frontend-primitives "Backup rows stay on one line"). On a phone the always-open copy took most of the first screen above the list. Each workload's drawer still explains its own posture, and the recovery docs still describe the chart and day-filter scope. No count, posture, filter or read changes.
Backup table values truncate inside their own column
The coverage Node cell, the restore-evidence Location and Details cells, and
the recoverable table's Location and Details cells render their value in a
block span that fills the fixed-layout cell, so a long node name, datastore path
or detail ends in an ellipsis inside its column on the row's text line, with the
full value on the title. A capped inline-block span let a long detail run past
its cell with no ellipsis and sat above the row. This is presentation only; it
adds no backup, restore, or retention authority. Pinned by
ProxmoxCoverageTable.test.tsx and platformOverviewLayout.guardrails.test.ts.
Retained Patrol objectives do not create recovery authority
The shared internal/api retained-objective endpoints may scope an outcome to
storage or recovery resources and queue read-only observer planning, but saving
an objective does not create backup, snapshot, prune, restore, deletion, or
filesystem authority. Any response to observer evidence still uses the
canonical governed action and verification path.
Provider-neutral libvirt VM facts are observation-only
The shared unified-resource type now includes a provider-neutral
virtualMachine facet for runtime state, hypervisor, and vCPU count. Storage
and recovery consumers may preserve or display this facet, but a libvirt
source does not imply snapshots, backup coverage, restore coordinates,
migration support, storage ownership, or lifecycle authority. No libvirt URI,
domain XML, console data, credential, or executable input enters recovery
state through this extension point.
Unified host read state preserves custom sensor evidence
The shared host/unified-resource read-state boundary now carries typed custom
numeric, boolean, and timestamp readings as cloned evidence, including optional
group, subgroup, kind, and event time. Storage and recovery consumers may
display or preserve that host snapshot, but must not reinterpret custom units
as temperatures, execute source paths, or treat a stale last-good value as a
fresh observation. No custom executable path, REST URL, or arguments enter the
server model, durable recovery data, or frontend payload. Value and event-time
pointer isolation are
pinned by TestResourceFromHostPreservesCustomSensorMeta and
TestCloneResourceIsolatesCustomSensorValues.
Source status verdicts change status only
SourceStatus carries an unexported verdict: the status each source reported
for the resource. It replaced the narrower marker for push reporters past their
lease. Status aggregation reads it, so a node a live poll reports offline, a
node the poller expired, an agent past its lease and a stopped guest on a quiet
source are offline instead of online or warning, unless another source
reports otherwise. The verdict is not serialized, persisted or exposed on the
wire, and the public status, lastSeen and cadence fields are unchanged. A
storage or datastore row that reported itself unavailable likewise stays
offline when its only source's poll goes quiet. No storage path, recovery
read or protection judgement depends on that status.
TestCloneResource_MutateSourceStatusMap pins that clones keep the verdict.
Shared system-settings boundary dropped dead auto-update schedule fields
The shared internal/api system-settings surface this subsystem consumes
(internal/api/system_settings.go, internal/api/configapi/config_system_handlers.go)
removed the never-consumed autoUpdateCheckInterval / autoUpdateTime
fields. Persisted system.json files that still carry the legacy keys load
cleanly with the keys ignored, so tenant workspace preservation and recovery
flows that copy system.json forward are unaffected.
Shared telemetry preference updates preserve recovery ownership
Telemetry preference updates remain durable before the sender callback. An
explicit boolean equal to the effective runtime value still repairs a stale
disk preference but must not restart the sender. Null/omitted values leave that
preference alone, and a failed save neither mutates runtime nor invokes the
callback. The document shape and recovery ownership are unchanged.
system_settings_telemetry_test.go pins repeated saves, transitions, durable
callback ordering, stale preferences, null input and failed persistence.
Shared system-settings boundary gained an SSH backoff reset side effect
The shared internal/api system-settings surface this subsystem consumes
(internal/api/system_settings.go) now clears the temperature collector's
in-memory SSH failure backoff on every live tenant monitor after a successful
save (#1638). Nothing is persisted by the reset — system.json shape and the
settings persistence path are unchanged — so tenant workspace preservation,
recovery flows that copy system.json forward, and backup or restore
attribution are unaffected.
Live temperature fallback opens no storage path
The shared internal/api live metrics fallback (router.go) now chooses CPU
temperature through models.PrimaryCPUTemperatureCelsius instead of local
copies. It writes nothing, adds no persisted field and touches no backup,
restore or recovery flow.
Agent exec token binding repairs are fail-closed durable writes
Command-token binding metadata (bound_agent_id, bound_hostname,
bound_at, binding version) is repaired only through one-shot migrations
inside admission — first-use bind, legacy identity migration, backfill, and
hostname re-bind after a host rename. Each repair persists through
SaveAPITokens before admission succeeds; a failed persistence write
restores the prior in-memory metadata and denies the registration rather
than admitting a session whose binding would not survive a restart. Steady
state registrations perform no token-store writes.
Proxmox runtime continuity is not protection evidence
The additive ProxmoxData.RuntimeStatus field preserves VM/LXC power-state
presentation while a platform snapshot is stale or refreshing. Storage and
recovery consumers must not interpret running, stopped, a retained guest
row, or an availability facet as backup freshness, protection coverage,
restore-chain verification, or recoverability. Authoritative guest deletion
may remove the inventory row and its canonical history identity, while
Recovery Assurance remains governed solely by its own backup and verification
evidence.
Storage history remount state is bounded
Storage summary history no longer treats every node/range combination visited by an always-open tab as permanent browser state. The shared cache keeps 20 recent summaries, refreshes LRU order on reuse, and cancels outstanding chart requests during an organization switch. This cache is separate from backend metrics-history retention and recovery-ingest ownership: increasing backup polling or server-side recovery enumeration must not expand the browser cache outside the fixed remount budget.
Expanded storage history is poll-stable
useStoragePoolsTableWindowing.ts reconciles flattened group and pool items by
their stable logical key. A refreshed unified-resource snapshot updates the
existing row proxy instead of remounting StoragePoolDetail, so the open
detail and its history range survive normal polling. Provider-derived
mock storage and Ceph rows resolve capacity history through their canonical
metrics target and receive deterministic usage fallback from current unified
capacity when no legacy history row exists. The row-identity regression and
the metric-specific plus all-metrics backend regression are the required proof;
direct detail-component tests alone are insufficient because they do not cross
the polling/remount boundary.
vSphere member composition is inventory, not protection evidence
ESXi host members projected under a vCenter connection in the grouped systems payload describe telemetry composition only. Storage and recovery surfaces must not read member presence, member state, or member counts as evidence about datastore protection, backup coverage, or restore recoverability; Recovery Assurance evidence continues to come exclusively from its own deterministic verification paths.
Connection integration provenance is telemetry-only evidence
The connections ledger's integrationSource discriminator (host telemetry
supplied by a platform integration such as vSphere or TrueNAS rather than a
Pulse Agent) is host-telemetry provenance only, and the ledger now drops
agent-type rows for such machines entirely — they are represented by their
owning platform connection. Storage and recovery surfaces must not read the
presence or absence of these ledger rows as evidence about backup coverage,
protection posture, restore chains, or recoverability, and the update
readiness change that excludes integration-backed machines from
registered-agent counts does not alter any Recovery Assurance domain:
recovery evidence still comes exclusively from its own deterministic
verification paths.
PBS reachability remains separate from recovery freshness
The shared PBS scheduler outcome may mark a source unreachable or unauthorized,
but storage and recovery consumers must not reinterpret that connection state
as deletion, corruption, or current freshness of previously collected
datastores, backups, or recovery points. Conversely, a successful PBS version
or datastore connectivity probe proves reachability only; optional inventory
and job collection can remain partial, and Recovery Assurance continues to
derive protection and recoverability from its own timestamped evidence.
internal/api/connections_aggregator.go and diagnostics may project the shared
connection outcome, but they do not become storage or restore authority.
Recovery actions retain execution-time readiness checks
Recovery-oriented capabilities admitted to canonical Actions are subject to
the same current AvailabilityChecker gate as every other governed action.
Losing executor or agent reachability after planning prevents a human approval
from being recorded and exposes the bounded reconnect reason. If readiness is
lost after approval, execution produces a persisted
action_execution_unavailable terminal no-effect refusal before a dispatch
attempt for both human and automatic policy execution. Expired or drifted
plans refresh only through the shared action lifecycle into a distinct action
identity; recovery consumers cannot reuse the old approval or invent a
storage-local replacement path.
Recovery Assurance remains a separate deterministic domain: backup freshness,
protection posture, restore-chain evidence, and recoverability cannot satisfy
action authorization or live executor readiness, and the readiness refusal
cannot be rewritten as proof that a restore is or is not recoverable.
Shared internal/api/ai_handlers.go now projects separate Patrol investigation
evidence-call and model-response budgets/counters. Storage and recovery may use
those values only as investigation cost/load evidence; they do not establish
storage health, backup completion, recovery-point validity, restore authority,
or post-action verification.
That adjacent handler also admits scoped and fleet-wide manual Patrol work
through one atomic runtime slot and returns the accepted run identity or a
typed already-running conflict. Storage and recovery may supply a resource as
investigation scope, but admission is not storage mutation authority, backup
success, recovery verification, or an alternate recovery queue.
Canonical mutation-plane dependency
Infrastructure rollback is a declared lifecycle property, not executable model
or legacy remediation text. Task 10 owns compensation/truth representation;
until that contract is complete, affected Kubernetes and native provider
mutations remain fail-closed denied. Docker container image updates left that
denied set: the update executor in internal/api/ reports declared
compensation (backup_rename_restore) with the agent-attested backup
identity, rollback attempt, and rollback outcome carried in the typed result,
so a failed update surfaces whether the original container was restored
instead of guessing.
Storage and recovery consumers inherit create-once action identity, monotonic
terminal state, and exactly-one executor admission from the shared lifecycle.
They must not retry an executing action as a new dispatch after restart;
recovery must resolve the existing attempt through the separately governed
continuity contract.
The shared store materializes that continuity as a transactional dispatch
attempt/outbox and a one-shot pre-send MarkActionDispatchStarted boundary.
Storage and recovery consumers may observe action detail, pending/settled
projections, and correlated receipt state, but may not infer restore,
verification, rollback, or compensation truth from those transport-only fields
or create a local retry path when the core attempt is receipt_pending.
The shared lifecycle, not this subsystem, also owns the exits from
receipt_pending. A correlated interrupted or tombstoned receipt settles the
action immediately, and a missing or still-unfinished receipt settles it only
after the shared bounded reconciliation window, always as durable inconclusive
truth with no evidence. Storage and recovery consumers must read that outcome
as "effect unknown, verify the resource" and must never treat it as a confirmed
failure, a restore/rollback signal, or a licence to redispatch. The operator
force-fail override on the shared action route carries exactly the same
inconclusive meaning and the same prohibition.
The adjacent command transport now namespaces live sessions and pending
response channels by organization plus agent identity, while durable receipt
identity remains the immutable attempt/action/operation/digest/agent tuple.
Action dispatch and query contexts must carry the owning organization into
that transport; token rotation, server restart, socket replacement, or stale
reader cleanup may make the executor unavailable, but must not rewrite the
bound attempt, admit a cross-tenant response, replay a committed mutation, or
convert report health into receipt evidence. Recovery continues query-only
against the same bound operation and fails closed while its admitted session
is absent.
Unified Agent lifecycle fields added to the shared host and connections API are adjacent monitoring/API state only. Applied config fingerprints, updater status, and Host, Docker/Podman, or Kubernetes module readiness do not become storage health, protection state, recovery points, backup verification, or restore authorization. Storage and recovery consumers may use the canonical host identity carried by those payloads, but must not derive recovery semantics from agent process readiness or update success.
Authentication-cookie, SSO configured-file, deployment concurrency, and cloud
handoff redirect hardening in shared internal/api/ routes is adjacent
API/security work only. It creates no storage-health, recovery-point, backup,
restore-authorization, or provider-coverage semantics. Analyzer-visible cookie
sink separation and constant-capacity allocation refinements preserve that
boundary and introduce no storage persistence or recovery contract.
Denied Patrol investigation-fix approvals passing through shared
internal/api/ handlers are adjacent AI-runtime/action-governance state only.
The fix_rejected finding outcome means an operator declined a proposed Patrol
fix before execution; it must not become protection state, recovery-point
state, backup verification state, or storage/recovery-local remediation
semantics.
Default-org token scoping and notification-settings fan-out on shared
internal/api/ handlers are likewise adjacent only: they are
api-contract/security owned and create no storage, recovery-point, or
backup-surface semantics.
The shared PVE setup-script SMART wrapper remains a storage/recovery dependency only for disk-temperature evidence. Storage surfaces may depend on its non-opening scan and transport-aware SAT/SCSI/USB/HBA probe selection, but they must not fork a storage-local disk-temperature collector or replace the API-owned setup-script contract. Storage physical-disk rows also depend on the unified-resource disk contract preserving Proxmox node/instance metadata and SMART capacity when Proxmox inventory and host-agent SMART telemetry merge; storage/recovery consumers must read that canonical merged physical-disk resource rather than rebuilding a local Proxmox/S.M.A.R.T. join.
Notification webhook management changes on shared internal/api/ handlers are
likewise adjacent only: the webhook signingSecret payload field and its
masking semantics are notifications/API-contract owned and create no storage,
recovery-point, or backup-surface semantics.
Resource-tag routing fields on email and webhook configuration are likewise
notifications/alerts-owned. They may select delivery destinations from
canonical alert metadata, but they do not alter storage health, protection
posture, backup verification, recovery-point validity, or restore readiness.
Persistent notification queue-health changes on that same shared boundary
remain notifications/API-contract owned. Retained failed/dead-letter counts,
their seven-day/30-day retention metadata, and fail-closed unavailable state
must not be reinterpreted as storage health, backup status, recovery-point
validity, or restore readiness.
SSO provider-detail payload changes on shared internal/api/identity_sso_handlers.go
are API-contract/security-settings owned. Nested OIDC/SAML edit fields,
restriction lists, role mappings, and masked secret-presence markers create no
storage health, recovery-point, backup verification, restore authorization, or
provider-coverage semantics.
Alert delivery diagnosis on shared internal/api/alerting/alerts.go is likewise
adjacent only: /api/alerts/delivery-diagnosis exposes alerts/API-contract
read-only notification-policy evidence and creates no storage health,
recovery-point, backup verification, restore authorization, or provider
coverage semantics.
The identifier-free bulk response applies that same boundary to every active
alert in one read pass. A storage-related row in the array, a held delivery
reason, or an unavailable diagnosis cannot create, clear, or qualify backup,
recovery, protection, or restore evidence.
The adjacent /api/alerts/events route carries the same boundary over durable
alert lifecycle and notification-decision records. Storage-shaped resource
fields and suppression reasons remain alert evidence only; event presence or
absence cannot create, clear, verify, or authorize a backup, recovery point,
protection posture, or restore operation.
Kubernetes pod metadata decoded by frontend-modern/src/hooks/useUnifiedResources.ts
is shared inventory context for storage/recovery handoffs only; Pod phase,
container readiness, owner, image, and restart fields do not become protection
state or recovery-local workload taxonomy.
The alert payload the router-wired alert bridge (internal/api/router.go,
internal/api/ai_handlers.go) now carries into a scoped patrol — metric type,
value, threshold, resource identifier, level, and message — is read-only
investigation context for that single run. It must not be persisted as
protection state, recovery-local workload taxonomy, or a backup/recovery
artifact; storage and recovery state stays owned by their canonical surfaces.
The Storage and Recovery cross-jump builders
(buildStorageHrefForResource, buildRecoveryHrefForResource) were deleted
from frontend-modern/src/routing/resourceLinks.ts on 2026-05-16 alongside
the platform-first migration. The chip strips that previously rendered them
inside the alert resource-incidents panel and Patrol findings panel were
retired in the same pass; storage and recovery drilldowns now stay inside
the platform-page sub-tabs rather than offering external surface jumps.
Future cross-surface storage or recovery affordances must link into the
platform tab that owns those rows (the Proxmox Storage tab's embedded
StorageSurface, /truenas/storage, the Proxmox Backups tab, or the TrueNAS
Protection tab) rather than reintroducing top-level URL builders.
The remaining storage and recovery route builders in
frontend-modern/src/routing/resourceLinks.ts come down to one query-state
serializer, not a destination builder: buildStorageRouteSearch() is appended
to the current platform-owned pathname, today only by the Storage surface's
own filter state on the Proxmox Storage tab, and must not emit /storage as a
hidden compatibility path. The recovery serializer (RECOVERY_QUERY_PARAMS,
parseRecoveryLinkSearch, buildRecoveryRouteSearch) was deleted once
nothing read it: the Proxmox Backups tab keeps its view in the
/proxmox/backups/:view segment and its filters in
PROXMOX_BACKUPS_QUERY_PARAMS, and nothing emits /recovery.
Adjacent route-query constants for other platform surfaces, including
STANDALONE_QUERY_PARAMS, must remain namespaced and must not be reused as
storage source, node, resource, workspace, rollup, or day state. Adding a
shareable filter query to another surface must not broaden or reinterpret the
storage serializer contract or the Proxmox Backups query.
A platform page embeds StorageSurface with a forced source filter; there is
no table-only mode, and no Recovery surface exists to embed. The Proxmox
Storage tab is the only embedder: it passes forcedSourceFilter, and the
surface keeps the canonical Storage / Physical Disks view selector because
Proxmox locks no forcedView. Recovery rows render in platform-owned tabs.
The Proxmox Backups tab (frontend-modern/src/features/proxmox/ProxmoxBackupsTable.tsx)
reads /api/backups/pve, /api/backups/pbs, and protection postures itself,
and the TrueNAS Protection tab feeds
frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx from
useRecoveryPoints with the truenas platform forced. /truenas/storage
renders TrueNASStorageTopologyTable, not StorageSurface. The Storage
surface keeps owning its route-backed filter state, fetch builders, table
rendering, and storage vocabulary for its embedder. The Proxmox Storage tab
must keep its storage pools and physical disks on that embed rather than a
Proxmox-local copy; TrueNAS storage is deliberately a TrueNAS-owned topology
table built from the TrueNAS page model. Platform recovery tables must read
the canonical backup, posture, and recovery-point transports rather than a
platform-specific recovery data contract.
The investigation enrichment path reads operator-state from the
in-memory provider already wired against the durable
resource_operator_state SQLite table, so an operator's
commitments survive across restarts on the investigation read path
the same way they do on the suppression read path — both flow
through the same provider over the same durable table.
That provider resolves a finding's resource reference through the
organization monitor's current read state before it reads the table,
so a reference that read state folds into another resource through an
operator link reads the merged row. This changes which existing row is read,
not what is stored: no new persistence, migration or recovery path
opens, and a row left under a folded ID is neither rewritten nor
removed.
The agent SSE stream at /api/agent/events is in-memory and
stateless. No persistence; each connection starts fresh from the
moment of subscribe. Agents that need to catch up across reconnects
fetch the read endpoints (findings list, approvals list, audit
list) for replay — those are the durable surfaces. The
approval.pending and action.completed events fire after the
canonical record (approval row or action-audit row) has already
been persisted, so a missed event is recoverable by reading the
backing endpoint; the stream is a doorbell for recent activity,
not the source of truth. Heartbeat events are stream-local
keepalives and do not create recovery records, action-audit rows,
or storage/recovery freshness evidence. The verification projection on
action.completed reads from the same persisted
ActionAuditRecord.Result.Verification field that agents would
recover from /api/actions/{id} after a reconnect — the event
carries a copy, not the original, so the durable record remains
the canonical source.
Storage/recovery consumers must treat the event vocabulary as a shared
API/AI-owned contract from internal/agentcapabilities. Event names and
transport markers may be used to distinguish doorbells from keepalives, but
storage/recovery must not define local event-name registries or infer recovery
freshness from stream.connected or heartbeat.
The agent capabilities manifest at /api/agent/capabilities is
read-only and stateless — no persistence is involved. The manifest
is hand-authored in internal/agentcapabilities/manifest.go and served by
the API handler; storage flows are not affected.
Its action mode and approval policy metadata are API/AI-owned governance
posture for agent tool selection. Storage and recovery may observe that
metadata when agents explain available tools, but must not reinterpret it as
backup ownership, restore capability, recovery freshness, or storage-local
action authority.
Manifest inputSchema metadata is likewise an API-owned agent argument
contract. It may help an external agent call action or finding lifecycle tools,
or replace operator-state, but it does not introduce storage/recovery
persistence, restore authority, or backup-specific mutation semantics.
When that manifest exposes provisioning tools over /api/discover
and /api/config/nodes, storage and recovery may observe the resulting
configured sources and backup evidence only after the canonical node
lifecycle writes complete. Discovery candidates, credential test
payloads, token or password secrets, and add/update/remove source
commands remain API/agent-lifecycle onboarding concerns, not recovery
state, backup ownership, restore entitlement, or storage-local
credential material.
The action governance loop endpoints (/api/actions/plan,
/api/actions/{id}/decision, /api/actions/{id}/execute) joined
the agent surface but introduce no new persistence. Plan, decide,
and execute all write to the same ActionAuditRecord /
ActionLifecycleEvent durable storage the action audit store
already manages; the only delta is the wire shape returned to
clients on error (now the agent-stable envelope rather than the
platform-wide APIError shape). Recovery posture is identical:
when the action audit store rehydrates on startup, the action
endpoints recover the same lifecycle records they always did.
Local Basic-auth identity propagation into those handlers remains an API
authorization concern: successful verification attaches the operator to the
request context, while invalid credentials fail before any action audit write.
It does not add recovery storage, alter ActionAuditRecord, or let response
headers participate in approval identity.
The security audit database remains owned by security-privacy, but its
upgrade and recovery behavior is a shared storage boundary. Startup must
transactionally rebuild legacy v5 and early-v6 audit_events schemas into the
canonical integer-timestamp schema without partial commits, and malformed or
corrupt storage must fail closed without replacing history with an empty
result. Offline backup and restore must preserve both audit.db and its
signing key, while a restored store must retain ordering, tenant filtering,
signature verification, and explicit retention behavior. Concurrent writes
and SQLite busy conditions may be retried within bounded limits, but they must
never weaken snapshot consistency or cause destructive migration fallback.
The Patrol finding lifecycle endpoints advertised in the agent
capabilities manifest (acknowledge_finding, snooze_finding,
dismiss_finding, resolve_finding) follow the same storage boundary:
their agent-facing stable error envelope is an API/AI-runtime wire
contract only and is shared through internal/agentcapabilities.
Successful calls still mutate the existing Patrol finding store, unified
finding store, and learning feedback store exactly as the UI path does; no
MCP-specific, agent-specific, or recovery-specific persistence is introduced
by the manifest error-code declarations or by the shared error envelope.
The agent-consumable bundled context endpoint
/api/agent/resource-context/{id} reads the same durable
resource_operator_state table and action_audits table through the
canonical unified.ResourceStore accessors, and additionally
filters the in-memory approval store (durably persisted to the
approvals.json file the approval store already manages, hydrated
on startup). No new persistence is introduced for the
pending-approvals section either; the bundle is still a read-only
bundle over existing storage, so storage/recovery flows that
rehydrate the unified-resources store and the approval store
already cover everything the agent endpoint surfaces.
The fleet view at /api/agent/fleet-context introduces no new
persistence either — it walks the registry once and reads the same
durable resource_operator_state table per resource, the same
in-memory findings store, and the same in-memory approval store.
Fleet pending-approval counts may be grouped by canonical resource
id from one bounded approval-store scan, but that is still a
read-only projection over approvals.json, not a new recovery
artifact or storage/recovery freshness signal. The companion
/api/agent/resource-capabilities/{id} endpoint is the same kind
of read-only projection: it returns the in-memory
Resource.Capabilities slice the registry already assembles, so
no new persistence or recovery artifact is introduced. The
optional additive filter query params on fleet-context
(hasFindings, severity, technology, resourceType) likewise
introduce no new persistence: they only narrow the in-memory
registry walk, so the recovery posture is unchanged. The recovery posture
is identical to the per-resource bundle: when the unified-resources
store and the approval store rehydrate on startup, the fleet view
recovers the same situated picture without any fleet-specific
rehydration step.
The fleet change timeline at /api/agent/changes (list_recent_changes)
introduces no new persistence either. It reads the existing durable
resource_changes table through the store's filtered change read, bounded by
that table's 30-day retention, and consults the registry only to attach
resource names. Changes for a resource the registry no longer knows stay
readable without a name, so the timeline's recovery posture is exactly the
resource_changes table's: whatever survives a restart or restore is what
agents read, with no timeline-specific rehydration or recovery artifact.
Metric history at /api/agent/metric-history (get_metric_history) adds no
persistence either. It resolves a resource's existing MetricsTarget and reads
through the same history path the charts use (the metrics store, then the
in-memory and live fallbacks), so its recovery posture is the metrics store's.
The history-read usage marker adds no new store. It is a content-free
history_read record in the existing external-agent activity history, at most
one per UTC day, kept outside that history's 500-record cap and bounded by its
90-day retention. Losing the file loses only past markers; telemetry then
reports fewer history-read days until agents read again.
The live alert.fired, alert.resolved and resource.status_changed agent
events add no persistence. They are published in memory after the monitor
adapter has recorded the matching resource_changes row, and per-resource
status coalescing lives only in process memory. An event dropped for a slow
subscriber, or lost to a restart, is not replayed; the durable row it pointed
at stays readable through list_recent_changes. Alert lifecycle replay,
active-alert reconciliation and imported history after a restore record their
rows through the non-announcing RecordChange path, so recovery never
re-announces old alerts.
The Patrol-control status endpoint at
/api/agent/patrol-control/status introduces no new persistence. The legacy
/api/agent/operations-loop/status URL remains a compatibility alias. It reads the
registry, active findings, pending approval counts, recent action-audit records,
and recent action lifecycle events over the existing evidence window, then
returns only aggregate stage state and counts. Lifecycle events may rehydrate a
recent approval or rejection for a plan created before the window, but the
projection still resolves the event back to the canonical action audit before
counting governance or verification; approved and rejected decision counts stay
separate so a rejected-only decision can complete the no-execution branch
without being mistaken for verified remediation. The four-step operator rollup
follows the same adjacent-only evidence boundary: governance step counts may
reflect pending approvals or later decision evidence, active aggregate Patrol
findings may keep the next action on current operator work, the Assistant step
count may reflect contextual collaboration, and verification step counts may
reflect verified outcomes or terminal rejected decisions. Optional MCP readiness
stays in externalAgentReady, but storage and recovery must not treat those
counts or readiness as backup freshness, restore authority, or storage-local
remediation proof. The approved-success telemetry predicate follows that same
boundary: execution success alone is not verified outcome proof unless the
approved action also carries VerificationOutcome.Status=verified or a
canonical verification result that ran and succeeded, and storage/recovery
surfaces must not use those Patrol-control values as backup, restore, or
protected-state evidence. Recovery posture is therefore identical to the underlying
stores: once unified resources, findings, approvals, action audits, and
lifecycle events have rehydrated, the status projection is available without an
Patrol-control specific recovery artifact.
The agent capabilities manifest at /api/agent/capabilities is
hand-authored static data. There is no persistence to recover —
the manifest is a constant compiled into the binary; on every
restart it serves identical content as soon as the HTTP listener
is up. The endpoint sits in the router's publicPaths list so
the global auth middleware does not gate it, which makes
discovery available before any bootstrap-token / first-run flow
completes.
The findings runtime reads operator-set state through the same
durable resource_operator_state SQLite table on every
new-finding-add. One-shot and timezone-aware recurring maintenance windows and the
indefinite IntentionallyOffline flag persist across restarts; the
operator commitment in either form survives without needing a
re-entry on startup. The provider adapter returns one projection
covering all signals so the storage path is touched once per
finding regardless of which signal is active.
The resource_operator_state SQLite table introduced by the
unified-resources store keeps operator-set per-resource intent
(intentionally offline, never auto-remediate, one-shot or recurring maintenance window and scope,
criticality) durably alongside the rest of the unified-resource
durable state. The /api/resources/{id}/operator-state API surface in
internal/api/resources_operator_state.go reads and writes that table
through the canonical store, so storage / recovery flows that rehydrate
the unified-resources store also rehydrate operator-set state — a
maintenance window persists across restarts the same way action audits
and resource overrides do.
The patrol findings-recovery sync in internal/api/router.go also keeps
the will_fix_later wake-up deadline alongside the rest of the finding's
durable state when re-hydrating findings from disk into the unified
store. Persisted Finding.RemindAt values must round-trip through that
recovery path so an operator commitment recorded before a process
restart is not silently dropped when findings reload.
That same recovery path also preserves the operator-vs-Pulse
attribution captured in Finding.AutoResolved. The router boundary
must copy that flag onto UnifiedFinding.AutoResolved during both
live wire-up and persistence resync so a finding the operator
manually closed before a restart still reads as "Resolved by you"
afterward, instead of being misattributed to Pulse's auto-detection.
Agentless availability endpoints are adjacent infrastructure context only, not
storage or recovery inventory. Storage/recovery consumers may receive
network-endpoint resources through shared unified-resource snapshots, but
they must not fold those endpoints into protected-item counts, storage health
rollups, recovery evidence, or storage/recovery licensing or readiness
messages unless a separately governed storage/recovery relationship is added.
The agentless machine target kind does not change that boundary: it is
availability presentation vocabulary for computer-shaped reachability targets,
not Standalone Machines membership, storage ownership, repository membership,
backup coverage, or restore authority.
That same owned summary path now also runs through
useStorageSummaryCharts.ts: the storage page owns one page-scoped summary
range and one shared storage-summary history fetch, and the per-pool Growth
column and its growth sort reuse that payload instead of forking separate
row-local history reads or duplicate polling loops.
The storage table's default priority order is a risk list: records with an
open, unacknowledged alert sort first by severity (fed into
sortStorageRecords through StorageSortContext.alertWeightByRecordId from
the page's existing per-record alert state), then by the record's own
incidentPriority, then by usage percent; ties read A to Z under every sort
key and direction. A highlighted row always states its reason: the per-record
alert state carries a headline from the most severe, most recent open alert
(describeStorageAlertHeadline in storageRowAlertPresentation.ts), using the
alert engine's forecastDaysToFull metadata ("Full in ~N days"), the crossed
usage limit, or the alert message, with a compact form for the phone layouts,
and the State cell shows it in place of the plain online label. This reads
existing alert truth only: it adds no storage polling, forecast computation,
or alert lifecycle.
Storage physical-disk requirements copy now consumes the shared
frontend-modern/src/utils/infrastructureSettingsPresentation.ts Settings
Infrastructure target label. Disk-health guidance may refer to Proxmox node
requirements, but it must not revive removed nested Pulse settings paths such
as Settings → Infrastructure → Proxmox.
The cross-platform recovery item-type columns and filters went with the
aggregate Recovery page on 2026-05-26, and
frontend-modern/src/utils/recoveryItemTypePresentation.ts was deleted once
its last reader, the recovery query serializer, was. The Proxmox Backups
tables label workload types (VM, LXC, Host, or Guest) from
frontend-modern/src/features/proxmox/proxmoxBackupRecoveryModel.ts. A future
cross-platform recovery item-type label must not render a bare Cluster for
Kubernetes protected items; it uses K8s Cluster so Kubernetes clusters are
not confused with Proxmox clusters or table grouping.
This subsystem now sits under the dedicated storage and recovery lane so the operator-facing storage page, recovery timeline, and recovery-point persistence engine stop hiding inside broader monitoring and E2E buckets. That same first-session recovery boundary also treats the bootstrap token as a local secret, not a log artifact. Storage and recovery surfaces may surface the bootstrap token file path when first-run auth is missing, but automatic runtime logs must never print the bootstrap token value itself. That same recovery surface must also keep bootstrap token validation rate-limited per client so the local recovery transport does not become an unbounded online guessing path. Storage and recovery browser helpers now also keep one transport-tolerant normalization edge. Recovery display models must accept legacy subject-label fields and nullable mode/kind metadata before presenting canonical item labels, while storage detail drawers and filter controls must route summary series IDs, source tones, and disk metrics through the shared storage helpers instead of reconstructing them from local table state.
Evidence-bounded pool and dataset health
Storage consumes the canonical PoolHealth envelope for normalized severity
and recommendations while retaining the full native ZFS report for operator
inspection. ONLINE, DEGRADED, FAULTED, OFFLINE, and UNAVAIL, active
scrub or resilver work, terminal scan errors, pool/vdev counters, path-only
leaves, spare/mirror/RAIDZ topology, and explicit missing members remain
distinct evidence. Storage must not translate unknown telemetry or
disk.query absence into failure, replacement, or recovery.
Locked and unmounted datasets are availability conditions. Readonly is not itself a fault: receive-side replication targets classified by native replication intent remain healthy. This classification changes storage health only; it does not widen restore, mutation, replacement, or TrueNAS administration authority. Ceph may share the normalized pool-health envelope at cluster scope when native Ceph health evidence exists, but no ZFS leaf or disk semantics transfer by analogy.
Unified Agent target cache prevention on the shared router is adjacent
lifecycle/API transport. /api/agent/version no-store headers and non-secret
request cache keys must not be interpreted as recovery freshness, retained
backup evidence, rollback coverage, or a storage-local artifact version.
Config export/import remains adjacent persistence infrastructure rather than a
storage/recovery authority. Guest metadata import must reload the active
tenant monitor's live store so recovery and resource projections observe one
post-import state; it must not leave a parallel persistence cache or reload the
default tenant on behalf of another organization.
Saved web-interface metadata is likewise adjacent navigation state, not
storage or recovery evidence. Storage/recovery consumers may inherit a safe
canonical resource URL after the tenant-scoped unified-resource projection
refreshes, but save/remove change events, metadata reloads, and browser launch
controls do not prove backup freshness, restore readiness, protection posture,
or provider reachability and must not create a storage-local URL authority.
Host-agent removal tombstones in internal/config/host_continuity.go are an
adjacent agent-lifecycle security journal, not storage or recovery inventory.
Storage/recovery consumers may observe the resulting absence of a removed host
from canonical resources, but they must not load, repair, discard, or project
that journal. If it is unreadable, monitor startup fails closed; recovery code
must not substitute a backup continuity file or an empty removal set. Re-linking
storage resources after a fresh-token agent re-enrollment follows the canonical
resource ingest path and does not create a storage-local identity override.
Backup-aware alert intent is not recovery assurance
The alerts subsystem may defer an offline alert while monitoring supplies fresh, matching evidence of an active PVE backup task. That evidence is a short-lived operational context only. It does not create or update a recovery point, prove backup completeness, validate restore permissions, establish retention, or change protected/attention/unprotected/unknown posture.
Storage and recovery remain the sole owners of deterministic collection trust and recovery assurance. Stale, future-skewed, terminal, or mismatched task evidence fails closed for alert deferral, while PBS and provider recovery evidence continues through its independent mapper and posture rules. An alert grace period or hard-cap expiry cannot be interpreted as backup success or failure and grants no restore or infrastructure mutation authority. The alert runtime measures its base powered-off tolerance and backup hard cap from server-owned monotonic elapsed time. Backup task timestamps may qualify fresh matching context but cannot advance, reset, or extend that clock beyond the cap. A restart conservatively resumes persisted alert progress without claiming process downtime as backup coverage or recovery evidence.
Physical-disk collection truth
Storage surfaces consume the unified physical-disk collection contract without
turning absence into health or activity. Serial identity, temperature, per-disk
I/O, controller association, and pool membership each carry one of
available, transiently unavailable, provider/controller unsupported, or
unexpectedly missing, plus bounded source and reason detail. Retained prior
values may remain visible as history, but their current collection state must
remain explicit. In particular, members behind a shared controller must not
inherit aggregate I/O counters, and a disk drawer must hide live-I/O charts
when per-member collection is unavailable or unsupported.
On a disk merged from several rows (Proxmox, host agent SMART, Unraid
inventory, TrueNAS), the temperature state these surfaces read is the state of
the reading the disk shows (pairPhysicalDiskTemperatureState in
internal/unifiedresources/registry.go), so a retained value never arrives
under another row's available. The merge keeps each row's reading in an
unexported record on PhysicalDiskMeta (internal/unifiedresources/types.go)
that is never serialized; storage surfaces read only the presented temperature
and its state.
A retained disk temperature reads as last known, never as a live reading. The
Physical Disks table, the disk drawer and the pool drawer's linked-disk list
decide through isPhysicalDiskTemperatureCurrent and
getPhysicalDiskTemperaturePresentation in
frontend-modern/src/features/storageBackups/diskPresentation.ts: only an
available temperature state, or a source that predates collection state, is
current and takes the per-disk-type threshold colour. Any other state, such as
a disk in standby or a host agent past its reporting lease, renders the value
muted with no hot or warm colour, a dotted underline, a title carrying the
collection reason and screen-reader "last known" text; the drawer card is
labelled "Last known temperature" beneath the existing collection message.
This is presentation only. It does not change the stored value, history writes
or alert evaluation. Verification: diskPresentation.test.ts,
diskDetailPresentation.test.ts, storagePoolDetailPresentation.test.ts,
DiskList.test.tsx (a row moving between current, retained and legacy states)
and DiskDetail.test.tsx.
The same decision reaches the disks that only a host agent's own SMART rows
describe. HostDiskSMART.collection now crosses into the frontend type, and the
helpers live in frontend-modern/src/features/storageBackups/diskTemperaturePresentation.ts
(re-exported by diskPresentation.ts, one implementation) so the Machines
table and the machine drawer can use them without loading the Storage
presenter. The guest drawer's card already loads it for extraction and health.
A silent agent's retained SMART temperature never becomes the Machines row's
value while another disk has a current reading. When the machine has no
positive direct or temperatureCelsius reading and no non-standby disk is
current, the cell shows the hottest retained non-standby value as last known,
without the per-disk-type threshold colour. The guest drawer's Physical Disks card marks a
retained value the way the Physical Disks table does. Still presentation only.
Verification: diskPresentation.test.ts (one implementation behind both import
paths), agentMachineTableModel.test.ts, AgentsMachinesTable.test.tsx,
resourceDetailMappers.test.ts and GuestPhysicalDisks.test.tsx.
Direct SATA, SAS, and NVMe device fallback identities remain compatible. Controller-member fallback identities add controller/target scope only where needed to keep multiple members distinct; serial and WWN continue to take precedence. These rules belong to deterministic Collection Trust and read-state presentation. They do not establish backup coverage, restore readiness, or any other Recovery Assurance conclusion, and they introduce no storage mutation path outside canonical Actions. Placeholder serials or WWNs never take identity precedence, and history target resolution must fail closed when a hardware or metrics identifier is shared by more than one disk. Node filtering may use a name-only match only when both the disk and selected node lack instance identity; a known instance must match exactly so equal node names in different Proxmox connections cannot leak rows across views.
internal/hostagent/issue1595_sas_collection_test.go and
internal/monitoring/issue1595_collection_trust_test.go prove wide-SAS
collection, normalization, identity, and read-state retention.
frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.ts,
frontend-modern/src/components/Storage/__tests__/DiskDetail.test.tsx, and
frontend-modern/src/components/Storage/__tests__/useDiskDetailModel.test.ts
prove the distinct operator-facing states and live-I/O suppression.
Operational Trust posture rollout
Protection posture remains a provider-aware, subject-linked read model over
recovery points and provider collection evidence. Invalid policy falls back to
the canonical bounded default and records a bounded failure reason; invalid,
partial, permission-denied, failed, stale, missing, or unknown provider
evidence cannot produce protected. Evaluations record only the four canonical
posture states. Platform and Patrol consumers use bounded batch posture reads,
retain evidence and repository links, and never infer protection from the
existence of a row, snapshot, or provider connection.
The adjacent Operational Trust attention action transport does not turn protection posture into mutation authority. The selected item may display storage/recovery-owned posture beside a separately declared Docker restart offer, but recovery points, provider job evidence, backup age, verification intent, and posture state cannot authorize that restart. The Phase 5 route adds no backup, restore, retention, or recovery execution API and does not change storage/recovery lifecycle ownership; it enters the existing governed action lifecycle only after the action subsystem's own current evidence, capability, executor-readiness, and operator-authority gates pass.
Canonical protection posture
ProtectionPosture is the storage/recovery-owned subject read model over
recovery points and typed provider collection evidence. Its only public states
are protected, attention, unprotected, and unknown. A protected claim
requires a current subject-linked backup supported by complete, sufficiently
authorized provider history, plus verification when the provider declares it
expected. Stale, failed, partial, or unverified evidence is attention;
unprotected requires complete evidence of no qualifying backup; unavailable
identity, history, collection, or permission evidence fails to unknown.
Partial history whose access is unknown is partial, not unavailable: PVE and
PBS report an ordinary failed read of one storage or datastore that way, and
the unknown access describes only the unread part. It stays attention, so one
unreadable target cannot turn every subject with a readable backup unknown.
Snapshots remain distinct and never prove independent recovery by themselves.
The posture explanation is user-facing copy (the Coverage row tooltip and
expansion render it verbatim), so it is written in plain words rather than the
model's vocabulary: "recent backup", "full backup history", "one of its backup
sources has reported a failure", "verification is missing or overdue", and
the stale case names the policy window ("the newest confirmed backup is older
than 7 days") through formatPostureWindow, which never rounds a sub-hour or
fractional window up. Copy only claims a backup exists on branches that have
one. Terms such as
"subject-linked", "provider history" and "freshness window" stay in code and
contracts, not in the explanation.
The per-tenant recovery store persists provider observations and a materialized posture index, refreshes it after writes, reconciliation, migration, identity backfill, purge, and retention, and re-evaluates requested resource batches at read time so freshness cannot age into a reassuring stale snapshot. Legacy recovery rows receive additive provider scope and typed evidence during migration. Provider observations and recovery points share bounded retention. When an upserted recovery point changes subject identity, posture refresh must include both the previously persisted subject key and the new subject key so obsolete materialized posture rows are removed rather than surviving an identity correction.
GET /api/recovery/postures is the bounded read boundary for one resource,
resource-table batches, state-filtered attention lists, policy, evaluation
time, provider limitations, and evidence references. The Proxmox coverage
surface requests canonical resource IDs in batches of at most 200 and never
derives posture from raw PVE/PBS artifacts. Raw backup files, snapshots, tasks,
and provider state remain expandable recovery evidence. PVE task records use
the non-artifact other recovery kind: they may contribute attempt and outcome
context, but an OK task must not count as an available backup or mint
protected posture when provider inventory exposes no restore artifact. While the first
posture batch is unresolved, canonical workload rows render Checking rather
than fabricating a completed unknown result. Missing or failed posture reads
render unknown rather than falling back to browser inference. Host archives
and orphaned artifacts that have no current canonical workload identity render
Not evaluated, remain outside the four server posture states, and retain
their forensic recovery detail.
Runtime mock recovery points must project the same graph-owned PVE backup files, PVE guest snapshots, PVE tasks, and PBS backups returned by the source-native backup APIs. They attach the canonical Proxmox guest resource ID, provider scope, and point evidence through the production mappers. A separate three-subject sample generator or a hard cap that drops graph-owned backup subjects is forbidden because it makes preview posture diverge from the table inventory.
The adjacent shared authentication boundary must remain live when storage or
recovery browser reads authenticated with local credentials overlap agent
API-token reports. Local credential snapshots inside checkAuth use the
already-held global configuration read lock and must not recursively acquire
it, because token usage validation may be waiting for the corresponding write
lock. This concurrency rule changes no storage/recovery payload, authority, or
support claim; it prevents mixed-auth traffic from stalling those surfaces.
Storage and recovery consumers must not treat confirmed agent-attested action
readback as independently verified restoration. The canonical result retains
its confirmation and evidence class, while the legacy Patrol finding outcome
remains fix_verification_unknown unless bounded distinct-trust-domain
evidence is present. Only independently confirmed successful execution may
auto-resolve a finding as fix_verified.
Task 09 package-cache cleanup remains a bounded typed action over the fixed APT cache provider and requires fresh canonical reclaimable-byte and containing- filesystem pressure evidence. It accepts no path, package selector, installed-package removal, reboot, or rollback authority. Compensation is unavailable. Clean and verify failure results retain their validated phase, bounded before/after/reclaimed bytes, explicit non-rollbackable posture, and a rescan requirement without implying restoration. Task 09 now consumes the accepted Task 07 generic receipt owner for callback-loss and reopened-server query-only reconciliation; interrupted, not-found, or tombstoned receipts never authorize resend. Browser and disposable Debian/Ubuntu proof remain explicit operational residuals.
Patrol Autopilot config recovery
The tenant AI config is the durable owner for immutable Patrol Autopilot acknowledgements and revocations plus the current activation. Every initial save and rewrite invokes the shared unified-resource validator before mutation, then enforces exact immutable history prefixes. Requested full mode and its activation are committed through one atomic config-file replacement. Reopen derives effective mode from current evidence, so a legacy boolean, stale version, revocation, malformed binding, or failed write recovers below full without deleting historical evidence. Separate tenant config files may reuse a client idempotency ID without sharing authority records.
Version rotation never reinterprets old history through today's scope or limits. Each historical record remains valid against its own static registry entry, while activation requires a newly issued acknowledgement ID under the current supported version. Valid V1 bytes therefore survive V2 issuance, activation, reopen, and unrelated later config saves unchanged.
Storage and recovery consumers of action events and resource history inherit
the unified-resource-owned ActionResultV2. They must preserve execution,
verification, evidence class, and nested compensation independently and must
not turn a successful mutation plus contradicted readback into generic failure
or success. Task 10 defines the schema only; restart compensation recovery and
workflow rollback algorithms remain with their declared downstream owners.
The adjacent unified action store migration now adds a durable action decision
revision plus typed lifecycle-event kind, decision revision, and bound decision
JSON. Migration retains duplicate historical state rows as typed legacy facts,
restores partial uniqueness for true (action,state) transitions, and adds
unique (action,decisionRevision) decision identity. Audit update, decision
fact, and any resulting approved/rejected transition commit or roll back
together across restart; storage/recovery code must not introduce a parallel
approval or recovery journal for this authority.
Storage and recovery may depend on the adjacent Patrol-control status
projection staying content-free, including its Patrol control starter count,
completed/resolved loop counts, patrolControlValueState, legacy
patrolAutonomy* aliases, and legacy proActivation* compatibility fields
when shared API helpers are touched. The legacy Pro activation starter field is
entry-point-specific, while the legacy completed/resolved/value fields mirror
Patrol control values. Those values are classified by the shared
internal/telemetry Patrol control proof helper and are not recovery
verification, storage health, backup coverage, restore readiness, or
action-outcome proof, and storage/recovery surfaces must not use them to imply a
protected or resolved state. Approved-success telemetry is likewise
Patrol-control proof only when the action has verified post-action evidence;
successful command completion without canonical verification remains outside
storage/recovery readiness.
Storage and recovery's adjacent internal/api/ contract must also preserve
the product-facing remediation vocabulary used by shared API denials. When
storage/recovery-adjacent browser sessions encounter AI or Patrol remediation
license responses while sharing the app shell, those API messages must use
safe remediation wording and must not revive Auto-Fix as customer-facing
paid copy.
That same adjacent internal/api/ router boundary now also keeps usage-data
transport descriptive-only for storage and recovery. Shared storage/recovery
surfaces may coexist with /api/upgrade-metrics/* config reads and telemetry
preview routes under the licensing/settings router, but they must not treat
local-only upgrade-event toggles, telemetry preview payloads, or normalized
release-classification fields as storage freshness, recovery evidence, or
operator-facing protection state.
That same shared internal/api/ dependency now also expects replacement-aware
monitored-system grouping and fail-closed preview availability. Storage- or
recovery-adjacent setup, deploy, and API-backed update helpers may reuse the
canonical monitored-system grouping boundary, but they must preserve remaining
grouped sources on a monitored host, must not reinterpret unavailable usage as
an empty estate, and must not surface that adjacent boundary as license-slot,
capacity, or upgrade-plan copy inside storage or recovery-adjacent flows.
Configured Proxmox, PBS, and PMG node replacements on that adjacent API
boundary must identify the replaced source-owned surface through the shared
monitored-system replacement selector, not storage- or recovery-local matching
rules, so a platform host edit preserves non-replaced grouped evidence before
storage or recovery consumes the resulting runtime context.
That same adjacent internal/api/ boundary now also governs public-demo
commercial redaction for storage and recovery viewers. Shared storage/recovery
surfaces may run beside a demo runtime that has real internal entitlements,
but DEMO_MODE must still 404 license-status, billing-state, and monitored-
system-ledger reads so adjacent recovery or storage pages do not leak
commercial identity or upgrade posture into a public demo. Storage/recovery
must consume that redacted boundary as presentation truth rather than
reintroducing mock-only license bypasses or page-local commercial fallbacks.
Browser-facing storage/recovery surfaces must also treat
/api/security/status as the canonical public-demo bootstrap contract. The
backend capability fact remains sessionCapabilities.demoMode, but storage
and recovery browsers must consume the shared resolved presentationPolicy
instead of inferring demo posture from headers, /api/health, or hostname
heuristics.
Shared licensing routes under internal/api/ may retain legacy
upgrade-metrics names for local commercial handoff telemetry, but storage and
recovery surfaces must continue to consume the presentation policy instead of
using those route names as a cue to render paid history prompts in ordinary
self-hosted sessions.
Legacy-named hosted entitlement verifier wiring under shared internal/api/
is the same kind of boundary-only compatibility: storage and recovery surfaces
may consume the resolved hosted entitlement, but they must not infer trial
acquisition, restore identity, or recovery-progress state from
TrialActivation* names or the retained
PULSE_TRIAL_ACTIVATION_PUBLIC_KEY literal.
That same shared boundary now also owns the one runtime-safe exception:
storage and recovery may inherit demo-safe /api/license/runtime-capabilities
reads for capability and history-retention truth, but
/api/license/commercial-posture, /api/license/entitlements, and
/auth/license-purchase-start stay hidden and those surfaces must not expect
licensed identity, upgrade prompts, trial urgency or eligibility reasons,
checkout handoff state, or observed usage counts to remain present once the
public-demo contract is applied.
That same runtime-safe exception now also keeps monitored-system capacity
posture absent. Storage/recovery surfaces may keep demo-safe capability and
retention truth from /api/license/runtime-capabilities, but they must not
expect monitored_system_capacity, admission-freeze copy, or observed plan
overage to exist.
Storage/recovery consumers must also treat paid-runtime block records in that
payload as runtime executable truth only. A paid_runtime_required block may
explain why a licensed private Pro hook is unavailable in the community
runtime, but it must not become recovery protection state, restore identity,
capacity posture, or storage-history entitlement proof.
Storage detail surfaces with page-local history selectors must also treat that
runtime retention truth as the selector contract: pool and disk detail ranges
must filter and clamp through the storage-owned range access helper so ordinary
self-hosted users see only usable history windows, while Relay/Pro longer
history remains available only when the runtime capability advertises it.
That same adjacent commercial boundary also owns one-time checkout-return
lookup. Storage and recovery may coexist with the shared purchase return routes
in the app shell, but they must not cache, derive, or replay the
server-resolved portal checkout state or owned billing purchase-arrival state
as recovery route state, restore evidence, or storage-local navigation
context. The same rule now also covers purchase-start failures: storage and
recovery surfaces may coexist with the shared /auth/license-purchase-start
route, but they must not absorb purchase=unavailable as recovery-local state
or replace the owned billing retry/recovery notice with storage-specific error
chrome.
That same adjacent licensing boundary now also owns internal demo-fixture
runtime gating for storage- and recovery-adjacent surfaces. Release builds may
authorize mock fixture rewiring only through the backend-owned
demo_fixtures entitlement, but storage and recovery browsers must continue
to consume the redacted public runtime/commercial contracts and must not infer
internal fixture grants or persisted mock state from those shared licensing
routes.
Storage- or recovery-adjacent commercial helpers must therefore wait for the
shared presentation policy to resolve before attempting any read that could
otherwise hit a hidden commercial route during bootstrap.
Physical-disk live I/O drawers now also sit on the canonical storage surface.
Storage disk drawers may show read, write, busy, and SMART history, but every
chart must route through the shared HistoryChart API contract using the disk
resource's canonical history target. Storage must not keep a drawer-local live
metrics collector, agent-id/device fallback stream, or separate real-time
history store once monitoring and /api/metrics-store/history already own the
disk timeline. Charts in the disk detail's 30-minute Live I/O set share one
history-chart hover group, and charts in its selectable-range history set share
a separate group. Pointer movement must align crosshairs and nearest-sample
tooltips by absolute timestamp within each set without leaking hover state
between those independent time ranges. A disk Overview panel must never
collapse into unexplained empty space: when neither detailed SMART attributes
nor a typed collection message exists, it renders an explicit
unavailable-details state while retaining the bounded model, device, host,
source, and serial header facts.
Storage pool and disk detail range selectors must mirror the shared history
chart entitlement sequence. They must expose 14d between 7d and 30d and
pass the selected range through to HistoryChart unchanged, rather than
inventing storage-local range catalogs, paid-tier labels, or alternate
metrics-history gating.
The storage pool detail's ZFS Pool card is the canonical home for
device-level ZFS health.
frontend-modern/src/features/storageBackups/storagePoolDetailPresentation.ts
builds the pool summary (state, scan activity, pool error totals) and the
per-device report (name, vdev type, state, R/W/C error counts, message) from
the record's details.zfsPool, which
frontend-modern/src/features/storageBackups/storageAdapters.ts and
resourceStorageMapping.ts resolve meta-first from canonical
storage.zfsPool with flat platformData.zfsPool fallback.
frontend-modern/src/components/Storage/StoragePoolDetail.tsx renders that
report inside the row expansion so degraded pools name the failing device and
running scrub/resilver without re-promoting per-device noise into table rows.
The pool's Configuration, Topology and Datasets now render as
DetailSectionTable sections inside the drawer's closed Details disclosure;
long node, content, provider, dataset and mountpoint values wrap, so narrow
row expansions never concatenate one field with the next or overflow the
drawer.
The pools table must not double-list Ceph-backed storage. Cluster-internal
pool rows synthesized from Ceph cluster telemetry (models.StorageFromCephPool:
type ceph homed on the cluster pseudo-node) are consolidated into the PVE
storage rows that mount them by
consolidateCephClusterPoolRecords in
frontend-modern/src/features/storageBackups/cephRecordPresentation.ts,
applied by frontend-modern/src/components/Storage/useStorageModel.ts before
filtering, sorting, and summary.
The pools table column set is Storage / State / Type / Host / Protection /
Usage / Growth at the platform-standard 32px row height
(STORAGE_POOL_ROW_HEIGHT_CLASS). Source platform identity is not a table
column: every live embedding forces a single platform
(forcedSourceFilter), so a per-row Source badge degenerates into repeated
noise (the same failure 809e2c900 removed from the disks table). The
record's source platform lives in the row expansion's Configuration card
(buildStoragePoolDetailConfigRows' Source row) and stays filterable
through the FilterBar source chip on unforced embeddings. Backup-repository
host labels must resolve through name-bearing candidates (parent name, PBS
instance name, owning PVE node, storage nodes) before falling back to raw
parent/platform resource ids, so PVE-configured PBS storage rows show the
owning node instead of opaque agent-/storage- identifiers. The pool row's worse health is lifted onto
the surviving mount row (state, status detail, issue summary) so a degraded
cluster stays visible, and pool rows with no mounting sibling are kept so
clusters monitored without PVE storage entries do not lose their only
capacity row. Raw pool accounting stays on the Ceph tab's cluster drawer,
which remains the canonical home for per-pool stored/available bytes.
Shared chart transport that storage and recovery coexist with must also stay
on rendered-metric budgets. When internal/api/chartapi/service.go batches
workload history for adjacent overview or shared summary cards, it may
parallelize the provider reads, but it must not widen the shared hot path to
disk read/write or fetch-all metrics just because storage or recovery also
mount nearby chart shells.
That adjacent shared chart transport may also expose host-agent or Proxmox node
CPU temperature as metric=temperature for node drawers. Storage and recovery
may consume the surrounding context, but they must not reinterpret that
agent/node CPU temperature history as physical-disk SMART temperature, backup
freshness, restore evidence, or a storage-owned thermal timeline.
The same boundary applies to host-agent thermalState: macOS pressure and
throttling limits may appear as host context, but storage and recovery must not
reinterpret pressure state as disk temperature, pool risk, backup freshness, or
a storage-owned thermal timeline.
That same boundary applies to typed GPU host sensor metadata carried through
internal/unifiedresources/types.go: GPU temperature, utilization, and VRAM
readings may appear as descriptive host context, but storage and recovery must
not reinterpret those values as disk cache, storage-tier health, backup
freshness, restore evidence, or protection readiness.
That same boundary applies to host-agent powerWatts metadata carried through
internal/unifiedresources/types.go: wattage readings may appear as
descriptive host context, but storage and recovery must not reinterpret those
values as disk cache, storage-tier health, backup freshness, restore evidence,
power-protection evidence, or protection readiness.
Storage and recovery still consume the shared unified-resource contract, but
they do not own the timeline store itself. The canonical resource-change
history now lives in internal/unifiedresources/store.go and is surfaced
through the shared API/resource wiring, which keeps storage and recovery focused
on presentation and query shape rather than re-implementing change persistence.
That same shared internal/api/ dependency now also assumes AI settings stay
vendor-neutral on that boundary. Storage- or recovery-adjacent settings pages
may coexist with AI controls, but they must keep consuming the canonical AI
settings payload rather than reviving storage-local provider defaults, modal
setup logic, or route-specific BYOK model guesses when shared handlers change.
The retained-value recovery transport helper is now shared too.
Recovery still owns when recovery points and protection postures refetch
(useRecoveryPoints.ts and useProtectionPostures.ts each set a 30-second
poll interval; the rollup, facet, and series hooks are gone), but the
non-suspending query primitive itself now lives under the shared frontend
primitives contract so other governed surfaces can reuse the same app-shell
fallback boundary without forking it.
That same shared-resource dependency now also assumes frontend compatibility
normalization collapses any legacy top-level truenas payload into canonical
agent plus platformType: 'truenas' before shared route or filter logic
runs. Storage and recovery links may consume that normalized platform truth,
but they must not preserve a second top-level truenas type contract in
storage/recovery-local route, handoff, or filter code.
That same shared internal/api/ dependency now also assumes Assistant-facing
resource transport behaves the same way: any legacy top-level truenas
resource or mention type that still reaches shared AI handlers must collapse
to canonical agent before storage/recovery-adjacent links, filters, or
drill-ins consume it, so those surfaces never inherit a second live host-type
contract from chat or alert investigation ingress.
Assistant finding-briefing action metadata assembled from recovered Patrol
handoff action references is also AI/runtime review context only. Storage and
recovery may consume that explanation as incident context,
including safe approval status, request/expiry timestamps, action plan identity,
approval policy, plan expiry, and dry-run posture, but they must not reinterpret
a recovered approval or clearer action artifact metadata as backup freshness,
restore authority, recovery proof, or storage-local remediation execution
state. Those handoffs must remain context-only for the configured model and
must not be converted by storage/recovery code into pre-filled prompts,
suggested prompt chips, or recovery-owned next-step instructions.
Patrol run handoff_metadata retained for saved Assistant sessions is also
AI/runtime review identity only. Storage and recovery may display or link from
the safe run ID, run type/status, runtime-failure flag, or scoped resource label
as incident context, but they must not reinterpret it as backup freshness,
restore proof, storage health authority, or recovery-local remediation state.
Patrol finding handoffs, which the backend runs in approval-required
Assistant mode from a non-empty finding_id, follow the same adjacent API boundary: storage and
recovery may treat the resulting Assistant session as incident context, but
must not reinterpret the finding ID or approval-required chat mode as backup
freshness, restore authorization, storage remediation permission, or recovery
transport state, and must not treat the context-only handoff as a
storage/recovery-authored diagnostic prompt.
Proxmox VM QEMU guest-agent outage incidents follow the same incident-context
boundary. Storage and recovery may display or link from the resulting
availability_unreachable resource incident when explaining why a VM lacks
fresh guest telemetry, but they must not reinterpret guestAgentStatus,
guestAgentExpected, or source qemu-guest-agent as backup freshness, restore
eligibility, protection status, or recovery ownership.
Patrol queued-fix approvals that seed shared action-audit records follow the
same rule: storage and recovery may display the resulting action history as
incident-adjacent context, including the requester identity that distinguishes
Patrol-origin proposals from generic Assistant work, but they must not treat the
pending action state, approval policy, requester, or preflight posture as
recovery proof or storage-local execution permission.
Backend-refreshed Assistant handoffs may recover the same requester identity
from a live approval record before action audit hydration, but storage and
recovery still consume it only as incident-adjacent provenance.
That same storage ownership also includes the shared storage-source presentation
contract in frontend-modern/src/utils/storageSources.ts: storage pages and
cross-surface storage links must reuse one canonical ordering, label, tone, and
default-option model for sources like PVE, PBS, Ceph, and TrueNAS instead of
re-sorting or re-presenting those source options locally.
Storage filter option labels for grouped views, node/host filters, sort
controls, and source selectors are also canonical presentation contracts:
storage surfaces must consume frontend-modern/src/components/Storage/storagePageState.ts
and frontend-modern/src/utils/storageSources.ts rather than re-declaring
page-local title casing or alternate all-option labels. The storage toolbar may
own sort/filter semantics, but native select label/id/chrome and dynamic value
sync must come from the frontend-primitives-owned FormSelect rather than a
storage-local raw <select> wrapper. Grouping, sort key, and sort direction are
durable presentation preferences, so StoragePageControls supplies them
through the frontend-primitives-owned FilterBar.viewOptions content boundary
instead of leaving them as permanent filter-rail controls.
Storage pool table headings are presentation-only labels. Sorting remains
available through the canonical StoragePageControls View -> Order
controls, so those headings must not duplicate that interaction with buttons,
aria-sort, or visible direction markers. Sortable Proxmox backup headers keep
their real button and aria-sort semantics, but their visible direction marker
must come from the frontend-primitives-owned tableSortPresentation.ts helper;
only the active backup sort column displays its direction.
Physical-disk role and group filter defaults plus disk-type display labels
must come from frontend-modern/src/features/storageBackups/diskPresentation.ts;
storage pages must not reintroduce local All Roles, All Groups, or
NVME Disk strings that drift away from the shared filter-label and hardware
acronym presentation contract.
The direct Storage pool and physical-disk projections now join the same native
platform phone contract as Proxmox recovery tables. Their source-owned
presentation models enter a dedicated narrow layout below 360 pixels, retain
five operational fields, promote identity to 40 percent, and leave the normal
phone and desktop evidence sets unchanged. Proxmox backup-server, coverage,
recoverable, Ceph, and Mail Gateway tables use the same five-field narrow stage
and inline full-value disclosure, so recovery semantics no longer vary by
whether the table is reached through a provider page or the direct Storage
surface.
That same storage ownership also includes the physical-disk detail identity
contract in frontend-modern/src/components/Storage/ and
frontend-modern/src/features/storageBackups/: historical disk charts must
resolve through the canonical disk metrics target when one exists, then fall
back to stable hardware identity, and operator-facing fallback copy must
describe that identity gap instead of prescribing agent installation on
API-backed platforms like TrueNAS.
That same storage surface must also read the canonical physical-disk risk
payload as its disk-health truth. When API-backed platforms such as TrueNAS
raise SMART-backed disk incidents, those reasons must surface through
physicalDisk.risk.reasons so storage rows and disk detail use the same shared
disk-health contract instead of depending on incident-only side channels.
Linked-disk health indicators on storage pool detail rows keep the same owner
split: storage derives the health semantics through
getLinkedDiskHealthDotVariant, while the shared frontend primitive
StatusDot owns the visible dot chrome, size, color-token, and aria behavior.
Storage components and features/storageBackups presentation helpers must not
recreate raw green/yellow rounded-dot classes locally.
That same storage page ownership now also includes contextual focus behavior
for pools and disks. Expanding a pool row or selecting a disk row sets the
focused summary series ID and row hover sets the hovered one;
frontend-modern/src/components/Storage/useStoragePageModel.ts must resolve
both through the shared useSummaryPageInteractionState bridge in
frontend-modern/src/components/shared/summaryTableFocus.ts, so pool and disk
row emphasis keeps the same page/entity semantics as workloads instead of
preserving a storage-local hover/focus branch. The
storage summary history that useStorageSummaryCharts.ts loads feeds only the
pool Growth column and its sort; no storage summary card strip renders, and
one that returns must stay page-scoped instead of collapsing to the expanded
row or replacing the page overview with row-local empty states.
That same storage ownership now also governs reveal. Row hover may highlight
the matching row in place, but storage hover must not auto-filter or
auto-scroll the table. Reveal belongs only to deliberate focus: the bridge
hands the focused pool or disk series to the revealActiveSeries callback,
which reopens a focused pool's collapsed owning group. Focus
only ever names a row in the active pools or disks view, so the callback never
switches views; the view-switching branches that served the retired jump to
the active row are gone. Reveal runs once per deliberate focus change: the
bridge starts a reveal only when the focused series id or the table root
element changes, and runs the callback and the inline-detail scroll untracked,
so the storage state the callback reads (the pool-to-group lookup that every
live update rebuilds, the expanded group set) never starts another. A live
update therefore cannot pull the page back to an open pool the operator
scrolled away from, and collapsing the open pool's group does not bounce it
back open. Filter changes do not re-run the callback either, so a focused
pool whose row stays filtered out past the reveal's short retry window is not
revealed when the filter later clears; storage filters live in the URL and a
storage link without filter parameters resets them, so only a link carrying a
filter that excludes its own pool reaches that case.
frontend-modern/src/components/Storage/useStorageExpansionState.ts stores
only the groups the operator collapsed and derives the expanded set from the
current group keys, so a group that appears later opens by default and a
collapsed group stays collapsed across live updates until the operator reopens
it, focus moves to one of its pools, or the grouping changes. Group keys are
bare labels, so a grouping change clears the collapsed set rather than letting
a label carry collapse state into another grouping or hide the headerless
ungrouped All group.
That same reveal contract now also owns inline-detail expansion. When a pool or
disk row is deliberately focused and its inline detail opens on the storage
page, the detail row must publish the same canonical summary series ID through
data-inline-detail-for, and the shared contextual-focus helper may still
reveal only enough of that drawer to show the row header plus the top of the
detail instead of reverting to storage-local centering or a second row/detail
ID map. Storage should not fork that behavior into a fully in-place
infrastructure-style shell handoff unless a separately governed product model
changes the storage interaction contract.
The recovery backend is a real product boundary, not just a helper package:
internal/recovery/ owns per-tenant SQLite persistence, rollup derivation,
query filtering, and recovery-point indexing for the /api/recovery/*
surfaces.
That same recovery boundary now also assumes mock recovery context is projected
from one canonical mock graph. internal/mock/recovery_points.go may synthesize
inventory-only recovery artifacts for supported mock platforms, but those
subjects must derive from the shared internal/mock/fixture_graph.go owner
instead of a separate hardcoded recovery cache, so recovery points, rollups,
and the platform tabs that read them see the same platform set as settings
and infrastructure.
That same graph-owned mock boundary also owns demo-readiness for storage and
recovery surfaces. Mock seeded history and provider-backed storage/recovery
counts must come from the same canonical fixture graph so
storage and recovery demos show realistic healthy-versus-attention balance
instead of blank history, stale provider context, or page-local fixture drift.
That same recovery-facing demo contract also owns subject readability. When
mock recovery points project inventory-only Kubernetes PVC protection, the
subject identity shown to operators must stay human-readable
<cluster>/<namespace>/<pvc> context from the canonical graph instead of
opaque hash-like IDs that break demo trust and cross-surface recognition.
That same adjacent chart boundary now also assumes seeded and live mock
storage timelines are one continuous series. Storage chart consumers such as
the pool Growth column and the pool and disk History charts may consume shaped
chart payloads for presentation, but those payloads must still reflect one
canonical mock metric timeline instead of a seeded seven-day series with a
second live tail stitched on afterward.
That same shared internal/api/ dependency also assumes auth-persistence
teardown is synchronous when recovery-adjacent runtimes reinitialize. Session,
CSRF, and recovery-token workers may not leave stale background goroutines or
half-shutdown path ownership behind, because hosted handoff, recovery
inspection, and adjacent temp-path tests all depend on the same canonical
runtime data-dir authority being replaceable without hangs or leaked state,
and router teardown must close the exact session, CSRF, and recovery-token
workers that router initialized instead of assuming a later global auth-store
binding will clean them up.
That same shared lifecycle discipline now also applies to Assistant approval
store cleanup when internal/api/ai_handler.go is touched from shared router
work. Approval persistence must not bind its cleanup loop to one request-scoped
context and silently disappear after a settings save, because recovery- and
storage-adjacent runtime proofs depend on the same owned backend lifetime model
instead of opportunistic request ownership for long-lived background workers.
That same runtime data-dir authority also assumes file-backed stores keep
canonical filenames opaque and machine-owned. Recovery-adjacent session,
knowledge, and discovery records may discover legacy identifier-derived files
only for migration, and the next successful write must replace those legacy
paths with hashed canonical names so operator-controlled identifiers do not
become durable filesystem path segments.
That same hosted handoff dependency also assumes the exchange path authorizes
tenant org access before redirecting the browser into protected routes.
Recovery- and storage-adjacent hosted pages that open immediately after
control-plane handoff must see a real tenant member session backed by a
pre-existing owner/member record, not a freshly minted browser cookie created
by appending missing members or upgrading roles from the handoff token.
Missing tenant membership, blank-owner orgs, and role-escalation claims must
all fail closed before protected recovery routes load.
That same shared internal/api/ organization boundary also assumes self-hosted
org access changes require invited-user consent before recovery-adjacent
routes treat the operator as a tenant member. Recovery settings and related
storage surfaces may observe /api/orgs/{id}/members mutations, but manager
submissions for a new userId must stay pending invitations until the
invited account explicitly accepts. Recovery-adjacent owner transfer therefore
remains restricted to existing members, may not be satisfied by an unaccepted
invitation record or a guessed account identifier, and must require a fresh
browser session minted for the acting owner before the permanent ownership
change is accepted.
That shared internal/api/ dependency now also assumes hosted tenant AI
bootstrap and chat-runtime reads resolve through one effective hosted billing
lease before storage- or recovery-adjacent runtime consumers inspect
assistant availability, so recovery points, restore guidance, and related
operator surfaces do not read a tenant-org AI readiness state that diverges
from the machine-owned hosted entitlement already governing the instance.
That same shared internal/api/ dependency also now assumes hosted runtime
websocket upgrades trust the cloud proxy only through explicit tenant
PULSE_TRUSTED_PROXY_CIDRS wiring, so storage- and recovery-adjacent live
status surfaces do not fall into reconnect loops after a hosted workspace
handoff. That shared proxy-trust boundary must also reject wildcard trust
ranges such as 0.0.0.0/0 or ::/0 at startup, and storage/recovery-adjacent
forwarded-header reads must fail closed if invalid wildcard proxy trust
configuration is present.
That same shared internal/api/ dependency also assumes telemetry
transparency stays on its governed system-settings trust surface. When shared
router or config-system files move under storage- or recovery-adjacent work,
telemetry preview and install-ID reset routes must keep reusing the canonical
system-settings boundary and the server-owned telemetry runtime instead of
being treated as generic storage/recovery transport fallout.
That same shared internal/api/ai_handlers.go dependency also now assumes
Patrol-specific AI settings and status transport stay isolated from
storage/recovery product state. When shared AI handlers add split Patrol
trigger-source fields, scoped-activity recency, or queued-trigger status,
recovery queries, storage links, and recovery-adjacent setup flows must treat
those as Patrol-only runtime facts rather than inheriting them as recovery
verification or storage-health transport.
That same shared helper layer also now assumes the Pulse Mobile relay runtime
credential reaches only the explicit backend-owned route inventory, so
storage- and recovery-adjacent transport work cannot accidentally widen that
credential into a broader AI access bundle by touching neighboring routes.
No aggregate Recovery page exists. Its composition root
frontend-modern/src/components/Recovery/Recovery.tsx, the section owners
beside it (RecoveryActivitySection.tsx, RecoveryHistorySection.tsx,
RecoveryHistoryTable.tsx, RecoveryProtectedInventorySection.tsx,
RecoveryPointDetails.tsx, useRecoveryHistorySectionState.ts), and its
route-state owner frontend-modern/src/features/recovery/useRecoverySurfaceState.ts
were deleted on 2026-05-26, and the event-first workspace, the secondary
protection-coverage review, and the view=inventory / view=events route
state went with them. Recovery rows render only in platform-owned tabs: the
Proxmox Backups tab, whose /proxmox/backups/date and
/proxmox/backups/coverage views are described under "Proxmox backup views
use canonical workflow routes", and the TrueNAS Protection tab, whose
TrueNASProtectionTable.tsx lists the points useRecoveryPoints returns with
the truenas platform forced. Bringing back a cross-platform recovery page is
a product decision that needs its own governed contract, not an extension of
either tab.
License recovery stays reachable through the direct Plans & Billing route.
SelfHostedCommercialRecoverySection inside ProLicensePanel.tsx remains
available for explicit activation and recovery even when the ordinary free
self-hosted navigation hides commercial surfaces. Recovery flows must not
acquire proactive commercial prompts of their own.
Operator-facing recovery labels prefer platform over implementation-facing
provider and item over backend subject; the transport and data model may
keep subject/provider fields only as compatibility aliases. No shared recovery
query state exists any more (the Proxmox Backups tab's own query is its
PROXMOX_BACKUPS_QUERY_PARAMS), so a future cross-platform recovery filter or
link must treat platform as its canonical query field and accept legacy
provider only as parse-time compatibility input.
That same recovery contract should keep response payloads canonical as well:
recovery points and protected rollups should expose platform and
platforms as the primary transport fields, while any legacy
provider / providers aliases stay compatibility-only so frontend decode
does not silently drift back to backend-shaped vocabulary.
The same canonical boundary applies to linked-resource identifiers. Recovery
API payloads, query filters, and normalized frontend runtime models should use
itemResourceId as the canonical field while accepting or emitting
subjectResourceId only as a compatibility alias during the transition.
That same canonical boundary also applies to external item references. Recovery
API payloads and normalized frontend runtime models should use itemRef as
the canonical item-reference field while treating subjectRef only as a
compatibility alias during the transition.
That same recovery-store decode boundary must fail soft on malformed persisted
metadata. If a stored recovery row contains bad subject_ref_json,
repository_ref_json, or details_json, the list endpoints should log and
drop only the malformed derived field for that row rather than returning 500
for the entire recovery points or rollups surface.
That same fail-soft contract also applies to downstream consumers that reuse
those shared store reads, including recovery-backed reporting, alert rollups,
and tenant-scoped AI recovery-point adapters. A malformed metadata blob may
degrade row-local enrichment, but it must not take down adjacent readers that
consume the same canonical recovery store.
That same recovery-store migration boundary must keep legacy schema upgrades in
dependency order. When a persisted recovery.db predates columns such as
item_type, the store must add the migrated columns before creating indexes or
running query paths that reference them, so opening a legacy store backfills
cleanly instead of returning 500 from /api/recovery/points or
/api/recovery/rollups during schema initialization.
That same recovery-store key boundary must keep subject_key genuinely stable
across ingest generations. Protected rollups must not split one Proxmox guest
into stale and fresh rows just because older points stored legacy linked IDs
like lxc-* or raw source IDs while newer points carry hashed canonical
resource IDs, and proxmox guest external keys must ignore display-name churn so
renaming a backup comment does not fork the protected inventory from recent
event history. That same store-owned continuity contract also applies when
Proxmox recovery mappers receive unified-resource workload identity: canonical
ResourceID is the stored subject_resource_id, while provider-native
SourceID remains external correlation metadata or a fallback input when no
canonical ID exists. Mappers must not hash an already canonical resource ID as
if it were a provider-native source ID. That same store-owned continuity
contract also applies when
Proxmox PBS guest points temporarily lose unified-resource linkage or drift
between historical PBS namespaces: if recovery history already proves one
canonical linked guest identity for the same friendly label, guest type, and
VMID/CTID, the store must relink later unresolved PBS points and backfill older
split rows onto that canonical protected item instead of leaving protected
inventory freshness to disagree with recovery events.
That same key boundary is node-independent for Proxmox guests (#1669).
Unified guest canonical IDs derive from instance+VMID
(unifiedresources.ProxmoxGuestCanonicalID), so recovery subject identity
must not embed the node a guest happened to run on: any subject resource ID
or external guest ref that still carries the node-scoped
instance:node:vmid source triple converges on the node-independent
derivation (recovery.CanonicalSubjectResourceID, the mapper's
registry-miss fallback in subjectResourceID, and the node-dropping arm of
proxmoxGuestExternalKey), and the store's startup BackfillKeys pass
rewrites historical subject_resource_id values and subject keys onto that
derivation — sweeping protection-posture rows stranded under retired
subject keys — so a live migration or a canonical-ID era change never forks
one guest's protected item into stale and fresh rows. Rows without a
recomputable guest identity keep their stored keys unchanged.
The frontend decode boundary owns the runtime recovery display model:
frontend-modern/src/utils/recoveryPlatformModel.ts, which
frontend-modern/src/hooks/useRecoveryPoints.ts applies to every response,
exposes display.itemLabel and display.itemType to recovery consumers. The
points handler's display carries the item label only as subjectLabel, so the
transport's subjectLabel, subjectType, and subjectRef stay decode-only:
frontend-modern/src/types/recovery.ts declares them on the transport types
alone, and tables read the canonical item fields.
That same canonical item-label boundary must prefer recognizable protected-item
names over raw entity IDs. When unresolved Proxmox-backed recovery points only
have a VMID/CTID in the subject ref but still carry a richer backup comment or
notes label, the canonical recovery index and store backfill must promote that
human-readable label into the persisted subject/item label instead of leaving
protected inventory rows to lead with bare numeric IDs.
Alerts, Patrol, and resource drawers hand no resources into storage or
recovery surfaces today: their cross-jump chips were retired on 2026-05-16,
and buildStorageRouteSearch() is read only by the Storage surface's own
filter state. A future handoff of a TrueNAS-backed disk, app, or system into
an owning platform tab must keep the owned source, node, platform,
view, and exact resource semantics instead of collapsing to provider-local
URLs, retired aggregate workspace routes, or generic top-level tabs.
The recovery product proof surface's browser-level layout guard is
tests/integration/tests/17-proxmox-backups-layout.spec.ts. Against the
mock-mode dataset it checks that selecting an activity day keeps the operator
on /proxmox/backups with an N of M backups count, and that a one-year
activity range keeps the page inside the horizontal viewport with the PBS
servers table's trailing column inside its wrapper; the activity chart may
scroll inside its own card.
That same shared internal/api/ dependency now also assumes tenant-scoped
resource handlers seed registries from canonical unified resources only:
recovery- and storage-adjacent API helpers may not fall back to raw tenant
StateSnapshot seeding once UnifiedResourceSnapshotForTenant is available.
That same shared internal/api/ dependency now also assumes tenant AI
handlers stay on canonical Patrol runtime wiring: recovery- and
storage-adjacent API helpers must not revive tenant snapshot-provider bridges
through internal/api/ai_handlers.go once Patrol can initialize from tenant
ReadState and unified-resource providers directly.
That same adjacent AI handler boundary now also keeps Patrol runtime
availability explicit as API-owned state. Storage and recovery consumers may
share the handler layer, but they must not treat a blocked Patrol runtime as
healthy only because the last completed summary snapshot remained green.
That same shared dependency also assumes the Patrol-backed recent-changes
API surface reads through the canonical intelligence facade first, so
storage and recovery handlers do not bypass the shared unified timeline
through the older detector-only path.
The same shared boundary applies to the Patrol-backed correlation API
surface, which must read through the canonical intelligence facade before it
exposes learned relationship context to adjacent storage and recovery flows.
The same shared API runtime also exposes unified-resource action, lifecycle,
and export audit reads, but storage and recovery must continue to treat that
as adjacent governed API ownership rather than timeline-store ownership. The
storage and recovery lanes still own their own persistence and query
contracts, while the control-plane execution trail remains governed by the
unified-resource and audit contracts.
That adjacent audit-read surface also now requires the dedicated audit:read
token scope rather than the broader settings:read scope, so storage- and
recovery-adjacent settings visibility cannot silently expand into enterprise
audit history reads.
That same shared internal/api/ dependency now also includes monitored-system
ledger explanation reads: storage- and recovery-adjacent surfaces may coexist
with counted monitored-system inventory, but any support-facing count
reasoning must come from the canonical unified-resource grouping explanation
payload rather than from storage or recovery heuristics.
That same shared hosted-entitlement refresh path must preserve historical
quickstart fields only as billing-state compatibility. Storage- and
recovery-adjacent hosted tenants may share Patrol-backed investigation and
recovery context with the rest of the app, but the shared internal/api/
lease refresh must not turn old quickstart inventory into active AI runtime
state or lead adjacent product surfaces to infer a hosted-model entitlement.
Recovery-adjacent code must not compensate for missing AI provider setup by
fabricating local activation state or a quickstart-backed runtime.
That adjacent ledger read must also preserve canonical grouped system status,
including warning, so recovery- and storage-adjacent support views do not
flatten governed degraded state into a fake unknown label when the shared
unified-resource resolver already computed the top-level status.
That same adjacent ledger read now also carries backend-owned status
explanation copy, and support-facing details must render it beside the
counting rationale so operators can interpret warning, offline, and unknown
states without inventing page-local status wording.
The same API resource serializer also refreshes canonical identity and policy
metadata through the shared unified-resource helper before it writes resource
payloads, so storage and recovery links inherit the same canonical metadata
pass instead of carrying local attach wrappers in adjacent transport code.
The shared unified-resource facet bundle that storage-adjacent detail views
consume now also carries grouped recentChangeKinds counts by canonical change
kind, so storage and recovery surfaces can show the distribution of restarts,
anomalies, relationships, and capability changes without re-deriving their own
timeline breakdowns.
That same facet bundle may include the selected resource's canonical
capabilities and relationships for shared detail drawers, but storage and
recovery surfaces must treat that topology/action metadata as adjacent
API/unified-resource context rather than storage protection, restore, or
recovery ownership.
Derived parent relationships in that facet bundle are still topology context:
storage and recovery may render or link them through the shared resource
drawer, but they must not reinterpret those parent edges as backup coverage,
restore eligibility, or recovery-event evidence.
That same shared facet bundle now also carries grouped
recentChangeSourceTypes counts by canonical source type, so storage and
recovery surfaces can separate platform events, pulse diffs, heuristics,
user actions, and agent actions without inferring provenance from the loaded
slice.
That same shared facet bundle now also carries grouped
recentChangeSourceAdapters counts by canonical source adapter, so storage
and recovery surfaces can separate Docker, Proxmox, TrueNAS, and ops-helper
provenance without inferring integration origin from the loaded slice.
Those same resource timeline records also preserve relatedResources
relationship context for non-relationship changes, so storage and recovery
views can still link neighboring resources when the timeline entry is a
restart, anomaly, or config update rather than only when the edge itself
changes.
Those unified audit list endpoints also clamp oversized limit requests to
the governed maximum, so adjacent recovery and storage workflows do not turn
bounded history reads into unbounded collection scans.
The adjacent enterprise audit-log read path now also preserves structured
store-failure codes (audit_store_busy, audit_store_unavailable) instead of
generic 500s. Storage and recovery surfaces may coexist with that API layer,
but they must not reinterpret audit-store health as backup, restore, or
recovery-state evidence.
The same shared API runtime now also exposes dedicated
/api/resources/{id}/timeline reads plus the bundled
/api/resources/{id}/facets surface, but storage and recovery must continue
to treat those as adjacent governed API ownership rather than storage/recovery
timeline ownership.
That same adjacent API layer now also exposes a VM inventory CSV export for the
reporting surface. Storage and recovery workflows may consume similar current-
state VM facts, but internal/api/reporting_inventory_handlers.go and
internal/api/router_routes_licensing.go remain API/reporting transport
ownership rather than storage/recovery contract ownership.
That adjacent reporting transport now also includes a reporting catalog route
whose nested VM inventory definition owns panel copy, stable column schema,
and filename prefix. Storage and recovery flows may read those facts when they
need fleet context, but they must not fork their own reporting or inventory
column contract.
The API-owned vm_inventory schedule kind reuses that same exporter and the
reporting-owned email/disk delivery and retry path. Current-state inventory
scheduling does not add storage history, change retention entitlements or
move generated artifacts out of their organization-local reporting storage.
That catalog route is intentionally metadata-readable without the
advanced_reporting feature gate so locked admin reporting shells can stay on
the same API-owned definition before upsell; storage- and recovery-adjacent
surfaces must not treat that metadata visibility as permission to execute paid
report/export routes.
That same API-owned performance-report definition also governs transport-side
validation and attachment naming. Storage and recovery flows may consume those
downloads, but they must treat allowed formats, multi-resource caps, optional
metric/title support, default fallback range windows, attachment filename
stems, and invalid-format validation copy as API/reporting contract rather than
rebuilding local reporting constants.
That same transport contract also owns report time-window validation. Storage-
and recovery-adjacent flows may omit start/end to use the canonical default
window, but when they provide either bound it must be RFC3339 and end must
not be earlier than start; invalid values fail as 400 invalid_time_range
instead of silently shifting the exported reporting window.
That same adjacent API/reporting transport also owns the optional reporting
field limits and multi-report request parsing. Storage and recovery consumers
must treat metricType, title, request-body size, unknown JSON fields, and
trailing payload rejection as API-owned validation semantics rather than
counting on permissive backend coercion.
Those same transport rules now also carry explicit failure modes that adjacent
storage and recovery automation must preserve: bad or oversized multi-report
payloads fail as invalid_body or body_too_large, and overlong report
windows or invalid optional fields fail through the API-owned reporting
validation contract instead of being clipped or normalized locally.
That same API-owned contract also classifies those validation failures with
stable error codes, so storage and recovery flows must not derive behavior by
inspecting human-readable error text from adjacent reporting calls.
That adjacent export contract now also includes canonical Proxmox pool
membership for each VM row. Storage and recovery flows may use those current-
state facts when they need fleet context, but they must consume the API-owned
pool column rather than rebuilding pool membership from storage-side queries.
Those resource timeline reads now also accept governed kind and source-type
filters plus source-adapter filters, with filtered history counts owned by the
unified-resource store so storage and recovery views can consume the same
canonical history contract without re-deriving their own timeline slices.
Those same dedicated timeline and facet reads are relationship-aware at the API
boundary: storage and recovery detail views may consume direct changes plus
changes whose relatedResources names the current canonical resource, but they
must not rebuild a storage-local cross-resource timeline join or widen the
direct-only history default used by non-resource-detail callers.
Invalid sourceAdapter values are rejected at the API boundary, which keeps
storage and recovery reads aligned with the canonical adapter set instead of
turning the timeline filter into an arbitrary free-text escape hatch.
The router now wires the tenant resource state provider during initial setup
when a multi-tenant monitor is present, so tenant-scoped storage and recovery
pages do not hit a missing-provider 500 before the monitor is fully wired.
The shared unified-resource consumer hook now also preserves recentChanges,
facetCounts, policy, and aiSafeSummary fields when storage and recovery
surfaces read unified resources, so those pages see the same control-plane
timeline facets and recent-change totals as the dedicated resource drawer
instead of flattening them away locally.
That shared policy payload now remains intentionally minimal as well: storage
and recovery consumers should expect only routing scope and redaction hints;
the cloud-summary decision is derived from scope rather than stored as a
separate boolean flag.
The same storage-facing runtime paths now also normalize org scope through
frontend-modern/src/utils/orgScope.ts before building cache keys or
multi-tenant fetch state, so storageSummaryCache.ts and other
storage-adjacent consumers do not each keep a local getOrgID() || 'default'
fallback.
The frontend storage and recovery surfaces are also first-class embedded
runtime entry points. Platform page route shells own the path, while
frontend-modern/src/components/Storage/Storage.tsx is the operator-facing
storage surface owner, and frontend-modern/src/components/Storage/ plus
frontend-modern/src/features/storageBackups/ define the storage health model
and presentation. The retired standalone storage page shell must not be
recreated. Storage/recovery empty and detail cards that use the compact
bordered surface frame must compose the frontend-primitives InfoCardFrame
contract, including INFO_CARD_FRAME_CLASS from storage presentation
constants, rather than recreating the frame string in storage-local helpers.
The storage page's readiness now stays route-owned as well:
frontend-modern/src/components/Storage/useStoragePageModel.ts and
frontend-modern/src/features/storageBackups/storagePageStatus.ts must derive
loading, reconnect, and disconnect presentation from the storage unified-resource
fetch contract before consulting websocket churn so the storage surface does
not present healthy REST-backed data as down or stale.
Recovery has no page frame of its own. The event timeline, protection-coverage
review, recovery-history table, point-details drawer, activity strip, and the
recovery table, filter-chip, status, record, action, issue, and empty-state
presenters that served them were deleted with the aggregate Recovery page on
2026-05-26 (its summary strip had gone on 2026-05-14), along with
useRecoveryRollups.ts,
useRecoveryPointsFacets.ts, and useRecoveryPointsSeries.ts. The rules that
governed that frame's layout, density, workspace order, and default columns
have no surface to bind. Recovery evidence now reads through two
platform-owned tabs built on the shared platform-page table primitives: the
Proxmox Backups tab (ProxmoxBackupsTable.tsx and its activity chart, date
feed, coverage, recoverable-artifact, and backup-server tables) and the
TrueNAS Protection tab (TrueNASProtectionTable.tsx). Neither adopts the
interactive summary-scope primitives (summaryCardInteraction.ts,
summaryTableFocus.ts) or a summary card strip.
Recovery row details on those tabs stay read-side until the backend exposes a
governed restore execution contract. They may show verification and target
facts for the selected row, but must not present a freestanding restore
runbook or next-action path that reads as an approved restore workflow.
The Proxmox Backups activity chart keeps long ranges contained:
BackupActivityChart.tsx sizes the plot through
getRecoveryTimelineChartMinWidthPx (2,560 pixels for a year) and scrolls
inside its own card, so the page itself never overflows horizontally;
tests/integration/tests/17-proxmox-backups-layout.spec.ts asserts that at
desktop width.
The recovery transport hooks are direct governed runtime surfaces, not page
implementation detail: frontend-modern/src/hooks/useRecoveryPoints.ts and
frontend-modern/src/hooks/useProtectionPostures.ts stay on the explicit
recovery-product-surface proof path, as do the shared recovery helpers that
survived the page: frontend-modern/src/types/recovery.ts,
frontend-modern/src/utils/recoveryDatePresentation.ts,
frontend-modern/src/utils/recoveryOutcomePresentation.ts,
frontend-modern/src/utils/recoveryTimelinePresentation.ts, and
frontend-modern/src/utils/recoveryTimelineChartPresentation.ts. They must not
inherit release-control coverage only through the platform tabs that render
them. They hold only what those tabs read: the date and timeline helpers serve
the Proxmox Backups tab and the outcome helper the TrueNAS Protection tab.
Exports no tab reads, and recoveryArtifactModePresentation.ts, which only
those exports read, have been removed.
useRecoveryPoints.ts also owns recovery transport normalization at the
frontend boundary: raw compatibility fields such as provider may still
arrive from older /api/recovery/points payloads, but the points it returns
are canonical platform models.
The hook also holds only what the TrueNAS Protection tab reads. Its query
carries platform, page, and limit, it needs a query accessor, and it
returns the points, the loading and error state, and a refetch. The points
endpoint accepts more filters, but no surface sends them: the hook's other
query options (rollup, kind, mode, outcome, item type, linked resource, text,
cluster, node, namespace, workload scope, verification, and the time window),
its meta and resolvedOnce results, and the call without a query accessor
that fetched the unfiltered first page had no reader once the aggregate Recovery
page was deleted, and are gone. A surface that needs one of those filters adds
it to the query type together with its caller, and sends a linked-resource
filter as itemResourceId, never subjectResourceId.
The decode of that response follows the same rule:
normalizeRecoveryPointsResponse and the RecoveryPointsResponse and
RecoveryPointsTransportResponse types in
frontend-modern/src/types/recovery.ts carry the points alone. The endpoint
still returns its pagination meta (page, limit, total, totalPages) and
that backend contract is unchanged, but no frontend surface reads it, so a
surface that pages the points adds the meta back to the response types together
with its reader.
frontend-modern/src/api/__tests__/recoveryTransport.test.ts pins the query
keys, the result members and the response keys at the type level, and at
runtime the three parameters that reach the wire and that a backend response's
meta does not survive the decode.
The points decoder accepts an explicit data array only, matching the handler's
allocated empty slice. Missing, null or non-array collections are failed reads,
never evidence of absent snapshots or replication. Each page is validated before
normalization: required row identity/kind/mode/outcome, consumed optional field
types and unique event IDs must be usable. One malformed row rejects the page;
no partial list or duplicate-key replacement can masquerade as a complete read.
Unknown kind/mode/outcome strings, extra fields, legacy subject/provider aliases,
optional nulls and malformed timestamp strings retain existing presentation
fallbacks. Date validity remains the consuming surface's responsibility.
useRecoveryPoints reads unknown wire data through that boundary. Initial format
failure reaches the existing TrueNAS Protection error/Refresh state; a failed
refresh keeps the last accepted events with their existing stale-data warning,
filters and details. Only a validated page clears the warning or replaces those
events, including a genuine empty array. Permission failures still withdraw
private rows. Parser errors never include response bodies or source identifiers.
recoveryPointsResponse.test.ts, recoveryTransport.test.ts and
TrueNASProtectionTable.refresh.test.tsx cover admission and the consuming
failure/recovery path. Desktop/narrow browser proof must exercise malformed
HTTP-success responses through the real client and table and inspect pixels.
No backend, pagination, retention, permission, provider or guest-operation
contract changes; this is truthful history inspection, not native recovery.
useProtectionPostures.ts holds the same line for GET /api/recovery/postures:
ProtectionPosturesResponse carries the posture rows and the policy that the
Proxmox Backups tab reads, and nothing else. That endpoint also returns its
pagination meta and the backend contract is unchanged, but the hook joins its
200-ID batches into one response, so a limit or page count would only be
invented client-side and no surface reads one. A surface that pages postures
adds the meta back together with its reader. RecoveryResponseMeta went with
the last response type that carried it.
frontend-modern/src/hooks/__tests__/useProtectionPostures.test.ts pins the
response keys at the type level.
The retired dashboard recovery and storage entry points must stay removed:
useDashboardRecovery, DashboardRecoveryStatusPanel,
DashboardStoragePanel, dashboard storage/recovery presentation helpers, and
dashboard widget orchestration must not return as direct proof surfaces. New
storage or recovery summary proof must attach to the owning Storage surface,
platform tab, or shared summary component instead of borrowing coverage
through a broader dashboard shell.
The recovery backend preserves rollup-side display payload continuity: it keeps
the latest normalized subject label on rollups, so a reader can prefer that
canonical display label over raw subject ids whenever the live
unified-resource map is missing or only resolves to opaque machine
identifiers.
The /api/recovery/* transports share one normalized filter contract:
protection rollups, point history, facets, and chart series all honor the same
canonical platform, canonical itemType, cluster, node, namespace,
workload-scope, verification, and free-text q filters, so any two of them
read under the same filters describe the same items. That filter contract
depends on the canonical recovery index carrying a normalized itemType
instead of forcing each reader to re-derive protected item classes from raw
provider-native subjectType values.
The same item-identity contract applies to synthetic Proxmox task recovery
points. When the persisted subject label is just a raw pve-task:*/UPID:*
identifier or vmid=0, the canonical recovery index should derive a readable
task label and task item type from point details so recovery rows scan by
operator meaning instead of transport IDs.
That shared unified-resource dependency now also includes policy-governed
resource metadata on the frontend decode path: storage and recovery surfaces
that route through frontend-modern/src/hooks/useUnifiedResources.ts must
preserve canonical policy and aiSafeSummary fields so storage-bearing
resources do not silently lose their routing or redaction posture when they
cross from unified-resource ownership into storage or recovery presentation.
That same decode path now trusts the backend canonical policy and
aiSafeSummary values directly, so storage and recovery surfaces keep the
canonical summary text aligned with the policy-aware resource contract
instead of reformatting or re-normalizing it locally.
That same shared internal/api/ dependency now also routes resource-timeline
filters through the unified-resource change parser, so storage and recovery
surfaces do not inherit a second local decoder for kind, sourceType, or
sourceAdapter values.
That same shared internal/api/ dependency now also assumes the resource
timeline parser is owned by unified resources, so storage and recovery
surfaces rely on one canonical change-filter contract instead of re-decoding
timeline query values in the handler layer.
That same shared internal/api/ dependency now also assumes canonical install
payload URLs are slash-normalized before they become response fields or helper
attachments, so recovery-adjacent links and transport surfaces cannot inherit
double-slash installer paths from backend public-endpoint configuration.
That same shared internal/api/ dependency must also preserve the governed
agent-lifecycle shell payload shape when adjacent diagnostics responses expose
install transport: router.go may not reintroduce stale lifecycle flag aliases
or raw sudo-only install pipes in container-runtime migration payloads that
share the same backend response surface.
That same shared dependency now also assumes those diagnostics install payloads
route through the canonical backend install-command helper, so recovery-adjacent
transport surfaces do not inherit handler-local drift in token omission,
plain-HTTP --insecure, or trailing-slash normalization.
The persisted migration token and returned install payload must describe the
same module boundary: omitted enableHost atomically persists the bounded
host-plus-Docker scopes before returning an enabled-host command, while an
explicit false value persists only Docker-report authority before returning
the workload-only command. A persistence failure must continue to fail the
request rather than returning credentials whose scope contract was not saved.
That same shared internal/api/ dependency also assumes diagnostics memory
source breakdowns backfill canonical fallback reasons even when a raw legacy
snapshot reaches internal/api/diagnostics.go without one, so
recovery-adjacent consumers do not observe alias-normalized sources paired
with empty or drifted fallback-reason payloads.
That same shared internal/api/ dependency now also assumes local commercial
and onboarding analytics remain outside the shared diagnostics payload, so
recovery-adjacent diagnostics surfaces can safely share the backend route
without inheriting commerce telemetry, cross-tenant leakage, or hosted/local
semantic drift.
That same shared diagnostics payload may expose native Pulse Assistant runtime
availability as assistantRuntimeConnected, but storage/recovery consumers
must not revive MCP diagnostic fields or treat Assistant runtime availability
as backup freshness, restore capability, or storage-local execution authority.
That same shared internal/api/ dependency now also assumes auth persistence
compatibility stays on an explicit migration/import boundary: legacy
raw-token sessions.json and csrf_tokens.json files may load for upgrade
continuity, but session_store.go and csrf_store.go must immediately
rewrite hashed canonical persistence on load so adjacent storage and recovery
transport does not keep running against primary-path raw-token files.
That same shared internal/api/ dependency also assumes customer-visible
commercial acquisition stays out of storage and recovery surfaces by default:
storage- or recovery-adjacent flows must not invoke or advertise the retired
POST /api/license/trial/start route, and the normal self-hosted router must
return 404 for that path without mutating entitlements. The retired
/auth/trial-activate self-hosted callback must also stay absent from
storage/recovery-local retry or backoff behavior. Retired
trial_eligible/trial_eligibility_reason payload fields are compatibility
only and must not become storage/recovery prompt, identity, or restore state.
Local commercial metrics reporting routes are part of the same adjacent
API/cloud-paid admin settings boundary: storage and recovery surfaces must not
read stats, health, config, or funnel reports as customer-visible recovery,
storage-health, or setup state. In the normal customer product API those
retired local commercial analytics routes must stay unregistered, so storage
and recovery cannot use their absence as a reason to synthesize recovery-local
commercial reporting or fallback state.
That same shared internal/api/ dependency now also assumes adjacent
commercial helper surfaces speak in monitored-system terms: recovery- or
storage-adjacent API wiring may consume the canonical monitored-system ledger
helpers, but it must not revive deleted agent-era helper names, cap helpers,
or imply that API-backed infrastructure sits outside the counted system model.
That same shared internal/api/ dependency now also assumes monitored-system
ledger status details stay canonical and source-aware: storage- or recovery-
adjacent consumers may read the ledger’s nested status explanation, but they
must preserve the backend-provided reason list for stale or offline grouped
sources, including the canonical reported_at timestamp, instead of reducing
those mixed fresh/stale system states back to a generic label.
That same ledger dependency also treats the canonical latest_included_signal
object as the freshest grouped observation. Storage- or recovery-adjacent
consumers must not present that data with bare single-source Last Seen
wording that hides grouped stale/offline conditions, and should use the
canonical object when they need attribution for which grouped surface most
recently reported. Retired flat alias fields must not reappear as separate
freshness signals or adjacent contract wording.
That same shared internal/api/ dependency now also assumes self-hosted
commercial counting is canonical at the top-level monitored-system boundary:
shared setup, deploy, entitlement, and API-backed monitoring helpers may not
preserve an API-only exemption that would let storage- or recovery-adjacent
systems consume no commercial slot when the same monitored system is visible
through canonical unified-resource roots.
That same shared boundary now also assumes replacement-aware monitored-system
projection. When a storage- or recovery-adjacent update replaces one source on
an already-counted host, the API helper must strip only that source from the
prospective grouped system and preserve any remaining top-level evidence such
as agent or sibling API ownership, rather than briefly freeing a slot or
double-counting the same monitored system.
When storage- or recovery-adjacent settings or support flows need to explain
that result, they must rely on the shared monitored-system ledger preview
contract for current/projected grouped systems instead of reconstructing
preview copy, limit verdicts, or cap copy from page-local recovery inventory or
provider-local connection details.
That same adjacent preview contract also treats disabled provider connections
as non-counting candidates. Storage- or recovery-adjacent flows may use the
shared zero-delta or removal-only preview state for explanation, but they must
not reinterpret a disabled TrueNAS or VMware connection as active counted
capacity until the canonical provider configuration is explicitly re-enabled.
That same shared boundary now also assumes settled monitored-system usage
readiness. Storage- or recovery-adjacent transport flows may not interpret the
first store-backed monitor view as commercial truth when provider-owned
supplemental platforms such as TrueNAS or VMware are still between initial
connection wiring and the first rebuilt canonical store; until that baseline
settles, adjacent surfaces must use the canonical ledger/preview unavailable
state and avoid sealing any migration or support decision against a transient
undercount.
That same shared internal/api/ dependency also assumes session-carried OIDC
refresh tokens stay fail-closed at rest: session_store.go may only persist
or recover those tokens through encrypted-at-rest session payloads, and any
missing-crypto or invalid-ciphertext path must drop the refresh token instead
of preserving plaintext-at-rest session state that storage and recovery
surfaces might inherit through shared auth runtime helpers.
That same shared internal/api/ dependency also assumes shared OIDC/SAML
callbacks finish on canonical local redirect targets. Storage- or
recovery-adjacent routes that rely on shared auth helpers may not reintroduce
per-handler returnTo concatenation or absolute-target acceptance when they
inherit those browser handoff paths through the common API router surface.
That same shared internal/api/ dependency also assumes notification test
handlers stay decode-and-delegate only: internal/api/alerting/notifications.go may
share the API helper boundary with storage-adjacent routes, but service-template
selection and generic webhook-test payload fallback must remain
notifications-owned instead of becoming a second API-layer owner.
That same shared API boundary also assumes legacy service-specific webhook
aliases are rewritten at ingress only: internal/api/alerting/notifications.go may
accept compatibility keys like Pushover app_token / user_token, but it
must return and forward only canonical token / user fields so storage-
adjacent shared internal/api/ helpers do not inherit a second live alias
contract.
That same shared internal/api/ dependency now also assumes recovery-token
persistence follows the same canonical rule: raw recovery secrets may be minted
for immediate operator use, but recovery_tokens.go must persist only token
hashes and treat any legacy plaintext-token file as a one-time migration input
that is rewritten immediately into hashed canonical persistence on load.
That same storage-adjacent persistence rule also applies to
internal/config/persistence.go API token metadata: api_tokens.json may hold
only hashed token records, but a legacy plaintext metadata file may only be
migration input and must be rewritten immediately into encrypted-at-rest
storage on load instead of staying on the runtime primary path.
That same shared internal/api/ dependency also assumes those auth stores stay
owned by the configured router data path: session, CSRF, and recovery-token
runtime state may not silently bind to hidden /etc/pulse fallback
initialization or leak old-path store contents forward after reconfiguration.
That same path-ownership rule also governs adjacent hosted billing and
bootstrap artifacts that share the internal/api/ boundary: webhook dedupe
state, customer indexes, and bootstrap-token lookup must resolve their base
directory through the shared runtime data-dir helper instead of carrying
neighboring /etc/pulse fallback logic of their own.
That same shared boundary also assumes manual auth env writes and auth-status
reads resolve .env through the shared auth-path helper, so storage-adjacent
recovery and setup flows do not keep neighboring /etc/pulse/.env fallback
logic alive after the runtime data-dir authority has been centralized.
That same shared internal/api/ dependency also assumes config import reloads
degrade safely when optional runtime managers are missing. Storage- and
recovery-adjacent restore or support flows may drive the shared
/api/config/import boundary before every notification or monitoring manager
exists, but internal/api/configapi/config_export_import_handlers.go must still apply
the imported configuration without panicking on absent optional managers.
The same boundary also owns first-session reset cleanup during managed-backend
proof: the dev-only /api/security/dev/reset-first-run route must clear auth
env and persisted API-token state through the shared helpers, and adjacent test
or recovery tooling may not delete those files directly.
That same shared internal/api/ dependency also assumes generated developer
warnings keep the local browser/runtime split accurate: the embedded frontend
notice under internal/api/DO_NOT_EDIT_FRONTEND_HERE.md may describe :7655
as the proxied backend dependency, but it must preserve
http://127.0.0.1:5173 as the hot-reload browser entrypoint so storage- and
recovery-adjacent setup guidance does not drift back to the backend port.
That same shared boundary now also owns writable auth-env fallback order, so
storage-adjacent setup and recovery flows may not keep per-handler config-path
write branches with private data-path fallback logic once the shared helper
exists.
That same shared internal/api/ dependency also assumes bootstrap-token
persistence follows the same boundary discipline: the first-session setup
secret may remain recoverable through the supported pulse bootstrap-token
command, but .bootstrap_token may not stay a primary-path plaintext secret
file. Canonical runtime persistence must encrypt that token at rest, and any
legacy plaintext bootstrap-token file must be rewritten immediately into the
encrypted canonical format on load.
That same shared internal/api/ dependency now also assumes Proxmox
setup-command payloads stay on the governed fail-fast shell transport, so
adjacent setup and recovery-linked flows do not inherit stale curl -sSL
quick-setup commands from handler-local string assembly.
That same dependency also assumes the generated setup scripts echo the same
fail-fast guidance back to operators during retry and validation failures, so
adjacent setup flows do not preserve stale curl -sSL examples after the API
response itself has already moved to the governed transport.
That same shared dependency now also assumes those quick-setup commands and
embedded retry examples preserve root-or-sudo continuity, so adjacent setup
flows do not regress to direct-root-only command guidance on hosts where the
operator enters through a non-root shell.
That same dependency also assumes the embedded retry examples preserve the
active setup token through those root-or-sudo paths, so adjacent setup flows
do not regress from non-interactive reruns back to prompt-only recovery.
That same shared dependency also assumes generated setup scripts hydrate
PULSE_SETUP_TOKEN from any embedded setup token before they print rerun
guidance, so adjacent setup flows do not lose non-interactive continuity just
because the next hop entered through a generated script body instead of the
original API command.
That same shared dependency also assumes /api/setup-script-url and the
generated rerun guidance draw from one canonical bootstrap artifact builder, so
adjacent setup and recovery-linked transport flows do not drift on download
URLs, script filenames, token hints, or env-wrapped rerun command shape across
the setup bootstrap boundary.
That same shared dependency also assumes generated PVE setup scripts actually
remove the discovered legacy token sets they enumerate during cleanup, so
adjacent operator recovery flows do not present a fake cleanup option that
quietly leaves stale pve and pam Pulse tokens behind. That same cleanup
dependency also assumes candidate discovery stays on the canonical
Pulse-managed token prefix for the active Pulse URL, so adjacent setup flows
do not drift onto IP-pattern token matching that misses hostname-scoped legacy
tokens. That dependency applies to both generated PVE and PBS setup scripts,
so adjacent setup flows do not fork cleanup discovery rules by node type.
That same generated PVE setup-script dependency also assumes temperature-key
setup and removal preserve Proxmox-managed /root/.ssh/authorized_keys
symlinks: adjacent storage and recovery setup flows may depend on the shared
script renderer, but they must not replace the symlink path with a local file
when filtering Pulse-managed # pulse- SSH key entries.
That same dependency also assumes the shared PVE setup script binds
temperature-monitoring SSH keys to /usr/local/sbin/pulse-sensors and emits
SMART disk temperatures in the wrapper payload. The wrapper uses non-opening
smartctl --scan, merges lsblk transport evidence, permits explicit -d sat
for direct SATA and -d scsi only for SAS/SCSI evidence, retains typed USB and
multiplexed HBA modes, and never infers SCSI from an sdX basename. Storage and
recovery disk temperature surfaces may depend on that monitoring-owned SMART
merge path, but they must not reintroduce raw sensors -j as the setup contract
or build a storage-local disk-temperature collector.
Pressure-only host-agent telemetry remains outside that storage collector
contract: storage surfaces may read the shared host context, but may not add a
parallel macOS thermal collector or fold thermalState into disk SMART state.
That same shared discovery dependency also assumes runtime discovery state owns
only structured errors, while adjacent API and WebSocket payloads may derive
the deprecated string errors list only as a compatibility field from those
canonical structured errors.
That same dependency also assumes rerun token-rotation detection uses exact
managed token-name matches, so adjacent setup flows do not collide with
unrelated partial-name tokens and rotate the wrong state.
That same dependency also assumes generated PBS setup scripts only print the
token-copy banner after a successful token-create result, so adjacent setup
flows do not advertise a non-existent token on failure.
That same dependency also assumes generated PBS setup scripts only print the
auto-register attempt banner on the real request path, so adjacent setup flows
do not claim an in-flight registration attempt on branches that are actually
skipped before any request is sent.
That same shared dependency also assumes generated setup scripts preserve the
canonical encoded rerun URL contract, so adjacent setup flows do not drop the
selected host, pulse_url, or backup_perms state when operators rerun the
embedded quick-setup command from the script body.
That same shared dependency also assumes generated setup scripts fail closed on
auto-register success parsing, so adjacent setup flows do not misreport
registration success when a shared backend response still carries a
success:false payload.
That same dependency also assumes those generated setup scripts fail closed on
auto-register HTTP and transport failures, so adjacent setup flows do not
reinterpret shared backend stderr or HTTP-failure output as a successful
registration payload.
That same dependency also assumes those generated setup scripts capture the
auto-register HTTP status alongside the response body and key the
invalid-setup-token branch off a 401/403 status, and that their manual
completion and rerun guidance names the live Settings → Infrastructure page,
so adjacent setup flows surface reachable auth-failure guidance instead of a
dead server-string grep and a retired page name (#1644).
That same dependency also owns the write ordering between the API token store
and the nodes store during an install-token bootstrap: the one-shot grant is
consumed and persisted to the token store before the created source is written
to the nodes store, and a failed nodes write rolls the consumption back. A
token-store write that fails after the nodes write would otherwise leave a
persisted source next to a still-live one-shot grant, so a persistently failing
token store becomes a repeatable source-creation primitive. Either both stores
advanced or neither did.
The API-token store also owns atomic in-place scope replacement.
PATCH /api/security/tokens/<id> may change only the canonical scope slice; it
must preserve the stored hash, ID, timestamps, expiry, metadata, and
organization bindings. If SaveAPITokens fails, the complete prior in-memory
record must be restored so runtime authorization cannot diverge from the
durable token store.
That same shared dependency also assumes generated setup scripts preserve
setup-token auth guidance, so adjacent setup flows do not regress back to
stale API-token instructions after the backend has already standardized on the
one-time setup-token contract.
That same dependency also assumes generated setup scripts preserve truthful
registration-outcome messaging, so adjacent setup flows do not claim a node
was successfully registered when the shared backend path actually fell back to
manual completion.
That same dependency also assumes manual completion stays on the canonical
node-add path, so adjacent setup flows do not regress back to a stale
secondary registration-token rerun contract after the backend already emitted
manual token details for Pulse Settings → Nodes.
That same dependency also assumes auth-failure messaging stays truthful once a
shared setup script has already entered the registration-request path, so
adjacent setup flows do not regress into missing-token copy when the real next
step is to fetch a fresh setup token from Pulse Settings → Nodes and rerun.
That same auth-failure state must also suppress the later manual-details
footer, so adjacent setup flows do not contradict the rerun contract.
That same dependency also assumes the auto-register failure summary stays on
that canonical node-add path, so adjacent setup flows do not regress to vague
"manual configuration may be needed" wording once the backend already emitted
the exact Pulse Settings → Nodes completion path.
That same dependency also assumes the immediate failure branch reuses that same
manual-completion contract instead of drifting into a numbered manual-setup
list before the final token-details footer, including request-failure branches
that never receive a parseable backend response.
That same dependency also assumes those manual-add instructions preserve the
canonical node host already known to the script, so adjacent setup flows do
not regress to placeholder host guidance when shared backend continuity is
otherwise intact.
That same dependency also assumes the PBS setup script binds that canonical
host before setup-token gating can skip auto-registration, so adjacent manual
fallback output does not lose the host URL just because setup-token input was
omitted.
That same dependency also assumes the canonical PBS host is already bound
before token-creation failure fallback, so adjacent manual completion output
does not drop the host URL just because token minting failed earlier in the
same shared script.
That same dependency also assumes token-creation failure stays truthful in
those generated setup scripts, so adjacent flows do not regress into fake token
details or a false "token setup completed" state after shared backend token
minting already failed.
That same dependency also assumes token-extraction failure stays on the same
rerun-after-fix path, so adjacent setup flows do not regress into a false
manual-registration fallback when the shared backend still has not produced a
usable token secret, and do not enter the shared manual-completion footer until
that usable secret actually exists.
That same shared setup dependency also assumes skipped PBS auto-register paths
stay truthful, so adjacent flows do not regress into a fake request-failure
banner when the backend intentionally never attempted registration.
That same shared setup dependency also assumes missing-host script payloads
stay fail closed, so adjacent flows do not regress into placeholder manual
registration targets when the backend never received a canonical node URL.
That same dependency also assumes PBS follows the identical host rule, so
adjacent setup flows do not regress from the backend-requested canonical PBS
host to a runtime-local interface address when manual completion is rendered.
That same dependency also assumes those manual-add instructions preserve
canonical Settings → Nodes phrasing across node types, so adjacent setup flows
do not drift into inconsistent manual-completion language for equivalent
fallback paths.
That same dependency also assumes the earlier auto-register failure branch uses
that identical Settings → Nodes destination, so adjacent setup flows do not
observe one manual-completion path in the immediate error guidance and a
different one in the final backend-owned footer.
That same dependency also assumes the off-host PVE fallback stays on the
canonical rerun-on-host contract, so adjacent setup flows do not regress into
a separate manual pveum plus Pulse Settings token-entry path that the shared
backend no longer owns.
That same dependency also assumes direct script launches preserve the canonical
root requirement wording, so adjacent setup flows do not regress to a stale
"Please run this script as root" branch while the governed retry transport
already uses the newer privilege guidance.
That same dependency also assumes manual-add token placeholder text stays
canonical across those generated setup branches, so adjacent setup flows do
not surface conflicting "see above" instructions for the same backend-owned
token continuity contract.
That same dependency also assumes successful generated setup flows preserve one
canonical success message across node types, so adjacent setup surfaces do not
drift into type-specific completion wording for the same backend-confirmed
registration state.
That same dependency also assumes token-extraction failures stop before shared
registration assembly, so adjacent setup flows do not proceed with an empty
token secret after the backend already determined the generated token value was
unavailable.
That same dependency also assumes canonical PVE auto-register payloads carry
real caller-supplied token secrets only, so adjacent setup flows do not treat
placeholder response state as a usable credential or persist dead pending
branches into shared node state.
That same shared internal/api/ dependency also assumes the canonical
/api/auto-register success payload keeps canonical node identity in
nodeId instead of the raw host URL or requested server name, so adjacent
setup and recovery-linked transport attachments do not fork between stored
node name and request-form identity.
That same dependency also assumes the shared node_auto_registered event from
canonical /api/auto-register keeps the normalized stored host and canonical node
identity in its payload, so adjacent transport surfaces do not fork between
saved node state and raw request-form event data.
That same shared dependency also assumes canonical /api/auto-register success
responses mirror that stored identity and normalized host through type,
source, host, nodeId, and nodeName, so installer and runtime-side
Unified Agent success paths cannot drift into a second local identity after
registration.
That same dependency also assumes the setup-token bootstrap response from
/api/setup-script-url carries canonical type, normalized host, and live
expiry metadata, so adjacent setup and recovery-linked transport surfaces do
not consume a mismatched bootstrap token after host normalization.
That same shared dependency also assumes installer and runtime-side Unified
Agent callers fail closed on already-expired bootstrap responses instead of
treating any populated expires field as sufficient.
That same shared dependency also assumes Pulse-managed Proxmox monitor-token
names stay bound to the canonical Pulse endpoint across setup/bootstrap
surfaces, so adjacent setup and recovery-linked flows may not derive token
scope from request-local Host fallbacks and accidentally fork monitor-token
identity for the same Pulse instance.
That same shared dependency also assumes generated PVE setup scripts, runtime
host-agent setup, and installer auto-registration keep backup visibility
permissions effective on privilege-separated tokens: optional /storage
PVEDatastoreAdmin grants must be mirrored to the service user and the concrete
token id, not left as a user-only ACL that the token cannot use.
That same shared dependency also assumes /api/setup-script stays on one
canonical artifact contract: manual setup downloads must ship as
text/x-shellscript attachments with deterministic pulse-setup-*.sh
filenames, so adjacent setup and recovery-linked transport surfaces do not
flatten governed script delivery into untyped text blobs.
That same shared dependency also assumes /api/setup-script-url carries that
canonical setup-script filename as bootstrap metadata, so adjacent setup and
recovery-linked surfaces do not reintroduce hardcoded local filenames that can
drift from the downloaded artifact.
That same shared dependency also assumes settings quick-setup treats
/api/setup-script-url as one canonical bootstrap artifact per active
endpoint, so adjacent setup and recovery-linked surfaces do not fork copy and
manual-download behavior onto separate lane-local bootstrap requests.
That same shared dependency now also assumes that bootstrap artifact is owned
by one shared backend install-artifact model rather than mirrored local
bootstrap structs and response envelopes, so adjacent setup and
recovery-linked surfaces do not inherit drift between downloads, rerun
guidance, and script rendering. Generated PVE/PBS setup-script bodies must also
come from the same shared backend render helpers instead of a handler-local
template engine, so recovery-linked copy and rerun flows do not fork the shell
transport contract by route implementation.
guidance, and the setup-script-url payload.
That same shared dependency also assumes that bootstrap artifact includes a
dedicated token-bearing downloadURL, so manual setup-script downloads remain
non-interactive without forcing adjacent surfaces to re-expose the raw setup
token or rebuild a second setup-script request from partial bootstrap state.
That same shared dependency also assumes runtime-side Unified Agent and
installer consumers keep the full setup bootstrap envelope coherent: adjacent
transport surfaces may not silently accept /api/setup-script-url responses
that drop canonical script URL, filename, or command metadata while still
returning a token.
That same shared dependency also assumes /api/setup-script-url keeps a strict
canonical request shape: adjacent setup and recovery-linked surfaces may not
quietly accept unknown request fields or trailing JSON on that bootstrap route,
because typo-compatible or concatenated payloads would fork the governed setup
artifact contract from the direct handler proofs.
That same shared dependency also assumes bootstrap backup permissions stay on
the canonical PVE-only path: adjacent setup and recovery-linked surfaces may
not accept backup_perms / backupPerms for PBS and then silently drift onto
an unsupported no-op request contract.
That same shared dependency also assumes both setup routes keep canonical host
identity explicit: adjacent setup and recovery-linked surfaces may not allow
/api/setup-script to fall back to placeholder host artifacts after
/api/setup-script-url already requires a real normalized host.
That same shared dependency also assumes those setup routes share one canonical
type and host-normalization boundary: adjacent setup and recovery-linked
surfaces may not allow /api/setup-script to treat unknown type values as
implicit PBS requests or emit unnormalized host state after
/api/setup-script-url has already normalized the bootstrap node identity.
That same shared dependency also assumes both setup routes keep canonical
Pulse identity explicit: adjacent setup and recovery-linked surfaces may not
allow /api/setup-script to rebuild pulse_url from request-local origin
state after /api/setup-script-url already binds the canonical Pulse URL into
the returned bootstrap artifact.
That same shared dependency also assumes /api/setup-script now rejects
missing pulse_url input outright, so adjacent setup and recovery-linked
surfaces may not rely on request-local origin fallback once the bootstrap
artifact already carries an explicit canonical Pulse URL.
That same shared dependency also assumes /api/setup-script keeps one
bootstrap token name end to end: embedded setup-script bootstrap uses the
canonical setup_token query and the rendered script body uses only
PULSE_SETUP_TOKEN, so adjacent setup and recovery-linked reruns do not drift
across alias variables or deleted query naming. That same recovery-linked
bootstrap path may surface the local token file path, but it must not print
the bootstrap token value itself into automatic runtime logs.
That same shared internal/api/ dependency also assumes canonical /api/auto-register
responses keep nodeId on the resolved stored node identity after name
disambiguation, so adjacent setup and recovery-linked transport attachments do
not fork between saved node state and raw requested server names.
That same shared dependency also assumes canonical /api/auto-register triggers the same
canonical post-registration refresh and live event flow as legacy
auto-register, so adjacent transport surfaces do not miss discovery refresh or
canonical node event payloads just because the node entered through the
path.
That same shared internal/api/ dependency also assumes canonical /api/auto-register
accepts caller-supplied token completion directly on that contract, so
adjacent lifecycle transport stays on one explicit-token registration contract
instead of forking a second completion path.
That same shared internal/api/ dependency also assumes the primary runtime
ingest surface is the Pulse Unified Agent boundary in
internal/api/agent_ingest.go and internal/api/router*.go, so adjacent
storage and recovery transport may not depend on host-named handler or
router state as if /api/agents/host/* were still a first-class API family
instead of a compatibility alias.
That same shared internal/api/ dependency also assumes the canonical
Unified Agent route family remains the primary auth/management surface:
adjacent storage and recovery-linked transport must treat /api/agents/agent/*
as the owned route family, while /api/agents/host/* and legacy
host-agent:* scope names remain compatibility aliases only.
That same owned route family must also fail closed on ambiguous hostname
lookups: /api/agents/agent/lookup may resolve a unique hostname match, but
it must not pick an arbitrary agent when exact, display-name, or short-hostname
matches are duplicated across the live inventory.
That same shared internal/api/ dependency also assumes adjacent recovery and
storage-linked transport continues to describe those legacy names as
compatibility aliases rather than active product surfaces, so route/auth
guidance does not drift back into “host-agent” ownership language once the
canonical agent:* and /api/agents/agent/* boundary is set.
That same shared dependency now also assumes generated setup scripts use that
canonical caller-supplied completion path, so adjacent setup and recovery-linked
transport stay on the canonical registration payload shape.
That same shared dependency also assumes /api/auto-register uses one canonical
caller-supplied completion payload: transport must send tokenId and
tokenValue directly, so adjacent surfaces do not preserve a mode-switch
field or alternate payload gate.
That same shared dependency also assumes one-time setup-token auth uses the
canonical authToken request field only, so adjacent transport does not keep a
duplicate setupCode payload alias alive after the canonical field is set.
That same shared dependency also assumes the live runtime keeps that
terminology canonical after the contract cleanup: auto-register auth failures
and handler ownership paths must refer to setup tokens rather than preserving
setup-code residue.
That same shared dependency also assumes missing-token requests fail with the
canonical setup-token requirement itself rather than a generic authentication
message, so adjacent transport and setup-linked recovery proof keep the route
narrowed to one-time setup-token auth.
That same shared dependency also assumes canonical field-validation failures
stay specific on /api/auto-register: mismatched tokenId/tokenValue input
may not collapse into generic missing-field output, and other missing
canonical fields must return explicit Missing required canonical auto-register fields: ... guidance.
That same shared dependency also assumes the public /api/auto-register route
and the direct canonical handler path keep those validation failures aligned,
so adjacent shared helpers do not inherit diverging missing-field or token-pair
messages from two nearby entry points on the same runtime surface.
That same shared dependency also assumes canonical auto-register callers send
explicit serverName identity, so the backend does not recreate node identity
from host and drift adjacent shared state onto handler-local fallback rules.
That same shared dependency also assumes overlap and rerun continuity logs stay
on canonical /api/auto-register wording, so adjacent shared helpers do not
reintroduce a deleted "secure auto-register" split while describing resolved
host matches, DHCP continuity matches, or in-place token updates.
That same shared dependency also assumes token-completion validation logs stay
on canonical /api/auto-register wording, so adjacent shared helpers do not
reintroduce deleted "secure token completion" wording when tokenId and
tokenValue drift out of sync.
That same shared dependency also assumes hostagent-driven canonical
/api/auto-register requests use that same request-body authToken field
for one-time setup-token auth instead of a header-auth fallback or direct
admin-token completion, so adjacent transport and recovery-linked proof do not
preserve parallel authentication paths.
That same shared internal/api/ dependency also assumes the canonical helper
and proof surface describe one /api/auto-register path instead of a fake
/api/auto-register/secure sibling, so adjacent transport and governed
evidence do not drift onto a route split that the runtime does not actually
expose.
The facet, point-window, and range route-state rules that served the deleted
Recovery page's history table no longer have a reader. Day and range selection
now belong to the Proxmox Backups activity chart: choosing a day filters the
date feed in place and writes PROXMOX_BACKUPS_QUERY_PARAMS.day, so reload and
shared links reopen the same day, while the chart range (7d, 30d, 90d,
1y) is component state that starts at 30 days and is not written to the URL.
This lane intentionally depends on other governed boundaries instead of
overreaching into them. API transport and payload contract ownership remain in
api-contracts, the settings recovery panel remains in frontend-primitives,
and canonical resource identity stays in unified-resources.
That same shared internal/api/ resource boundary now also carries governed
policy-aware metadata. Storage and recovery consumers that read canonical
resource payloads must preserve backend-derived policy and aiSafeSummary
fields for storage, backup, and data-bearing resources instead of rebuilding
their own sensitivity or routing guesses in page-local presentation code. The
shared frontend-modern/src/hooks/useUnifiedResources.ts decode path now
trusts the backend canonical metadata directly instead of re-normalizing it
locally, so storage and recovery views see the same policy posture the API
publishes. The same hook and the resource-identity helpers it depends on now
share the canonical trimmed-string utility instead of each surface rebuilding
its own whitespace cleanup, so storage and recovery identity checks stay
aligned with the other unified-resource consumers. That same decode path
also projects Kubernetes cluster identity through the shared cluster-context
helper, so storage and recovery surfaces see the same canonical cluster
prefix as the dashboard and unified-resource store instead of rebuilding
their own fallback. That same boundary now also owns the backend facet-bundle
route for timeline history and related change counts, so storage and recovery
surfaces must continue to consume the shared bundle rather than issuing
separate local resource-detail fetches.
That same shared internal/api/ dependency now also assumes canonical
security-token lifecycle reads. Storage- and recovery-adjacent consumers of
shared auth/security helpers may inspect token metadata, but they must not
treat a displayed relay pairing token as disposable once canonical metadata
shows lastUsedAt. Shared transport mutations must preserve used-token
continuity instead of deleting a credential that an already paired device
still depends on. Storage- and recovery-adjacent helpers must also treat
owner_user_id as API-authored identity metadata, not caller-supplied storage
or recovery metadata, so shared token records cannot be rebound through
extension-specific metadata maps.
That same shared backend helper layer now also owns hosted relay bootstrap
continuity. Storage- and recovery-adjacent consumers may read relay status or
mobile onboarding payloads, but they must not assume hosted tenants need a
manual relay settings write before those reads become valid. When hosted
billing state grants relay, the shared runtime helper must persist the
canonical hosted relay config and keep subsequent reads on that same
machine-owned state instead of letting adjacent surfaces invent their own
fallback bootstrap or disable heuristics.
Storage and recovery consumers of the shared action lifecycle must also treat
core-owned Patrol auto-authorization as action-audit state, not as a reusable
storage mutation grant. Per-resource capability allowlists and recurring
windows may admit only capabilities whose canonical resource contract declares
eligibility; storage-pressure remediation remains approval-bound until a
complete capability and verification workflow explicitly declares otherwise.
Interactive decisions and executions may carry the exact reviewed planHash;
the shared internal/api/actions.go boundary must reject a presented mismatch
before audit mutation or executor dispatch. Storage and recovery consumers must
preserve that binding and must not treat an approved row or matching action id
alone as authority for a recovery or storage mutation.
Mock-mode action inbox and detail rows are explicitly read-only projections
from the shared fixture graph. Storage and recovery consumers may inspect their
typed execution, verification, and compensation examples, but must not persist
them as recovery evidence, derive restore readiness from them, or expose any
mutation control against those fixtures.
That same shared internal/api/ boundary also owns hosted browser-session
precedence for adjacent protected reads. Storage- and recovery-adjacent hosted
surfaces may run without local auth configured, but a valid tenant
pulse_session must still authenticate before any API-only token fallback or
the anonymous optional-auth fallback so hosted recovery, onboarding, and
support flows do not silently degrade into unauthenticated state or bearer-
token-only mode after cloud handoff.
That same recovery-adjacent auth boundary also owns local bootstrap and
break-glass containment. Before auth is configured, quick setup and recovery
ingress must stay direct-loopback only, recovery-token validation must remain
bound to the generating client IP, and break-glass recovery must clear or mint
browser sessions rather than toggling a shared .auth_recovery file for every
localhost caller.
That same adjacent auth boundary may consume SSO-authenticated browser
sessions, but storage/recovery code must not reinterpret SAML or
multi-provider SSO availability as a recovery entitlement. SSO license and
provider-route truth stays on the shared API/security boundary, where OIDC,
SAML, and multi-provider SSO are Community-tier authentication capabilities.
That same shared internal/api/ boundary also owns hosted AI bootstrap
continuity. Storage- and recovery-adjacent hosted flows may surface Patrol-
backed investigation or AI-guided recovery guidance before an operator has
ever opened AI Settings, but the shared hosted runtime helper must return the
same unconfigured provider-setup state as self-hosted unless an explicit AI
config exists. Adjacent recovery surfaces must not invent their own hosted AI
fallback, synthetic activation state, or quickstart-backed machine default.
That same hosted entitlement continuity also depends on the shared refresh path
repairing the correct billing owner. When recovery-adjacent hosted requests run
under a tenant org without org-local billing state, internal/api/ must
refresh, persist, and re-evaluate the instance-level default lease instead of
rewriting the empty tenant org. Otherwise AI-guided recovery can degrade to a
false free-tier state even though the hosted machine still has a valid refresh
token and signed entitlement lease.
That same shared persistence path must also clear historical hosted quickstart
model IDs before adjacent recovery or storage flows read AI settings state.
Support and recovery surfaces must not inherit or re-emit stale vendor IDs from
old ai.enc payloads just because the shared settings helper touched
persistence on the way through.
That same shared settings helper layer must then preserve canonical
org-management privilege for non-default tenant requests. Storage- and
recovery-adjacent hosted flows that reuse settings-bound helpers must allow
the current org owner/admin membership to continue through privileged tenant
routes after cloud handoff instead of requiring a separate configured local
admin identity that hosted tenants do not carry.
That same hosted continuity assumption also applies when operators arrive via
the older direct tenant magic-link path. Recovery- and storage-adjacent hosted
opens that still redirect through /auth/cloud-handoff must carry enough
canonical account/role identity for the tenant runtime to validate existing
membership and derive the stored effective role before protected routes load,
not just the newer portal exchange path. The direct path must not repair org
membership, claim a blank owner, promote email into a missing handoff subject,
or honor role upgrades from handoff claims.
That same adjacent onboarding boundary must also keep the dedicated
relay-mobile bootstrap credential sufficient for QR, deep-link, and
connection-validation reads, so hosted recovery/support flows that hand a
paired device back into onboarding do not need to escalate the mobile token to
the broader settings-read privilege just to fetch the canonical bootstrap
payload.
Those adjacent reads must also preserve the API-owned readiness semantics:
when Remote Access is disabled, relay registration has not supplied a connected
instance_id, or the dedicated mobile credential is missing, recovery and
support surfaces must surface the backend 409 onboarding_not_ready
diagnostics rather than constructing a partial mobile pairing payload from
relay settings or retrying with broader settings credentials.
That same adjacent internal/api/ boundary also owns provider-backed recovery
onboarding. Storage and recovery may consume resulting TrueNAS snapshots and
replication points, but connection CRUD, masked-secret preservation on update,
saved-connection retest paths, and platform polling setup must stay on the
adjacent platform-connections contract instead of being rebuilt as
storage/recovery-local connection flows. In particular, re-testing one saved
TrueNAS recovery source must stay on the server-owned stored-config path rather
than forcing storage or recovery surfaces to round-trip redacted secrets back
through the draft-test API; when edit-form payload overlays are present, that
same saved-connection path must merge unchanged secrets server-side instead of
making recovery-owned surfaces collect credentials again just to test updated
host or TLS fields before saving.
That same provider-backed boundary also owns connection poll cadence, last-sync
health, failure summaries, and discovered platform-contribution counts exposed
in the TrueNAS settings workspace. Storage and recovery may consume the
resulting datasets, apps, disks, and recovery artifacts, but they must not
redefine those settings-runtime health semantics or handoff routes inside
storage/recovery-local transport or page contracts.
That same adjacent platform boundary also owns the feature-default truth for
TrueNAS: storage and recovery must treat provider-backed TrueNAS recovery as
available by default and only treat truenas_disabled as an explicit platform
opt-out, not as the baseline onboarding state for a supported platform.
That same shared boundary also owns the line between recovery data and
assistant control. Backend-native TrueNAS app actions may refresh the poller
and recovery ingest after a control event, but storage and recovery surfaces
must continue to consume the resulting canonical recovery points instead of
growing a second recovery-local control transport or action-specific payload
contract.
That same boundary also owns the line between recovery data and assistant
diagnostics. Backend-native TrueNAS app log reads may route through shared
AI/runtime wiring and the poller's provider selection path, but storage and
recovery surfaces must not grow a second recovery-local log transport or
diagnostic payload contract just because those reads can inform operator
investigation.
That same boundary also owns the line between recovery data and assistant
configuration reads. Backend-native TrueNAS app config may route through
shared AI/runtime wiring and the poller's provider selection path, but storage
and recovery surfaces must not grow a second recovery-local config transport
or provider-shaped configuration payload just because those reads can inform
operator investigation.
Provider preflight diagnostics returned by shared AI settings handlers are the
same AI runtime readiness context. Storage and recovery surfaces may use the
resulting safe recommendation to direct an operator back to Assistant & Patrol
settings, but they must not reinterpret provider auth, provider connection, or
model-selection causes as recovery-source health, backup readiness, or
storage-control capability.
That bounded projection is the current TrueNAS floor for storage and recovery:
operators can inspect TrueNAS pools, datasets, and disks on the TrueNAS
page's Storage tab (TrueNASStorageTopologyTable) and snapshots and
replication artifacts on its Protection tab. Storage and recovery do not
promise a TrueNAS-local onboarding path, restore/control plane, or separate
diagnostic transport; backend-native app actions, logs, and config reads stay
on the adjacent AI/runtime path and only feed refreshed canonical
recovery/state afterward.
The Protection tab is a platform-owned table, not an embedded recovery
surface: TrueNASProtectionTable.tsx lists the recovery points
useRecoveryPoints returns with the truenas platform filter forced. It must
keep that filter forced and keep reading the canonical recovery-points
transport rather than growing a TrueNAS-only snapshot or replication data
contract.
VMware vSphere is the current admitted narrower phase-1 direction. Storage and
recovery may consume vCenter-backed
datastore inventory plus VM snapshot-tree visibility as shared storage and
workload context, but VMware recovery stays out of the support claim.
Storage and recovery must not treat vSphere snapshots, changed-disk/block
visibility, or datastore presence as canonical Pulse recovery artifacts,
restore capability, or recovery-backed Assistant control until a later
governed slice adds those contracts explicitly. The shared VMware
Resource.vmware.snapshotTree projection may show current snapshot, creation
time, state, quiesce, and child-snapshot context on VM details, but it remains
descriptive workload evidence and must not feed recovery policy, restore
targeting, protection grouping, or backup/snapshot compliance scoring.
That same storage/recovery boundary also keeps the onboarding runtime separate
from recovery semantics. internal/api/router.go,
internal/api/router_routes_registration.go, and
internal/api/vmware_handlers.go may expose VMware connection CRUD, saved-test
health refresh, poller-owned poll / observed runtime summaries, and
observed datastore/VM snapshot visibility on the shared
platform-connections surface, but storage and recovery must treat that data as
setup/runtime context only, not as proof that VMware has joined the canonical
recovery artifact or restore plane.
The same rule applies to /api/truenas/connections*/preview and
/api/vmware/connections*/preview: monitored-system previews may surface
current/projected grouped systems for setup and support clarity, but they do
not imply commercial limit verdicts, recovery-local onboarding, recovery
artifact ownership, or restore support.
That same bounded phase-1 slice now also includes the shared unified-resource
adapter floor. frontend-modern/src/hooks/useUnifiedResources.ts,
frontend-modern/src/routing/resourceLinks.ts, and adjacent storage filters
may surface VMware-backed datastores as canonical storage resources under
the shared vmware-vsphere source/platform vocabulary, but that operator-
facing storage visibility still ends at inventory, capacity, and navigation.
That same shared storage adapter must classify those VMware-backed records as
inventory-only datastores on platform-owned storage surfaces, not as backup
repositories or recovery-protected targets. Shared storage rows may show
datastore topology, capacity, accessibility, and multi-host context, but they
must keep fallback protection semantics neutral unless a separately governed
recovery slice adds real VMware protection contracts.
That same inventory-only contract also applies when the operator turns on
runtime mock data. Mock TrueNAS pools/datasets and mock VMware datastores may
surface through the shared storage and recovery-adjacent pages as canonical
inventory context, but that visibility still does not widen Pulse's recovery
support claim or imply restore capability for either platform.
That same bounded mock contract now also requires one shared fixture authority.
When storage or recovery surfaces render mock TrueNAS pools, datasets,
snapshots, replication context, or mock VMware datastores, that inventory must
come from the same internal/mock/ platform fixture owner that drives settings
payloads and unified runtime inventory, rather than recovery-local fixture
assembly or page-local compatibility fallbacks.
Storage and recovery must not infer VMware restore support, recovery rollups,
or VMware-local protection semantics from the presence of those datastores or
VM snapshot-read context on the shared pages.
That same shared adapter floor also now carries richer VMware placement,
cluster-service, guest-detail, VM virtual-hardware, VMware Tools, and network
metadata through the canonical agent / vm / storage / network
resources that storage and recovery can inspect on shared pages.
internal/vmware/provider.go, internal/unifiedresources/types.go, and
frontend-modern/src/hooks/useUnifiedResources.ts may expose datacenter,
cluster, cluster HA/DRS service state, folder, runtime-host,
datastore-attachment, guest-hostname, and guest-IP detail plus VM
virtual-hardware version, boot, CPU/memory hot-add, VMware Tools run-state,
version, policy, install-attempt, error, guest-reboot context, and network
attachment context as inventory context, but those fields stay descriptive
only. Storage and recovery must not treat topology labels, cluster-service
flags, datastore attachments, guest identity, network attachments,
virtual-hardware posture, or VMware Tools posture as recovery
ownership, restore targeting, protection grouping, or a new VMware-local
storage/recovery taxonomy until a separately governed slice explicitly promotes
them into recovery contracts.
That same storage/recovery surface now also owns physical-disk live I/O
presentation through the canonical chart boundary. Storage disk drawers may
show read, write, busy, and SMART history, but they must route every chart
through the shared HistoryChart API contract using the disk resource's
canonical history target. Storage must not keep a drawer-local live metrics
collector, agent-id/device fallback stream, or separate "real-time" history
store once monitoring and /api/metrics-store/history already own the disk
timeline.
The same shell/runtime split now applies to websocket consumers:
frontend-modern/src/components/Storage/useStoragePageResources.ts may consume
websocket state only through frontend-modern/src/contexts/appRuntime.ts.
It must not import @/App or create storage/recovery-local shell coupling,
because provider placement remains app-shell-owned and storage/recovery
surfaces must stay lazy-load safe.
The Storage page also keeps large-estate hydration and rendering bounded at
that page boundary. Its unified-resource query requests canonical storage
resources only; recovery's broader workload inventory must not be hydrated by
the Storage tab when the storage adapter cannot consume it. Pool filtering,
sorting, grouping, counts, and scroll height continue to describe the complete
result set, while useStoragePoolsTableWindowing.ts flattens the expanded group
model and mounts at most 72 pool/header items with table spacers. Wheel and
touch input intentionally follow different canonical paths: wheel projection
may prewarm that bounded window, while touch must remain compositor-native and
advance the window only from the passive native page-scroll event. The
listener lifecycle, scroll-ancestor selection, and wheel normalization must
route through frontend-modern/src/components/shared/windowedPageScroll.ts so
Storage cannot reintroduce a competing phone gesture owner. Expanded pool
targets must be revealed inside the current window. The page-scoped
/api/storage-charts summary remains the sole pool-growth history payload, but
its initial cache read, parse, and fetch may wait for browser idle so those
secondary growth readouts cannot block the first Storage frame.
That same adjacent internal/api/ boundary now also governs public-demo
commercial redaction for storage and recovery viewers. Shared storage/recovery
surfaces may run beside a demo runtime that has real internal entitlements,
but DEMO_MODE must still 404 license-status, billing-state, and monitored-
system-ledger reads so adjacent recovery or storage pages do not leak
commercial identity or upgrade posture into a public demo. Storage/recovery
must consume that redacted boundary as presentation truth rather than
reintroducing mock-only license bypasses or page-local commercial fallbacks.
Browser-facing storage/recovery surfaces must also treat
/api/security/status.sessionCapabilities.demoMode as the canonical
public-demo bootstrap signal instead of inferring demo posture from headers,
/api/health, or hostname heuristics.
Adjacent Proxmox registration authorization neutrality
The shared internal/api/configapi/config_setup_handlers.go Proxmox registration fix is
adjacent lifecycle/API authority only. Runtime agents now use
/api/auto-register directly, ordinary agent tokens remain update-only, and a
server-minted Proxmox install token may consume one host-bound initial source
grant per canonical Proxmox type, so a combined PVE+PBS machine registers both
products from one install token (#1644). Widening that grant from one create
per token to one create per type does not widen it past source registration:
it still grants backup, snapshot, restore, retention, replication,
datastore-management, and recovery-policy authority not at all, and the second
create is bound to the same hostname and the same 24-hour mint-age window as
the first. The settings:write boundary on setup-artifact generation and all
existing storage/recovery permission and evidence contracts remain unchanged.
That same adjacent platform-connections boundary now also assumes direct
TrueNAS and VMware connection writes fail closed while canonical
monitored-system usage is unavailable. Storage and recovery may depend on the
resulting provider setup state only after internal/api/truenas_handlers.go,
internal/api/vmware_handlers.go, and the shared monitored-system grouping
helpers have returned a safe preview verdict; VMware write handling must not
collect external vCenter inventory before that canonical usage state is safe.
Storage and recovery browser helpers now also keep one transport-tolerant
normalization edge. Recovery display models must accept legacy subject-label
fields and nullable mode/kind metadata before presenting canonical item labels,
while storage detail drawers and filter controls must route summary series IDs,
source tones, and disk metrics through the shared storage helpers instead of
reconstructing them from local table state.
Shared internal/api request-origin resolution creates no recovery state
The shared internal/api boundary this subsystem consumes routes
requestOriginBaseURL, capturePublicURLFromRequest,
Router.resolvePublicURL, config-owned install commands, setup-script
artifacts, and PBS token labels through one strict resolveRequestOrigin
trust boundary and one resolveConfiguredPublicBaseURL precedence function in
internal/api/router.go. The resolver itself performs no persistence. Capture
may update the running config's auto-detected public URL for notification and
SAML consumers, while command-target resolution may use the validated live
origin ahead of that auto-detected guess; neither behavior creates a recovery
point, backup artifact, restore authority, or protection freshness fact. The
retired loopback-aware helper no longer provides a second request-header path.
No request-derived origin is written to storage/recovery records, and tenant
workspace preservation or recovery flows that copy system.json remain
outside this URL trust boundary.
Router.hostedMode now reaches the config-owned setup boundary explicitly.
Hosted PVE/PBS setup artifacts require a canonically valid authoritative
AgentConnectURL or explicit PublicURL before the short-lived setup token is
created; missing, auto-detected, or invalid configuration leaves the setup-token
map empty. The adjacent password-driven PBS path resolves the same target
before deriving its Pulse-managed token label or contacting PBS, so failure
cannot leave a remote PBS token or a partially configured PBS instance. This
changes no backup, restore, datastore, protection, or recovery authority.
TestContract_HostedInstallerOriginsFailClosedAtRouter proves the no-state
failure cases and follows successful PVE/PBS artifacts through rendered script
delivery under hostile direct and forwarded request evidence. The shared
diagnostics migration route now also resolves that target before its durable
API-token mutation; its 503 path leaves both in-memory and persisted token
state unchanged and creates no recovery state. The router-level
TestContract_HostedDiagnosticsDockerPrepareTokenValidatesOriginBeforeMutation
proves that boundary for missing, auto-detected-only, invalid, precedence, and
configured success cases without widening storage or recovery authority.
The shared public and Stripe-completion magic-link callers now resolve the same
canonical hosted URL before one-time token persistence. Their unavailable-URL
paths leave exact in-memory and SQLite token state empty; the Stripe caller
still completes billing, customer indexing, event handling, and duplicate
replay. Those changes create no recovery point, backup artifact, restore
authority, storage identity, or recovery-local retry contract. Router/handler
proof lives in TestContract_HostedMagicLinkRequestValidatesOriginBeforeMutation
and TestStripeWebhook_CheckoutMagicLinkValidatesOriginBeforeMutation.
The shared frontend-modern/src/App.tsx shell boundary this subsystem consumes
gained one authority gate on its global banner block. The banners rendered
above the authenticated shell (security, demo, commercial migration, update,
what's-new, GitHub star, and the global update progress watcher) now render
only for a session that can reach settings, using the single
sessionHasSettingsAccess predicate exported from
frontend-modern/src/AppLayout.tsx. Public-route ownership, the post-login
handoff, demo organization suppression, and platform-page route carriage in
frontend-modern/src/App.tsx are unchanged; nothing about backup, restore, or
recovery routing keys off banner visibility.
Within that block, the global update progress watcher now has its own route
authority gate: authenticated sessions mount it only when
settingsCapabilities.systemSettingsRead mirrors RequireAdmin plus
settings:read on /api/updates/status, while auth-free installations keep
the watcher because the route remains reachable. This shell-only gate does not
alter recovery settings admission, backup polling, export/import authority, or
any persisted recovery state.
The persisted reportBranding object remains adjacent tenant/runtime
configuration rather than storage inventory or recovery state. The
application-header extension reuses that same object and does not create a
second logo artifact, database table, or backup surface. Existing system
configuration export/restore therefore carries the display name and bounded
inline logo exactly as it already carries report branding. Runtime reads
through /api/runtime/branding are read-only and entitlement-filtered; they do
not mutate, relocate, or synthesize persisted branding state.
ZFS dataset inventory is likewise read-only runtime evidence, not recovery or storage-configuration state. The agent does not mount, create, snapshot, destroy, or alter datasets, and the server does not persist a second provider inventory. Optional dataset rows travel with the current host snapshot and only enrich the matching Proxmox pool presentation; backup and restore authority, storage mutation paths, and recovery semantics are unchanged.
The shared Proxmox Storage route uses the internal proxmox-all source scope
to include normalized Proxmox-family storage rows and physical disks across
PVE and PBS instead of silently narrowing the workspace to PVE. This umbrella
scope is route-owned and hidden; ordinary source-picker selections remain
exact, so selecting PVE does not admit PBS and selecting PBS does not admit
PVE. Agent-reported SMART disks correlated to a unique PBS host may carry PBS
platform membership for this filter, but their health and device facts remain
agent telemetry rather than PBS API inventory.
Agent-reported SMART disks parented to a merged PVE node likewise carry PVE
platform membership for this filter even when the PVE disk API exposes only a
logical RAID volume. Controller-member identity, health, temperature, and
collection status remain agent telemetry, and the storage source resolver must
read canonical platformScopes before falling back to raw data sources.
frontend-modern/src/features/storageBackups/__tests__/storageModelCore.test.ts,
frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.ts,
and frontend-modern/src/components/Storage/__tests__/storagePageState.test.ts
pin the record, disk, and node-scope behavior. The Proxmox surface wiring is
also guarded by
frontend-modern/src/features/proxmox/__tests__/ProxmoxBackupsTable.test.tsx.
The ZFS pool-detail summary has one stable shape: datasets is always an
array, including when the backend reports no dataset inventory. Consumers and
branch proofs must retain the empty array instead of treating dataset support
as an optional return-field contract.
Scheduled reporting adoption is read from persisted config as counts
The usage telemetry snapshot reads LoadReportScheduleStore and reports three
counts: report_schedules (configured), report_schedules_enabled (switched
on), and report_schedules_run_30d (schedules whose LastRunAt falls inside
the 30-day telemetry window). Schedule names, cadence, scope, format, delivery
method, and recipients are never sent, and no report content is read. A
disabled schedule that last ran inside the window still counts toward
report_schedules_run_30d, because the question the field answers is whether
reporting actually produced output, not whether it is currently armed. The read
is in applyLicensedFeatureConfigSnapshot
(pkg/server/telemetry_licensed_features.go), pinned by
TestApplyLicensedFeatureConfigSnapshot_CountsScheduledReportingAndProfiles.
Single-resource report AI narration requires POST
internal/api/metrics_reporting_handlers.go now accepts POST with a JSON
body for /api/admin/reports/generate and lets only that method use the
tenant's AI narrator; GET keeps working with query parameters and the
deterministic summary. A narrated PDF records the same AI cost-ledger entry as
before, and only a POST can now produce one. A GET reads Patrol findings
only from an AI service that is already running
(AISettingsHandler.ExistingAIService), so it no longer constructs a tenant AI
service, whose construction opens that tenant's SQLite resource export store.
Report content, backup and recovery enrichment, and tenant storage are
otherwise unchanged.
Audit-read activity is a bounded, content-free local history
audit_read_activity.json follows the same shape as the existing external-agent
and workflow-prompt activity histories: bounded to 500 records, pruned to a
90-day retention on every append, written through the shared
recordActivityHistoryLocked cycle, and encrypted at rest when crypto is
configured. Records carry a timestamp and an activity class only. Reads outside
the 30-day telemetry window are excluded at count time by
CountAuditReadActivitySince, so the derived signal stays "is using" rather
than drifting into "has ever used"
(TestAuditReadsOutsideWindowAreNotCounted).
Per-tenant resource stores are released on offboarding and shutdown
Tenant offboarding and process shutdown use the API store-lifecycle contract, including its source controls and qualification limits.
Report-ack version echo persists nothing
The unified-agent report ack's serverVersion field is supplied from the
running server's version at router wiring time
(UnifiedAgentHandlers.SetServerVersion) and is never persisted; the report
ingest path's persistence surface — agent-id continuity and host state — is
unchanged by the echo
(TestHostAgentRemovalLifecycleThroughAuthenticatedRouterAndRestart).
Security status capability payload gained an infrastructure field
internal/api/ is a canonical reference in this contract's Extension Points, so
this records the additive change made in
internal/api/security_status_capabilities.go: the settings capability payload
served by GET /api/security/status now carries infrastructureRead and its
sibling systemSettingsRead, both derived from
canAccessAdminSurface(config.ScopeSettingsRead). No recovery or storage
route, payload, or persisted shape changes. The api-contracts entry holds the
authoritative description and its proof.
systemSettingsRead gates the System → Recovery tab, which is where operators
reach backup polling and configuration export/import. Withholding it says only
that the caller may not reach those admin routes — never that a backup is
absent, a snapshot is stale, or a restore target is unavailable. A recovery
surface that finds the capability withheld must present an access state and
must not record the skipped fetch as coverage loss or mutate recovery
freshness from it.
The payload also gained availabilityRead, pulseIntelligenceRead,
diagnosticsRead, systemLogsRead, and reportingRead. They are request-time
authorization projections only: no capability is persisted and none changes a
storage, backup, recovery, retention, or report artifact. In particular,
reportingRead gates whether the Data & Reports panel may mount; it does not
grant advanced_reporting, create a schedule, or imply that any generated
artifact exists. The api-contracts entry owns the authoritative predicate and
route proof.
API-layer refusal logging moved to debug
internal/api/ is a canonical reference in this contract's Extension Points.
Routine authorization refusals raised by internal/api/auth.go and
internal/api/middleware.go now log at debug, with a rate-based escalation in
internal/api/auth_denial_signal.go. No recovery or storage route, payload, or
persisted shape changes. The security-privacy and api-contracts entries hold the
authoritative description and proof.
Runtime display reads settings persistence without changing storage state
internal/api/runtime_display.go reads LoadSystemSettings() and projects four
presentation-only fields for authenticated clients. It writes no settings,
adds no persisted shape, and changes no storage or recovery route, evidence, or
freshness semantics. api-contracts owns the response and authorization
contract.
Viewer inventory health is read-only and storage-free
GET /api/runtime/inventory-sources is an additive authenticated
monitoring:read route under internal/api/. It aggregates already-loaded
configuration and cached poller health without probing, persisting, writing a
cache, or changing backup, restore, snapshot, retention, or recovery state.
Unavailable handler wiring returns 503 rather than an empty healthy-looking
response.
The projection filters coverage to workload labels (vms, containers, pods,
and Kubernetes) before serialization. Storage and backup labels, source
addresses, stable connection IDs, raw error text, credential state objects, and
all administrative configuration remain absent by construction. The
optional VMware completeness summary may identify degraded inventory stages by
category and count, but it carries no raw message and is not backup
completeness, protection damage, snapshot failure, restore readiness, or
recovery evidence. The api-contracts contract owns the authoritative payload and
authorization proof.
RBAC identity metadata and deprovisioning preserve storage boundaries
internal/api/ is a canonical reference in this contract's Extension Points.
The additive RBAC identity metadata columns live only in the canonical RBAC
SQLite store, and user deprovisioning removes that identity, its assignments,
persisted browser sessions, and matching CSRF state. It does not mutate backup,
restore, retention, resource-store, or recovery evidence. Additive RBAC schema
upgrade preserves older identities and fails construction on migration errors;
the security-privacy and api-contracts contracts own the authoritative shape
and proof.
Resource monitoring lifecycle preserves recovery evidence
Mutating monitoringMode or lifecycleState changes Pulse attention and
automated remediation admission only. Expected-offline, mute, and retirement do
not delete resource history, backups, snapshots, recovery points, retention
configuration, or provider inventory. A retired resource fails closed for
automated remediation through the shared action lifecycle, while recovery
evidence remains available for operator review and for restoration to active
monitoring.
Availability history stored beside metrics is monitoring evidence, not backup inventory, a recovery point, restore evidence, or storage-action authority. Its raw and minute/hour/day tiers follow the metrics store's entitlement-aware retention lifecycle, and deleting a saved availability target removes its observations, rollups, and revision boundaries as one owned target lifecycle operation. Those rules must not delete unified-resource change history, provider snapshots, backups, or any recovery evidence.
Configuration archive recovery is authorized before persistence
Encrypted configuration export/import is a storage-recovery boundary only after authorization succeeds. The API guard resolves the selected organization and authenticating principal before either handler decodes an archive, reads the tenant export persistence, begins an import transaction, replaces live configuration, or reloads monitoring state. A tenant viewer or member cannot transfer configuration; tenant managers and owners may operate only on their resolved tenant, and scoped API tokens retain their organization binding.
Truly unauthenticated recovery is limited to direct loopback for both
operations. The deliberate ALLOW_UNPROTECTED_EXPORT exception widens export
only and cannot authorize import. Existing encryption, archive versions,
transactional rollback, metadata replacement, and successful reload semantics
remain unchanged behind this boundary. The config-transfer router matrix and
existing archive compatibility/rollback tests jointly pin denial-before-access
and authorized recovery behavior.
Patrol follow-up manifests do not confer storage authority
The structured bounded-tool allowlist and successful finding-report cap
forwarded by internal/api/chat_service_adapter.go are AI-runtime authority
reductions. They add no storage, backup, snapshot, restore, retention, or
recovery tool and cannot turn a detection pass into a mutation path. Storage
and recovery state, evidence freshness, persistence, and admission contracts
remain unchanged.
The shared AI handler may also forward the finding's canonical resource type so core can reduce a scoped Watch or investigation to relevant read-only evidence tools. That typed reduction cannot add a storage/recovery capability outside the already-projected Patrol profile and grants no plan, approval, execution, retention, cleanup, restore, or verification authority. An unknown resource type keeps the normal governed profile instead of inferring storage authority from prompt text.
Notification delivery-log routes do not confer storage authority
The shared internal/api/ surface now includes the notifications-owned
read-only GET /api/notifications/delivery-log route and a deliveryPaused
field on successful test-send responses. They expose retained notification
delivery outcomes and the delivery gate state only; they add no storage,
backup, snapshot, restore, retention, cleanup, or recovery capability, write
nothing, and leave storage and recovery state, evidence freshness,
persistence, and admission contracts unchanged.
The delivery-log read may span the notifications-owned 30-day dead-letter
window and name separate seven-day completed-attempt retention. Those values
describe notification queue cleanup only; they are not backup retention,
recovery-point age, restore evidence, or authority to inspect or alter storage.
The alerts-owned per-incident snooze and resume routes share the same boundary:
they pause and restore notification and escalation policy while monitoring and
resolution detection continue. A snooze is not a recovery point, backup hold,
retention override, restore admission, or storage-action approval, and its
expiry must not be interpreted as recovery evidence.
Docker command-session identity recovery does not grant storage authority
The shared Docker / Podman action executor may recover from a stale telemetry token only when one live tenant-scoped command admission matches both the resource agent ID and canonical hostname. This identity reconciliation changes neither backup, snapshot, restore, retention, nor recovery authority; those operations remain governed by their existing resource capabilities and action lifecycle contracts.
Docker action verification remains separate from recovery truth
The shared Docker / Podman action executor performs its post-mutation daemon
observation through a separately request-bound typed protocol. It may project
independent ActionResultV2 evidence only when the observer and executor trust
domains differ. Start and restart verification additionally requires the
version-2 observer to report healthy, or none when the daemon confirms that
the container has no health check. Running state with missing, starting, or
unhealthy health remains inconclusive, as does a legacy version-1 observer;
the executor must not repeat the mutation while waiting for health evidence.
That evidence verifies only the bounded container action. It is not backup
success, restore verification, recovery freshness, or storage health, and
storage/recovery consumers must not reinterpret it as any of those facts.
Retained storage observations preserve freshness truth
The shared storage adapter may retain the last successful capacity observation
when a provider poll fails, but it must also project the canonical resource
sourceStatus into the storage record. A stale, offline, failed, errored, or
unauthorised source therefore renders as Stale even when the provider's last
native state was online. The row identifies the last successful observation
age and may include the bounded collection error; a subsequent online source
observation clears that stale presentation. Retained capacity must never be
presented indistinguishably from current provider data.
frontend-modern/src/features/storageBackups/__tests__/storageAdapters.test.ts
pins the canonical freshness and error projection, while the row-presentation
tests pin the operator-facing state and observation age.
Proxmox node network projection does not widen recovery authority
The shared unified-resource transport now preserves optional configured Proxmox node interfaces for host-detail presentation. This read-only facet is not storage inventory, recovery evidence, or an action capability; it grants no backup, snapshot, restore, retention, cleanup, or verification authority. The storage/recovery resource query and its admission, freshness, and persistence contracts are unchanged.
Saved-host link holds open no recovery path
internal/unifiedresources/types.go gains an unexported
Resource.continuityOnly: it marks a row saved-host continuity introduced (a
machine that has not reported since a restart), so an operator link holds the
row beside its primary instead of merging it, and, unless the saved row is
itself the link's effective primary (an agent linked into its guest makes the
guest primary), reference reads by its IDs resolve to the primary. It is
in-memory only, never serialized, persisted or exposed on the API, and storage
and recovery code neither reads it nor resolves references through the
registry, so recovery ownership, restore targeting and protection grouping are
unchanged.
Token creation and deletion preserve restart-time persistence truth
The shared internal/api token creation path treats its persisted inventory as
the commit boundary. If expansion cannot be written, it restores the complete
prior inventory and legacy primary-token projection and returns no generated
credential. Because token records sort newest-first, rollback restores the
snapshot rather than truncating the sorted list and evicting an older token.
The same rule governs shared host, Proxmox, and hosted agent install-token
issuance in internal/api/agenttokens: failed persistence restores the entire
live inventory and primary projection, and the install-command response
contains no credential material. Its failure proofs live in
internal/api/agenttokens/install_test.go and
internal/api/security_tokens_lifecycle_test.go.
The shared internal/api token revocation path treats its persisted inventory
as the commit boundary. It snapshots the complete in-memory inventory before
removal, persists only the intended reduced set, and restores the snapshot and
legacy primary-token projection if that write fails. This adds no backup,
restore, or recovery authority; it prevents a successful API response from
describing credential state that the next restart would undo. The creation,
exact-token deletion, and forced-write-failure proofs live in
internal/api/security_tokens_lifecycle_test.go.
Monitoring-owned agent removal uses that same commit boundary when it cleans
up dedicated host, Docker, or Kubernetes credentials. Failed persistence
restores the complete live inventory and primary-token projection while the
resource tombstone remains authoritative. This is credential-state recovery,
not storage recovery authority: it prevents restart from reactivating a token
that the live process had already discarded. The shared proof is
internal/monitoring/monitor_host_agent_removal_lifecycle_test.go.
Dead-man persistence is availability evidence, not recovery authority
The shared configuration persistence and alert API now store the encrypted external-watchdog URL and a monitoring-owned restart marker. These records are not backup inventory, recovery points, retention state, restore evidence, or storage action authority. The restart marker is a bounded availability journal whose atomic/fsync discipline ensures a later process can report a Pulse monitoring gap; it contains endpoint fingerprint and timing only. Configuration export/import carries the watchdog URL solely inside the existing passphrase-encrypted bundle and advances that bundle contract to version 4.4.
Deploy credential replacement preserves restart-time truth
The shared deploy enrollment path treats the persisted API-token inventory as
the commit boundary when exchanging a bootstrap token for a runtime token. One
locked write records the replacement; a failed write restores the complete
prior inventory and primary-token projection, returns no new credential, and
leaves the deployment target retryable. Bootstrap minting also restores live
state and returns no token if its inventory write fails. These transitions add
no backup, restore, retention, snapshot, or recovery authority; they prevent a
successful enrollment response from describing credential state that a restart
would undo. Their success and forced-write-failure proofs live in
internal/api/deploy_handlers_test.go.
Deploy job admission reads persisted state, bounded in time
Install-job admission on a cluster reads the persisted deploy store, not
in-memory state. HandleCreateJob refuses a new install while
Store.UnfinishedJobsForCluster returns an install job for the same
organization and cluster created within the last 30 minutes, and it checks and
inserts under one admission lock. A job left unfinished by a crash or a
vanished source agent therefore keeps blocking overlapping installs across a
restart, but only until it ages out of that window, so a stale row never locks
a cluster out for good. This adds no backup, restore, retention, snapshot, or
recovery authority. internal/api/deploy_handlers_test.go and
internal/deploy/store_test.go pin the admission and the query.
Deploy token identity repair is one persisted transition
The one-time move of a deploy runtime token from the placeholder
agent-<hostname> identity to the registering agent's ID is written through
the existing API-token persistence inside the same command-channel admission
as other binding repairs, together with the deploy_identity_binding=repaired
marker that prevents a second move. When that save fails, the previous binding
metadata and marker are restored and registration is refused, so a failed
write never leaves a half-moved token. This adds no backup, restore, retention, snapshot, or
recovery authority. internal/api/security_regression_test.go pins the
persisted binding.
Reported agent identity is one persisted token transition
Recording a report's agent identity on a hostname-bound token writes
bound_agent_id, bound_at, and the binding version through the existing
API-token persistence, under the token lock, in one save. When that save
fails, the previous metadata is restored, the report itself is still
acknowledged, and the next report retries, so a failed write never leaves a
half-bound token. This adds no backup, restore, retention, snapshot, or
recovery authority. TestReportedIdentityRestoresTheTokenWhenTheSaveFails in
internal/api/security_regression_test.go pins the restore and the retry.
Naming a command identity persists nothing
Naming commandAgentId on a report acknowledgement reads the request's token
snapshot and writes nothing: the command binding is still persisted only by
command admission and by the report-side identity recording, each in its one
existing save. The agent keeps the named identity in memory for the process and
asks again after every restart. This adds no backup, restore, retention,
snapshot, or recovery authority.
TestHostAgentCommandChannelBindsTheIdentityPulseAcknowledges in
internal/api/host_agent_removal_lifecycle_integration_test.go pins the
binding the command registration persists.
Destination severity policy preserves notification recovery identity
Email, webhook, Apprise, and Relay minimum-severity floors persist through their existing configuration records; they create no backup, snapshot, restore, retention, or storage-action authority. Filtering occurs before a firing delivery is enqueued. A resolution is instead governed by the durable per-occurrence destination receipt, so a destination that received the firing event receives its recovery even if tags or severity policy changed in the meantime, while a destination that was filtered out does not receive an orphaned recovery. The canonical occurrence and receipt remain notification queue identities; the alert ID carried by a mobile push is navigation state, not a new persistence or recovery key. Restart and retry semantics therefore remain owned by the existing notification queue and config persistence paths.
Destination runtime state follows durable configuration
Email, Apprise, and webhook API mutations now commit their encrypted
configuration before changing the live notification manager. Forced write
failure returns 500 and leaves runtime routing unchanged; webhook handlers
serialize the snapshot, candidate write, and publication sequence. This avoids
restart divergence and prevents an uncommitted disable request from cancelling
queued delivery. If the in-memory webhook publication unexpectedly fails after
the durable candidate is written, the handler attempts to restore the prior
inventory and reports failure rather than claiming success. These semantics add
no backup or restore authority; they make the existing configuration file the
explicit commit boundary. Persistence-failure proofs live in
internal/api/alerting/notifications_test.go with API ordering pinned by
internal/api/contract_test.go.
Patrol cost preview and model guidance reads are not storage or recovery authority
The read-only GET /api/ai/patrol/cost-preview and GET /api/ai/patrol/model-guidance routes under internal/api/ derive their
figures from AI usage history, Patrol run history, and the readiness cache
owned by ai-runtime. They read no backup, snapshot, or recovery record,
write nothing to storage or recovery state, and are not evidence for any
recovery posture.
Mock alert incident notes are not recovery records
The shared internal/api/alerting/alerts.go transport now reads and annotates
mock alert incidents on internal/mock/fixture_graph.go when mock mode is
active. That graph-lifetime state is demo history only: it is not backup
inventory, a recovery point, restore evidence, retention state, or durable
storage metadata. Mock notes must not be written to the production incident
store or survive a fixture-graph rebuild, and real-mode incident persistence
remains unchanged. The mock API and fixture tests pin that isolation.
Package-update evidence is not recovery state
The Proxmox fields projected through useUnifiedResources and
ResourceProxmoxMeta describe the latest package-list observation only. A
count, checked time, stale marker, or failure category is not backup inventory,
a recovery point, retention evidence, restore authority, or permission to
install packages. Canonical merging may replace an older count with a checked
zero or clear inherited check metadata for unavailable evidence, but it must
not mutate storage or initiate remediation.
Container summary mode is not storage or recovery evidence
The Docker host collectionMode: typed-helper-summary marker describes the
authority and completeness of the current inventory observation only. Its
absence of image, volume, network, layer, mount, and storage detail must not be
interpreted as authoritative emptiness, deletion, backup completion, recovery
state, or permission to clean up storage. Propagating the marker through the
shared resource projection creates no snapshot, restore, retention, or
container-action authority.
Patrol digest reads are not storage or recovery authority
GET /api/ai/patrol/digest reads retained Patrol run history, the in-memory
findings store, canonical action audit records, and usage cost events, and
writes nothing. It creates no backup, snapshot, retention, cleanup, or recovery
state. Its action counts are a projection of the existing action audit table
(GetActionAuditsByStates, filtered to Patrol origin); no new persistence,
table, or migration is introduced by the digest.
Patrol digest schedules write nothing to disk
Unlike resource reports, a patrol_digest schedule run produces no generated
file under the tenant reports directory and never calls the retention prune;
the email body is the only artifact. Recovery and retention state are
unaffected.
The 23 October 2026 change to how the digest counts investigation runs, and to
how internal/api/patrol_digest_email.go words their outcomes, reads the same
in-memory findings store and writes nothing. It opens no backup, snapshot,
retention, cleanup or recovery path.
Legacy incident_windows.json recovery is read-only through
internal/metrics/incident_archive.go. Construction does not read the file, and
explicit reads neither expire records nor rewrite contents or permissions.
Malformed, oversized, symlink and non-regular archive paths fail visibly. Missing
archives remain distinguishable from a valid archive with no matching window.
The original recording times and historical status must never establish current
source freshness or active recording.
Proxmox guest action runner authority
The API-owned Proxmox guest executor plans and dispatches only through a live tenant-admitted typed action runner with durable operation receipts. Generic node telemetry or a legacy command session cannot authorize a recovery action, and the executor has no raw-command fallback. Missing runner admission is reported by canonical action readiness before a plan is persisted. Typed mutation completion and independently observed guest recovery remain separate results. A running guest alone cannot prove a reboot.
Quick security setup preserves unrelated settings
Quick security setup follows the API settings-preservation contract, including byte-preserving first-run initialization and read-error handling. It grants no additional agent or recovery authority.
Storage pool rows do not retain their whole group
buildStoragePoolsTableItems assigns each record row its stable record key and
record only. Group headers retain group metadata and expansion state. Passing
the full group through every record row made the shared windowing reconciler
walk the same group repeatedly during large-estate Storage navigation. The
windowing test pins the row shape, and the 50-node browser fixture exercises
expanded rows and History at desktop and phone widths. This is presentation
work only; it changes no storage evidence, alert state or recovery authority.
Storage deep links resolve through the registry and open the pool
useStorageResourceHighlight matches ?resource= against a record's id,
then its metrics resource id (alerts and history use it), then its name only
when exactly one record carries that name, because every Proxmox node can
have a local-zfs and two PBS servers can both expose primary-vault. Any
other reference is resolved by ResourceAPI.getResource (the registry owns
aliases, succession and ambiguity) and matched by the resolved id; a shared
name is never looked up. Every matched pool is opened, not only Ceph, so the
shared summary focus bridge reveals its row and details. The Proxmox page
keeps Storage mounted behind its other tabs, whose guest links also use
?resource=, so the hook acts only while Storage is the active tab
(routeActive). A visit is one stretch of Storage showing one link: a
refusal lasts for the visit, so live updates do not repeat the request but a
later visit (another link, or the tab again) retries, and a resolved pool not
listed yet opens when its record arrives. Once a visit has needed a lookup,
any pool the operator opens or closes outranks the link, whether the lookup
or a record update finds the pool first.
Thresholds deep links open no storage or recovery path
buildAlertThresholdsPath in frontend-modern/src/routing/resourceLinks.ts
adds only a thresholds tab and its ?q= name search. It reads no storage or
recovery state and grants no storage action, and Patrol's alert-only guidance
sends a physical disk to its tab unsearched, so it never filters storage or
recovery rows by a disk name they do not carry.
Alert History links open no storage or recovery path
buildAlertHistoryAlertPath adds only an alert id to the History route. It
reads no storage or recovery state and grants no action; the History page
reads the same saved and live alerts it always did.
App-shell AI navigation gating opens no recovery path
App.tsx now passes the assistantEnabled session capability to the keyboard
shortcuts and the shortcuts help so Patrol entry points hide while AI is off.
The change is navigation presentation only. It adds no storage, backup,
snapshot or recovery surface, and it changes no route, authority or recovery
state. The Recovery settings item and its capability gate are untouched.
Connection member composition ignores physical disks
internal/api/connections_grouping.go now composes Proxmox cluster members on
the /api/connections systems payload from node records only, so an
agent-reported physical disk that carries its node's identity no longer turns
the node row Stale. The disk's own risk, storage evidence and recovery state
are unchanged, and this adds no backup, restore, retention or recovery surface.
Pulse Mobile pairing copy only
internal/api/onboarding_handlers.go changed only the human-readable pairing
readiness messages so they name Settings > Pulse Mobile. This opens no new
storage or recovery path.
Live physical-disk row continuity
Physical Disks uses the canonical keyed windowed renderer, which retains row
owners across resource snapshots. Disk presentation must therefore stay
reactive: health and its evidence, temperature, endurance, capacity, device,
host and placement labels reflect the latest snapshot rather than the mount-time
sample. Removed readings revert to their existing unknown/placeholders without
retaining old warning text or colour. Metric summary identities, highlight
matching and disclosure control IDs track the current canonical disk target.
Unchanged resource IDs keep their mounted row, focus and expanded detail;
attention filtering and the displayed health must agree through fault/recovery.
This changes no collector, health thresholds, history policy or server identity.
frontend-modern/src/components/Storage/__tests__/DiskList.test.tsx exercises
snapshot replacement, in-place reconciliation, missing evidence, target changes
and fault/recovery using the real keyed renderer.
Touch inspection in the existing pool and physical-disk History charts selects
an actual stored reading rather than substituting the latest sample on focus.
Page pan/cancel and multi-contact gestures do not imply a selected observation;
browser-owned scrolling remains available. This changes no source target, API,
units, collection, retention, access or recovery boundary. The production
disk/pool fixture frontend-modern/browser-tests/history-touch.cjs and mounted
HistoryChart.test.tsx regressions verify presentation/input behaviour only,
not live appliance collection or recovery success.
Physical-disk heat is not a replacement verdict
The Physical Disks Health verdict names the action it asks for. A disk whose
current temperature has reached its alert trigger reads Running Hot (compact
Hot), red, with the reading and the trigger as its summary. Replace Now
stays reserved for FAILED health, any critical risk reason, and a critical
level that no listed reason explains. Needs Attention keeps the remaining
warning evidence. Heat outranks warning evidence and failure evidence outranks
heat. Sorting follows the verdict (replace, heat, attention), and the health
filter places a hot disk with the critical disks, as its Temp cell reads red.
Heat has one owner: the alert disk temperature policy (the per-type triggers in
Alerts > Thresholds, diskTempByType, else the agent Disk Temp default).
Disk risk never carries heat, because every registry that rebuilds it lacks the
alert configuration. extractPhysicalDiskPresentationData takes the alerts
store's getDiskTemperatureThresholds resolver, so the Temp cell colour and the
verdict read one thresholds object. It resolves them under the alert override
keys of the machine whose agent reports the disk, as disk temperature alerts
are evaluated under that host. getPhysicalDiskAlertResourceIds
(components/Storage/physicalDiskAlertOwner.ts) follows the disk's parent to
the agent machine, through the pool for an Unraid array or cache disk, and
reads that machine's keys in the order CheckHost reads them
(getAgentMachineAlertOverrideKeys: the agent ID, the machine's canonical ID,
then the node or guest the agent is merged with).
A Disk Temp override set on the machine therefore replaces the per-type trigger
for every disk it reports, on Physical Disks, the disk detail and the pool
drawer's linked disks. A guest drawer passes the guest agent's ID, then the
guest's own keys. An override that switches the machine's alerts off leaves its
disks uncoloured and never hot. The band below the trigger is a Temp cell
colour only, and a retained (not current) reading is never heat. The verdict
judges the current reading, with no memory of an alert. A disk temperature
alert held between its clear value and trigger shows an amber Temp cell, not
Running Hot. A switched-off agent Disk Temp default resolves to null, which
leaves the reading uncoloured and never hot, as alerting is off for it.
The browser rebuilds that chain from what it loads, so it can differ from
alerts and Patrol, which read the agent's own link hints and resolve every key
to its canonical resource. On the Storage page, a disk whose agent an operator
manually linked into a VM keeps the per-type trigger, because the page loads
agents and pools, not guests. An override the agent inherits from a node or
guest it is linked to without a merge, or one stored under that node's own
canonical resource ID, does not reach the browser, because agent link hints
are not published. The guest drawer applies the guest's own override keys,
which CheckHost reads only when the agent is also linked to that guest
automatically. Overrides set on the reporting agent's own row, or on the node
or guest it is merged with, reach the browser through the keys above. PDF
performance
reports colour a disk reading by the same per-type thresholds, which
reporting.DiskInfo carries.
frontend-modern/src/features/storageBackups/__tests__/diskPresentation.test.ts
pins cell-and-verdict agreement for every type from 40C to 80C under factory and
raised triggers, plus retained readings, failure evidence, sorting and
filtering. frontend-modern/src/components/Storage/__tests__/DiskList.test.tsx
covers NVMe 63C, SATA 56C and a raised NVMe trigger loaded through the alerts
store, and NVMe disks at 72C on three machines judged by an 80C override, the
per-type trigger and switched-off alerts.
frontend-modern/src/components/Storage/__tests__/physicalDiskAlertOwner.test.ts
pins the owner walk and the key order.
Pool-to-physical-disk ownership in Storage details
storagePoolDetailPresentation.ts must scope inferred ZFS device and UnRAID
array/cache-group membership to the owning host. An explicit disk parent equal
to the canonical pool ID or its retained resource reference remains a direct
association. Otherwise, matching canonical host parents establishes scope;
conflicting parents cannot be overridden by names, paths or group labels.
When canonical parents are unavailable, only a complete matching native
Proxmox instance/node pair establishes scope. storageAdapters.ts retains that
instance alongside the native node. Display names and unscoped hostnames alone
are insufficient. Unknown ownership must not present another host's SMART,
temperature, counters or topology counts as this pool's evidence.
ZFS device matching compares full identifiers with only the optional /dev/
prefix normalized, not arbitrary suffixes or invented partition associations.
This is read-only presentation: no collector, canonical server identity,
metrics target, health threshold, persistence or recovery authority changes.
storagePoolDiskOwnership.test.ts, the mounted
StoragePoolDetail.ownership.test.tsx and browser-tests/pool-ownership.cjs
cover repeated paths/groups, direct children, scoped legacy snapshots, missing
ownership and live target replacement. Synthetic presentation proof does not
establish native appliance, installation or recovery acceptance.
Prompt-cache usage buckets open no storage or recovery path
The AI usage ledger and Patrol run records gain two optional integer fields
(cache_creation_input_tokens, cache_read_input_tokens) in the files
Pulse already writes, with omitempty encoding so existing records load
unchanged and older builds ignore the fields. internal/api/ai_handlers.go
reads them for the usage export only. No new file, directory, retention
window, backup, migration or recovery authority is introduced.
Resource freshness thresholds open no storage or recovery path
internal/api/resourceapi/resources.go builds the /api/resources registry
with the stale thresholds its seed was judged by, and
internal/api/router_helpers.go hands a tenant monitor's seed and thresholds
to it.
Both are read-path changes to source freshness and presentation; no storage,
retention, backup or recovery path is added or moved.
Connection freshness cadence opens no storage or recovery path
internal/api/connections_alerts.go now scales the connections list's
active-to-stale cutoff by the monitor's base poll cadence
(Monitor.BasePollInterval), which honours saved PBS and PMG intervals that
reach a non-default org's monitor only as runtime overrides. This is a
read-path change to connection freshness. Backup polling, PBS backup and
datastore collection, retention and recovery are unchanged, and nothing new
is persisted.
Webhook configuration never persists the API mask
internal/api/alerting/notifications.go resolves each ***REDACTED***
value the webhook editor sends back to the saved value of the same key, or
drops it, before the encrypted webhook file is written, so the mask is never
persisted as a header, custom field or signing secret. Webhook normalization
also drops blank header entries when the file is loaded or saved; a stored
blank header is removed on the next save. Export and import pass through the
same normalization. No new file, retention window, backup, migration or
recovery authority is introduced; TestWebhookMaskedValuesResolvePerKey in
internal/api/alerting/notifications_test.go covers the write path.
Retained disk temperatures open no storage or recovery path
The metrics-history handler in internal/api/router.go serves a disk
temperature live point only when diskinventory.TemperatureCollected holds,
and the Unraid physical-disk adapter marks an inventory temperature kept past
the host agent's lease as no longer collected. Both change presentation of
values Pulse already holds: no metrics write, retention window, backup,
migration or recovery authority is added or moved.
The performance report and reporting runtime snapshot handlers apply the same
test before tabulating a disk temperature. That changes only which held value a
report shows, not any storage or recovery path.
The handler likewise withholds the live point for host agent, Proxmox node, guest, integration host, Docker host and app container rows it judges to have stopped reporting, or answers a lapsed linked agent from its node row. It reads only snapshot status and the registry's per-source sightings, and writes nothing.
Safe methods refused on discovery settings and SAML logout
internal/api/method_guard.go adds requireRequestMethod, and
internal/api/discovery_handlers.go and internal/api/saml_handlers.go use it
so /api/discovery/settings (PUT or POST) and /api/saml/{id}/logout
(POST) answer 405 to any other method, GET and HEAD included, instead
of changing the discovery staleness threshold or clearing a session. No
storage, retention, backup, migration or recovery path is added or moved.
SAML SLO responses bound to the logout that requested them
internal/api/saml_service.go keeps each outstanding SAML LogoutRequest ID in
memory on the provider's service, bound to the session-store hash of the
session being logged out, and honors it for ten minutes (at most 1,024
records; expired ones are dropped on the next logout). internal/api/saml_handlers.go
refuses a LogoutResponse that does not answer one of them. The records are not
persisted, and the SLO handler no longer writes session state. No storage,
retention, backup, migration or recovery path is added or moved.
Manual SAML IdP certificate published as base64 DER
internal/api/saml_service.go now encodes a manually configured SAML IdP
signing certificate as base64 DER in the IdP descriptor it rebuilds in memory
on each load. The saved settings are read as before: idpCertificate holds
the PEM the administrator pasted and idpCertFile the path of a PEM file, so
nothing persisted changes or needs migrating. No storage, retention, backup,
migration or recovery path is added or moved.
SAML logins bound to the browser that started them
internal/api/saml_service.go keeps each outstanding SAML AuthnRequest ID in
memory on the provider's service, with the login's return path and the hash of
the browser's pulse_saml_login cookie token, and honors it for ten minutes
(at most 1,024 records; expired ones are dropped on the next login). The cookie
expires after ten minutes. Nothing is persisted, so a restart during the IdP
round trip refuses the returning Response and the user signs in again. No
storage, retention, backup, migration or recovery path is added or moved.
A linked agent's stale flag and guest disk owner open no storage path
internal/unifiedresources/types.go now always sends AgentData.Stale, so a
resumed agent clears its stopped-reporting mark in browsers that merge agent
facets field by field, and VMView.DiskFromLinkedAgent keeps the poller from
carrying a linked agent's guest disk forward as a Proxmox read. Both describe
which source's reading is current; no backup, retention, migration or recovery
path is added or moved.
Demo write guard ignores websocket upgrade headers
internal/api/demo_middleware.go no longer exempts every request carrying
Upgrade: websocket from the demo read-only guard. On a DEMO_MODE instance a
POST, PUT, PATCH or DELETE with websocket handshake headers is now
judged like any other write: outside the login, logout, AI execute and OIDC
allowlist it gets the generic demo 403, or 404 on a hidden route, and that
includes config import at /api/config/import. HTTP/1.1 websocket handshakes
are GET requests and still connect. No storage, retention, backup, migration
or recovery path is added or moved.
Demo mode hides the pprof routes
internal/api/demo_mode_operations.go adds the Go runtime profiling family
(/debug/pprof and every path below it, every method) to the public-demo
hidden routes, so the demo guard on a DEMO_MODE instance answers it with
404. That removes a diagnostic read surface on demo instances only; no
storage, retention, backup, migration or recovery path is added or moved.
Report-merge link folds
internal/unifiedresources/types.go adds an unexported, in-memory
linkFolds record of the operator links a resource absorbed, and
internal/api/resourceapi/resources.go makes report-merge exclude those
links' pairs, which deletes the pair's link row in the resource store as an
unlink does. Nothing new is persisted: the record is rebuilt with each
registry generation, and no schema, backup, retention, migration or
recovery path is added or moved.
Each fold also records its two sides' own sources (HolderOwn, FoldedOwn),
in the same unexported in-memory field, and ReportedManualLinkFolds in
internal/unifiedresources/manual_link_folds.go uses them so a
source-filtered report-merge in internal/api/resourceapi/resources.go
excludes the links that join a member carrying the named source to the rest
of the merged resource. That changes which pairs the report excludes, through
the same exclusion write as before; no schema, backup, retention, migration or recovery path is added or
moved.
Mock-mode structure views open no storage or recovery path
internal/api/connections_alerts.go and internal/api/router.go now ask the
monitor for less in mock mode: the connection-degraded alert feed no longer
reads the hosts and PBS instances it discards, and the demo Patrol resolver
reads the structure view (see "Mock-mode metrics-target lookups ride the
fixture structure revision" in the monitoring contract). Real mode, its stores,
backups, retention, snapshots, migrations and recovery paths are unchanged, and
none is added or moved.
Upstream diagnostics visibility composition (11 October 2026)
Diagnostics output filters API-token inventory by the existing caller-management authority without changing token persistence, recovery, rotation or lifecycle. A narrow token receives only manageable records, not another organization's credential inventory; session diagnostic authority is unchanged.
The accepted upstream diagnostics_token_visibility_test.go controls and API
reference route checks cover caller filtering and the documented authority.
Final-source checks must retain this upstream behavior beside the reviewed
reporting/help repairs; source proof is not installed credential recovery.
PBS denial guidance preserves independent poll evidence (14 October 2026)
The shared diagnostics classifier uses observed PVE/PBS HTTP status before
provider text, distinguishing 403 access denial from 401 authentication and
other failures. Its existing error summary labels PBS monitor and live-check
results separately, without treating a successful probe as scheduler recovery.
Guidance preserves intended resource access and both scoped user/token ACLs;
it does not rotate credentials, broaden roles or disable privilege separation
as a permissions test. Backup data, History, retention and all storage/guest
commands are unchanged. TestComputeDiagnosticsAPIRejectionsPreserveCredentials
and TestContract_DiagnosticsAPIRejectionGuidanceSurvivesSerialization cover
source/wire attribution and same-credential fixture recovery, not native PBS
jobs, installed permission recovery or safe thaw.
Pulse Pro runtime switch opens no storage or recovery path (14 October 2026)
The Pulse Pro runtime switch routes added under internal/api/ reuse the
update pipeline's existing backup of the installed binary before replacing it
and its existing history-entry rollback. The data directory, metrics and
configuration stores, backups, snapshots and recovery points are untouched,
and no new backup, retention or restore path is added.
Extended history observation preserves existing read authority
The shared chart/history response writer now observes successful extended history delivery for the security-privacy schema-v19 aggregate. It adds no query, resource, tenant, credential or action authority. The observer receives only a successful-read marker after serialization/write, and existing API entitlement checks remain before that boundary. Read semantics remain owned by api-contracts and telemetry retention/disclosure by security-privacy.
Saved-credential TLS probes leave storage and recovery unchanged (16 October 2026)
internal/api/configapi/config_node_handlers.go accepts draft SSL verification
and fingerprint settings only for its temporary saved-credential probe client.
The probe does not write configuration, stored credentials, runtime connection
health, backup coverage or recovery readiness. PVE, PBS and PMG retain their
separate saved connection identities. The direct real-TLS regressions in
config_handlers_connection_test.go assert unchanged configuration and health.
The request and permission contract remains owned by api-contracts.
Concurrent chart service publication adds no recovery state (16 October 2026)
Initializing the router's chart service once is in-memory synchronization. It adds no store, persisted shape, backup, restore or migration path and does not turn chart history into recovery-readiness authority. Separate routers retain separate services. Concurrent publication and tenant-isolation proof remain owned by api-contracts.
Inventory notifications preserve the request organization
The shared node handlers scope node_deleted, nodes_updated and post-edit
discovery_update messages to the request organization. Setup handlers also
scope auto-registration and unregistration events and their cached discovery
refreshes to the authorized request organization, including its setup token
binding. The registered test-notification route sends its synthetic
node_auto_registered event to that same request organization. An empty
organization ID maps to the default tenant. Because the event stays inside the
request organization, the route uses RequireOrgAdmin: that organization's
managers, and tokens bound to it with settings:write, may send it.
Storage and recovery consumers receive these inventory refresh signals within
their own tenant; discovery results and successful node mutations do not
establish backup coverage, protection freshness, restore readiness or recovery
point evidence. The delivery change adds no persisted storage or recovery
state and gives these events no storage mutation authority.
Durable backup execution history and observation coverage
The per-organization recovery SQLite store retains backup task execution rows
under the existing ninety-day policy. Task rows stay KindOther. Success never
mints a restore artifact or protected posture. A shrinking provider task window
does not reconcile away retained executions. Later running observations cannot
erase a committed terminal outcome. Source identity is validated before writes.
Collection-quality rows and continuous observation intervals share that store. Task evidence commits before collection success can extend coverage. Failed writes, failed/partial reads, downtime beyond the actual polling cadence and older observations cannot fabricate or bridge complete history. Returned old tasks never backdate Pulse's observation period. Report reads take outcomes and coverage from one database snapshot, and fail explicitly on query/decode limits. All early returns from point upserts release their transaction, including errors scoped inside a point loop.
BuildBackupHealth scopes outcomes to current authoritative workload identities,
using source/VMID only when unique within that selection. Ambiguous and
unattributed multi-guest evidence reduces completeness without exposing another
client's task details. Reports distinguish incomplete observations from an
observed period with no attempts. Successful tasks do not prove backup retention
or restorability. Metric retention and existing entitlements do not change.
Proofs: internal/recovery/store/backup_history_test.go and
internal/recovery/backup_health_test.go cover restart, shrinking inventory,
failure/downtime boundaries, write failure, client isolation and DST/cutoffs.
Backup collection starts with a bounded retained-history backfill, then uses a durable collection checkpoint with a day of overlap. The oldest known pending execution remains in range until completion, including after restart. Failed reads do not advance the checkpoint. A capped backfill may advance a later incremental read without backdating observation coverage. Another node's failure cannot be hidden by a truncation reason. The live API/state keeps its existing 200 provider tasks per node plus their guest details, while the recovery store retains executions beyond that live window. Checkpoint, long-running-job, failed-read, capped-backfill and bounded-live-payload regression tests exercise these boundaries.
Router monitor replacement retains the shared per-organization recovery manager
for existing and future monitors. Configuration reload must not silently stop
durable task collection while reporting continues reading the original store.
internal/api/recovery_monitor_reload_test.go and a live connection-reload report
exercise dependency retention and actual history persistence.
Reporting telemetry counts generated backup-health documents by their existing complete, incomplete or unavailable source-data state. It never reinterprets those counts as backup success, protection, retention or restorability. The separate SMTP and saved-file counters describe report delivery only. Only daily aggregate counts leave the installation, with no workload, task, repository, client scope or reporting range. Recovery evidence, observation coverage and collection checkpoints remain owned by the existing recovery store.
The Proxmox Backups drawers follow the shared drawer shell. The PBS server drawer's status dot is the one its row shows (reachable or not), not a second reading of the raw status, and the Coverage detail row no longer overrides the shared detail shell's padding, which had dropped its phone width cap. Neither change alters how coverage, protection posture or restore evidence is judged.
Storage pool and physical-disk drawers follow the Proxmox guest and node
drawer shape. Both open in the shared InlineDetailTableRow (one open at a
time, aria-controls focus restore, phone width cap) under an
ObjectDrawerHeader with DrawerSubjectHeading, whose dot reads the same
judgement as the row (getStoragePoolStateIndicator,
getPhysicalDiskHealthIndicator). Overview leads with the object's own alerts
(the set that tints its row: getRecordAlerts, and getPhysicalDiskAlerts
matching the disk's unified keys, its Proxmox disk alias and its agent's disk
temperature key, never a sibling, machine or node alert), then "Worth
checking" for a bad state, reduced protection, ZFS pool and scrub errors,
devices that are not online, linked disks with errors or reallocated sectors,
out-of-range SMART attributes and low SSD life. Charts use the shared drawer
history at 24 hours with the range picker in their toolbar (pool usage; disk
temperature, I/O and wear), then a facts line, content cards (ZFS pool and
devices, linked disks, SMART health) and one closed Details. Manage holds the
operator state for the pool or disk's unified resource id. The separate 7-day
pool chart, the disk drawer's own History and Live I/O sections and the
pool-local range picker are retired; no field was dropped. The guest drawer's
embedded physical-disk detail (GuestPhysicalDisks -> DiskDetail) keeps its
existing layout for now.
The Backups record drawers follow the shared record panel. Replication jobs lead with a failure, then Job, Route and Schedule, keyed by job id and linking to the guest. Coverage opens one workload at a time across the live and unmatched tables, leads with restore evidence (location and details wrap), keeps provider evidence as a section and links to a matched guest. Recoverable restore points, which had no drawer and lost their location on phones, now open a record drawer with source, location, created, size, state, verification and protection. Coverage posture, restore evidence and recovery rules are unchanged.
The guest drawer's physical disks now open the same disk Overview as the Storage tab, and the old disk detail, its local history range catalogue, metric cards, key/value rows and the storage detail presentation classes that only it used are removed. Storage group and spacer rows span the table's visible columns, so pool rows and drawers fill the table on phones.
The Coverage drawer's restore evidence wraps long source labels (snapshot and
archive names) instead of cutting them with an ellipsis: ArtifactSourceBadge
takes an opt-in wrap that the drawer passes, while table rows keep the label
on one line. Coverage, restore evidence and recovery rules are unchanged.
The Coverage drawer's restore evidence Location and Details values wrap: the
wrap is set on each value's span, because the global .table-fixed td rule
forces nowrap on table cells and outranks a utility class on the cell itself,
which left a long snapshot description cut off at the drawer edge. Coverage,
restore evidence and recovery rules are unchanged.
The Proxmox page surface's Overview guest heading ("Guests on ", Show all
nodes) now renders through the shared PlatformHostScopedTableTitle that the
Docker and vSphere overviews also use; its Storage, Replication, Backups, Ceph
and Mail Gateway tabs, and every storage and recovery rule, are unchanged.
The Pulse Intelligence external-agent setup anchor named in Forbidden Path 10
moved to /settings/pulse-intelligence/agents#external-agent-setup on
2026-10-22, when the browser Assistant chat window was retired. It is still
adjacent settings route state in frontend-modern/src/routing/resourceLinks.ts
and carries no recovery or storage meaning. The same change adds the read-only
settingsCapabilities.patrolRun security-status field in internal/api, a
projection of the Patrol run route's admin gate that opens no storage or
recovery path.
The internal/api changes for typed Patrol investigation conclusions open no
storage, backup or recovery path. They hand the run's typed conclusion to the
private orchestrator, make investigation concurrency and timeout follow the
Patrol provider, and label the unclassified and interrupted outcomes in the
digest email. Recovery evidence, restore rules and storage capabilities are
unchanged, and Patrol gains no storage remediation capability.
The internal/api change that makes the investigation orchestrator's finding
writes check run ownership opens no storage, backup or recovery path. It decides
only whether a run's start or result is recorded on a Patrol finding. Recovery
evidence, restore rules and storage capabilities are unchanged.
The internal/api and internal/ai/chat change of 2026-10-23 removes
browser-only chat routes (/api/ai/assistant/surface-tools, /api/ai/workflow-prompts/render,
/api/ai/question/{id}/answer, and the /summarize, /fork, /undo,
/redo, /steer, /diff, /revert, and /unrevert session sub-resources). The adjacent-boundary notes above that
name those routes are now history. Persisted chat session files no longer
carry turn_redo_stack or the steered message flag; older files that still
have them load unchanged and drop them on the next write. No backup, restore,
or recovery path changes.
The internal/api change of 2026-10-23 that finalizes Patrol investigation
runs when they close and publishes the action plans the inbox expiry sweep
expires opens no storage, backup or recovery path. Recovery evidence, restore
rules and storage capabilities are unchanged.
The internal/api change of 2026-10-23 that serializes the projection of a
Patrol investigation's action and finalizes Patrol runs that ran past their
limit opens no storage, backup or recovery path.
Capacity-invalid chart evidence is not storage recovery
The hosted workload-chart proof may call a complete, contended measurement
inconclusive without clearing its raw budget failure. It must not turn a
cleanup/child error, absent report or skipped test into neutral evidence.
Neither neutrality nor synthetic CLI classification establishes a valid
History latency result, intact stored data, guest liveness or installed
recovery. TestContractChartSLOProofCLIClassifiesExecution preserves child
exit, output and executable identity across those distinctions; the 90 ms
valid-capacity requirement and independent native recovery remain unchanged.
One bounded hosted provisioning agent is part of the absolute measured envelope,
not a blanket contention exemption: other/unattributed CPU, guest/steal and swap
remain invalidating. Raw CPU and agent attribution are both retained. This
permits a real failure as well as a pass at 90 ms; it clears no earlier adverse
timing, storage failure or excluded investigation and changes no store code.
Rejected administrative input preserves saved recovery choices (24 October 2026)
Competing public SSO request fields cannot overwrite restrictions or saved
provider credentials, and ambiguous reset-admin fields cannot consume the
one-use token while selecting a different account. A complete unique request
can still deliberately clear restrictions or perform its authorized scoped
reset. TestContractSSOAmbiguousSavePreservesDetail and the SSO/RBAC JSON
admission tests preserve persisted settings, exact roles and token usability.
No database schema, stored history, backup/thaw operation or native recovery
route changes; parser admission does not establish those operational outcomes.
Browser fixture update budgets
The Core E2E stack explicitly opts into a finite development update API budget
so isolated browser sessions at one bridge IP can read the real update plan.
internal/api/rate_limit_config.go keeps production at 60 update requests per
minute and requires exact development mode plus a valid bounded override.
rate_limit_journey_budget_test.go verifies exhaustion and unchanged login
admission. This changes no storage history, backup, restore, migration or
recovery contract. Request admission does not qualify stored-data preservation
or a successful upgrade/recovery operation.
Backup evidence retains its measured native scroll extent
Proxmox Coverage and By date use the shared PlatformWindowedRows renderer,
not a fixed-height backup-specific runway. An expanded evidence panel belongs
to its keyed summary item: scrolling inside it must not unmount that item or
replace the panel with unrelated workload rows. Group headings count as their
own items; measured offscreen panels retain their scroll extent. Live
inventory replacements retain the mounted row, its disclosure focus and its
expanded state. Spacer cells span only the currently visible columns, while
the shared desktop/phone mounted-item budgets remain bounded.
ProxmoxCoverageTable.test.tsx exercises both consuming tables, grouped
dates, desktop/phone budgets, tall panels, snapshot replacement, scroll-away
and return, and spacer spans. Browser proof must scroll actual production
evidence panels at desktop and narrow widths and inspect pixels. This changes
only presentation: posture, identity matching, history, permissions and native
backup/guest/recovery operations remain unchanged.
Backup table extent survives measured-detail retirement
Coverage and By date opt into PlatformWindowedRows.reserveScrollExtent. The
shared measurement owner reserves the natural table height on its outer scroll
shell before a tall inline panel leaves the row window. This prevents a
transient shrink from clamping native page or app-container scrolling. It does
not set the table's own height or move the native scroll position. Natural
remeasurement releases the reserve on disclosure close or responsive layout;
leaving windowed mode and unmount restore the shell's previous minimum height.
Other table consumers keep their existing lifecycle by default.
PlatformWindowedRows.test.tsx checks opt-in extent retention, bounded rows,
return, close and small-result filtering; consuming backup proof must exercise
real desktop/narrow app scrolling and inventory polling, including the last
visible workload. Posture, keys, authority and native recovery are unchanged.
The reserve derives from the full keyed measured-height map plus table chrome, not a DOM height sampled while a window retires. Offscreen detail measurements remain in that map until the owning item is remeasured or removed, so a transient DOM extent cannot lower the reserve before its compensating spacer settles.
Backup activity distinguishes unknown size from absent restore points
The By date activity view keeps completed, in-window entries even when their sizes are unavailable. Count and day selection remain usable in Volume mode. Volume bars and axes measure known positive finite sizes only; unknown sizes have a separate amber day marker, explicit notice, day label and source tooltip. Mixed totals are labelled as known volume, never a complete total, and source percentages are omitted when any size for that day is unknown. An all-unknown window has no numeric volume scale. Empty days remain distinct from unknown size.
The existing source, search, node, type, location and local-calendar window scope applies to both known and unknown sizes. Running/failed artifacts and unknown or future dates do not become completed activity. Posture, backup completion, permissions, guest operations and actual recovery are unchanged.
ProxmoxBackupsTable.test.tsx exercises unknown-only and mixed inventories,
Count/Volume switching, selection and source scope through the HTTP consumer.
proxmoxBackupActivityPresentation.test.ts checks separate unknown counts,
excluded dates, labels and per-source tooltips. Browser verification must inspect
the real table/chart with safe inventory at desktop and narrow viewports.
Coverage task order is evidence, not an input-order tie-break
The Coverage task summary names a latest task only when the observed start times establish one (or only one task was observed). Missing, invalid, non-positive or future starts cannot be ranked as epoch dates; distinct observations with equal latest starts cannot be ordered by input position, status or ID. In either ambiguous case the summary is Unknown, not OK or None. The existing detail explains the uncertainty and retains every possible latest task's status, start, duration, literal error and full ID. Possible tasks are displayed in a stable non-time order; older known tasks are not possible latest tasks.
Backup artifact and task times must be real calendar/time values with an explicit
RFC3339 zone, matching the API's time.Time JSON. Do not let the browser normalise
September 31, accept 24:00 or assume a timezone for an unzoned/date-only value.
Malformed times retain their raw observations and unknown age/order; they do not
drop a backup, imply failed completion, supply a duration or hide an undated
failure behind a dated OK. Valid offsets, leap days and fractional seconds remain
usable. proxmoxBackupTimestamp.test.ts and backupTimestampEvidence.test.tsx
cover all three artifact sources and tasks through the parsed inventory boundary,
including ordinary-poll recovery. Actual browser proof covers the changed model
through Coverage, By date, detail and activity consumers in different timezones.
The task column remains visible even when no latest task can be established. Existing workload/search scope includes candidate errors and IDs, never another connection's namesake. Ordinary inventory refresh can restore an ordered latest, reintroduce uncertainty or remove all task evidence without replacing the keyed row, open panel or disclosure focus. No new API read, route, association rule, protection assessment, backup/guest operation or recovery guarantee is added.
proxmoxBackupTaskChronology.test.ts checks permutations, ties, future/unknown
starts, candidate completeness, scope and sole/absent tasks.
ProxmoxCoverageTable.test.tsx checks the canonical compact/full consuming
summary and complete candidate detail. backupTaskEvidence.test.tsx exercises the parsed HTTP inventory through the
router, compact/full summaries, complete literal evidence, saved-view search and
ordinary polling. Browser verification must exercise these states through the
production consumer at desktop and narrow widths and inspect actual pixels.
Unmatched backup placement comes only from node evidence
Unmatched PBS namespaces and datastores remain backup locations, not guest
nodes. Unmatched PVE records retain their reported native node, never their
connection name as a substitute. Both existing workload detail views say
Not reported for missing VM/LXC placement; host labels remain separate.
Node filters and unscoped task matching cannot use invented fallback nodes.
proxmoxBackupRecoveryModel.identity.test.ts and the normal-suite
backupWorkloadIdentity.test.tsx cover absent/blank placement, independent
reader/location identity, native-node controls, node filtering and live owner
arrival/removal through the parsed inventory consumer. Matching rules, source
keys, restore points, protection policy and guest operations are unchanged;
removing fabricated node metadata prevents one false unscoped-task match.
Desktop and phone browser proof exercises both existing detail views. This
corrects attribution, not #2681/#3248 causality or native recovery.
When Coverage hides the Location column on narrow containers, each existing
restore-evidence Source cell also wraps its labelled repository location.
Removing a guessed node must not discard the useful namespace/datastore it
misrepresented. ProxmoxCoverageTable.test.tsx checks narrow/full projection
and complete long location text; the parsed inventory regressions also retain
reader identity and full repository context without adding reads or routes.
SAML diagnostic evidence does not establish recovery access
The shared API SAML Test rejects missing IdP identity or a supported HTTP(S)
SSO endpoint as metadata_incomplete, without validated details or a fallback
to manual settings. Its success describes metadata evidence only and states
that sign-in was not tested; the manual URL-format result also states that
certificates were not tested. This adds no recovery or certificate-trust
authority, saves no configuration and changes no sign-in service policy.
TestContractSSOSAMLDiagnosticConsumer binds the real authenticated diagnostic,
audit success/failure and preserved settings/files/secrets/admin access. Actual
native sign-in and installed recovery remain distinct evidence.
Existing XML-parser failures keep their original categories; this evidence
check only runs after that parser succeeds.
Narrow Coverage keeps workload identity visible
Coverage containers below 720px wrap the full workload name and PVE connection instead of making touch users rely on hover titles. The folded VM/LXC target ID sits on its own line so it cannot squeeze the name to an ellipsis. Wider tables retain their dense projection; the expanded owner, inventory association, posture, read cadence and guest operations are unchanged. This is readable identity, not original-incident recovery.
The normal backupWorkloadIdentity.test.tsx suite checks long namesake labels,
end-distinguished connections, 719/720px projection, scoped evidence and owner
links. Browser proof must inspect complete rendered names/connections, layout
resize, keyboard/touch disclosure and retained polling at desktop and narrow
widths, with actual pixels.
Location-filtered backup evidence is not a location protection rating
The Proxmox backup-health strip names its all-target/all-location count scope, independent of filters. In Coverage, a resolved backup-location filter qualifies ages and restore evidence next to the list and inside an expanded record. The server's protection assessment, provider evidence and task history remain workload-wide; a current backup elsewhere must not read as protection of a stale, running-only or snapshot-only selected location. Labels come only from resolved inventory identity, never raw saved-query text. An unresolved location keeps the existing explicit empty selection rather than broadening to another repository. Clearing the filter removes the qualification without replacing the keyed open record or making another read. No assessment, association, policy, API, route, guest operation or recovery authority changes.
Normal-suite ProxmoxBackupsTable.test.tsx covers stale, running and snapshot-only
selected evidence beside a server-owned Protected workload, all-target counts,
independent task history, filter clearing and ordinary-poll disappearance/return.
Desktop/narrow browser proof must exercise the parsed inventory consumer,
filter interactions, scoped open records and literal long labels and inspect
actual pixels. This corrects evidence scope, not original incident causality or
native backup/guest recovery.
Backup activity preserves calendar-day interaction identity
BackupActivityChart retains each day control by its local calendar key across
inventory refreshes, scope changes and metric changes. The focused control must
not disappear or silently become another date when new buckets replace the
input. A removed focused day returns to the selected activity-range control,
without changing the saved day filter or moving focus from another control.
The open tooltip reads the current bucket for its day, not a retained count or volume snapshot, and follows the actual control after inventory layout changes. Removed days withdraw the reading, including on return until a new interaction. Unknown-volume markers and counts update together. Reconciled chart values must not mutate the caller's inventory-derived DTOs.
Normal BackupActivityChart.test.tsx covers focus, rollover, disappearance,
current tooltip readings and input ownership. ProxmoxBackupsTable.test.tsx
exercises the parsed inventory and ordinary polling through the consuming date
filter, preserving bounded reads. Backup/posture policy, source association,
read cadence and guest operations are unchanged; this is not native recovery.
By date counts restore points and phone rows name the reason (3 November 2026)
The By date counter read "3015 backup entries" while Backup health read "2982
completed restore points", because the list also holds running and failed
entries. The counter now counts completed restore points and names the rest
beside them ("2982 restore points · 33 running"); a filter counts the same way
("278 of 2981 restore points · 2 running"). Phone Coverage rows showed "Attn."
for every problem. They now name the server's reason in a word or two
(compactBackupReasonLabel: "Failed", "Overdue", "Verify late", "No backup"),
beside the reason labels Backup health uses, and fall back to the state word
for a row whose reason this build cannot name. The 80px phone cell keeps its
width, so guest names lose nothing. Protection states and sorting are unchanged.
Bare Backups entry chooses a view once, not on each health poll
Historical since 3 November 2026: a bare entry now opens Coverage at once (see "Backups opens on Coverage, with plainer health reasons"). The rules below on keeping the workspace through later polls still apply.
An existing /proxmox/backups bookmark without a named or legacy-query view
chooses its health-based default after readable inventory and the first
workload protection assessment settle. Attention, unprotected or unknown
workloads still open Coverage; otherwise the existing By date default applies.
The chosen view becomes its existing canonical route through a history replace
without scrolling. Shared query filters and the fragment survive; incompatible
per-view facets are cleared by the existing view-path builder. Explicit named
and legacy-query views remain authoritative and are not rewritten.
Later inventory/posture polls and posture retries update counts, evidence and unavailability honestly without silently replacing that workspace or its open row and keyboard focus. The operator can still change views or follow a health count to filtered Coverage. No assessment, backup completion, provider query, permissions, guest operation, persistence or recovery guarantee changes.
ProxmoxBackupsTable.test.tsx covers both polling directions, unknown and failed
initial assessments, retry, deferred initial assessment, common filters/hash,
replace-history semantics, explicit views and empty inventory. Browser proof
must exercise the actual table, inventory parsers and posture client through a
local safe producer at desktop and narrow widths, with native pixel inspection.
Damaged RBAC selections are not successful recovery evidence
The existing RBAC integrity-check fallback rejects malformed query encoding,
repeated decoded organisation selections and explicit blanks before manager
initialization or an integrity verdict. The API contract and
TestContractRBACIntegrityQueryAdmission bind the wire errors and unchanged
authentication/licence gates; rbac_integrity_query_test.go checks rejected
requests create no manager/files while omitted and valid scoped checks work.
This changes no reset token, backup, guest operation, storage format or native
recovery guarantee. Existing default-context compatibility stays intact.
Coverage distinguishes assessment clocks from visible restore evidence
An expanded Proxmox Coverage record exposes the server assessment's evaluatedAt,
lastSuccessfulPointAt and lastVerifiedAt as separately labelled UTC instants.
Time labels and values use wrapping stacked rows, not truncated hover-only labels.
Evaluation is not backup completion. These workload-wide recorded times do not
come from the current artifact list or its location filters and do not establish
a fresh inventory read, successful restore or guest responsiveness. Missing
optional clocks say Not reported; malformed instants say Unknown rather than
being repaired by the browser or borrowed from another field. A failed posture
read withdraws the section with the assessment; ordinary recovery restores it.
No provider, policy, association, age, permission, guest operation or polling
contract changes.
Normal-suite coverageAssessmentEvidence.test.tsx exercises the parsed Backups
consumer at desktop/narrow widths, differing artifact/evaluation/point clocks,
missing fields, location filtering, ordinary refresh, failed-read withdrawal and
isolated retry. ProxmoxCoverageTable.test.tsx protects strict presentation of
invalid instants. Browser proof must inspect the actual consuming record at
desktop and narrow widths, including UTC text, keyboard/touch disclosure and
refresh/recovery with the open record preserved. This is evidence inspection,
not original incident recovery.
Restore-point identity is readable before narrow-screen disclosure
The existing Proxmox By date list groups workload name/type/target ID, PVE workload connection, source kind, reader connection and repository location in one wrapping identity cell below 720px table width. These are different scopes: a PBS reader/namespace never supplies an unknown guest's PVE connection. Age and state retain independent columns and their existing meanings. Wider tables keep separate source/location columns and expose PVE scope beneath the workload name; a hidden Target ID column never hides the ID itself. Full provider identifiers, size and existing owner links remain in the same single-point drawer. This changes no matching, posture, verification, pruning, filter, poll or API contract.
The three-column narrow projection reserves enough width for the grouped
identity, Unknown age and full state words instead of the old single-name 40%
anchor. Normal-suite recoverableIdentityAccess.test.tsx exercises the real
parsed inventory consumer across 320/479/480/719/720/1200px, namesakes, every source
kind, unmatched/host scope and open-record live refresh/focus. The registered
ProxmoxBackupsTable.test.tsx checks workload/reader separation before disclosure;
ProxmoxRecoverableTable.test.tsx and proxmoxBackupsTablePresentation.test.ts
protect grouped metadata, responsive columns and bounded rendering. Browser
proof must exercise the consuming list at desktop/narrow widths, inspect actual
pixels, identity, state/age fit, touch/keyboard disclosure, filters and live
updates. This is safer evidence inspection, not a restore or installed recovery.
External-agent activity telemetry now skips first-party browser requests
(Sec-Fetch-Site: same-origin) before writing external_agent_activity.json.
It writes fewer records to the same file and opens no new storage, backup or
recovery path.
Uncertain task histories use bounded, complete inspection
When missing, future or tied start times leave multiple possible latest tasks, Coverage initially renders eight task detail cards, not the whole provider history. The preview samples each failed-or-error-bearing, running, OK and other-status group with known/unknown starts, preserving the model's deterministic, explicitly non-chronological order. Full-candidate status, error-text and unknown- start counts remain visible, and every candidate stays available through an explicit eight-at-a-time control without more API reads. Search continues to match the complete workload evidence, not just its preview.
Deliberate preview expansion survives ordinary polling of the open workload. Existing task cards stay mounted when another page is revealed, rather than rebuilding all previously visible cards. Their grid follows the local container. The same control retains focus when the list shrinks, becomes ordered or empties; its exhausted state is guarded. Opening another workload or reopening the panel starts bounded again. No candidate is discarded, no latest task is chosen from ambiguous times, and neither task success nor disclosure establishes protection, a restore or guest responsiveness. Identity, posture, provider collection and polling semantics are unchanged.
Normal-suite backupTaskEvidence.test.tsx exercises the parsed inventory consumer
with a 200-task history, adverse status/error witnesses, complete inspection,
search and polling/focus. The registered ProxmoxCoverageTable.test.tsx verifies
per-workload reset. Desktop and narrow browser proof must exercise the actual
inventory consumer, the bounded disclosure, keyboard/touch expansion and live
shrink/ordering with actual pixel inspection. This is an inspection/rendering
bound, not a measured installed CPU improvement or original guest recovery.
By date retains literal restore-point date evidence
The existing Proxmox By date record exposes the provider's exact reported date beside its formatted Created interpretation. Offsets and subsecond precision remain literal wrapping text for PBS snapshots, PVE backup files and guest snapshots, including malformed and future values; missing values say Not reported. Unknown Created values remain unknown. The existing By date notice continues to explain unavailable/future dates and their exclusion from activity and day filters; no duplicate per-point warning is added. Raw dates are not an inferred completion time, freshness, protection or restore assertion.
The same open point updates its raw date and interpretation on ordinary
inventory polling without borrowing another point's date or losing owned focus.
Normal-suite recoverableIdentityAccess.test.tsx covers all three sources,
precise/malformed/future/missing/literal-markup dates, desktop/narrow widths and
in-place replacement/withdrawal. Registered ProxmoxBackupsTable.test.tsx
protects unknown-date evidence through the parsed inventory consumer and
ProxmoxRecoverableTable.test.tsx protects direct presentation. Browser proof
must exercise the actual By date consumer at desktop and narrow widths and
inspect wrapping, uncertainty, keyboard/touch disclosure and live replacement.
No parser, association, ordering, count, filter, posture, API, permission or
provider-operation contract changes. This is inspection, not guest recovery.
Polling can move an existing By date point between calendar groups, including into Unknown date. Before the keyed list changes, the table captures only focus it owns. After the move it restores that same connected control only if focus fell to the document body; it never steals focus moved elsewhere or resurrects a removed point. The open record, strict dates and existing withdrawal fallback remain unchanged. Direct normal-suite tests cover owned/external/removed focus; the parsed Backups consumer covers an open point moving into Unknown date. Actual Chromium and WebKit browser proof must cover that day-group move.
The Proxmox gzip baseline increases by 256 bytes (80339 to 80595, 0.32%) for literal date evidence and the browser-reproduced focus repair. The 15% threshold, all other per-chunk baselines, total JS/CSS and preload/SRI checks stay unchanged. This is a narrowly declared intentional UI/accessibility cost, not suppression of the retained failed budget runs or permission to omit browser verification.
Diagnostic log downloads do not export recovery credentials
The existing administrative log-bundle route retains its auth/scope gates and
raw log-file/buffer evidence. Its system-info member now uses the API contract's
explicit diagnostic allowlist rather than a full Config/environment copy. No
endpoint/name/path, arbitrary environment or credential is included in that
summary; logs still require private manual review. Connection and polling
settings remain live and unchanged. This is not a backup, credential recovery,
agent/guest probe or installed recovery. The normal HTTP contract
TestContractSupportBundleCredentialBoundary and log_bundle_test.go cover the
summary, scope denials, state preservation and configured-file/buffer fallbacks.
Session read withdrawal is not job cancellation
The existing protected API reads retain actual admitted browser-session
identity and refuse later disclosure after logout, invalidation, expiry or
replacement. Session withdrawal does not cancel independent agents, updates,
deployments, backups or legacy executions, nor prove original recovery.
TestContractSessionReadLogoutBoundary covers persisted logout and native
HTTP/WS refusal; the API contract describes the credential and idle boundaries.
Default-organization access policy is not a storage path
The default-organization access change in internal/api/ adds no storage or
recovery path beyond default-organization membership in the existing
org.json and a one-time marker, default-org-access-migration.json, in the
base data directory. The migration writes nothing when tenant metadata or RBAC
assignments cannot be read, so recovery of those stores is unchanged.