I have update to the v2.2.2
after run code-review-graph install command,the generate /.claude/settings.json is still
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|Bash",
"command": "code-review-graph update --skip-flows",
"timeout": 5000
}
],
"SessionStart": [
{
"command": "code-review-graph status",
"timeout": 3000
}
],
"PreCommit": [
{
"command": "code-review-graph detect-changes --brief",
"timeout": 10000
}
]
}
after that, run claude, still has this error
hooks
├ PostToolUse
│ └ 0
│ └ hooks: Expected array, but received undefined
├ PreCommit: Invalid key in record
└ SessionStart
└ 0
└ hooks: Expected array, but received undefined
I have update to the v2.2.2
after run
code-review-graph installcommand,the generate/.claude/settings.jsonis still"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|Bash",
"command": "code-review-graph update --skip-flows",
"timeout": 5000
}
],
"SessionStart": [
{
"command": "code-review-graph status",
"timeout": 3000
}
],
"PreCommit": [
{
"command": "code-review-graph detect-changes --brief",
"timeout": 10000
}
]
}
after that, run
claude, still has this errorhooks
├ PostToolUse
│ └ 0
│ └ hooks: Expected array, but received undefined
├ PreCommit: Invalid key in record
└ SessionStart
└ 0
└ hooks: Expected array, but received undefined