Files
graphify/graphify
ayushcodes10 575f829f46 Bound the search and read guard hooks with a timeout
An unset command hook defaults to Claude Code's 600 second timeout,
so a single wedged guard, a stuck filesystem or a hung subprocess,
stalls the surrounding tool call for ten minutes on Bash, Grep, Read
and Glob, the four highest frequency tools an agent uses. The guard
itself measures around 170 milliseconds warm, so both generated
entries now carry a 10 second timeout, generous headroom over the
measured cost while still two orders of magnitude below the unset
default. Toward #3314.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017qfdzgbA5KedGEjD1AayNh
(cherry picked from commit fd08017d22)
2026-09-13 17:47:54 +01:00
..
…