pub async fn prepare_execute(
repo: &dyn SessionAccess,
config: ExecutionConfigSnapshot,
input: ExecuteInput,
) -> Result<ExecutePreparationOutcome, ExecutePreparationError>Expand description
Prepare an execute: load session, resolve model/reasoning, validate, update metadata, return outcome.
The caller (handler) is responsible for runner reservation and agent spawning based on the returned outcome.