hooks: version floor says `rtk rewrite` came in 0.23.0; it came in 0.25.0
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 80/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- shell, typescript
- Domain
- documentation, tooling
Research direction
Grep hooks/ for 0.23.0 and for MIN_SUPPORTED_RTK_MINOR; the constant and its two messages live in hooks/pi/rtk.ts, and the version guards sit in hooks/claude/rtk-rewrite.sh and hooks/cursor/rtk-rewrite.sh. First confirm the claim against CHANGELOG.md and commit f447a3d before changing anything. Done means the floor reads 25, every warning/README line matches, and a re-grep of hooks/ returns no stale 0.23.0 references.
Written by the indexing model from the issue text.
Description
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" messageshooks/claude/rtk-rewrite.shandhooks/cursor/rtk-rewrite.sh:Requires:line, version guard comment and warninghooks/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.
- Dominant language
- Rust
- Stars
- 86.4k
- Forks
- 5.5k
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 51
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rtk-ai/rtk
-
area:cli area:security bug priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
`rtk gain`: headline cap checks only `input_tokens`, so rows with huge `output_tokens` leak into "Output tokens"Possibly taken @Pybsama claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Proxy setup turns off Claude Code Remote ControlPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
rtk cargo build --message-format=short reports a clean build and drops the warningsPossibly taken @KuSh claimed this 2 days ago. Openarea:cli bug cargo priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Hook integrity messages: ~/.claude named under CLAUDE_CONFIG_DIR, no restore hint on a bad baseline, orphaned-baseline warning never printsPossibly taken @Lil-Clanky claimed this 6 days ago. Openarea:cli area:security bug good first issue priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rtk-ai/rtk#5039 · 2 comments ·
Maintainers usually reply within 1 day
Similar issues
-
status: new topic: ga4gh-sdk type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
comp-rbac
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ClickHouse/ClickHouse#131875 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
googleworkspace/cli#984 ·
Maintainers usually reply within 1 day
-
bug(python): read_transaction raises TypeError on a Rewrite with rewritten indicesPossibly taken @Borg93 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
lance-format/lance#11117 ·
Maintainers usually reply within 2 days