codeburn
codeburn copied to clipboard
Add JSON output for optimize and yield
Summary
- add
--format jsontooptimizewith setup health, savings summary, and serialized findings/fixes - add
--format jsontoyieldwith 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.tsnpm testnpm run buildgit diff --checknpm run dev -- optimize -p today --format jsonnpm run dev -- yield -p today --format json