100%

Skeleton-update check (full intel-fold drift)

Goal

Skeleton-update check (full intel-fold drift) — 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/api.py:heal_section_package (the regen entry point)
  • .claude/rules/plan-read-discipline.md 3.1 (rewrite = execution-phase content authoring; content md only, never plan.json)

Work Items

  • Extend the prepare drift enrichment from mission-pin-only (mission_content_drift) to full intel-fold drift: detect when the section skeleton/scope is stale vs prior-section work + the fresh intel; emit proposed structural + content rewrites in proposed_rewrites.
  • pytest: intel-fold drift detected (not just mission-pin); proposed_rewrites cover both structural and content-body gaps.