rtk v0.37.2, macOS (Apple Silicon, homebrew)
rtk discover and rtk learn report zero sessions when run without --all, even from a directory whose Claude Code history clearly exists.
Repro
From a project dir /path/to/proj (CC transcripts present at ~/.claude/projects/-path-to-proj/, 1266 *.jsonl in the last 30d):
$ rtk discover
RTK Discover -- Savings Opportunities
Scanned: 0 sessions (last 30 days), 0 Bash commands
No missed savings found. RTK usage looks good!
$ rtk learn
No Claude Code sessions found in the last 30 days.
$ rtk discover --all
Scanned: 1266 sessions (last 30 days), 56233 Bash commands # data is found fine
rtk session (same underlying data) works without --all.
Impact
The no-arg form silently scans nothing and prints "usage looks good!" / "no sessions found" — a false negative that hides real missed-savings and disables the learn loop for anyone who doesn't know to pass --all.
Expected
Bare discover/learn should resolve the current project like session does, or the default should be --all.
rtk v0.37.2, macOS (Apple Silicon, homebrew)
rtk discoverandrtk learnreport zero sessions when run without--all, even from a directory whose Claude Code history clearly exists.Repro
From a project dir
/path/to/proj(CC transcripts present at~/.claude/projects/-path-to-proj/, 1266*.jsonlin the last 30d):rtk session(same underlying data) works without--all.Impact
The no-arg form silently scans nothing and prints "usage looks good!" / "no sessions found" — a false negative that hides real missed-savings and disables the learn loop for anyone who doesn't know to pass
--all.Expected
Bare
discover/learnshould resolve the current project likesessiondoes, or the default should be--all.