Skip to main content

open_validation_window

Function open_validation_window 

Source
pub async fn open_validation_window(
    project_root: &Path,
    explicit_session_id: Option<&str>,
) -> Result<(), String>
Expand description

Send a ValidationWindowStart event to the server, recording the current timestamp as the start of the validation window for this session.

Only the most recent call per session matters — calling this again simply moves the window cursor forward, discarding events from the previous window.

explicit_session_id — when Some, targets that session directly. When None, the most recently modified session directory is used (suitable for single-agent setups; pass --session-id in multi-agent setups).