Troubleshooting guide
NSOSStatusErrorDomain -10661 in Codex App on Intel Mac
If you are seeing NSOSStatusErrorDomain -10661, the issue is usually not random.
On Intel Mac, this error often shows up when the desktop app path and the machine architecture do not line up.
Do not keep guessing. Work out what the error means first, then choose the next step that fits your machine.