Skip to content

docs: document native-Windows manual settings.json hook (no WSL) - #2704

Closed
mvanhorn wants to merge 1 commit into
rtk-ai:developfrom
mvanhorn:fix/2503-windows-manual-hook
Closed

mvanhorn wants to merge 1 commit into
rtk-ai:developfrom
mvanhorn:fix/2503-windows-manual-hook

Conversation

@mvanhorn

Copy link
Copy Markdown
Contributor

Summary

Documents how to enable RTK hook mode on native Windows (without WSL), where the Unix .sh hook script can't run and rtk init -g falls back to CLAUDE.md mode. Adds a copy-pasteable settings.json PreToolUse entry using rtk hook claude, a matching TROUBLESHOOTING entry, and a README pointer.

The native-Windows path was verified with PowerShell 7.6.3. WSL users keep the standard rtk init -g flow.

Fixes #2503

AI was used for assistance.

@KuSh

KuSh commented Sep 26, 2026

Copy link
Copy Markdown
Collaborator

Thank you for writing this up. Since v0.37.2, rtk init -g installs the native rtk hook claude entry on Windows itself, and #2791 (merged 2026-07-03) updated the README's Windows section to say so, so the manual settings.json step this PR documents is what init already does. The troubleshooting page at docs/guide/resources/troubleshooting.md still describes the old CLAUDE.md fallback on native Windows; an issue or a small docs PR correcting that page would be welcome. If I missed something this PR covers, please comment or reopen.

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.

Windows: Manual settings.json hook works without WSL

2 participants