pub(crate) fn check_fresh(
state: &AppState,
def_id: &str,
handoff: &str,
) -> Result<(), String>Expand description
What a fresh session on a model change needs, checked before anything is changed: a handoff within the limit, and every
pane of the agent able to start a fresh session (the test Agents fresh applies to its own pane).