Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Merge main into diagnostic evidence improvements

rcourtmanab6d21400074
diff --cc docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md
index 3ab223ec03,fdcf448c34..d17fda6e54
--- a/docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md
+++ b/docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md
@@@ -1408,530 -1408,3 +1408,560 @@@ correction above is a separate scoped c
The redesign remains open for reliable interpretation, the config-read contract,
storage/backup, approved/rejected action outcomes and supported autonomous Patrol
qualification. Wider customer readiness still requires independent Pro environments.
+
+### Docker measurement correction plan, 2026-09-06
+
+The next shared-source correction distinguishes absent block-I/O observations
+from measured idle zero and removes the Docker layer-size ratio from filesystem
+capacity. Counter presence uses the existing rate tracker contract. Missing
+reports must not reset the baseline or fabricate samples. Container layer sizes
+remain descriptive metadata.
+
+Persisted Docker-family disk series previously mixed invalid capacity ratios and
+unobserved I/O zeros with real measurements. New disk observations use separate
+physical series keys while public metric names remain unchanged. Retained reads
+exclude ambiguous legacy disk series without deleting or relabelling them. The
+shared app-container storage family also serves non-Docker providers, so new
+valid capacity observations must remain supported. Non-Docker series retain
+existing behavior. Explicit zero must survive every retained-read API and rollup.
+
+Browser verification is required after the final backend build. Interaction
+matrix: `/docker` at 1440x1000, 900x1000 and 390x1000, container selection,
+resource drawer open/close, current metrics, history expansion, measured idle,
+unavailable readings, and reload. Inspect actual pixels, scrolling, focus and
+Escape dismissal. `/patrol` evidence rendering must preserve absent versus zero
+in current-resource and retained-history tool results. Controlled responses may
+qualify rendering but cannot qualify diagnosis. Live read-only API observations
+must bind to the rebuilt backend. No autonomous subscription retry or paid-model
+request is authorized by this correction.
+
+Collection also carries optional presence for each I/O direction. Explicit zero
+entries survive the report JSON. For older reports without presence, only
+positive counters establish an observation, so ambiguous zeros remain unavailable
+until the agent is updated or a positive baseline exists. This does not require
+re-enrollment. Docker-host first-disk history and network-counter presence are
+adjacent limits outside this container block-I/O correction.
+
+The final browser matrix also covers the shared host I/O table, Docker host
+Overview and Machines table/tooltip at the same three widths. Partial read/write
+observations must show a missing marker for the absent direction, retain measured
+zero, and remain excluded from sums used for sorting and comparison. Exercise
+column selection, hover/focus, tooltip dismissal and scrolling where present.
+
+### Docker correction qualification and scope
+
+The implementation carries per-direction presence from collection and report
+JSON into the existing rate tracker, canonical resource metrics, persisted
+history and resource-to-browser conversion. REST resource adaptation also
+preserves optional rates. Shared rate formatting keeps missing values distinct
+from zero in Machines and Docker host details. Incomplete rates do not become
+complete throughput totals for sorting or comparison. A browser-discovered
+first-user column migration bug is corrected in the shared preference hook, so
+showing Disk I/O survives the first reload.
+
+Legacy workload conversion in `frontend-modern/src/hooks/useWorkloads.ts` still
+uses numeric direction fields with grouped availability. Its direction-level
+modernization remains a separate consumer follow-up. Docker-host first-disk
+history and network presence are also outside this container measurement slice.
+The correction must not be represented as complete coverage of all metrics or
+all monitoring surfaces. No new model competence or autonomous action result is
+claimed.
+
+Affected Go package checks and targeted race checks ran on pulse-dev with
+Go1.26.8. The changed websocket assertion now expects observed read zero with
+absent write omitted. Targeted frontend suites and type checking cover optional
+rates, REST conversion, sorting, formatting and column persistence. Ten paired
+read-benchmark rounds used the unchanged parent store via Go overlay. The
+canonical >10%, p<0.05 regression gate passed, with +0.82% timing geomean in this
+scoped comparison. This is not a fleet-load or full-product performance claim.
+
+The Pro backend was cross-built on pulse-dev from the changed source and
+installed into the existing local dev runtime. Binary SHA256:
+`59f05f954ff8080bd3e8f3054b2b059281c49172ee771b2e454c255241158a4a`.
+No production agent was replaced. Older agents remain compatible and treat
+ambiguous zero counters conservatively.
+
+Private receipts: `/Volumes/Development/pulse/tmp/patrol-docker-observed-metrics/`.
+Worker logs: `/opt/pulse-release-worker/patrol-docker-observed-proof/`.
+PR1934's preceding identity correction merged at
+`6b0abc3bee9ffa81f6ab298b5b67ee11369688a0` with all checks passing. The current
+measurement slice passed final-source Playwright inspection on `/docker`,
+`/standalone/machines` and `/patrol` at 1440x1000, 900x1000 and 390x1000.
+Live history, controlled absence/idle/loading/error, partial host rates, column
+persistence, nested picker dismissal, tooltip focus, and expanded Assistant
+evidence were exercised. The source-bound receipt is
+`frontend-modern/browser-verification.json`. The unused shared host table card
+has type and selector coverage, not an active-route browser claim. Controlled
+responses qualify rendering only. Landing checks remain separate from the
+unperformed diagnosis, approved/rejected action and recovery qualifications.
+
+### Configuration-read correction plan
+
+A successful canonical container get followed by a false config `not found`
+result is a source contract defect. Native configuration reads must use current
+canonical inventory for identity and provider capability. Optional session
+resolution preserves continuity for later actions, not proof of existence.
+Explicit query restrictions must be checked before registering or refreshing a
+resource. Unsupported adapters, missing configuration providers, unavailable
+placement and empty provider responses remain distinct from missing inventory.
+No action validation or native log-read authority changes in this slice.
+
+Regression matrix: TrueNAS config with absent, empty and existing session
+context, canonical identity across aliases, explicit query denial without a
+provider call, Docker unsupported capability, genuinely missing inventory,
+unavailable placement, provider failure and nil provider response. Reproduce
+the failing cases before changing runtime code. Run affected Go tools checks
+and focused race coverage on pulse-dev.
+
+Browser matrix after the final build: `/patrol` Assistant tool result details
+at 1440x1000, 900x1000 and 390x1000, available configuration, unsupported
+capability, true missing resource and denied/provider-failed results. Exercise
+open/closed details, hover and keyboard focus, Enter/Space, deepest output
+scrolling, Escape, and persisted/reloaded evidence. Use captured actual tool
+results to qualify rendering without claiming model diagnosis or native
+provider integration. No autonomous subscription retry or separately billed
+provider request is part of this correction.
+
+### Configuration-read correction qualification
+
+The baseline reproduced absent/empty session failures, stale session placement
+and false not-found results after successful canonical gets. The corrected
+read path uses canonical resource identity and current provider placement. It
+checks explicit query restrictions before registration and preserves an existing
+query-only session's action limits. Unsupported configuration, unavailable
+provider/placement and nil provider responses carry explicit reasons and the
+tool error bit. Unavailable inventory and missing read state also remain failures
+rather than evidence of resource absence. Actual inventory absence remains the
+existing not-found lookup result.
+
+Fourteen focused contract cases pass with strict resolution enabled. The
+existing native-config regression, full tools package and focused race proof
+passed on pulse-dev with Go1.26.8. The final-source Pro binary SHA256 is
+`552699cdf2e61a4ca1cea2ac5ef4e065735cbd1dbca01665456e184bd4fc3533`.
+It is installed only in the existing local dev stack. No production agent or
+provider configuration was changed.
+
+Playwright passed on `/patrol` at 1440x1000, 900x1000 and 390x1000. Eight actual
+tool results were replayed and inspected, including successful, unavailable,
+missing, denied and failed reads. Expanded inputs/outputs, keyboard toggles,
+scrolling, Escape, reload and controlled session restoration preserve exact
+evidence and error state. Controlled session responses prove rendering and
+reload behavior, not server persistence or a new model/native-provider result.
+The source-bound browser receipt records those limits. Private artifacts are
+under `/Volumes/Development/pulse/tmp/patrol-config-read-contract/` and worker
+logs under `/opt/pulse-release-worker/patrol-config-read-proof/`.
+
+PR1935's Docker correction required two legacy partial-total test expectations
+to be updated in `0fcb2ee147354de770dfc4b0b9672d8c2c9dceb2`. The focused 55-test
+file and scoped hook passed. Its latest CI has no failures and remains pending
+completion. The configuration correction still requires its own landing checks.
+Real-model retest, temporal/storage interpretation, approved and rejected
+action outcomes and independent recovery proof remain open. Autonomous
+subscription refusal and separately billed provider approval boundaries remain
+unchanged.
+
+
+### Corrected storage evidence, ordinary Assistant retest
+
+The Docker observation and canonical configuration corrections are pushed to
+PR #1935 at `355ac1f0a481d6dbc9a7ff3977bced0956711979`. Their exact staged
+worker pre-commit checks passed without source changes. Remote checks remain
+pending. The current configuration runtime also passed all fourteen contract
+cases, the complete tools package and focused race checks.
+
+One ordinary read-only storage assessment ran on 2026-09-06 from
+12:27:05.857Z to 12:30:03.726Z, an HTTP window of 177.869s. It used the existing
+`claude-subscription:claude-opus-5` route, explicit `autonomous_mode=false`,
+read-only control and thirteen successful tool reads. No infrastructure change,
+paid-model request or autonomous readiness retry occurred. This is a single
+assessment, not a success-rate or latency estimate.
+
+The answer identified the backup datastore at 90.6% utilisation and its active
+capacity warning affecting seven workloads. It used the corrected container I/O
+history, separated cumulative device counters from rates, acknowledged missing
+container filesystem usage, and retained the reason for missing older history
+as unknown. It did not attribute older host I/O peaks to the container whose
+returned I/O window starts later. These are useful observations.
+
+The complete diagnosis still does not qualify. Its opening assurance that the
+container is not short of space contradicts the later acknowledgement that
+container filesystem usage is unavailable. It treats high retained host rates
+as bucket/counter artifacts without establishing that mechanism. It includes a
+host CPU maximum timestamped 21:00 the previous evening in a 03:00-04:00 window.
+The suggested retention explanation is not established by capacity alone, and
+available PBS job reads were not performed. Its rough growth extrapolation uses
+retained extrema, not a measured first-to-last slope, and must retain that limit.
+Corrected observations have not established reliable interpretation.
+
+The run also highlights a tool-context distinction to review: Docker-host
+`agent_connected` describes the command connection, while telemetry may still
+arrive through other collection paths. The model treated current telemetry and
+that false connection flag as an unresolved inconsistency. Its storage-pools
+request supplied `host`, although the tool schema only advertises that filter
+for RAID and Ceph detail. That call returned all pools. Neither observation
+justifies fabricating resource absence or collection downtime.
+
+Playwright exercised `/patrol` at 1440x1000 and 390x1000, the actual answer,
+all thirteen expanded tool records, keyboard activation, deepest output
+scrolling, Escape, reload and the persisted session. Every displayed input and
+output matches the persisted tool records. Pixel review includes the answer,
+evidence and the mobile table scrolled to its rightmost state. The table's
+400-pixel content is reachable inside its 309-pixel horizontal viewport.
+The artificial selected-route warning comes from blocked non-GET route checks,
+so this does not qualify the unmodified provider-readiness UI.
+
+The runtime binary SHA256 stayed
+`552699cdf2e61a4ca1cea2ac5ef4e065735cbd1dbca01665456e184bd4fc3533`
+through the request and browser pass. Private request, source, binary, tool,
+persistence, evaluation and pixel receipts are under workspace-relative
+`tmp/patrol-storage-assistant-check/`. No native config action was requested,
+so this assessment does not qualify model use of that corrected action.
+Storage-fault ground truth, reliable diagnosis, approved/rejected actions and
+independent recovery remain open. The supported autonomous provider dependency
+and wider independent-Pro-environment gate remain unchanged.
+
+
+### Command connection evidence correction plan
+
+Live command connectivity and retained monitoring observations are independent
+facts. The shared tool contract will name command-agent connections explicitly,
+including parent-node connections, without changing routing or execution policy.
+Topology built without a command-connection snapshot must omit connection flags,
+execution hints and connected counts rather than manufacture false/zero values.
+An observed empty snapshot still reports disconnected/zero. Assistant inventory
+context must preserve the same observation boundary. Existing permission,
+approval and invocation checks remain authoritative.
+
+Regression matrix: current Docker inventory and metrics with disconnected and
+connected command transport, read-only control with a connected agent, parent
+node versus guest connection, topology without a connection observation versus
+an observed empty set, and Assistant's seeded inventory. Run affected tools/chat
+packages and focused race proof on pulse-dev.
+
+Browser matrix after rebuilding the local Pro backend: `/patrol` at 1440x1000,
+900x1000 and 390x1000, actual captured query results showing disconnected and
+connected command transport beside unchanged monitored workload evidence.
+Exercise tool details open/closed, keyboard focus/activation, deepest output
+scrolling, Escape, reload and persisted result presentation. Inspect pixels and
+bind receipts to the final source and binary. Controlled rendering proof does
+not qualify model interpretation, autonomous Patrol or infrastructure actions.
+
+
+### Command connection evidence qualification
+
+The original projection failed the new regression because it labelled command
+transport as generic agent connectivity and emitted connected-agent counts from
+an inventory-only seed. Canonical guest search also promoted a parent-node
+connection into a direct guest connection. The shared projection now retains
+those distinctions. Existing host aliases remain available for non-guest
+resources. No routing, approval, execution or provider policy boundary changes.
+
+Four canonical query cases pass: no command connection, connected read-only
+transport, a direct guest connection without a parent connection, and connected
+transport with control enabled. Current workload state and CPU remain available
+in every case and no command is executed. Separate checks prove that topology
+without a command snapshot omits connection and execution hints and connected
+counts, while an observed empty snapshot retains false/zero. Assistant inventory
+context inherits that same unobserved state.
+
+Final source proof on pulse-dev used Go1.26.8 and GOMAXPROCS4. The full tools
+package passed in 59.456s and chat in 6.402s. Focused race checks passed in 1.048s
+and 1.030s. The Pro runtime cross-build passed and the installed local binary
+SHA256 is `bcaf748107211ee733a6dc0f4d17220d9b4d1ce1918c25bde27cf3d10c0d6379`.
+The managed development process restarted onto that artifact and `/api/health`
+reported healthy. No production agent was replaced.
+
+Playwright exercised nine captured results at `/patrol`, 1440x1000, 900x1000
+and 390x1000. Inputs, outputs and completed states match exactly before and after
+controlled session reload. Hover, keyboard focus/activation, expansion/collapse,
+deepest output scrolling, Escape and session selection passed. Pixel inspection
+covered each distinct connection state, unchanged workload metrics and restored
+mobile results. Backend and renderer hashes remained unchanged. The artificial
+route-check warning and controlled persistence fixtures retain their earlier
+qualification limits. No model request was part of this proof.
+A read-only settings check confirms the cached `provider_refusal` still carries
+its original `2026-09-05T19:46:39Z` timestamp and `patrol_capable=false`.
+
+Private source bindings, logs, captured outputs, runtime process/health receipts
+and browser proof are at workspace-relative `tmp/patrol-command-context/`.
+The change still requires its scoped pre-commit and landing checks. The preceding
+PR #1935 head `4d302109cee0758a132ff150935630b50114cc05` has no reported failures
+but its Build and Test and Core E2E runs are pending behind live earlier runs
+on the same branch. Those workflows are not restarted or cancelled.
+
+This correction establishes the connection evidence contract, not reliable
+interpretation. Native configuration-read model use, storage-fault diagnosis,
+approved/rejected action outcomes and independent recovery remain open, as do
+the supported autonomous provider dependency and independent-environment gate.
+
+
+### Ordinary Assistant storage fault and recovery, 2026-09-06
+
+The command-connection correction passed the exact nine-file worker pre-commit
+and was pushed as `f5f440dbad18d83557104d2cf6197d8319949e44` in PR #1935.
+Required CI remains in progress. This is not a release or a completed goal.
+
+An owned DockerLab run used the checked-in storage-pressure manifest on Tower.
+Independent observations established a healthy worker with 8,347,648 free bytes,
+then a real ENOSPC fault with zero free bytes, a running/unhealthy worker and a
+healthy control. Pulse collection converged to both states before the request.
+The ordinary read-only Assistant used the configured subscription Opus 5 route.
+It was not an autonomous Patrol request and did not retry the cached refusal.
+
+The diagnosis took 114.847 seconds and ten tool calls. It identified the worker's
+unhealthy state, the control's current healthy state and a failed command-route
+log read. It did not retry that unavailable capability. However, it falsely
+ruled out resource pressure using low CPU, memory, network and disk-read values.
+Filesystem capacity was absent from its evidence and was independently full.
+This is a failed diagnosis, despite its otherwise useful uncertainty statement
+and suggested diagnostic read. No model-directed mutation occurred.
+
+After the answer, the independent oracle still found zero available bytes and
+an unhealthy worker. Removing only the owned fill file restored 8,220,672 bytes
+and healthy status. Pulse collected recovery and resolved the health alert.
+A follow-up in the same Assistant session took 91.358 seconds and five new reads.
+It correctly identified current recovery and the resolved alert, distinguished
+symptom recovery from an unknown cause and did not invent an intervention.
+It overstated continuous control health and non-impact from sparse observations.
+The recovery assessment is partial, not a complete incident explanation.
+An independent post-answer check confirmed healthy worker/control, no container restart
+and 7,639,040 free bytes. Both cleanup passes passed, with no second-pass work
+and unchanged unrelated inventory. The disposable resources are removed.
+
+Playwright exercised `/patrol` and Assistant at 1440x1000 and 390x1000, all fifteen
+retained tool input/output pairs, keyboard expansion/collapse, deepest output
+scrolling, complete answers, Escape, reload and the same retained conversation.
+Rendered inputs/outputs match persisted records. Pixel inspection covered both
+answers and the failed-access result on desktop and mobile. Runtime and source
+hashes remained unchanged across both requests, with binary
+`bcaf748107211ee733a6dc0f4d17220d9b4d1ce1918c25bde27cf3d10c0d6379`.
+The route warning was an artifact of blocking non-chat POSTs in the proof browser.
+The original autonomous refusal timestamp remained `2026-09-05T19:46:39Z`.
+Private fixtures, source bindings, observations, screenshots and assessments
+are at workspace-relative `tmp/patrol-storage-fault-case/`.
+
+### Next canonical correction: tmpfs inventory
+
+Before implementation, source and native inspection establish a collection gap:
+Docker reports the owned scratch mount in `HostConfig.Tmpfs`, while `Mounts` is
+empty. `internal/dockeragent/collect.go` copies only `Mounts`, so shared resource
+queries falsely present an empty mount inventory. Preserve these native tmpfs
+entries through the existing report mount type. Keep destination, type and
+reported options, derive read/write from those options, preserve authoritative
+existing mount records and deterministic ordering. Do not infer used/free space
+from a configured size. No enrollment, permission or production agent change is
+part of this collection correction.
+
+Proof plan: reproduce the captured tmpfs-only inspect shape through the actual
+collector, then cover existing mounts, overlapping representations, read-only
+options and absent host configuration. Run targeted/full collector checks on
+pulse-dev and verify the report through the existing shared projection. Browser
+proof after the final change must exercise mount evidence in resource details
+and Assistant tool results, desktop and mobile, including deepest expansion and
+reload. A captured-result rendering check is not installed-agent or model
+qualification. Leave those limits explicit until the new collector is exercised
+through a supported installed path.
+
+The incident lookup also needs an identity audit: the canonical container ID
+returned no incident recording while the observed health alert used its legacy
+Docker resource ID. This is a concrete lookup discrepancy to investigate, not
+yet proof that a recording exists. Model inference from unmeasured capacity and
+sparse health history remains an open quality failure. Supported autonomous
+provider, approved/rejected actions and independent environments remain open.
+
+Further shared-projection inspection before editing found that `MountInfo` drops
+native mount type/options and that canonical app-container queries derive write
+access from equality with the single string `ro`, misreporting compound read-only
+options. The same slice must preserve type/options and the canonical `RW` boolean
+through both canonical-provider and typed read-state query paths. Add a query
+regression and capture its actual output for final Assistant browser proof.
+This remains mount configuration evidence, not measured filesystem capacity.
+
+
+### Tmpfs collection and query contract proof
+
+The captured tmpfs-only and mixed-mount regressions failed against the previous
+collector, then passed after the collection correction. The full dockeragent
+package passed in 18.883s and focused race proof in 1.030s. Existing monitor report
+mount propagation and discovery mount regressions passed. Both query paths
+failed because type/options were lost, then passed after projection correction.
+The full tools package passed in 59.473s and focused race proof in 1.030s.
+A final output-only capture rerun passed in 0.013s. All proof used Go1.26.8 and
+GOMAXPROCS4 on pulse-dev. The final Pro cross-build passed and the installed
+local binary SHA256 is
+`0a21dca4106c2ddc6873a3aca3b23378dccef35383ca00d7e9292b966de7c200`.
+The managed local backend restarted and `/api/health` reported healthy.
+No production collector was replaced.
+
+Final Playwright proof used captured canonical resources at `/docker`, widths
+1920, 1440, 900 and 390 with height 1080. It exercised mount summary/title,
+keyboard row expansion/collapse, mobile row tapping, adjacent detail state,
+mount-destination search, Escape and reloaded search state. The existing wide
+mount column is truncated with a full title. Responsive details have no dedicated
+mount section. This is an existing presentation limitation, not full mobile
+mount inspection qualification. Assistant's complete mount evidence is readable
+at `/patrol`, 1440x1000, 900x1000 and 390x1000. Both actual query projections
+passed exact input/output comparison, hover/focus, keyboard expansion/collapse,
+deepest scrolling, controlled session reload and reopening retained records.
+Pixels were inspected on desktop and mobile. Source/binary hashes stayed fixed.
+The original autonomous refusal timestamp is unchanged.
+
+These browser fixtures qualify rendering of the corrected shared fields. They
+do not qualify an installed collector, actual model interpretation of tmpfs
+configuration, or durable backend persistence of those fixture sessions. The
+ordinary live diagnosis/recovery records above have real server persistence
+and retain their failed/partial judgments. Exact scoped hook and landing remain
+required. Required model/action qualification and independent environments are
+still open. The typed compatibility get path also does not accept the canonical
+ID returned by its list path, so its mount regression uses an existing accepted
+name. That identity residual is recorded for modernization, not silently fixed
+through this mount projection.
+
+## Canonical incident history, 2026-09-06
+
+The tmpfs correction passed the exact worker hook and was pushed as
+`6e18777d30f30b498def39d30016a697cabc4ea7` in PR #1935. That scoped
+delivery does not change the failed storage diagnosis or partial recovery verdict.
+
+The incident audit found a source-of-truth mismatch, not evidence that an existing
+recording merely needed an ID alias. The legacy five-second recorder has no
+production alert callback connected to its coordinator. It samples cached values
+using recorder time without preserving their source measurement time. Connecting
+that recorder would not supply trustworthy higher-frequency history.
+
+The canonical resource timeline already stores observed changes, alert lifecycle
+events and executed actions. Assistant handoffs use a bounded excerpt of this
+same store. The shared `pulse_knowledge` incidents action now reads that
+organization-pinned timeline directly, using the supplied canonical resource ID.
+It does not require the resource still to exist in current inventory, infer
+identity from names, include related resources implicitly, or reconstruct events
+from current metrics. The response preserves canonical source, observation and
+optional occurrence timestamps, state transitions and metadata. `since` filters
+on observation time, and bounded results report `has_more`. Empty retained history
+does not establish health. Missing or failed storage is a failed read.
+
+Explicit legacy `window_id` lookups remain isolated archive reads, must match the
+requested resource, and explain that sample timestamps do not establish source
+freshness. The primary incidents action no longer uses those recordings. The
+legacy recorder/coordinator startup and API active-count plumbing still exist.
+Their retirement is a separate cleanup in this redesign and must preserve any
+saved archives. Do not connect them as a replacement incident truth source.
+
+Qualification uses the real SQLite resource store with a fired/resolved lifecycle,
+an older excluded record, a related-resource negative control, absent occurrence
+time, truncation and empty history. Unavailable/failed storage, invalid input and
+archive resource isolation are separate negative controls. Captured actual tool
+responses must pass the Assistant expansion, scrolling and reload matrix at
+`/patrol`, 1440x1000, 900x1000 and 390x1000. This is contract and rendering proof,
+not a new real-model or continuous-coverage claim.
+
+Read-only API inspection of the actual removed storage fixture confirmed a
+remaining canonical write-boundary defect. The canonical app-container timeline
+returns its creation and removal, while the fired event at 13:14:28.59485Z and
+resolved event at 13:17:58.634095Z remain under its legacy Docker resource ID.
+The resource API includes related network changes by design. The new tool uses
+direct resource history only. `recordAlertTimelineChange` passes the alert's
+source ID directly to `BuildAlertTimelineChange`, and `MonitorAdapter.RecordChange`
+forwards it without canonical resolution. Consequently this read-path change is
+only partial incident-history remediation. The next required owning fix must
+resolve event identity before persistence and preserve access to retained prior
+identity records, including removed resources, through the shared identity/history
+contract. It must not add a Docker string rewrite inside the Assistant tool.
+The shared writer and retained-identity correction remain required in this goal.
+Private raw API receipts are in `tmp/patrol-canonical-history/live-timeline.json`
+and `live-legacy-alert-timeline.json`. No model call or infrastructure mutation
+was made during these reads.
+
+The history regression passes through the registered tool dispatcher. The full
+tools package passed in 59.856s, the final focused capture passed in 0.036s, and the
+focused race check passed in 1.189s on pulse-dev with Go1.26.8 and GOMAXPROCS4.
+The final Pro build passed and was installed into the local development stack.
+Its SHA256 is `4929aeb869db54122bc5525352d3126c0e9fa7c4847e3fdfa741500600b5e00d`.
+The managed backend restarted healthy. Final Playwright proof passed all five
+registered-tool cases at `/patrol`, 1440x1000, 900x1000 and 390x1000, including
+hover/focus, Enter/Space, deepest output scrolling, Escape and controlled session
+reload with exact input/output and success/failure comparison. Root inspected
+actual pixels at all three widths. Source and binary hashes remained fixed.
+The provider warning stayed visible and no retry, route switch or provider
+request was made. This is captured-response rendering, not real-model diagnosis
+or server persistence qualification. The exact scoped worker hook gates delivery
+through PR #1935.
+
+
+## Shared Docker history identity, 2026-09-06
+
+The preceding incident-read correction was pushed as
+`580a246981c76b401e9007f5ac65c89355b64c6d` in PR #1935. Its live retained
+records established the identity split addressed here.
+
+The canonical fix belongs to the shared monitor/store boundary. Exact full
+Docker container references resolve through current registry identity. Retained
+bindings survive inventory removal, and deterministic source-specific identities
+allow legacy records to be found after restart. Names and abbreviated IDs are
+not sufficient evidence. A small organization-scoped history alias index joins
+readable records without rewriting event IDs, timestamps or metadata. Existing
+canonical succession machinery was deliberately not used for these aliases
+because it also moves operator state and action indexes. History matching must
+not transfer authority. The alias index follows journal retention and separate
+store connections read fresh bindings.
+
+Focused regression and race proofs passed on pulse-dev with Go1.26.8 and
+GOMAXPROCS4. Full unifiedresources, monitoring and tools packages passed in
+37.826s, 79.866s and 59.584s. They cover real alert-manager callbacks, recovery
+after inventory removal, restart, replay, same-name controls, tenant isolation,
+unchanged operator/approval records and registered Assistant tool reads. Scoped
+history lookup measured 0.261–0.275ms with one alias and 0.317–0.336ms with
+20,000 unrelated aliases, at 6,280 bytes and 94 allocations per read. These are
+worker microbenchmarks, not fleet or frontend performance qualification.
+
+The verified worker Pro binary has SHA256
+`bb6d1508a5b4d23943c37dfc42198f132c0139805dcd1891ee18aca0a9f9dd54`.
+It was installed into the local development stack and restarted healthy. Both
+canonical and legacy timeline API queries now return the same seven retained
+records for the removed storage fixture, including the original fired/resolved
+records with exact unchanged content. The complete registered-tool rendering
+matrix passed at `/patrol`, 1440x1000, 900x1000 and 390x1000. Six captured cases
+include migrated history, bounded and empty results, and unavailable/failed
+reads. Hover/focus, Enter/Space, deepest scrolling, Escape and controlled-session
+reload preserved exact inputs, outputs and completed/failed states. Pixels were
+inspected at all three widths. Source and binary hashes remained fixed. Private
+receipts are `tmp/patrol-history-identity/browser/receipt.json` and
+`live-history-proof.json`. Controlled session responses qualify rendering, not
+server persistence or model diagnosis. The cached provider refusal remained
+unchanged. No model request or infrastructure fault was made. The exact scoped
+worker hook remains the delivery gate for PR #1935.
+
+This history correction does not qualify the failed ordinary storage diagnosis,
+partial recovery claim, installed tmpfs collector, autonomous provider, approved
+and rejected action outcomes, or independent Pro environments. The unused legacy
+recorder/coordinator still needs retirement with its archives preserved.
++
++
++The history identity change passed the exact thirteen-file worker hook and was
++pushed as `919331d5b3f6076f8616b07eb8e9ca611f26ee52` in PR #1935. Integration
++with main `11a8cc2180aae886ec7f92e2333002b57cf1b9a3` preserves both sides of
++three additive subsystem-contract conflicts. The host-ingestion auto-merge
++retains Docker observation corrections alongside incoming host-link provenance.
++Unrelated registry indentation was restored without changing its decoded data.
++
++The combined monitoring, unifiedresources, tools, config and models packages
++passed in 85.894s, 41.931s, 59.609s, 18.381s and 0.098s. Focused history,
++Assistant, host-link and lifecycle race checks passed. Frontend type checking
++and four alert suites passed all 42 tests. The incoming delivery-log component
++browser proof passed at 1440x900 and 390x900, including reordered success/failure,
++held events, pending state and newest failure. Pixels were inspected. This is
++scripted component proof, not installed notification delivery.
++
++The final merged-source Pro binary has SHA256
++`234f625cb74be3d300facfed1bb17b17e20c44c06037a1f8f4fffc1c4f49d621`.
++Its local restart was healthy. The complete six-case Assistant matrix was
++repeated at `/patrol`, 1440x1000, 900x1000 and 390x1000, with exact tool records,
++keyboard expansion/collapse, deep scrolling and controlled-session reload.
++Pixels and source/binary bindings were checked after this final build. Both
++actual removed-container timeline queries still return the same seven retained
++records with the original fired/resolved content. No model request, route
++switch, infrastructure fault or production collector replacement was made.
++The autonomous provider refusal remains enforced. Integration receipts are in
++`tmp/patrol-history-integration/`. The full integration hook gates its merge
++commit and push. All previously recorded model and wider-readiness gaps remain
++open.
diff --cc docs/release-control/v6/internal/status.json
index abd1e89123,bf404a895b..4c33faa3ae
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@@ -10201,7 -10201,7 +10201,7 @@@
},
{
"id": "patrol-assistant-customer-outcome-qualification",
- "summary": "The redesign goal remains open, with its executable plan and detailed receipts in docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md. Patrol owns investigation and Assistant continues the same issue. Observations, hypotheses, accepted proposals, execution and independently verified outcomes remain distinct. The recorded baseline contains 127 paid installations, 71 Patrol-enabled, 23 with Assistant calls and fourteen verified resolutions from one installation. Schema17 outcome/provider/cost fields had no adoption. These do not establish representative success, false-alarm or missed-problem rates. Shared provenance/history/risk fixes and removal of proposal-as-proof and proxy completion policy landed through PR1928/1929. PR1934 merged canonical tool/transcript identity. PR1935 contains measurement-presence, capacity, canonical config-read, command-connectivity and tmpfs collection/query corrections through 6e18777d30f30b498def39d30016a697cabc4ea7. Exact worker hooks and named browser matrices passed, with remote landing pending. Real ordinary storage diagnosis failed by ruling out pressure without filesystem capacity evidence. Same-session recovery correctly identified present health and alert resolution but overstated continuous control health. Independent fault-intact, recovery, two-pass cleanup and persisted transcript checks passed. The current incident history correction replaces the primary legacy recorder read with the existing organization-pinned canonical resource timeline, preserving source/time semantics, bounded history, empty coverage and failed-read distinctions. Explicit legacy archive reads remain resource-bound. Its registered-tool SQLite, full tools package, focused race and final-source browser proofs pass. The primary history read was pushed as 580a246 in PR1935. The shared monitor/store identity correction now joins exact full Docker references with canonical container history through an organization-scoped history-only alias index. Original event content and approval/operator authority remain unchanged. Callback, removal/restart, replay, tenant/control and registered-tool tests, full affected packages, race checks and scoped lookup benchmarks passed. Final worker-build API proof returns the same seven retained homelab records under canonical and legacy queries, preserving the original fired/resolved events exactly. Six-case Playwright proof at desktop/intermediate/mobile widths passed. The exact scoped worker hook gates this delivery through PR1935. The unused legacy recorder/coordinator startup needs retirement while preserving saved archives. Installed tmpfs collector and real-model interpretation remain unqualified. Other named residuals include unsupported filters, typed compatibility canonical-ID lookup, legacy direction availability, Docker-host history and responsive mount details. Claude Max explicitly refused autonomous Patrol readiness. Cached refusal and API409 enforcement remain enforced. Separate paid-provider approval is pending, with no paid request or policy bypass. Ordinary Assistant is not autonomous qualification. Required local work still includes reliable interpretation, config-read/model retest, storage/backup and approved/rejected action outcomes. Independent volunteered Pro environments remain a separate wider-readiness gate.",
- "summary": "The explicit Patrol/Assistant redesign goal, contract, execution plan and source-bound evidence remain in docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md. Model judgment owns diagnosis. Observations, hypotheses, proposals, executions and independently verified outcomes remain distinct. Assistant continues the same issue and governed action records. The recorded 2026-09-05 baseline has 127 paid installations, 71 with Patrol enabled and 23 with Assistant calls. Fourteen verified resolutions came from one installation. Schema 17 outcome/provider/cost fields had no adoption. Usage does not prove useful linked tasks or representative false-alarm, missed-problem or success rates. Shared risk, provenance, history, missing-access and diagnostic-continuity corrections have regression and named browser proof. Proposal promotion, duplicate causal inference, contextless evaluations and count-based diagnostic completion policy were removed. Independent Docker fault/oracle contracts qualify reproducible injection, negative controls and cleanup, not model competence or governed action outcomes. Integrated CI exposed retained-query performance, disk-probe ordering and route-label timing regressions. Their scoped corrections and qualification records landed through PR1928 and PR1929. PR1929 merged at cf98358c0eb46987a82def5776fa41db5f54210a with backend, frontend, benchmark, governance, CodeQL and all eight Core E2E shards passing. The current ordinary retained-history diagnosis still contradicts explicit temporal semantics and remains unqualified. Two additional read-only Assistant requests used claude-subscription:claude-opus-5 against run-owned containers on the monitored Tower host. The healthy request took 82.835s and seven tools, correctly recommending no action, but overstated absence of storage impact. The dependency request took 204.384s and sixteen tools with three failed reads. It identified the stopped dependency, preserved the missing command access and causal uncertainty, but overstated storage exclusion and recovery implications. Config reads incorrectly reported app-container not found after successful canonical gets. These single cases remain partial diagnosis evidence, not a qualification pass. The fixture deadline performed two-pass cleanup with unchanged original inventory. Post-answer fault readback and explicit recovery were not completed, so no action outcome is claimed. Captured responses exposed concurrent tool-ID merging, sibling approval removal and renderer mutation of shared evidence. The current scoped correction keeps supplied invocation IDs authoritative and stable message rows without deep transcript reconciliation. All 167 affected frontend tests pass. Final-source browser replay at /patrol, 1440/900/390x1000, preserves all seven and sixteen exact tool inputs/outputs. Controlled stream states verify concurrent progress, cancellation, failed completion and sibling approval retention without provider or infrastructure actions. Exact captures, failed reproductions, hashes and remaining limits are in the plan. This correction still requires its own scoped landing checks. Claude Max explicitly refused autonomous Patrol readiness. Cached refusal and API409 enforcement remain intact, with no bypass or repeated retry. Ordinary Assistant is not autonomous qualification. Approval for an alternate separately billed provider remains pending, and no paid request occurred. Reliable interpretation, the config-read contract, broader storage/backup and approved/rejected action outcomes remain required local work. Independent volunteered Pro environments remain a separate wider-readiness gate.",
++ "summary": "The redesign goal remains open, with its executable plan and detailed receipts in docs/qualification/PATROL_ASSISTANT_CUSTOMER_JOURNEY.md. Patrol owns investigation and Assistant continues the same issue. Observations, hypotheses, accepted proposals, execution and independently verified outcomes remain distinct. The recorded baseline contains 127 paid installations, 71 Patrol-enabled, 23 with Assistant calls and fourteen verified resolutions from one installation. Schema17 outcome/provider/cost fields had no adoption. These do not establish representative success, false-alarm or missed-problem rates. Shared provenance/history/risk fixes and removal of proposal-as-proof and proxy completion policy landed through PR1928/1929. PR1934 merged canonical tool/transcript identity. PR1935 contains measurement-presence, capacity, canonical config-read, command-connectivity and tmpfs collection/query corrections through 6e18777d30f30b498def39d30016a697cabc4ea7. Exact worker hooks and named browser matrices passed, with remote landing pending. Real ordinary storage diagnosis failed by ruling out pressure without filesystem capacity evidence. Same-session recovery correctly identified present health and alert resolution but overstated continuous control health. Independent fault-intact, recovery, two-pass cleanup and persisted transcript checks passed. The current incident history correction replaces the primary legacy recorder read with the existing organization-pinned canonical resource timeline, preserving source/time semantics, bounded history, empty coverage and failed-read distinctions. Explicit legacy archive reads remain resource-bound. Its registered-tool SQLite, full tools package, focused race and final-source browser proofs pass. The primary history read was pushed as 580a246 in PR1935. The shared monitor/store identity correction now joins exact full Docker references with canonical container history through an organization-scoped history-only alias index. Original event content and approval/operator authority remain unchanged. Callback, removal/restart, replay, tenant/control and registered-tool tests, full affected packages, race checks and scoped lookup benchmarks passed. Final worker-build API proof returns the same seven retained homelab records under canonical and legacy queries, preserving the original fired/resolved events exactly. Six-case Playwright proof at desktop/intermediate/mobile widths passed. The exact thirteen-file worker hook passed and 919331d5 was pushed through PR1935. Integration with main 11a8cc2180 preserves both contract changes and passes affected backend, race, frontend and final-build browser/API proofs. The full integration hook gates the merge commit. The unused legacy recorder/coordinator startup needs retirement while preserving saved archives. Installed tmpfs collector and real-model interpretation remain unqualified. Other named residuals include unsupported filters, typed compatibility canonical-ID lookup, legacy direction availability, Docker-host history and responsive mount details. Claude Max explicitly refused autonomous Patrol readiness. Cached refusal and API409 enforcement remain enforced. Separate paid-provider approval is pending, with no paid request or policy bypass. Ordinary Assistant is not autonomous qualification. Required local work still includes reliable interpretation, config-read/model retest, storage/backup and approved/rejected action outcomes. Independent volunteered Pro environments remain a separate wider-readiness gate.",
"owner": "project-owner",
"status": "planned",
"recorded_at": "2026-09-05",
diff --cc docs/release-control/v6/internal/subsystems/agent-lifecycle.md
index b99bc49c68,1f47be0f27..6ff13db8a1
--- a/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
+++ b/docs/release-control/v6/internal/subsystems/agent-lifecycle.md
@@@ -15,17 -15,26 +15,37 @@@
## Purpose
+Docker mount reports include tmpfs configuration from `HostConfig.Tmpfs`
+through the existing optional mount array. This adds collection evidence only.
+It does not change admission, enrollment, execution permissions or agent
+lifecycle authority. Existing agents continue to report their existing mount
+coverage. Deploying an updated collector is a separate installed-path proof.
+
+Docker block-I/O report presence fields are optional measurement metadata.
+They preserve zero and omitted directions independently without changing report
+admission, enrollment, identity, command permission or agent lifecycle state.
+Older agents remain accepted, with ambiguous omitted zero counters unavailable.
+
+ ### Automatic PVE association identity boundary
+
+ Host ingestion must not create a host-to-PVE or reciprocal PVE-to-agent link
+ solely from a shared host-local network address. Uniqueness among monitored
+ PVE nodes does not establish uniqueness across unrelated agent hosts.
+ Automatic network evidence excludes loopback, unspecified, multicast and
+ link-local IPs, interfaces named lo or prefixed docker, and Docker-generated
+ bridge names matching `br-` plus a 12-character hexadecimal network ID. Other
+ bridge names remain eligible because they may carry management traffic. This
+ changes association evidence only: enrollment, token binding, removal,
+ re-enrollment and command authority remain unchanged. It does not migrate or
+ repair persisted incorrect links.
+
+ Verification: `TestApplyHostReportDoesNotLinkUnrelatedDockerBridge` in
+ `internal/monitoring/monitor_host_agents_test.go` ingests repeated synthetic
+ NAS reports and requires both association directions to remain absent.
+ The adjacent matcher and filtering tests exercise host-local rejection and
+ retained management-address evidence. These are local fixture proofs, not
+ reporter confirmation of #1930 or installed lifecycle qualification.
+
The internal Patrol request bridge carries explicit execution limits and
capability allowlists without a diagnostic report-count budget. Finding writes
retain their server-owned scope and cannot enter or satisfy the infrastructure
diff --cc docs/release-control/v6/internal/subsystems/frontend-primitives.md
index cf6628297f,47f916c668..df846828dc
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@@ -20,14 -20,18 +20,26 @@@
## Purpose
+Disk I/O presentation preserves each observed direction independently. Shared
+formatting renders a missing rate as a dash and measured idle as numeric zero.
+Partial observations cannot form a complete throughput total for sorting or
+comparison. Machines column preferences must preserve an explicit user choice
+across the first reload, including default-hidden migrations. Final-source
+browser proof covers Docker host details, Machines column selection and tooltip
+focus/dismissal at desktop, intermediate and narrow widths.
+
+ The Destinations delivery-log state primitive assigns a generation to each
+ refresh and rejects stale completions before updating rows, unavailable state
+ or loading state. Held-event reads share that generation without blocking the
+ attempt-log spinner. Cleanup prevents abandoned requests from updating state
+ and makes subsequent calls through the disposed loader inert; it does not
+ cancel transport requests. Latest-request failure remains unavailable rather
+ than being concealed by an older successful response.
+ Verification combines the hook's ordinary race/disposal tests, registered
+ mount/Retry integration, and `scripts/check-delivery-log-ordering.mjs` Chromium
+ content assertions at desktop and narrow widths. This is component-level
+ presentation proof with scripted APIs, not full-tab or installed qualification.
+
The shared delivery-health card wraps action groups according to available
space, retaining readable explanation width when Review, Retry, Dismiss and
Refresh appear together. Its heading uses the opaque semantic foreground,
diff --cc docs/release-control/v6/internal/subsystems/monitoring.md
index 93a73e38d0,b0511eb280..7d242a91b9
--- a/docs/release-control/v6/internal/subsystems/monitoring.md
+++ b/docs/release-control/v6/internal/subsystems/monitoring.md
@@@ -17,28 -17,98 +17,120 @@@
## Purpose
+Docker mount collection preserves both native `Mounts` records and entries
+reported only in `HostConfig.Tmpfs`. Existing reported destinations remain
+authoritative. Additional tmpfs destinations are ordered deterministically,
+retain their options and read/write setting, and use the existing mount report
+shape. Configured tmpfs size is configuration, not measured used/free space.
+`TestCollectContainerPreservesTmpfsMounts` reproduces a live tmpfs-only inspect
+shape and covers mixed mounts, read-only options, overlap and absent host config.
+
+Docker collection records read and write counter presence independently,
+including explicit zero, in optional report fields. Older reports without those
+fields establish only positive counters. Container reports propagate this
+presence to the shared rate tracker. An omitted block-I/O payload and the first counter sample
+produce no rate history. Unchanged observed counters produce measured zero,
+including after an omitted report. Container writable/root layer sizes never
+produce capacity usage history. The ingestion regression is
+`internal/monitoring/docker_metric_presence_test.go`. This changes measurement
+projection only and grants no agent lifecycle authority.
+The shared resource-to-browser conversion preserves each optional I/O rate
+independently. Missing directions are omitted from JSON, while measured zero
+remains numeric zero. No aggregate presence flag may fabricate its sibling
+direction. `TestResourceDiskIOWirePreservesAbsentDirection` pins that wire path.
+
+ ### PBS datastore alert evaluation belongs to the live poll
+
+ After publishing freshly polled PBS datastore storage rows, the poller invokes
+ the existing storage alert evaluator with capacity-trend evidence. It must not
+ depend on mock ticks or unified metric evaluation: that path does not evaluate
+ PBS storage thresholds. Existing storage policy, aliases, suppression and
+ connectivity semantics remain alerts-owned; this wiring adds no new policy.
+
+ Absent or partial capacity counters must not resolve an existing usage
+ incident. Explicit empty-store counters (positive total, zero used, free equal
+ to total) may recover it. Repeated polls and subsequent unified alert sync must
+ preserve the usage incident identity, including recurrence with alternate PBS
+ counter names. Independent backup-posture incidents remain separate.
+
+ Verification: `TestPBSPolledCapacityRequiresObservedRecovery` in
+ `internal/monitoring/monitor_pbs_coverage_test.go` crosses synthetic HTTP
+ decoding, live polling and unified sync. It checks an 80% threshold at 85%,
+ missing counter retention, confirmed-empty recovery and 86% recurrence with an
+ explicit one-point minimum delta. This is local capacity-path evidence, not
+ installed recipient receipt, restart qualification or exhaustive connectivity
+ validation.
+
+ ### Host-local addresses are not PVE identity
+
+ Automatic host/PVE network matching excludes non-global-unicast addresses,
+ lo/docker* interfaces and Docker-generated `br-` plus 12-hex-character bridge
+ names from both reported-host and provider-node address inventories. A Docker
+ bridge address seen on only one PVE node can still exist on an unrelated NAS;
+ provider-only owner counts cannot make it machine identity. Management bridges
+ such as vmbr0 and br-mgmt, unnamed legacy interfaces, private IPv4 and IPv6/ULA
+ remain eligible. Explicit unicast report-IP hints remain eligible independently
+ of inferred interface evidence. No blanket private-subnet exclusion is
+ permitted.
+
+ Verification in `internal/monitoring/monitor_host_agents_test.go`:
+ `TestFindLinkedProxmoxEntityWithHints_RejectsHostLocalNetworkIdentity` covers
+ seven previously false associations; `TestAgentLinkNetworkIdentityFiltering`
+ pins both-side exclusions and positive management controls;
+ `TestApplyHostReportDoesNotLinkUnrelatedDockerBridge` requires repeated
+ ingestion to leave both link directions absent. Existing endpoint and
+ ambiguous-name tests remain required. These checks prevent a reproduced
+ synthetic misassociation, not all private-address collisions or unknown
+ custom bridge names, and do not prove the cause of #1930.
+
+ ### Host/node associations retain durable operator intent
+
+ Monitoring owns the provenance used to distinguish an operator selection from
+ an automatic association. The host continuity journal records `manual`,
+ `unlinked` or `automatic`; an absent value is legacy/unknown, not evidence that
+ the link was automatic. This internal provenance does not add a public API or
+ frontend field.
+
+ The existing link/unlink APIs hold the host lifecycle write lock and persist
+ the complete affected intent transaction under the state lock before publishing
+ either direction of the association. Missing storage or a failed journal write
+ must return an error without changing visible links or the journal's in-memory
+ entries. Replacing a node's owner persists the displaced owner's explicit unlink
+ too, including an owner which has not yet reconnected after restart. Link writes
+ preserve identity, report watermarks, credential and removal evidence.
+
+ A manual selection remains pinned to the selected provider ID through unmatched
+ reports, provider refresh and restart before another report. A replacement
+ provider ID must not inherit that selection by name: intent remains dormant
+ until the original ID returns or the operator explicitly selects another ID.
+ The persisted reservation prevents another host's automatic match taking that
+ node before its owner reconnects. Explicit unlink survives restart and suppresses
+ automatic node reassociation even when the next report supplies matching evidence.
+
+ Automatic name matching uses the provider's node name, never the display name
+ merged from an already-linked agent. Known automatic associations may be
+ re-evaluated and cleared; provenance-bearing host updates remove obsolete
+ reverse links without clearing another agent's link. Unmarked legacy forward
+ links are retained during report ingestion, and unmarked one-way reverse links
+ must survive host updates because SMART fallback also consumes them. Legacy
+ provider reconciliation otherwise keeps its existing behaviour. This deliberately
+ does not claim to repair every persisted v6.4.1 association or resolve #1930.
+
+ Verification:
+ - `internal/monitoring/host_manual_link_regression_test.go` covers immediate
+ restart, explicit unlink with positive matching evidence, provider-ID
+ replacement/return, failed writes, automatic versus unknown provenance,
+ dormant reservations and concurrent reports/provider refresh.
+ - `internal/config/host_continuity_test.go` pins journal preservation and
+ replacement of a dormant owner.
+ - `internal/models/state_additional_test.go` pins transaction rollback,
+ obsolete reverse-link cleanup and retention of unknown legacy reverse links.
+ - `TestMaybePollPhysicalDisksAsync_AgentFallbackWhenDiskQueryFails` in
+ `internal/monitoring/monitor_pve_disk_fallback_test.go` remains required:
+ association cleanup must not remove the one-way link used by SMART fallback.
+
+ ### Physical-disk observation cadence
+
Physical disk inventory has an independent collector schedule. The PVE poller
carries its default five-minute or configured interval with each disk record,
while keeping the last successful observation timestamp on retained records.
@@@ -87,22 -157,13 +179,22 @@@ existing cache policy. The legacy untyp
Retaining cached inventory does not establish a successful poll or fresh
backup evidence.
+ Verification: `TestPollPBSBackups_PreservesCacheOnTransientDatastoreError` and
+ `TestPollPBSBackups_DropsStaleCacheOnTerminalDatastoreError` in
+ `internal/monitoring/monitor_backups_readstate_test.go` exercise actual HTTP
+ fixtures for 500, 502 quoting 403, 503 quoting 404, and genuine 401/403/404.
+ These tests prove cache retention/removal, not installed PBS wake, service
+ restart, or notification receipt.
+
+Docker alert lifecycle events pass through the shared resource history identity
+writer. A full Docker source reference must reach the same canonical container
+history as inventory changes, including recovery after inventory removal and
+restart. Existing alert lifecycle event IDs remain unchanged so replay cannot
+duplicate retained events. Same-name containers and abbreviated IDs must not
+join another container's history. The real alert-manager callback path is
+covered by `TestDockerAlertTimelineUsesCanonicalHistoryIdentity` in
+`internal/monitoring/monitor_alert_handling_test.go`.
+
- Verification: `TestPollPBSBackups_PreservesCacheOnTransientDatastoreError` and
- `TestPollPBSBackups_DropsStaleCacheOnTerminalDatastoreError` in
- `internal/monitoring/monitor_backups_readstate_test.go` exercise actual HTTP
- fixtures for 500, 502 quoting 403, 503 quoting 404, and genuine 401/403/404.
- These tests prove cache retention/removal, not installed PBS wake, service
- restart, or notification receipt.
-
TrueNAS native alert projection preserves the trimmed, uppercase provider level in ResourceIncident.NativeSeverity. INFO and NOTICE retain the same canonical monitor risk; consumers must not lose their distinct actionability when projecting provider evidence. Native CRITICAL, ALERT, and EMERGENCY all project to canonical critical severity; EMERGENCY must not be discarded as unknown or make a still-active condition appear recovered. WARNING remains warning, and INFO and NOTICE remain informational at this projection boundary.
Verification: `TestIncidentProjectionPreservesNativeSeverity` in `internal/truenas/provider_pool_health_contract_test.go` covers all seven native levels and case/whitespace normalization. `TestTrueNASNativeSeverityDispatch` in `internal/alerts/truenas_native_dispatch_test.go` verifies downstream INFO suppression, NOTICE preservation, notification severity, duplicate-poll retention, and confirmed recovery callback identity. The TrueNAS lifecycle tests in `internal/alerts/unified_incidents_test.go` require repeated EMERGENCY evidence to interrupt recovery confirmation. These are fixture-based projection and manager checks, not appliance ingestion or external notification-provider receipt proof.
diff --cc frontend-modern/browser-verification.json
index 293c6f6c27,a942fbaa71..c9ddf6dc69
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@@ -1,25 -1,18 +1,35 @@@
{
"version": 1,
- "base_sha": "580a246981c76b401e9007f5ac65c89355b64c6d",
- "verified_at": "2026-09-06T15:06:56.468Z",
- "base_sha": "9b4fa52d84e6196108e961ccba2b317df497268b",
- "verified_at": "2026-09-06T10:15:18.709765Z",
++ "base_sha": "919331d5b3f6076f8616b07eb8e9ca611f26ee52",
++ "verified_at": "2026-09-06T15:39:31.729Z",
"result": "passed",
- "changed_paths": [],
- "content_sha256": {},
+ "changed_paths": [
- "frontend-modern/src/components/AI/Chat/ChatMessages.tsx",
- "frontend-modern/src/components/AI/Chat/hooks/useChat.ts"
++ "frontend-modern/src/features/alerts/useNotificationDeliveryLog.ts"
+ ],
+ "content_sha256": {
++ "frontend-modern/src/features/alerts/useNotificationDeliveryLog.ts": "be919497714d749fcbe9a48a325aa82282b7afa8d6866d84eb1cc09ab52c14a6"
++ },
+ "backend_content_sha256": {
++ "internal/ai/tools/executor.go": "c476d6aec1f7925467f1547f0219e6c6265639a62b397649adc82a8ed87b7e4a",
++ "internal/ai/tools/tools_knowledge.go": "d98ea1bab481acce5eee4988d74d364dc73c4068ca33725d843b54117cc9cc85",
++ "internal/config/host_continuity.go": "641e7593d1581d6e230c76fd7845b06e648ce24f94b3def6291ec4a38f505259",
++ "internal/models/models.go": "39684f7535cece1a635648c521cc5057a5ddac764dc6e6ae332eb4287ade9e71",
++ "internal/monitoring/monitor_agents.go": "52291b9f8521d5794f464147ea61990be654bfc19b9b5da35b6adaf02fdf70e5",
++ "internal/monitoring/monitor_pbs_pmg.go": "a1986a20cf8c535a13b87ff2d5cbff730df89b74253262b96793d3c44edbf2f7",
+ "internal/unifiedresources/history_identity.go": "3934ac49acce29b16dd671769719112208be053a8658c678f798645a6a38395d",
+ "internal/unifiedresources/monitor_adapter.go": "5b51089bac8e85e7c776956c17471599ec15add4e5e8502cd8687c4f788fcdb1",
- "internal/unifiedresources/store.go": "018176a4762b06adf52c78128f8351ca93819cbfa10bf2242535fef3d7c59191",
- "internal/ai/tools/tools_knowledge.go": "d98ea1bab481acce5eee4988d74d364dc73c4068ca33725d843b54117cc9cc85",
- "internal/ai/tools/executor.go": "c476d6aec1f7925467f1547f0219e6c6265639a62b397649adc82a8ed87b7e4a"
++ "internal/unifiedresources/store.go": "018176a4762b06adf52c78128f8351ca93819cbfa10bf2242535fef3d7c59191"
+ },
- "binary_sha256": "bb6d1508a5b4d23943c37dfc42198f132c0139805dcd1891ee18aca0a9f9dd54",
++ "binary_sha256": "234f625cb74be3d300facfed1bb17b17e20c44c06037a1f8f4fffc1c4f49d621",
+ "rendering_content_sha256": {
+ "frontend-modern/src/components/AI/Chat/hooks/useChat.ts": "0b56b7a56e35d51ca96f0e126dd493b3164aa9e0ad4d8ae24bcf3af7a574b97c",
"frontend-modern/src/components/AI/Chat/ChatMessages.tsx": "9672f7608d1e3a531c73cba20fd4a78752316783212afd0c292ddfd11d2bf371",
- "frontend-modern/src/components/AI/Chat/ToolExecutionBlock.tsx": "cc7bd548a418c3863486f0fe987c5c3110c2f6cdfa70b630b2ec05fb794d60d6"
- "frontend-modern/src/components/AI/Chat/hooks/useChat.ts": "0b56b7a56e35d51ca96f0e126dd493b3164aa9e0ad4d8ae24bcf3af7a574b97c"
++ "frontend-modern/src/components/AI/Chat/ToolExecutionBlock.tsx": "cc7bd548a418c3863486f0fe987c5c3110c2f6cdfa70b630b2ec05fb794d60d6",
++ "frontend-modern/src/features/alerts/useNotificationDeliveryLog.ts": "be919497714d749fcbe9a48a325aa82282b7afa8d6866d84eb1cc09ab52c14a6"
},
"routes": [
-- "/patrol"
++ "/patrol",
++ "http://127.0.0.1:5197/qualification (isolated delivery-log component)"
],
"viewports": [
{
@@@ -33,16 -26,15 +43,26 @@@
{
"width": 390,
"height": 1000
++ },
++ {
++ "width": 1440,
++ "height": 900
++ },
++ {
++ "width": 390,
++ "height": 900
}
],
"states": [
- "Captured healthy and dependency Assistant responses replayed without provider calls. All 7 and 16 terminal tool records retain exact inputs, outputs and distinct rows. Success, failed NO_AGENT and unsupported config results inspected.",
- "Controlled stream: concurrent same-name calls, repeated starts, progress, two separate approval cards, sibling completion, canceled call and failed completion. No real action was attempted.",
- "Restored persisted healthy and dependency sessions retain original prompts and evidence. Artificial route warning reflects blocked non-GET readiness checks, not route qualification."
+ "Six captured registered-tool results: migrated legacy Docker fired event plus canonical recovery, retained lifecycle, bounded history, empty history, unavailable store and failed read.",
+ "Exact event IDs, original resource references, observation/occurrence times and source metadata survive expansion. Empty coverage and failed tool states remain distinct.",
- "Actual removed homelab container canonical and legacy timeline APIs return the same seven records, preserving both previously captured fired/resolved records exactly. Provider refusal remains enforced."
++ "Actual removed homelab container canonical and legacy timeline APIs return the same seven records, preserving both previously captured fired/resolved records exactly. Provider refusal remains enforced.",
++ "Incoming delivery-log integration: latest evidence survives older success/failure, held-event requests do not hold the attempt spinner, newest pending work remains pending, and latest failure stays unavailable."
],
"interactions": [
- "Hover, focus, Enter/Space expand and collapse, scroll expanded output to its end, Escape, reload and select the original persisted session. Tool details and wrapping inspected at desktop, intermediate and narrow widths.",
- "Private evidence: /Volumes/Development/pulse/tmp/patrol-assistant-lab-readiness/identity-verified-healthy, identity-verified-fault and identity-states. Baseline reproductions retained in identity-before-fault and failed focused regressions."
+ "Hover/focus, Enter expansion, exact input/output comparison, deepest scrolling, Space collapse and Escape at /patrol, 1440x1000, 900x1000 and 390x1000. Actual pixels inspected at all three widths.",
+ "Full reload, controlled session selection, reopening all six results and exact retained input/output and completed/failed comparison.",
- "Final verified worker Pro build installed locally and restarted healthy. Source/binary hashes fixed before and after. Private proof: tmp/patrol-history-identity/browser/receipt.json and live-history-proof.json. Captured tool/session rendering does not qualify real-model diagnosis or server persistence. No provider call or fault injection."
++ "Final merged-source worker Pro build installed locally and restarted healthy. Source/binary hashes fixed before and after. Private proof: tmp/patrol-history-integration/browser/receipt.json and live-history-proof.json. Captured tool/session rendering does not qualify real-model diagnosis or server persistence. No provider call or fault injection.",
++ "Incoming delivery component at 1440x900 and 390x900: Configuration Retry, delayed old/new attempt and held responses, enabled/disabled refresh state, failure state and pixel inspection. scripts/check-delivery-log-ordering.mjs passed with scripted APIs. This is not full-tab, installed service or external notification qualification."
]
}