[Bug] PostToolUse:Edit hook error - Invalid JSON output validation in hook response
Resolved 💬 2 comments Opened May 11, 2026 by omermosko4 Closed May 18, 2026
Bug Description
CC gets stuck with 2 errors: "PostToolUse:Edit hook error + Hook JSON output validation failed — (root): Invalid input"
Environment Info
- Platform: darwin
- Terminal: kitty
- Version: 2.1.138
- Feedback ID: 953e4ed5-0c07-4069-bbff-d2f4d2ab3123
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/omermos/.local/share/claude/versions/2.1.138 (expected in multi-process scenarios)\n at tK6 (/$bunfs/root/src/entrypoints/cli.js:2655:2257)\n at ZZH (/$bunfs/root/src/entrypoints/cli.js:2655:1337)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T10:41:33.872Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T11:16:45.927Z"},{"error":"McpToolCallError: Rule file 'design-review-guidelines' not found. Available files: api-docs-articles-errors.mdc, api-docs-articles-overview.mdc, api-docs-articles-sample-flows.mdc, api-docs-articles-submodule-intro.mdc, api-docs-articles-terminology.mdc, api-docs-error-description-guidelines.mdc, api-docs-field-description-guidelines.mdc, api-docs-general-writing-rules.mdc, api-docs-method-object-description-guidelines.mdc, api-docs-webhook-descriptions.mdc, spi-docs-articles-sample-flows.mdc, spi-docs-articles-submodule-intro.mdc, spi-docs-guidelines.mdc, spi-docs-method-descriptions.mdc, design-review-guidelines.mdc\n at FH3 (/$bunfs/root/src/entrypoints/cli.js:4918:63)\n at ur7 (/$bunfs/root/src/entrypoints/cli.js:4918:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T11:41:12.240Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/omermos/bookings/scheduler.\n at call (/$bunfs/root/src/entrypoints/cli.js:4891:11360)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T11:45:28.270Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T12:19:33.825Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T12:19:35.428Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T12:19:41.397Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-11T12:21:59.814Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗