Skip to content

Commit 594013c

Browse files
committed
docs: add cached-vs-uncached verification rule for parser PRs
1 parent f2195c1 commit 594013c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Run `npx tsx src/cli.ts report` and `npx tsx src/cli.ts today` to verify changes before any commit
66
- For dashboard changes: run the interactive TUI and visually confirm rendering
77
- For new features: test the happy path AND edge cases (empty data, missing config, pipe mode)
8+
- For any PR touching parser, source cache, or data aggregation: run cached vs uncached comparison before merge. Costs must match within $0.10. Use: `parseAllSessions(range, 'all', { noCache: false })` vs `parseAllSessions(range, 'all', { noCache: true })` and compare totals. A mismatch means the cache is serving stale or incorrect data
89

910
## Code Quality
1011
- Clean, minimal code. No dead code, no commented-out blocks, no TODO placeholders

0 commit comments

Comments
 (0)