codex exec — Codex 의 print 모드
codex exec 가 non-interactive entry point. Prompt in (arg 또는 stdin), output stdout, exit. 모든 CLI 가 ship 하는 같은 모드, 다른 이름; Codex 에선 exec.
Output flag: --output-last-message (최종 답만, pipe 에 ideal), --output-format text|json|markdown. 도구 제약: Codex 가 active sandbox + approval mode 상속 → CI invocation 이 둘 다 --sandbox 와 --ask-for-approval 로 핀.