codeburn
codeburn copied to clipboard
Track productive yield - which AI spend actually shipped to main
Problem
CodeBurn tracks cost and waste but not productive outcome. You can see you spent $200 on AI coding this week, but not how much of that code actually made it to main vs got reverted or abandoned.
Solution
Add a codeburn yield command that correlates AI sessions with git history:
- Extract files edited and timestamps from session logs
- Check if those changes exist in main (content matching works across squash/rebase/PR workflows)
- Categorize sessions as productive, reverted, or abandoned
codeburn yield --since 7d
Productive: $142.30 (68%) - code shipped to main
Reverted: $18.50 (9%) - commits were reverted
Abandoned: $48.20 (23%) - edits never committed
Benefits
- See ROI on AI spend, not just raw cost
- Identify which task types have highest yield vs waste
- Track improvement over time