Guide
Consume JSON progress safely
Stream status records while preserving the final machine-readable summary boundary.
Add --json-progress and read stdout one UTF-8 line at a time. Treat objects with method: event as progress/output records. On exit 0, treat the last nonempty object as the final summary and verify its output path. On nonzero exit, use the stable exit category, stderr, and text log; do not expect a success-summary object.