Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
ca9c878
Merge pull request #22 from pszymkowiak/release-please--branches--mas…
pszymkowiak Jan 30, 2026
39a7b65
fix: patrick's 3 issues (latest tag, ccusage fallback, versioning)
FlorianBruniaux Jan 30, 2026
c4c06f4
Merge pull request #23 from FlorianBruniaux/master
pszymkowiak Jan 30, 2026
05ffd88
chore(master): release 0.5.1
github-actions[bot] Jan 30, 2026
2d62b84
Merge pull request #24 from pszymkowiak/release-please--branches--mas…
pszymkowiak Jan 30, 2026
3cd2342
fix: release pipeline trigger and version-agnostic package URLs
FlorianBruniaux Jan 30, 2026
c7e049b
Merge pull request #25 from FlorianBruniaux/fix/release-pipeline
pszymkowiak Jan 30, 2026
ba23af7
chore(master): release 0.5.2
github-actions[bot] Jan 30, 2026
87c7a2d
Merge pull request #26 from pszymkowiak/release-please--branches--mas…
pszymkowiak Jan 30, 2026
37750a8
feat: shared infrastructure for new commands
FlorianBruniaux Jan 31, 2026
0033da2
feat: cargo build/test/clippy with compact output
FlorianBruniaux Jan 31, 2026
e089a27
feat: git branch, fetch, stash, worktree commands
FlorianBruniaux Jan 31, 2026
734d510
feat: gh pr create/merge/diff/comment/edit + gh api
FlorianBruniaux Jan 31, 2026
181e32e
feat: npm/npx routing, pnpm build/typecheck, --skip-env flag
FlorianBruniaux Jan 31, 2026
7476bef
feat: curl with auto-JSON detection
FlorianBruniaux Jan 31, 2026
fb24699
Merge pull request #28 from FlorianBruniaux/feat/shared-infra
pszymkowiak Feb 1, 2026
e3bdfd1
Merge pull request #29 from FlorianBruniaux/feat/cargo-commands
pszymkowiak Feb 1, 2026
743e50f
Merge pull request #30 from FlorianBruniaux/feat/git-extensions
pszymkowiak Feb 1, 2026
5ab3269
Merge pull request #31 from FlorianBruniaux/feat/gh-expansion
pszymkowiak Feb 1, 2026
11c64fd
Merge pull request #32 from FlorianBruniaux/feat/js-ecosystem
pszymkowiak Feb 1, 2026
4b31f68
Merge pull request #33 from FlorianBruniaux/feat/curl-command
pszymkowiak Feb 1, 2026
d991a21
chore(master): release 0.6.0
github-actions[bot] Feb 1, 2026
caf1085
Add TDD skill, fix 3 failing tests, add 17 diff_cmd tests
FlorianBruniaux Feb 1, 2026
b763298
Merge pull request #35 from FlorianBruniaux/feat/tdd-testing-skill
pszymkowiak Feb 1, 2026
c222c20
Merge pull request #34 from pszymkowiak/release-please--branches--mas…
pszymkowiak Feb 1, 2026
0148fe0
feat: add discover command, auto-rewrite hook, and git show support
FlorianBruniaux Feb 1, 2026
c2650cf
fix: forward args in rtk git push/pull to support -u, remote, branch
FlorianBruniaux Feb 1, 2026
8ce46f2
Merge pull request #36 from FlorianBruniaux/feat/git-show
pszymkowiak Feb 1, 2026
4bfac53
chore(master): release 0.7.0
github-actions[bot] Feb 1, 2026
6f99311
Merge pull request #37 from pszymkowiak/release-please--branches--mas…
pszymkowiak Feb 1, 2026
5ae4b2f
fix: convert rtk ls from reimplementation to native proxy
FlorianBruniaux Feb 1, 2026
2a199fb
Merge pull request #38 from FlorianBruniaux/fix/ls-native-proxy
pszymkowiak Feb 1, 2026
edaca71
fix: trigger release build after release-please creates tag
FlorianBruniaux Feb 1, 2026
5f7e1ae
chore: set version to 0.7.1 (skip unintended 1.0.0 bump)
FlorianBruniaux Feb 1, 2026
d1ed572
feat: add execution time tracking to rtk gain analytics
FlorianBruniaux Feb 1, 2026
a31183a
docs: add execution time tracking test guide
FlorianBruniaux Feb 1, 2026
1757b62
Merge pull request #40 from FlorianBruniaux/fix/release-workflow-trigger
pszymkowiak Feb 2, 2026
9201a25
Merge pull request #42 from FlorianBruniaux/feat/execution-time-tracking
pszymkowiak Feb 2, 2026
96184b3
feat: add local LLM analysis, filter improvements, and testing scripts
FlorianBruniaux Feb 1, 2026
ac786d7
feat: add JSON parsing with safe fallbacks for vitest, playwright, pnpm
FlorianBruniaux Feb 1, 2026
a9bfa59
feat: add parser infrastructure with three-tier fallback system
FlorianBruniaux Feb 1, 2026
3603b45
feat: migrate vitest, playwright, pnpm to OutputParser trait
FlorianBruniaux Feb 2, 2026
aec0d00
Merge pull request #43 from FlorianBruniaux/feat/git-show
pszymkowiak Feb 2, 2026
50fb431
Merge pull request #41 from FlorianBruniaux/fix/release-manifest-version
pszymkowiak Feb 2, 2026
4ba5125
docs: document execution time tracking feature in v0.7.1
FlorianBruniaux Feb 2, 2026
1e072e9
Merge pull request #44 from FlorianBruniaux/docs/execution-time-track…
pszymkowiak Feb 2, 2026
eeb368a
feat: add comprehensive security review workflow for PRs
FlorianBruniaux Feb 2, 2026
480da90
docs: document security review workflow and /rtk-pr-security skill
FlorianBruniaux Feb 2, 2026
201f656
Merge pull request #46 from FlorianBruniaux/feat/security-review-work…
pszymkowiak Feb 2, 2026
0ffdff7
chore(master): release 0.8.0
github-actions[bot] Feb 2, 2026
90414cb
Merge pull request #47 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 2, 2026
c6d5cb9
docs: clarify rtk name collision and fix installation confusion
FlorianBruniaux Feb 2, 2026
b8aa986
Merge pull request #48 from FlorianBruniaux/docs/fix-name-collision-c…
pszymkowiak Feb 2, 2026
30a394e
fix: allow git status to accept native flags
FlorianBruniaux Feb 2, 2026
aa84395
Merge pull request #49 from FlorianBruniaux/fix/git-status-accept-flags
pszymkowiak Feb 2, 2026
89878cc
chore(master): release 0.8.1
github-actions[bot] Feb 2, 2026
3c250a0
Merge pull request #50 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 2, 2026
c569faf
docs: add suggest hook pattern + fix discover issues URL
FlorianBruniaux Feb 2, 2026
953bc15
Merge pull request #51 from FlorianBruniaux/docs/suggest-hook-pattern
pszymkowiak Feb 2, 2026
dcec70e
docs: point all documentation to upstream instead of fork
FlorianBruniaux Feb 2, 2026
6806d7e
Update installation script URLs to new repository
pszymkowiak Feb 2, 2026
f65902c
Fix installation script URL and update project info
pszymkowiak Feb 2, 2026
47b8bf8
Update name collision warning in CLAUDE.md
pszymkowiak Feb 2, 2026
0df7f78
Fix repository link in INSTALL.md
pszymkowiak Feb 2, 2026
bc16a4f
Update README.md
pszymkowiak Feb 2, 2026
11ceca7
Revise RTK roadmap for clarity and updated goals
pszymkowiak Feb 2, 2026
fe5c8a9
Merge pull request #52 from FlorianBruniaux/docs/point-to-upstream
pszymkowiak Feb 2, 2026
6a27406
feat: add rtk tree + fix rtk ls + audit phase 1-2
FlorianBruniaux Feb 2, 2026
43c2249
chore: untrack claudedocs files (keep local)
FlorianBruniaux Feb 2, 2026
685e5a1
feat(git): add fallback passthrough for unsupported subcommands
FlorianBruniaux Feb 2, 2026
daf85d2
feat(pnpm): add fallback passthrough for unsupported subcommands
FlorianBruniaux Feb 2, 2026
b7957c6
feat(grep): add extra args passthrough (-i, -A/-B/-C, etc.)
FlorianBruniaux Feb 2, 2026
d453579
feat(read): add stdin support via "-" path
FlorianBruniaux Feb 2, 2026
beea4f0
chore: trigger CI
FlorianBruniaux Feb 3, 2026
3bcde11
Fix install script URL
LivioGama Feb 3, 2026
d05038b
Fix global init path and append behavior
LivioGama Feb 3, 2026
7d9b571
feat: audit phase 3 + tracking validation + rtk learn
FlorianBruniaux Feb 3, 2026
a62e422
docs(tracking): complete API documentation + rustdoc comments
FlorianBruniaux Feb 3, 2026
54a84ef
fix(docs): escape HTML tags in rustdoc comments
FlorianBruniaux Feb 3, 2026
e08104e
fix(find): rewrite with ignore crate + fix json stdin + benchmark pip…
pszymkowiak Feb 3, 2026
62aa1c0
chore: cleanup diff references, fix docker ps, widen diff truncation
pszymkowiak Feb 3, 2026
8e83e3c
fix(ls): compact output (-72% tokens) + fix discover panic
pszymkowiak Feb 3, 2026
56621f0
Merge pull request #53 from FlorianBruniaux/feat/rtk-tree-clean
pszymkowiak Feb 3, 2026
093cf60
chore(master): release 0.9.0
github-actions[bot] Feb 3, 2026
4db95dd
Merge pull request #56 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 3, 2026
cb42b31
Merge pull request #54 from LivioGama/master
pszymkowiak Feb 3, 2026
dee689f
Merge pull request #55 from LivioGama/fix/rtk-init-global-path
pszymkowiak Feb 3, 2026
71b0d41
fix(tsc): show every TypeScript error instead of collapsing by code
FlorianBruniaux Feb 4, 2026
65ddd3d
Merge pull request #57 from FlorianBruniaux/fix/rtk-tsc-show-all-errors
pszymkowiak Feb 4, 2026
6c25b99
chore(master): release 0.9.1
github-actions[bot] Feb 4, 2026
9795b94
Merge pull request #58 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 4, 2026
028274a
fix(git): accept native git flags in add command (including -A)
FlorianBruniaux Feb 4, 2026
7883944
Merge pull request #59 from FlorianBruniaux/fix/git-add-native-flags
pszymkowiak Feb 5, 2026
facab26
chore(master): release 0.9.2
github-actions[bot] Feb 5, 2026
8191cab
Merge pull request #60 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 5, 2026
df2668f
fix: P0 crashes + cargo check + dedup utilities + discover status
FlorianBruniaux Feb 6, 2026
196ce3b
Merge pull request #61 from FlorianBruniaux/fix/crashes-check-dedup-d…
pszymkowiak Feb 6, 2026
192e9cc
chore(master): release 0.9.3
github-actions[bot] Feb 6, 2026
04bdf41
Merge pull request #62 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 6, 2026
1761299
fix(discover): add cargo check support, wire RtkStatus::Passthrough, …
FlorianBruniaux Feb 6, 2026
624dd7c
Merge pull request #63 from FlorianBruniaux/fix/discover-cargo-check-…
pszymkowiak Feb 6, 2026
020ebbd
chore(master): release 0.9.4
github-actions[bot] Feb 6, 2026
ce01c0c
Merge pull request #64 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 6, 2026
45ac16a
feat(init): refactor to hook-first with slim RTK.md
FlorianBruniaux Feb 7, 2026
133c472
refactor(init): eliminate DRY violations and improve error handling
FlorianBruniaux Feb 7, 2026
e8ad908
docs: update for hook-first installation mode
FlorianBruniaux Feb 7, 2026
fe35436
feat(init): auto-patch settings.json for frictionless hook installation
FlorianBruniaux Feb 7, 2026
5472f82
Merge pull request #65 from FlorianBruniaux/master
pszymkowiak Feb 7, 2026
2330ced
chore(master): release 0.10.0
github-actions[bot] Feb 7, 2026
41860e7
Merge pull request #67 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 7, 2026
2f2b046
Merge branch 'master' into feat/auto-patch-settings-json
pszymkowiak Feb 7, 2026
db8fcf9
Merge pull request #66 from FlorianBruniaux/feat/auto-patch-settings-…
pszymkowiak Feb 7, 2026
4b59fc7
chore(master): release 0.11.0
github-actions[bot] Feb 7, 2026
c34763f
Merge pull request #68 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 7, 2026
3517512
feat(cargo): add `cargo install` filtering with 80-90% token reduction
FlorianBruniaux Feb 8, 2026
3beb2bc
Merge pull request #70 from FlorianBruniaux/feat/cargo-install-filtering
pszymkowiak Feb 9, 2026
71eb4c3
chore(master): release 0.12.0
github-actions[bot] Feb 9, 2026
97c80ba
Merge pull request #71 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 9, 2026
6cfcfac
feat(sqlite): add custom sqlite db location
Feb 10, 2026
7cf365c
Merge pull request #72 from agregio-solutions/feat/configurable-db-path
pszymkowiak Feb 12, 2026
194aee1
chore(master): release 0.13.0
github-actions[bot] Feb 12, 2026
6242661
Merge pull request #74 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 12, 2026
0bef421
fix(ci): fix release workflow not uploading artifacts to GitHub releases
pszymkowiak Feb 12, 2026
c193b0a
Merge pull request #75 from rtk-ai/fix/release-workflow-73
pszymkowiak Feb 12, 2026
7ff588f
chore(master): release 0.13.1
github-actions[bot] Feb 12, 2026
c84d93e
Merge pull request #76 from rtk-ai/release-please--branches--master--…
pszymkowiak Feb 12, 2026
df71cd3
fix: update stale repo URLs from pszymkowiak/rtk to rtk-ai/rtk (#78)
pszymkowiak Feb 12, 2026
22ff280
feat(ci): automate Homebrew formula update on release (#80)
pszymkowiak Feb 12, 2026
61a16db
fix: add website URL (rtk-ai.app) across project metadata (#81)
pszymkowiak Feb 12, 2026
4a6e35f
chore(master): release 0.14.0 (#79)
github-actions[bot] Feb 12, 2026
4edc2f7
feat(cargo): aggregate test output into single line (#83)
FlorianBruniaux Feb 12, 2026
e100e37
feat(cargo): aggregate test output into single line (#83) (#85)
FlorianBruniaux Feb 12, 2026
5c87b92
feat: add Python and Go support (#88)
FlorianBruniaux Feb 12, 2026
50a7ba3
feat: make install-local.sh self-contained (#89)
mhcoen Feb 12, 2026
27033f9
chore(master): release 0.15.0 (#90)
github-actions[bot] Feb 12, 2026
6dda3f7
fix(vitest): robust JSON extraction for pnpm/dotenv prefixes (#92)
FlorianBruniaux Feb 12, 2026
367e2b2
fix: improve CI reliability and hook coverage (#95)
FlorianBruniaux Feb 12, 2026
30442dd
chore(master): release 0.15.1 (#96)
github-actions[bot] Feb 12, 2026
891b310
feat: add Python and Go support (#88)
FlorianBruniaux Feb 12, 2026
5d47034
feat: make install-local.sh self-contained (#89)
mhcoen Feb 12, 2026
a7c80aa
chore(master): release 0.15.0 (#90)
github-actions[bot] Feb 12, 2026
49f7a2e
fix(vitest): robust JSON extraction for pnpm/dotenv prefixes (#92)
FlorianBruniaux Feb 12, 2026
f7ec5cd
fix: improve CI reliability and hook coverage (#95)
FlorianBruniaux Feb 12, 2026
e0a2a28
chore(master): release 0.15.1 (#96)
github-actions[bot] Feb 12, 2026
ba41c0c
docs: comprehensive v0.15.1 documentation update for Python/Go support
FlorianBruniaux Feb 13, 2026
20e10d8
fix(hook): use POSIX character classes for cross-platform grep compat…
mhcoen Feb 13, 2026
3234013
chore(master): release 0.15.2 (#104)
github-actions[bot] Feb 13, 2026
9fb840d
fix: prevent UTF-8 panics on multi-byte characters (#93)
polaminggkub-debug Feb 13, 2026
ce1e335
chore(master): release 0.15.3 (#108)
github-actions[bot] Feb 13, 2026
394b99e
improve: hook coverage from 0.2% to ~80% with env prefix stripping (#97)
polaminggkub-debug Feb 13, 2026
1d80de2
fix(git): fix for issue #82
ChrisGVE Feb 14, 2026
7a6e59d
Merge pull request #116 from ChrisGVE/master
FlorianBruniaux Feb 14, 2026
9affc95
chore(master): release 0.15.4 (#120)
github-actions[bot] Feb 14, 2026
95f795c
feat(python): add lint dispatcher + universal format command (#100)
FlorianBruniaux Feb 14, 2026
a134fe5
chore(master): release 0.16.0 (#121)
github-actions[bot] Feb 14, 2026
292d5c7
Merge branch 'master' into docs/v0.15.1-python-go-complete
FlorianBruniaux Feb 14, 2026
9324f4c
feat(hook): handle global options before subcommands (#99)
mhcoen Feb 15, 2026
1363981
feat(cargo): add cargo nextest support with failures-only output (#107)
ilaborie Feb 15, 2026
352d172
refactor(init): add upsert_rtk_block for idempotent CLAUDE.md managem…
heAdz0r Feb 15, 2026
6ae0a14
chore(master): release 0.17.0 (#126)
github-actions[bot] Feb 15, 2026
40600dd
feat(gain): colored dashboard with efficiency meter and impact bars (…
heAdz0r Feb 15, 2026
fe3b39a
chore(master): release 0.18.0 (#132)
github-actions[bot] Feb 15, 2026
46bacc1
fix: update version references to 0.16.0 in README.md and CLAUDE.md
FlorianBruniaux Feb 15, 2026
7225605
Merge remote-tracking branch 'origin/master' into docs/v0.15.1-python…
FlorianBruniaux Feb 15, 2026
64c7932
fix: update version references to 0.18.0 in docs
FlorianBruniaux Feb 15, 2026
cf78a04
fix: update ARCHITECTURE.md version to 0.18.0
FlorianBruniaux Feb 15, 2026
4b04389
Merge pull request #102 from FlorianBruniaux/docs/v0.15.1-python-go-c…
FlorianBruniaux Feb 15, 2026
254c21f
chore(master): release 0.18.1 (#133)
github-actions[bot] Feb 16, 2026
d8b5bb0
chore: add Claude Code agents, commands, skills, hooks and rules
FlorianBruniaux Feb 16, 2026
27c6daa
fix: update README.md version to 0.18.1
FlorianBruniaux Feb 16, 2026
b6137e5
feat: add /repo-recap skill for PR/issue/release summaries
FlorianBruniaux Feb 16, 2026
7518d1f
fix: update CLAUDE.md version to 0.18.1
FlorianBruniaux Feb 16, 2026
24c03c6
feat: tee raw output to file for LLM re-read without re-run (#134)
FlorianBruniaux Feb 16, 2026
e0cd87f
chore(master): release 0.19.0 (#148)
github-actions[bot] Feb 16, 2026
81c835d
Merge pull request #144 from rtk-ai/chore/claude-config
FlorianBruniaux Feb 16, 2026
0b0071d
feat: add hook audit mode for verifiable rewrite metrics (#151)
FlorianBruniaux Feb 16, 2026
7efe55d
feat: add Rust-based hook engine with chained command rewriting
ahundt Feb 16, 2026
17ba68f
fix(hook): add lexer integration and route single commands to rtk sub…
ahundt Feb 19, 2026
a2fc0b9
registry.rs,hook.rs: remove no-op route, fix fallback tests
ahundt Feb 19, 2026
608ca6f
registry.rs,hook.rs: add missing routing test coverage from main branch
ahundt Feb 19, 2026
2e09a7a
hook.rs: add e2e token savings tests for git status, ls, git log
ahundt Feb 19, 2026
21b03b8
feat(stream): port streaming pipeline + pipe filter to hooks-v2
ahundt Feb 21, 2026
4a381a6
test(shell): add redirect/pipe suffix coverage for lexer and analysis
ahundt Feb 21, 2026
f79a313
feat(hook): env-prefix routing + suffix-aware RTK filter preservation
ahundt Feb 21, 2026
025f3f3
fix(lexer): treat \$SIMPLE_VAR as Arg, not Shellism
ahundt Feb 21, 2026
ba67fce
feat(hook): substitute RTK commands inside multi-command chains
ahundt Feb 21, 2026
4faf929
feat(hook): add FORMAT_PRESERVING and TRANSPARENT_SINKS classificatio…
ahundt Feb 21, 2026
9294bb1
fix(hook): pnpm eslint routing + remove personal path + fix cd comment
ahundt Feb 22, 2026
6c0dfea
Merge remote-tracking branch 'upstream/master' into feat/rust-hooks-v2
ahundt Feb 23, 2026
bcd33c8
fix(tracking): correct command labels in spawn_with_filter tracking
ahundt Feb 24, 2026
a089013
fix(trash): use NSFileManager on macOS to silence trash sound
ahundt Feb 24, 2026
16bb138
fix: handle empty args edge case and fix flaky tracking test
ahundt Feb 25, 2026
ca57a4a
merge: integrate upstream/master into feat/rust-hooks-v2
ahundt Mar 2, 2026
e6594fc
feat(pipe,filters): add mypy, ruff, prettier, golangci-lint to dispat…
ahundt Mar 2, 2026
9a22fd4
feat(registry): add wc to ROUTES table and discover classification
ahundt Mar 2, 2026
b1ddeb8
fix(filters,stream): remove dead code, fix I/O loop bug, add edge cas…
ahundt Mar 2, 2026
dac749a
feat(init,hook): add plugin cache patching, manifest fallthrough, and…
ahundt Mar 4, 2026
0356935
analysis.rs: add trailing & safe suffix for background job rewriting
ahundt Mar 4, 2026
6ea0430
refactor(cmd): reorganize LLM protocol adapters into hook/ subfolder
ahundt Mar 4, 2026
ce0b804
feat(tests): add missing capability tests and export identifier valid…
ahundt Mar 4, 2026
2a23cf1
feat(hook,init): parallel-merge coordinator, --hook-type flag, plugin…
ahundt Mar 4, 2026
9477848
feat(init): add pre-flight environment checks with actionable guidance
ahundt Mar 5, 2026
f54c249
fix(init): fix 5 issues in environment pre-flight checks
ahundt Mar 5, 2026
8a5408e
init.rs: add shell-aware PATH helpers, replace hardcoded zsh/bash advice
ahundt Mar 5, 2026
83bbfd1
utils,*_cmd,claude: add cross-platform command_in_path/which_command …
ahundt Mar 5, 2026
566edc1
merge: integrate rtk-ai/master (v0.26.0) into feat/rust-hooks-v2
ahundt Mar 5, 2026
96183a3
chore: cargo fmt + Cargo.lock update post-merge
ahundt Mar 6, 2026
5eb6760
fix(git): pass unknown commit flags through to git unchanged
ahundt Mar 6, 2026
598b5c7
merge: integrate rtk-ai/master (v0.27.0) into feat/rust-hooks-v2
ahundt Mar 6, 2026
dbc46c7
fix(hook): binary hook passes gh --json/--jq/--template through uncha…
ahundt Mar 6, 2026
6aca2fe
merge: integrate rtk-ai/master into feat/rust-hooks-v2
ahundt Mar 6, 2026
0814ffa
fix(cargo): re-insert `--` separator stripped by Clap trailing_var_arg
ahundt Mar 8, 2026
890425f
fix(hook): strip shell prefix builtins (noglob, command, nocorrect) b…
ahundt Mar 9, 2026
33aa626
test(hook): add comprehensive shell prefix builtin edge case tests
ahundt Mar 9, 2026
cc1fffa
fix(hook): stop wrapping unknown commands in rtk run -c
ahundt Mar 10, 2026
7b522fe
merge upstream/master (v0.28.2) into feat/rust-hooks-v2
ahundt Mar 11, 2026
34de4bb
fix(test): use GIT_DIR env to ensure git status fails in non-repo test
ahundt Mar 11, 2026
5f36eb0
merge upstream/develop into feat/rust-hooks-v2-develop
ahundt Mar 12, 2026
c86838b
refactor(registry): replace rewrite_compound byte scanner with lexer
ahundt Mar 12, 2026
d2cb571
fix(grep,hook,trash): address 3 PR review items
ahundt Mar 12, 2026
59ee313
fix(grep,hook,trash): address 3 PR review items
ahundt Mar 12, 2026
e94c07b
merge upstream/develop (Windows PATHEXT, CI fixes) into feat/rust-hoo…
ahundt Mar 12, 2026
2ba8930
fix(gain): simplify project_scope match to direct call
ahundt Mar 13, 2026
e559028
merge upstream/develop (session_cmd, toml_filter, opencode, git log l…
ahundt Mar 13, 2026
bd374bb
fix(gain): simplify project_scope match to direct call
ahundt Mar 13, 2026
e6fc95c
refactor(discover): replace byte-scanner rewrite_compound with lexer-…
ahundt Mar 13, 2026
7c31468
Merge branch 'feat/rust-hooks-v2' into feat/rust-hooks-v2-develop
ahundt Mar 13, 2026
a49333d
feat(analysis): make split_safe_suffix iterative for compound suffixes
ahundt Mar 14, 2026
1caa1c3
fix(grep): add -A/-B/-C/-i/-w flags to Clap definition
ahundt Mar 14, 2026
8dc40ed
feat(hook): add git branch and worktree to hook_lookup whitelist
ahundt Mar 14, 2026
4e37880
fix(grep): revert -A/-B/-C flags that produce garbled output
ahundt Mar 14, 2026
9adcc97
fix(git): support all remotes in branch filter, not just origin
ahundt Mar 14, 2026
5b57c42
fix: P1 exit codes, grep regex perf, SQLite WAL (#631)
pszymkowiak Mar 16, 2026
0414020
fix: raise output caps for P0 bugs (#617, #618, #620) (#630)
pszymkowiak Mar 16, 2026
b29344f
feat(.claude): add /rtk-triage skill — cross-analysis of PRs and issu…
FlorianBruniaux Mar 17, 2026
ff8e490
fix: subcommand routing drops unrecognized subcommands (#600) (#601)
pszymkowiak Mar 17, 2026
810d7ff
fix: resolve cargo fmt + 54 clippy warnings blocking CI (#663)
pszymkowiak Mar 17, 2026
8b162fe
fix: discover absolute paths + git global options (#485, #163) (#518)
pszymkowiak Mar 17, 2026
1be3589
fix: prevent double `--` separator in cargo clippy with -p flags (#519)
ousamabenyounes Mar 17, 2026
945ee34
ci: add PR template + target branch check (#521)
pszymkowiak Mar 17, 2026
cf1a790
fix: prevent rtk read from corrupting JSON/YAML/data files (#522)
ousamabenyounes Mar 17, 2026
9b4b5a8
fix: skip rewriting find/fd in pipes to preserve xargs compatibility …
pszymkowiak Mar 17, 2026
f2a7306
fix: add hint when git diff is truncated + fix --no-compact passthrou…
pszymkowiak Mar 17, 2026
91b96bf
fix: propagate exit codes in git diff, status+args, commit, and branc…
pszymkowiak Mar 17, 2026
fab035e
feat: add 5 new TOML filters (ollama, nx, gradle, spring-boot, jira) …
pszymkowiak Mar 17, 2026
c2cc8f3
fix: replace emojis with plain text in git status output (#603) (#638)
pszymkowiak Mar 17, 2026
6fa5d1e
feat(init): per-version dedup to prevent double-execution of plugin h…
ahundt Mar 18, 2026
340ae77
chore: add dev profile optimization and debug/profiling build docs
ahundt Mar 18, 2026
7c0f9e2
merge: upstream/develop into feat/rust-hooks-v2-develop
ahundt Mar 18, 2026
4628fa8
merge: upstream/develop (v0.31.0 + agent support) into feat/rust-hook…
ahundt Mar 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
147 changes: 147 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,19 @@ Core dependencies (see Cargo.toml):
- **colored**: Terminal output formatting
- **serde/serde_json**: Configuration and JSON parsing

## Debug & Profiling Builds

Global `~/.cargo/config.toml` sets `debug = "line-tables-only"` for dev builds — smaller artifacts, faster builds. Use these named profiles when you need full symbols:

```bash
cargo build --profile debugging # Full DWARF symbols for lldb/gdb/CodeLLDB step-through
cargo test --profile debugging # Run tests fully debuggable
cargo build --profile profiling # Optimized + source lines for flamegraphs/Instruments
samply record cargo run --profile profiling
```

---

## Build Optimizations

Release profile (Cargo.toml:31-36):
Expand Down Expand Up @@ -603,3 +616,137 @@ rtk newcmd args
# 7. Document
# Update README.md, CHANGELOG.md, this file
```

<!-- rtk-instructions v2 -->
# RTK (Rust Token Killer) - Token-Optimized Commands

## Golden Rule

**Always prefix commands with `rtk`**. If RTK has a dedicated filter, it uses it. If not, it passes through unchanged. This means RTK is always safe to use.

**Important**: Even in command chains with `&&`, use `rtk`:
```bash
# ❌ Wrong
git add . && git commit -m "msg" && git push

# ✅ Correct
rtk git add . && rtk git commit -m "msg" && rtk git push
```

## RTK Commands by Workflow

### Build & Compile (80-90% savings)
```bash
rtk cargo build # Cargo build output
rtk cargo check # Cargo check output
rtk cargo clippy # Clippy warnings grouped by file (80%)
rtk tsc # TypeScript errors grouped by file/code (83%)
rtk lint # ESLint/Biome violations grouped (84%)
rtk prettier --check # Files needing format only (70%)
rtk next build # Next.js build with route metrics (87%)
```

### Test (90-99% savings)
```bash
rtk cargo test # Cargo test failures only (90%)
rtk vitest run # Vitest failures only (99.5%)
rtk playwright test # Playwright failures only (94%)
rtk test <cmd> # Generic test wrapper - failures only
```

### Git (59-80% savings)
```bash
rtk git status # Compact status
rtk git log # Compact log (works with all git flags)
rtk git diff # Compact diff (80%)
rtk git show # Compact show (80%)
rtk git add # Ultra-compact confirmations (59%)
rtk git commit # Ultra-compact confirmations (59%)
rtk git push # Ultra-compact confirmations
rtk git pull # Ultra-compact confirmations
rtk git branch # Compact branch list
rtk git fetch # Compact fetch
rtk git stash # Compact stash
rtk git worktree # Compact worktree
```

Note: Git passthrough works for ALL subcommands, even those not explicitly listed.

### GitHub (26-87% savings)
```bash
rtk gh pr view <num> # Compact PR view (87%)
rtk gh pr checks # Compact PR checks (79%)
rtk gh run list # Compact workflow runs (82%)
rtk gh issue list # Compact issue list (80%)
rtk gh api # Compact API responses (26%)
```

### JavaScript/TypeScript Tooling (70-90% savings)
```bash
rtk pnpm list # Compact dependency tree (70%)
rtk pnpm outdated # Compact outdated packages (80%)
rtk pnpm install # Compact install output (90%)
rtk npm run <script> # Compact npm script output
rtk npx <cmd> # Compact npx command output
rtk prisma # Prisma without ASCII art (88%)
```

### Files & Search (60-75% savings)
```bash
rtk ls <path> # Tree format, compact (65%)
rtk read <file> # Code reading with filtering (60%)
rtk grep <pattern> # Search grouped by file (75%)
rtk find <pattern> # Find grouped by directory (70%)
```

### Analysis & Debug (70-90% savings)
```bash
rtk err <cmd> # Filter errors only from any command
rtk log <file> # Deduplicated logs with counts
rtk json <file> # JSON structure without values
rtk deps # Dependency overview
rtk env # Environment variables compact
rtk summary <cmd> # Smart summary of command output
rtk diff # Ultra-compact diffs
```

### Infrastructure (85% savings)
```bash
rtk docker ps # Compact container list
rtk docker images # Compact image list
rtk docker logs <c> # Deduplicated logs
rtk kubectl get # Compact resource list
rtk kubectl logs # Deduplicated pod logs
```

### Network (65-70% savings)
```bash
rtk curl <url> # Compact HTTP responses (70%)
rtk wget <url> # Compact download output (65%)
```

### Meta Commands
```bash
rtk gain # View token savings statistics
rtk gain --history # View command history with savings
rtk discover # Analyze Claude Code sessions for missed RTK usage
rtk proxy <cmd> # Run command without filtering (for debugging)
rtk init # Add RTK instructions to CLAUDE.md
rtk init --global # Add RTK to ~/.claude/CLAUDE.md
```

## Token Savings Overview

| Category | Commands | Typical Savings |
|----------|----------|-----------------|
| Tests | vitest, playwright, cargo test | 90-99% |
| Build | next, tsc, lint, prettier | 70-87% |
| Git | status, log, diff, add, commit | 59-80% |
| GitHub | gh pr, gh run, gh issue | 26-87% |
| Package Managers | pnpm, npm, npx | 70-90% |
| Files | ls, read, grep, find | 60-75% |
| Infrastructure | docker, kubectl | 85% |
| Network | curl, wget | 65-70% |

Overall average: **60-90% token reduction** on common development operations.
<!-- /rtk-instructions -->
64 changes: 25 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,23 @@ rusqlite = { version = "0.31", features = ["bundled"] }
toml = "0.8"
chrono = "0.4"
thiserror = "1.0"
which = "8"
tempfile = "3"
sha2 = "0.10"
ureq = "2"
hostname = "0.4"
flate2 = "1.0"
quick-xml = "0.37"
which = "8"

[build-dependencies]
toml = "0.8"

[dev-dependencies]

[profile.dev.package."*"]
debug = 0 # No debug symbols for deps — smaller target dir
opt-level = 1 # Light optimization for deps — faster runtime

[profile.release]
opt-level = 3
lto = true
Expand Down
Loading