From f3a48fbc69f53774049fc31d3ee5cf94156193bc Mon Sep 17 00:00:00 2001 From: omigamedev Date: Sun, 14 Jun 2026 00:29:30 +0200 Subject: [PATCH] Record STR-051 branch dispatch object closeout --- docs/modernization/debt.md | 4 ++++ docs/modernization/tasks.md | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/modernization/debt.md b/docs/modernization/debt.md index 0821d2c..524ce9a 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. `execute_canvas_draw_merge_branch_body()` + now routes the branch dispatch object assembly through + `make_canvas_draw_merge_branch_dispatch(...)`; the branch body still owns the + selection guard and dispatch wiring. - 2026-06-14: `DEBT-0036` was narrowed again. `Canvas::draw_merge_branch_orchestration()` now routes the temporary erase, temporary paint, texture, and blend dispatch bodies through retained helpers inside `execute_canvas_draw_merge_branch_body(...)`; diff --git a/docs/modernization/tasks.md b/docs/modernization/tasks.md index c8d7cc4..ee7fe90 100644 --- a/docs/modernization/tasks.md +++ b/docs/modernization/tasks.md @@ -2179,20 +2179,20 @@ Scope: `src/canvas.cpp`, `src/legacy_canvas_draw_merge_services.h`, `tests/paint Goal: -Move the remaining temporary erase, texture, and blend dispatch bodies used by -`execute_canvas_draw_merge_branch_body()` into retained helpers so the branch +Move the remaining branch dispatch object assembly used by +`execute_canvas_draw_merge_branch_body()` into a retained helper so the branch body keeps only helper dispatch. Done Checks: -- `execute_canvas_draw_merge_branch_body()` no longer owns the temporary erase, - texture, and blend dispatch bodies inline. -- Regression coverage proves the extracted helpers preserve temporary erase, - texture, and blend execution order. +- `execute_canvas_draw_merge_branch_body()` no longer owns the branch dispatch + object assembly inline. +- Regression coverage proves the extracted helper preserves temporary erase, + temporary paint, texture, and blend execution order. - `docs/modernization/debt.md` records the reduced draw-merge branch-dispatch surface. -Closeout: `27d34f2f` +Closeout: `8e1aea9a` Validation: