Add timeout to hook
Open
Nobody has claimed this yet.
area:config
effort-small
enhancement
good first issue
priority:low
- Dominant language
- Rust
- Stars
- 81.1k
- Forks
- 5.1k
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 35
Description
Per https://github.com/move-hoon/claude-pro-minmax/issues/3#issuecomment-3925175265:
The RTK hook is missing a timeout. CPMM's hook has a 5s limit, but if RTK hangs, Claude will stall indefinitely.
{
"type": "command",
"command": "/Users/brucedarcus/.claude/hooks/rtk-rewrite.sh",
"timeout": 10
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the RTK hook configuration and reviewing the linked issue comment; the example uses the rtk-rewrite.sh command as the hook entry point. Add a timeout so a hanging RTK hook cannot stall Claude indefinitely, then verify the configured limit matches the expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100