Summary
Implement a detailed optimization report that shows node-level changes made by the graph optimizer — before/after diff, per-capability breakdown, and graph size reduction statistics.
Context
Users and developers need detailed visibility into what the graph optimizer changed. This complements the build report (#P1-FEATURE-010) with a deep-dive into optimization decisions.
From plans/release/0501_release_plan/P0_CHECKLIST.md (P1-FEATURE-011).
Current State
Desired State
artifacts/optimization_report.json generated after each wmk build run
- Content:
- Per-pass summary: pass name, nodes removed/added/modified
- Node-level diff: before/after for each changed node
- Graph size reduction: node count delta, model size delta (MB)
- Per-capability breakdown: which optimizations were applied/skipped
Acceptance Criteria
Technical Notes
Related Files
Summary
Implement a detailed optimization report that shows node-level changes made by the graph optimizer — before/after diff, per-capability breakdown, and graph size reduction statistics.
Context
Users and developers need detailed visibility into what the graph optimizer changed. This complements the build report (#P1-FEATURE-010) with a deep-dive into optimization decisions.
From
plans/release/0501_release_plan/P0_CHECKLIST.md(P1-FEATURE-011).Current State
Desired State
artifacts/optimization_report.jsongenerated after eachwmk buildrunAcceptance Criteria
artifacts/optimization_report.jsongenerated on everywmk buildrun--verboseflag: show full per-node diff in console outputTechnical Notes
Related Files
plans/release/0501_release_plan/feature-scale.md— P1.11 Optimization Reportplans/release/0501_release_plan/P0_CHECKLIST.md— P1-FEATURE-011