0%

Section 08: /continue-roadmap Autopilot Wiring

Status: Not Started Goal: Autopilot may drive toward completion but never writes it — only /independent-review’s verified verdict completes. Remove the auto-complete path that let §08 propagate.

Success Criteria:

  • State-B pending_status_complete auto-cure removed; autopilot can’t self-complete.
  • Autopilot routes ready-to-complete sections to /independent-review; completion only on its verified verdict.
  • Autopilot regression tests updated; a test asserts the §08-shape is NOT auto-completed (surfaces refusal).

Context: Under autopilot, /continue-roadmap State-B (pending_status_complete) auto-cured by calling flip_from_in_review_clean / plan-complete.py --complete-all — a self-complete path. Combined with the fabricated §08 and the suppressed drift signal, autopilot advanced past a fake completion. Autopilot must dispatch /independent-review and honor only its verdict.

Depends on: Section 06 (the /independent-review completer it dispatches).


Intelligence Reconnaissance

Queries run 2026-05-26:

  • scripts/intel-query.sh search "autopilot pending_status_complete auto-cure" — N/A on the Rust-only code-symbol graph; this section edits Python. Recorded per plan-schema non-Rust allowance.
  • Direct grounding (this session): scripts/plan_orchestrator/autopilot_auto_cure.py (_emit_pending_status_complete_auto_cure, State-B → scripts/plan-complete.py --complete-all); scripts/plan_orchestrator/roadmap.py (State-C _emit_review_plan_for_* dispatch emitters); /continue-roadmap SKILL.md Regressions list references State-B pending_status_complete auto-cure + State-C needs_review_plan_dispatch.

Results summary [ori]: State-B auto-complete lives in autopilot_auto_cure.py; the dispatch-emitter pattern (_emit_review_plan_for_* in roadmap.py) is the template for a _emit_independent_review_for_completion analog. Completion moves from “autopilot auto-cures to complete” → “autopilot dispatches /independent-review; verdict completes”. UNVERIFIED: exact emitter wiring + resume-bash composition — confirm at execution.


08.1 Remove State-B auto-complete; route to /independent-review dispatch

File(s): scripts/plan_orchestrator/autopilot_auto_cure.py; scripts/plan_orchestrator/roadmap.py; .claude/skills/continue-roadmap/SKILL.md (dispatch table + Regressions list)

  • Remove the State-B pending_status_complete auto-cure that completes a section (the flip_from_in_review_clean / plan-complete --complete-all call). Replace with a /independent-review dispatch emitter (mirror the _emit_review_plan_for_* pattern + post_dispatch_resume bash).
  • Autopilot honors only /independent-review’s verified-complete verdict to advance; a refusal surfaces (does not complete).
  • Update /continue-roadmap SKILL.md: dispatch table + Regressions-to-watch entry for the removed auto-complete path.
  • Update autopilot regression tests (test_autopilot_pending_status_complete_routing.py + siblings) to the new routing; add a test asserting the §08-shape is surfaced, not auto-completed.
  • Subsection close-out (08.1) — MANDATORY before 08.N:
    • Tasks [x]; autopilot tests green on new routing; update subsection statuscomplete.
    • Repo hygiene checkcompiler_repo/diagnostics/repo-hygiene.sh --check.

08.N Completion Checklist

  • 08.1 [x] and status complete.
  • State-B auto-complete removed; grep confirms no autopilot path calls flip_from_in_review_clean / plan-complete —complete-all to complete.
  • python3 -m pytest scripts/plan_orchestrator/tests/ -q green (new routing + §08-shape surfaced-not-completed).
  • Plan sync — close via §06 /independent-review (bootstrap caveat); update 00-overview.md + index.md.
  • Repo hygiene checkcompiler_repo/diagnostics/repo-hygiene.sh --check.

Exit Criteria: /continue-roadmap autopilot dispatches /independent-review for completion and advances only on its verified verdict; the State-B self-complete path is gone; autopilot does not complete a section with a missing deliverable; tests green.