Skip to content

docs(windows): document native binary hook support - #2791

Merged
aeppling merged 1 commit into
developfrom
docs/windows-native-hook
Jul 3, 2026
Merged

aeppling merged 1 commit into
developfrom
docs/windows-native-hook

Conversation

@pszymkowiak

Copy link
Copy Markdown
Collaborator

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

  • Rewrite the Windows section: native binary hook is now the primary, fully-supported path; WSL is secondary. Drop the "limited support / CLAUDE.md fallback" framing and update the feature table (Auto-rewrite hook: Yes (native binary)).
  • Add an upgrade note: users set up before v0.37.2 should re-run rtk init -g to migrate off the legacy rtk-rewrite.sh shell hook.
  • Add a ripgrep prerequisite note (rg on PATH) — addresses the recurring Binary 'rg' not found on PATH reports.
  • Fix the install callout and the Supported AI Tools table (PreToolUse hook (bash) → native binary).

Docs-only; no code changes.

Refs #330

🤖 Generated with Claude Code

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
aeppling merged commit 9f63151 into develop Jul 3, 2026
26 of 27 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants