Repository navigation
docs(windows): document native binary hook support - #2791
Merged
Merged
Conversation
Native Windows has had full auto-rewrite support since v0.37.2 via the `rtk hook claude` native binary command (no bash/jq/Unix shell). The README still described the pre-v0.37.2 "CLAUDE.md fallback" behavior, which is now inaccurate and a recurring source of confusion (#330). - Rewrite the Windows section: native binary hook is the primary path, WSL secondary; drop the "limited support / CLAUDE.md fallback" framing - Add an upgrade note (re-run `rtk init -g` to migrate off rtk-rewrite.sh) - Add a ripgrep prerequisite note (`rg` on PATH) - Fix the install note and Supported AI Tools table (bash -> native binary) Refs #330 Co-Authored-By: Claude Opus 4.8 <[email protected]>
aeppling
approved these changes
Jul 3, 2026
Merged
This was referenced Sep 26, 2026
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The README's Windows section still described the pre-v0.37.2 behavior — "the auto-rewrite hook (
rtk-rewrite.sh) requires a Unix shell, so on native Windows RTK falls back to CLAUDE.md injection mode." That's been inaccurate since v0.37.2, where Windows switched to the native binary hook (rtk hook claude, no bash/jq), with a regression test for the Windows native path.This stale doc is the recurring source of confusion in #330 (users seeing the release say "Windows fixed" while the README says the opposite).
Changes
Auto-rewrite hook: Yes (native binary)).rtk init -gto migrate off the legacyrtk-rewrite.shshell hook.rgon PATH) — addresses the recurringBinary 'rg' not found on PATHreports.PreToolUse hook (bash)→native binary).Docs-only; no code changes.
Refs #330
🤖 Generated with Claude Code