diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index 5f82abf..4892975 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -1715,6 +1715,34 @@ Completed Task Log: | --- | --- | ---: | --- | --- | | 2026-06-13 | STR-011 | no score movement | `ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-on-failure`; `cmake --build --preset windows-msvc-default --config Debug --target PanoPainter` | `fa6ac4dc` | +### STR-036 - Extract Preview Main Live Pass Orchestration + +Status: Ready +Score: no score movement +Debt: `DEBT-0036` +Scope: `src/node_stroke_preview.cpp`, `tests/paint_renderer/compositor_tests.cpp` + +Goal: + +Move the remaining `NodeStrokePreview::draw_stroke_immediate()` main live-pass +orchestration into a retained helper so the callsite keeps only branch +selection and direct live-pass dispatch. + +Done Checks: + +- `NodeStrokePreview::draw_stroke_immediate()` no longer owns the main live-pass + orchestration inline. +- Regression coverage proves the helper preserves live-pass branch order and + preview copy behavior. +- `docs/modernization/debt.md` records the reduced preview live-pass surface. + +Validation: + +```powershell +ctest --preset desktop-fast --build-config Debug -R "pp_paint_renderer_compositor|pp_paint_renderer_stroke_execution" --output-onfailure +cmake --build --preset windows-msvc-default --config Debug --target PanoPainter +``` + ### STR-010 - Extract Remaining Draw Merge Composite Orchestration ### STR-016 - Extract Draw Merge Layer Composite Execution