Repository navigation
Conversation
|
Flagging a behaviour change in this diff before it lands, from reproducing the #1962 state against current On
This diff hoists That does remove the dangling reference, but by removing the registration rather than repairing it, and the replacement write is not guaranteed: So for the shared-group case this trades a visible failure for a silent one — Claude Code raises a hook error on a dangling script, and raises nothing at all when there is no entry. I reproduced the non-interactive run in an isolated The ordering PR #3570 adopted for Cursor avoids this: patch the config first, delete the legacy artefacts only after that write succeeds. Applying the same order here would let this PR close #1962 without the trade. Happy to send a rebased version on top of current |
|
This pull request has been automatically marked as stale due to 90 days of inactivity. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. Your contribution is very much appreciated — we're sorry we haven't been able to review it yet. |
|
Closing this pull request after a prolonged period of inactivity. If this is still relevant, please ask for it to be reopened. Thank you! |
Summary
rtk-rewrite.shsettings entries as stale when installing the nativertk hook claudecommandFixes #1962
Verification
cargo +1.93.0 fmt --checkgit diff --checkcargo +1.93.0 test legacy -- --nocapturecargo +1.93.0 test hooks::init -- --nocapturertk init -g --auto-patchreplacing a missingrtk-rewrite.shregistrationcargo +1.93.0 clippy --all-targetscargo +1.93.0 test --all -- --skip small_grep_not_worse_than_plain