pub fn read_session_state(
filestore: &FileStore,
definition_id: &str,
) -> Result<(Option<String>, Option<i64>), String>Expand description
Read output.state.json from agent:<defId>:current. Returns
Ok((None, None)) when the zone doesn’t exist — that’s the
“fresh agent, nothing to restore” path and is NOT an error.