feat(discover): track passthrough git/cargo/pnpm subcommands
#888 geöffnet am 28. März 2026
Repository-Metriken
- Stars
- (48.085 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 11T 1h) (45 gemergte PRs in 30 T)
Beschreibung
Problem
rtk discover --all reports these commands as TOP UNHANDLED COMMANDS:
git checkout(493 occurrences)git merge(154)git rebase(137)pnpm build(171)pnpm exec(173)cargo run(78)cargo publish(71)
These commands already work via passthrough (GitCommands::Other, CargoCommands::Other, PnpmCommands::Other), but the discover regex patterns in src/discover/rules.rs don't include them. They show up as unhandled instead of "already handled via passthrough".
Fix
Add the missing subcommands to the PATTERNS regex + mark them as RtkStatus::Passthrough in subcmd_status.
Files: src/discover/rules.rs + src/discover/registry.rs (tests)
Impact
1277 commands correctly classified. Zero filtering changes, zero risk.
Status
Fixed in branch fix/discover-passthrough-coverage (PR incoming).