Repository navigation
Conversation
The report dropped any command that merely starts with `true`, `false`, `wait` or `pwd`, such as `waitress-serve x`, `wait-for-it x` and `pwdx 1`, and listed `echo<tab>a` as unsupported. Those commands are now compared with the command's first word as the lexer reads it, so `wait<tab>1`, `pwd)` and `true>f` stay out of the report and the others are counted. The bare forms come along: `sleep` alone is left out as `sleep 1` is. The same check gates the hook's TOML fallback, so a user's filter now applies to `wait-for-it x`, and no longer to bare `sort`, as it already did not to `sort f`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
📊 Automated PR Analysis
SummaryFixes Review Checklist
Analyzed automatically by wshm · This is an automated analysis, not a human review. |
This was referenced Nov 25, 2026
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
rtk discovercompared ignored commands as raw prefixes, sowaitress-serve x,wait-for-it x,truecrypt xandpwdx 1vanished from the report because they start withwait,trueorpwd.echo<tab>aandsleep<tab>1were listed as unsupported because only a space counted.Those commands are now compared with the command's first word as the lexer reads it, through a new
lexer::first_plain_word.wait<tab>1,pwd),true>fandwait&stay out of the report, andrm$x fileandtest*are counted because they are other commands.Behaviour changes
sleepalone, assleep 1already was.wait-for-it x, and no longer to baresortorsort<tab>f, as it already did not tosort f.Known limits
rm`x` fileis left out. Telling it from the closing one in`cd x && pwd`needs more than the next character.rm\\ xreads like a continuation.sleephides the lines after it. Splitting those lines needs the newline tokens in the lexing stack, and is planned there.Test plan
cargo fmt --all,cargo clippy --all-targets,cargo test --all, and both with--no-default-features🤖 Generated with Claude Code