常见问题解决库 Claude Code hook 莫名其妙拦下 Edit PreToolUse hook 不停地拒掉 Edit、连安全的修改也拦。多半是 exit code 逻辑、stdin 解析、或者 matcher 范围出了问题。 2026/05/24 #Claude Code #hooks