Toggle Codex Plan Review
Enable or disable the Codex plan reviewer for the current project.
Enablement is per-project via .claude/bluera-claude-planner.json in the project root. This prevents the reviewer from running in unrelated projects.
Algorithm
- •Determine the project root (current working directory)
- •Read
<project-root>/.claude/bluera-claude-planner.jsonif it exists - •Toggle the
enabledfield:- •If file doesn't exist or
enabledisfalse: create/update with{"enabled": true} - •If
enabledistrue: set tofalse
- •If file doesn't exist or
- •Ensure
.claude/directory exists before writing - •Report the new state to the user:
- •If now enabled: "Codex plan review is enabled for this project. Plans will be sent to Codex for review."
- •If now disabled: "Codex plan review is disabled for this project. Plans will pass through without review."