You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hooks: version floor says rtk rewrite came in 0.23.0; it came in 0.25.0 #5126
The Pi extension and the legacy shell hooks gate on rtk >= 0.23.0 "when rtk rewrite was introduced":
hooks/pi/rtk.ts: header comment, MIN_SUPPORTED_RTK_MINOR = 23, the two "need >= 0.23.0" messages
hooks/claude/rtk-rewrite.sh and hooks/cursor/rtk-rewrite.sh: Requires: line, version guard comment and warning
hooks/README.md ("rtk version too old (< 0.23.0)"), hooks/claude/README.md, hooks/cursor/README.md
rtk rewrite first shipped in 0.25.0: commit f447a3d (feat: rtk rewrite — single source of truth for LLM hook rewrites (#241)) is not an ancestor of v0.24.0 and is first contained in v0.25.0, and CHANGELOG.md lists it under 0.25.0. #3918 reports that the v0.23.0 and v0.24.0 release binaries answer rtk rewrite "git status" with exit 2 and empty stdout.
Nothing breaks today, because every one of these hooks passes the command through on a non-0/3 exit, so 0.23.0 and 0.24.0 fall open. The floor and its messages are still wrong: a user on 0.24.0 is told their rtk is recent enough and gets no rewrites. The fix is the floor (23 → 25) and the wording in the files above.
Version floor and docs incorrectly claim rtk rewrite shipped in 0.23.0 (it shipped in 0.25.0); update MIN_SUPPORTED_RTK_MINOR and related messages/docs.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
hooks/pi/rtk.ts
hooks/claude/rtk-rewrite.sh
hooks/cursor/rtk-rewrite.sh
hooks/README.md
hooks/claude/README.md
hooks/cursor/README.md
Suggested Actions
Bump MIN_SUPPORTED_RTK_MINOR from 23 to 25 in hooks/pi/rtk.ts and update its two warning messages
Update Requires: lines and version-guard comments in hooks/claude/rtk-rewrite.sh and hooks/cursor/rtk-rewrite.sh
Fix '< 0.23.0' wording in hooks/README.md, hooks/claude/README.md, hooks/cursor/README.md
Reference CHANGELOG.md and commit f447a3d as the authoritative source for the 0.25.0 floor
Triaged automatically by wshm · This is an automated analysis, not a human review.
can i take this? will bump MIN_SUPPORTED_RTK_MINOR to 25 and fix the 0.23.0 mentions in the hook scripts and docs
Looks like there's already a PR from @TechWizard9999 on this one, so it might be more useful to spend your time reviewing or testing that one, or picking up another issue. Thanks for looking into it!
Activity
rtk-wshm-sync-bot commentedon Nov 16, 2026
🔍 Automated Triage
buglowSummary
Version floor and docs incorrectly claim
rtk rewriteshipped in 0.23.0 (it shipped in 0.25.0); update MIN_SUPPORTED_RTK_MINOR and related messages/docs.📁 Relevant files
hooks/pi/rtk.tshooks/claude/rtk-rewrite.shhooks/cursor/rtk-rewrite.shhooks/README.mdhooks/claude/README.mdhooks/cursor/README.mdSuggested Actions
Requires:lines and version-guard comments in hooks/claude/rtk-rewrite.sh and hooks/cursor/rtk-rewrite.shTriaged automatically by wshm · This is an automated analysis, not a human review.
visy-ani commentedon Nov 22, 2026
can i take this? will bump MIN_SUPPORTED_RTK_MINOR to 25 and fix the 0.23.0 mentions in the hook scripts and docs
KuSh commentedon Nov 22, 2026
Looks like there's already a PR from @TechWizard9999 on this one, so it might be more useful to spend your time reviewing or testing that one, or picking up another issue. Thanks for looking into it!
TechWizard9999 commentedon Nov 22, 2026
@KuSh I've spotted issues in a few other open PRs. Is it okay if I review those too?
visy-ani commentedon Nov 22, 2026
ah missed that, thanks
fix(hooks): gate the rewrite hooks on 0.25.0, the release that added …