Task · TSO-0157

Report CodeRabbit finding counts in the sharded review summary instead of CLEAN

Description

scripts/shard_coderabbit_review.py prints ‘[dir] CLEAN (complete)’ for every shard that exits 0 with a complete line, regardless of findings. On the loop19 TSO-0148 review it printed ‘7 clean, 0 failed’ while the aggregate NDJSON held 4 major and 2 minor findings. An operator or agent reading the summary takes a false pass. The summary must report per-shard finding counts by severity, and ‘clean’ must mean zero findings.

Acceptance Criteria

Definition of Done

Implementation Notes

loop19: loop-created from the TSO-0148 CodeRabbit run; 1 implementation attempt; landed 446f0682; reviewer approve; CodeRabbit 0 findings; composed just check green; ci-success green. Advisory left: cross-check complete.findings against counted finding events.

Final Summary

Sharded CodeRabbit runner now prints per-shard finding counts by severity (CLEAN only at zero findings) and totals in the summary; exit semantics unchanged. Landed 446f0682.

View the source file on GitHub