Repository navigation
[AI-70] docs: document Codex hook installation - #61
Merged
Merged
Conversation
Aligns README with PR #55 (AI-70). Setup is Claude-only, so Codex users have no in-README path to discovery. Adds a short subsection under setup covering kapacitor plugin install --codex (user-wide and --project), the corresponding remove command, and that kapacitor status reports both hook surfaces. Updates the "What it records" line to acknowledge Codex sessions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Review Summary by QodoDocument Codex hook installation in README
WalkthroughsDescription• Documents Codex CLI hook installation process • Adds subsection covering kapacitor plugin install --codex variants • Updates "What it records" to mention Codex CLI sessions • Clarifies both user-wide and project-specific hook installation paths Diagramflowchart LR
A["Setup Documentation"] --> B["Claude Code Hooks"]
A --> C["Codex CLI Hooks"]
C --> D["User-wide Installation"]
C --> E["Project-specific Installation"]
D --> F["kapacitor status Reports Both"]
E --> F
File Changes1. README.md
|
Code Review by Qodo
1.
|
1 of 3 tasks
Addresses Qodo review findings on #61: - kapacitor status only checks user-wide hook locations (ClaudePaths.UserSettings, CodexPaths.UserHooksJson), so --project installs report as not installed. README now says so and tells users to inspect the repo's .claude/settings.local.json or .codex/hooks.json directly. - Codex --project installs need the .codex directory trusted before hooks run. PluginCommand.InstallCodex itself prints this note; the README now mirrors it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 of 2 tasks
alexeyzimarev
added a commit
that referenced
this pull request
May 13, 2026
User-facing CLI changes (new commands, flags, behavior shifts) have repeatedly landed without touching README.md, requiring follow-up doc-only PRs (#60 for AI-613 history scope flags, #61 for AI-70 Codex hook surface). Adds a "Common mistakes to avoid" bullet calling this out, naming the two README sections that typically need updating, and pointing out that help-*.txt resources aren't a substitute for the public README. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the Codex hook surface shipped in PR #55 (AI-70).
kapacitor setuponly installs the Claude Code plugin, so Codex users had no in-README path to discoveringkapacitor plugin install --codex.kapacitor plugin install --codex(user-wide, writes~/.codex/hooks.json)--projectvariant (<repo>/.codex/hooks.json)kapacitor plugin remove --codexkapacitor statusreports both hook surfaces.Deliberately scoped:
kapacitor codex-hookis the internal dispatcher (only invoked fromhooks.json), so it isn't documented as a user-facing command.Test plan
git diff mainreviewed — only README.md, only the Codex additions.🤖 Generated with Claude Code