codeburn icon indicating copy to clipboard operation
codeburn copied to clipboard

Track productive yield - which AI spend actually shipped to main

Open iamtoruk opened this issue 7 months ago • 0 comments

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:

  1. Extract files edited and timestamps from session logs
  2. Check if those changes exist in main (content matching works across squash/rebase/PR workflows)
  3. 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

iamtoruk avatar Apr 25 '26 11:04 iamtoruk