Repository navigation
cc-stats: show how cycles ended and name unreported models in drift - #59
Conversation
) - Add a per-cycle "Cycle outcomes" aggregate to JSON and Markdown: final status counts with bars, cycles without a closing record kept as unknown, and resolution rounds when measured. - Unmeasured model drift now states how many dispatches did not report a model. - Label test verification as counted per cycle. Closes #52
Review summaryAPPROVED — reviewed the accumulated diff from FindingsNo findings. Security triageSensitive change: local telemetry reporting and privacy. The security audit ran and found no confirmed security or privacy vulnerabilities. The report continues to emit aggregate counts rather than cycle identifiers or raw telemetry. VerificationExecution-backed verification ran on an isolated archive of the reviewed PR head; the shared worktree was left untouched.
CIGitHub checks for this head are all passing: Residual riskThe report shows exact outcome counts for small cohorts. Sharing a generated report could reveal a cycle's broad outcome; report generation remains local and user-invoked. VerdictAPPROVED. The reviewed head matches the current PR head, all required checks passed, and there are no open blocking findings. |
Closes #52 (#52)
What changed
summary.cycle_outcomesin JSON, new Markdown section): counts each correlated cycle (cycle_id, not task) once by the status on its lastrecord_kind: cyclerow, with bars. Cycles seen in the period without a closing row are reported asunknown— neither finished nor failed. Resolution rounds are summed and averaged when measured.Model drift: not measured — N dispatches did not report a modelinstead of hiding the count.cc-statsSKILL.md and CHANGELOG updated.Acceptance criteria
HUMAN_INTERVENTIONcycles renderHUMAN_INTERVENTION: 4—test_cycle_outcomes_count_final_status_per_cycle.cyclerow counts as unknown only —test_cycle_without_closing_row_is_neither_finished_nor_failed.test_unmeasured_model_drift_names_dispatches_without_a_model.Verification
python3 scripts/validate-package.py→ VALIDpython3 -m unittest discover -s tests→ 622 tests OK