Rank, 14 days: 143 on the Claude Code sheet
2 people reported

All time, since Oct 1.

Hooks skipped on invalid Read

“The hook never runs for this call: input validation happens before PreToolUse hooks.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/485/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

PreToolUse hooks skipped when Read fails input validation. Input validation rejects the Read call before any PreToolUse hook runs, so updatedInput cannot repair pages: "" or redirect a .heic file.

Is this your bug?

File my report
Where
Read tool hooks
Error text
<tool_use_error>Invalid pages parameter: "". Use formats like "1-5", "3", or "10-20". Pages are 1-indexed.</tool_use_error>
Versions
2.1.286 to 2.1.322. Still reported on the newest version, 2.1.322.
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. PreToolUse hooks don't run for a Read that fails binary-file validation, so updatedInput can't redirect it (e.g. .heic → .jpg)#108947
  2. Read: pages: "" on a non-PDF file fails validation, and PreToolUse hooks can't work around it (still on 2.1.286)#98651

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.