From 8f02e390581777566440bc28dedaaacbd0656bbc Mon Sep 17 00:00:00 2001 From: omigamedev Date: Sun, 14 Jun 2026 05:30:34 +0200 Subject: [PATCH] Record STR-057 closeout hash --- docs/modernization/debt.md | 4 ++++ docs/modernization/tasks.md | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/docs/modernization/debt.md b/docs/modernization/debt.md index 28b5f61..2c5085f 100644 --- a/docs/modernization/debt.md +++ b/docs/modernization/debt.md @@ -18,6 +18,10 @@ agent or engineer to remove them without reconstructing context from chat. ## Recent Reductions +- 2026-06-14: `DEBT-0036` was narrowed again. `Canvas::stroke_commit()` now + routes the retained request-dispatch invocation through + `execute_canvas_stroke_commit_dispatch(...)`; the wrapper still owns the + state capture and helper dispatch. - 2026-06-14: `DEBT-0036` was narrowed again. `Canvas::stroke_commit()` now routes the retained sequence plan assembly through `make_canvas_stroke_commit_sequence_plan(...)`; the wrapper still owns the diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index f84e327..a9324cd 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -2325,6 +2325,28 @@ Done Checks: - `docs/modernization/debt.md` records the reduced stroke-commit planning surface. +### STR-057 - Extract Stroke Commit Request Dispatch Invocation + +Status: Done +Score: no score movement +Debt: `DEBT-0036` +Scope: `src/canvas.cpp`, `tests/paint_renderer/stroke_execution_tests.cpp` +Closeout: `05386598` + +Goal: + +Move the remaining `Canvas::stroke_commit()` request-dispatch invocation into +a helper so the callsite keeps only state capture and helper dispatch. + +Done Checks: + +- `Canvas::stroke_commit()` no longer spells the request-dispatch invocation + inline. +- Regression coverage proves the helper preserves the retained dispatch + arguments. +- `docs/modernization/debt.md` records the reduced stroke-commit dispatch + surface. + Validation: ```powershell