Codex is OpenAI’s coding-agent CLI. Coven wraps it in a project-rooted PTY so launches, attaches, and rituals work the same as for any other harness.Documentation Index
Fetch the complete documentation index at: https://docs.opencoven.ai/llms.txt
Use this file to discover all available pages before exploring further.
| Field | Value |
|---|---|
| Harness id | codex |
| Install | npm install -g @openai/codex |
| Auth | codex login (one-time, OpenAI side) |
| Doctor check | coven doctor reports the resolved Codex path and version. |
Setup
Install Codex
Per-session flags
--cwd— canonicalized inside the project root.--title— sets a readable title in the session browser.--json— print structured launch metadata for clients.
Provider auth boundary
Codex owns its own OAuth flow and token cache. If you seeInvalidated OAuth token, run codex login again. Coven will keep the existing session record so you can re-launch with the same title.
For the local rescue path:
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
coven doctor reports codex missing | Codex not on PATH | npm install -g @openai/codex, then re-run doctor. |
| Codex prompts for login each run | Stale token | codex login. |
| Session hangs at start | Codex waiting on TTY prompt | Detach with Ctrl-], re-launch with coven run directly. |