Feature request: command-mutating before-tool hook
Open
Nobody has claimed this yet.
autonomous: no
enhancement
priority: medium
triage: needs-decision
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
Hello, thanks for your software,
by the way, for support external shell shrinkers (like rtk, hypa, ctx-wire) we need to natively have a possibility to rewrite the commands before execution
here's a related issue from rtk pull request - https://github.com/rtk-ai/rtk/pull/2011
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
The issue names no files or tests; first locate the command execution path in the Rust CLI and review how commands are represented before execution. Define the before-tool hook contract and verify that external shrinkers can rewrite commands before they run, with tests covering the rewritten command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100