Supervisor

The Supervisor coordinates asynchronous observing state updates originating from multiple CSP subsystems (e.g. CBF, PSS, PST) and determines when it is safe to publish a new aggregated observing state for the CSP device.

Each subsystem reports its observing state independently and asynchronously. The Supervisor mediates these updates, ensuring that state transitions are evaluated only when the overall system view is sufficiently stable.

It implements a debouncing pattern: observing state changes are published only after they remain stable for a configurable time window, or when a maximum latency threshold is reached, preventing indefinite delays in state propagation.

The following sections describe this mechanism in more detail.