codeburn icon indicating copy to clipboard operation
codeburn copied to clipboard

Add JSON output for optimize and yield

Open barry166 opened this issue 5 months ago • 0 comments

Summary

  • add --format json to optimize with setup health, savings summary, and serialized findings/fixes
  • add --format json to yield with productive/reverted/abandoned buckets and ratio
  • document the new JSON modes and add focused serializer tests

Closes #419.

Testing

  • npm test -- tests/optimize.test.ts tests/yield.test.ts
  • npm test
  • npm run build
  • git diff --check
  • npm run dev -- optimize -p today --format json
  • npm run dev -- yield -p today --format json

barry166 avatar Jun 14 '26 15:06 barry166