rtk-ai/rtk

Optional feature for safely remapping commands? (Eg rm -> trash)

Open

#115 aperta il 14 feb 2026

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Rust (2914 fork)batch import
P3-nice-to-havearea:configeffort-largeenhancementhelp wantedpriority:low

Metriche repository

Star
 (48.085 star)
Metriche merge PR
 (Merge medio 11g 1h) (45 PR mergiate in 30 g)

Descrizione

AI does lots of dangerous commands like resetting git repos and rm on important files bc one line out of thousands of edits is bad.

I've got hooks where I block and suggest alternatives which is appropriate for some cases but this tool seems like it could helpfully support safe remapping, like hard git resets get stashed first, or rm instead moves to trash or recycling.

It really saves a lot of trouble and this app seems like it could beautifully support even better outcomes, potentially in a way that's configurable via params / envs / config files.

Is there interest in this possibility?

Also thanks for the awesome app I've been trying it out!

Guida contributor