Skip to content

v1.1.0

Choose a tag to compare

@Ruisi-Lu Ruisi-Lu released this 20 Oct 07:08
· 2 commits to main since this release
v1.1.0
7e4cc32

Features

  • The gate follows the repository. Once a repository ships .githooks/pre-commit, the plugin activates the gate in every teammate's clone at session start, by installing its own bundled copy as .git/hooks/pre-commit and keeping it current with the plugin. The shipped file is only a signal: neither it nor anything else in .githooks/ runs, so a branch or pull request you check out cannot introduce hooks. It is skipped (with an explanation) when codex is not on PATH, core.hooksPath points elsewhere, or .git/hooks/pre-commit belongs to something else; other hooks in .git/hooks keep running.
  • Claude can't commit around an inactive gate. A new PreToolUse guard denies Claude's git commit while a shipped gate is not active in the clone. If a hook manager (husky, lefthook, …) runs the gate itself, record that with git config codex-review.gateWired true.
  • Teammates get the plugin. /codex-review:init now also enables the plugin in the repository's .claude/settings.json (extraKnownMarketplaces + enabledPlugins), after approval. check reports whether that setting is present, disabled, or missing its marketplace entry.
  • Docs: a new Team enforcement section in the README covers each layer, one-line activation for people without the plugin (put it in your setup script), and server-side required checks for a hard guarantee.

Behavior changes

  • codex-review.skipInit no longer hides the notice or opts out in a repository that ships the gate.

Upgrading

hooks/pre-commit is unchanged, so repositories that already have the gate don't need to re-run /codex-review:init. To have teammates pick up the plugin automatically, run /codex-review:init once and commit .claude/settings.json.

Full changelog: v1.0.3...v1.1.0