Files
cc-ci-orchestrator/cc-ci-plan/plan-phase6-reconcile-all-mirrors.md

1.8 KiB

cc-ci Phase 6 — reconcile all enrolled recipe mirrors

Status: QUEUED — runs after Builder/Adversary phase 5 is complete. Owner: cc-ci-assistant session only. Not a Builder/Adversary loop phase. This file: /srv/cc-ci-orch/cc-ci-plan/plan-phase6-reconcile-all-mirrors.md


1. Goal

Bring every enrolled recipe-maintainers/<recipe> mirror back into the intended reconciled state without involving the Builder/Adversary loops. This is a post-build operational cleanup pass, not a loop-verification phase.

2. Definition of Done

  • Enumerate the current enrolled recipe mirrors and the expected upstream source for each.
  • For all mirrors, confirm main matches upstream main at the intended sync point.
  • Identify stale open PRs where the change is already in upstream main and close them.
  • Identify superseded PRs and replace/close them according to current reconcile behavior.
  • Record the final per-recipe reconcile outcome in a written summary for the operator.
  • Leave no ad-hoc test branches or temporary working copies behind.

3. Method

  • Use the assistant's own working copies or scratch clones; do not edit the Builder/Adversary loop clones unless explicitly required.
  • Prefer existing reconcile helpers and documented workflows already used by cc-ci.
  • Keep changes minimal and operationally reversible.
  • If a mirror exposes a genuine product bug instead of a routine reconcile issue, record it clearly and stop short of risky improvisation.

4. Deliverables

  • A concise operator-facing summary listing:
    • every mirror checked
    • any PRs closed/replaced
    • any mirror left needing manual attention

5. Guardrails

  • No loop/watchdog changes are part of this phase.
  • No merges without explicit operator instruction.
  • No secret values in notes, commits, or summaries.