cce init is not generating anything for codex
I have claude and codex installed, ~/.codex exist and works perfectly on it's own. Running cce init didn't generate anything codex related nor changes any codex config. Codex itself couldn't fix this issue.
✓ Git hooks installed (3 hooks, auto-updates on commit)
✓ MCP server registered in .mcp.json
✓ CLAUDE.md created with CCE instructions
✓ SessionStart hook installed for CCE status
✓ Memory hooks installed (5 hooks: SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd)
· Memory capture not yet active — `cce serve` hasn't been started for this project.
Run `cce serve` in a separate terminal so the loopback hook server starts;
until it's running, hooks fire successfully but capture is silently dropped.
Verify any time with `cce sessions status`.
✓ .gitignore updated with CCE entries
Indexing project...
Download complete: : 67.2MB [00:14, 4.60MB/s]iles 24%
██████████████████████████████ 415/415 files 100%
Embedding 1,483 chunks (CPU-bound, can take several minutes on large repos)…
██████████████████████████████ 1483/1483 chunks embedded 100%
Writing 1,483 chunks to vector + FTS + graph index…
✓ Indexed 1,483 chunks from 415 files
Done! Restart Claude Code to activate CCE.
Fix shipped — opened PR #26.
Root cause: cce init was looking for <project>/.codex/ to detect Codex, but Codex CLI's MCP config lives at ~/.codex/config.toml (user-global, not per-project). Your normal install matched neither marker, so cce init silently skipped Codex.
The PR:
- Detects Codex via
~/.codex/(where it actually lives) - Writes to
~/.codex/config.tomlso Codex actually reads it - Uses a per-project section name
[mcp_servers.cce-<project>-<hash>]so multiple projects can coexist in the one shared file (runningcce initin project B won't overwrite project A's registration) - Symmetric uninstall —
cce uninstallin this project removes only this project's section, leaves others alone
After the PR lands, running cce init in your project should print:
✓ MCP server registered for OpenAI Codex
~/.codex/config.toml → [mcp_servers.cce-<your-project>-<hash>]
Restart Codex and CCE should be available.
If you currently have a stale <your-project>/.codex/config.toml from the previous broken behavior, you can safely delete it — Codex never read that file.
Thanks for the clear repro, made this straightforward to track down.