Repository navigation
Description
Problem
The check-wait loop in cc-implement-issue and the CI gate of the rereview only distinguish in-scope from out-of-scope failures. It never retries a flaky check and cannot tell a broken base branch from infrastructure.
Proposal
Extend that step with a failure classification, citing log evidence:
change_related | flaky | base_branch_failure | infrastructure | unknown
change_related: fix, push, wait again (existing 2-round bound).flaky(timeout, network blip, evidence of transient cause, no link to the diff): one automatic rerun of the failed checks, then reclassify. No further reruns.base_branch_failure: do not fix; report which check and why, and that the same check fails on the base.infrastructure/unknown: stop and report as today (BLOCKED/PARTIALLY_RESOLVED).
Add the classification to the checks.items structured result. Keep cc-implement-issue and cc-rereview in sync, or extract the shared text into a reference file.
Updated for #182/#228 and clarified by #231: under
strict, classify failures and apply the bounded retry wherever the remote CI wait remains (implementation, resolution and review/rereview gate). Underparallel, classification and the single retry belong to the deterministic CI gate inrun_cycle.pyfor the exact reviewed SHA, and nowhere else. Never retry the same SHA/check twice across waits and gate.
Acceptance criteria
cc-implement-issueandcc-rereviewdescribe the same taxonomy and the single flaky retry.- No force-push, no merge, no unbounded loop.
checksin the structured result carries each failure's classification.- Existing tests/docs that assert the old statuses are updated.
- No new
cc-*skill.
Idea source: pr-ci in victor-falcon/skills (concept only; no declared license).
Planificación aprobada de CodeCycleToolkit 2.0
Implementación coordinada con #231, sin cierre ni fusión administrativa de ninguna issue.
strict: aplicar la clasificación donde permanece la espera remota: implementación, resolución y gate de review/rereview.parallel: la clasificación y el único retry pertenecen al gate determinista de CI del HEAD revisado enrun_cycle.py; no se duplican en las etapas.- Como máximo un retry por el mismo SHA/check a través de esperas y gates, conservando causa y evidencia.
- Coordinar Behavioral verification: CI recipe, retention and evidence reader #159 para no duplicar la confirmación de un fallo behavioral.
- Conservar taxonomía, estados y límites originales; cubrir ambas políticas y la reanudación.
Referencia estratégica: docs/ROADMAP_V2.md (versión aprobada; la ruta canónica se conserva en el índice del repositorio).
Activity