🐛 Issue: code-review-graph hook fails due to unsupported --quiet flag
Description
While running the /plan to preview command, the PostToolUse:Write
hook fails with a blocking error. The failure appears to be caused by an
unsupported CLI flag (--quiet) being passed to the
code-review-graph update command.
Error Output
PostToolUse:Write hook returned blocking error
[code-review-graph update --quiet --skip-flows]: usage: code-review-graph [-h] [-v]
{install,init,build,update,postprocess,watch,status,visualize,
wiki,register,unregister,repos,eval,detect-changes,serve} ...
code-review-graph: error: unrecognized arguments: --quiet
Steps to Reproduce
- Run
/plan to preview
- Trigger a
Write operation
- Observe the failure in the
PostToolUse hook
Expected Behavior
The hook should execute successfully and update the code review graph
without blocking the workflow.
Actual Behavior
Execution fails due to an invalid argument:
Root Cause (Suspected)
The code-review-graph CLI does not support the --quiet flag, but it
is being passed in the hook configuration.
Suggested Fix
-
Remove the --quiet flag from the hook command:
"command": "code-review-graph update --skip-flows"
-
Alternatively, verify if a newer version of code-review-graph
supports --quiet, and upgrade if needed.
Environment
- CLI Tool:
code-review-graph
- Hook:
PostToolUse:Write
🐛 Issue:
code-review-graphhook fails due to unsupported--quietflagDescription
While running the
/plan to previewcommand, thePostToolUse:Writehook fails with a blocking error. The failure appears to be caused by an
unsupported CLI flag (
--quiet) being passed to thecode-review-graph updatecommand.Error Output
Steps to Reproduce
/plan to previewWriteoperationPostToolUsehookExpected Behavior
The hook should execute successfully and update the code review graph
without blocking the workflow.
Actual Behavior
Execution fails due to an invalid argument:
Root Cause (Suspected)
The
code-review-graphCLI does not support the--quietflag, but itis being passed in the hook configuration.
Suggested Fix
Remove the
--quietflag from the hook command:Alternatively, verify if a newer version of
code-review-graphsupports
--quiet, and upgrade if needed.Environment
code-review-graphPostToolUse:Write