100%

Current-flow audit + red acceptance probe

Goal

Current-flow audit + red acceptance probe — part of the linear chain making /review-section re-ground each section against its FRESH intel package (regen -> skeleton-check -> rewrite) before /continue-roadmap serves it.

Spec References

  • scripts/review_section_runtime/dispatch.py (prepare_review:107, apply_restructure:156, _RESTRUCTURE_OPS:153, _mission_drift_enrichment:77)
  • scripts/review_section_runtime/state.py (restructuring delegation; mark_reviewed_clean)
  • scripts/intel_package_runtime/heal.py:104 heal_section_package — the regen entry point (re-exported via api.py public surface)
  • .claude/rules/plan-read-discipline.md 3.1 (rewrite = execution-phase content authoring; content md only, never plan.json)

Work Items

  • Audit current /review-section flow + pin the 3 gaps with file:line: prepare_review (dispatch.py:107) reviews against the EXISTING dossier (no regen); apply_restructure (dispatch.py:156) + _RESTRUCTURE_OPS (dispatch.py:153) are structural-work-item-ops only (no content-body rewrite); _mission_drift_enrichment (dispatch.py:77) is mission-pin, not full intel-fold.
  • Author the RED end-to-end acceptance probe (scripts/review_section_runtime/tests/test_intel_fold_e2e.py): a fixture plan whose fresh intel package carries a finding absent from a section skeleton; drive /continue-roadmap pre-serve dispatch of /review-section; assert the finding is ABSENT from the section body today (red against current behavior).