while this points it out, i'll show you what I had in place:
~/.codex/config.toml
[features] daemon_auto_start = false
codex() { command codex --no-daemon "${@:-.}" }