Ask the user to specify the reasoning effort (`xhigh`, `high`, `medium`, or `low`).
Determine the appropriate sandbox mode (`read-only`, `workspace-write`, or `danger-full-access`).
Assemble the Codex CLI command with the necessary flags and options, including `--skip-git-repo-check` and `2>/dev/null`.
Execute the Codex CLI command.
Capture and filter the output (stdout/stderr).
Summarize the outcome for the user.
Inform the user how to resume the session.