pub fn dispatch_codex_ask(
home: &AgentsHome,
name: &str,
message: &str,
from_name: &str,
_cwd: &Path,
yolo: bool,
timeout: Option<Duration>,
) -> AskOutcomeExpand description
Orchestrate one codex ask: validate, lock, decide create-vs-resume,
stamp the registry, emit events, and return stdout/stderr/exit_code.
extra_env is unused for codex (codex inherits the process env directly);
the parameter exists for API symmetry with dispatch_claude_ask.