1jehuang / 1jehuang/jcode

Feature request: command-mutating before-tool hook

Open
#760 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.