Skip to main content

Module dock_snapshot

Module dock_snapshot 

Source
Expand description

In-memory, latest-per-block cache of Activity Dock ToolNode status deltas, pushed from the frontend as they happen. Backs muxspect dock (read) and muxspect dock clear (write).

See docs/specs/SPEC_MUXSPECT_DOCK_DIAGNOSIS_AND_REMEDIATION_2026_08_06.md §3.1. Never persisted — this mirrors the dock’s own nature: if no renderer is currently attached to a block, there is nothing live to report, and losing this cache on restart is correct, not a bug.

Structs§

DockNodeSnapshot
One ToolNode’s last-known status, as reported by the renderer that owns it. observed_at is stamped on receipt by the server (not trusted from the client) so muxspect dock’s age computation is consistent even if the renderer’s clock is skewed.
DockSnapshotCache