Skip to content

Customisation for Codex CLI - Features from Claude Code and OpenCode#336

Draft
TGreen87 wants to merge 4 commits intoaffaan-m:mainfrom
TGreen87:main
Draft

Customisation for Codex CLI - Features from Claude Code and OpenCode#336
TGreen87 wants to merge 4 commits intoaffaan-m:mainfrom
TGreen87:main

Conversation

@TGreen87
Copy link

@TGreen87 TGreen87 commented Mar 5, 2026

Description

Type of Change

  • fix: Bug fix
  • feat: New feature
  • refactor: Code refactoring
  • docs: Documentation
  • test: Tests
  • chore: Maintenance/tooling
  • ci: CI/CD changes

Checklist

  • Tests pass locally (node tests/run-all.js)
  • Validation scripts pass
  • Follows conventional commits format
  • Updated relevant documentation

Summary by cubic

Adds ECC tooling to Codex CLI: global git safety hooks, a sync script that populates ~/.codex with ECC agents/skills/prompts, and MCP servers switched to pnpm dlx for more reliable startup. Improves developer safety, QA workflows, and makes setups consistent.

  • New Features

    • Pre-commit secret scanner to block high-signal secrets.
    • Pre-push verifier for lint, typecheck, test, build, plus optional audit.
    • Installer for global git hooks via core.hooksPath.
    • ECC sync script to backup and update ~/.codex (AGENTS, skills, command prompts, QA tool prompts, optional language rule packs) and normalize MCP config to pnpm.
    • Global sanity check to validate ~/.codex matches expected ECC state.
  • Migration

    • Ensure pnpm is installed; MCP servers now run via pnpm dlx.
    • Run scripts/sync-ecc-to-codex.sh (supports --dry-run), then restart Codex CLI.
    • To temporarily bypass hooks: set ECC_SKIP_PRECOMMIT=1 or ECC_SKIP_PREPUSH=1; to disable per repo, add .ecc-hooks-disable.

Written for commit 731095c. Summary will update on new commits.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 5, 2026

Important

Review skipped

Draft detected.

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.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1670b129-fa0c-48cb-b456-d9f5f4820e3d

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

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

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