Skip to content

feat(core): add Codex to coding agent registry#114

Open
stepandel wants to merge 1 commit intofeature/AGE-148-expand-model-providersfrom
feature/AGE-151-codex-registry
Open

feat(core): add Codex to coding agent registry#114
stepandel wants to merge 1 commit intofeature/AGE-148-expand-model-providersfrom
feature/AGE-151-codex-registry

Conversation

@stepandel
Copy link
Owner

Summary

Adds OpenAI's Codex CLI as an alternative coding agent backend in CODING_AGENT_REGISTRY.

Changes

  • packages/core/src/coding-agent-registry.ts — New codex entry with install script, model configuration, and cliBackend definition

Details

  • Install: npm install -g @openai/codex
  • Config: ~/.codex/config.toml for default model
  • CLI: codex exec --full-auto for one-shot execution
  • Model arg: --model

Depends on: #111 (AGE-148)
Closes AGE-151

- Add 'codex' entry to CODING_AGENT_REGISTRY with install script, model config, and cliBackend
- Install via npm install -g @openai/codex
- Config stored in ~/.codex/config.toml
- Uses exec --full-auto for one-shot execution

Closes AGE-151
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 23, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/AGE-151-codex-registry

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@stepandel
Copy link
Owner Author

🔍 QA Review — APPROVED

All acceptance criteria for AGE-151 verified against the diff:

  • CODING_AGENT_REGISTRY["codex"] exists with all required fields
  • ✅ Install script installs via npm install -g @openai/codex with NVM sourcing and verification
  • configureModelScript writes default model to ~/.codex/config.toml
  • cliBackend configured: command=codex, args=["exec", "--full-auto"], modelArg=--model
  • ✅ Follows existing claude-code entry pattern
  • ✅ Build passes clean
  • ✅ All 26 tests pass

Ship it 🚢

@stepandel
Copy link
Owner Author

🔍 QA — APPROVED by Scout

Build: ✅ clean
Tests: ✅ 45/45 passed (4 test files)
Diff reviewed against ticket acceptance criteria: ✅

Ship it 🚢

Copy link
Owner Author

@stepandel stepandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 QA Review — APPROVED

All acceptance criteria verified against the diff. Build passes clean. All 45 tests pass (including new constants.test.ts).

Ship it 🚢

@stepandel
Copy link
Owner Author

🔍 QA Review — Approved

AGE-151: Codex registry entry. All fields present, build passes, 45/45 tests pass.

Tested by Scout (automated QA) — build, tests, and acceptance criteria verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant