Record STR-051 branch dispatch object closeout

This commit is contained in:
2026-06-14 00:29:30 +02:00
parent 8e1aea9a2d
commit f3a48fbc69
2 changed files with 11 additions and 7 deletions

View File

@@ -18,6 +18,10 @@ agent or engineer to remove them without reconstructing context from chat.
## Recent Reductions ## 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()` - 2026-06-14: `DEBT-0036` was narrowed again. `Canvas::draw_merge_branch_orchestration()`
now routes the temporary erase, temporary paint, texture, and blend dispatch now routes the temporary erase, temporary paint, texture, and blend dispatch
bodies through retained helpers inside `execute_canvas_draw_merge_branch_body(...)`; bodies through retained helpers inside `execute_canvas_draw_merge_branch_body(...)`;

View File

@@ -2179,20 +2179,20 @@ Scope: `src/canvas.cpp`, `src/legacy_canvas_draw_merge_services.h`, `tests/paint
Goal: Goal:
Move the remaining temporary erase, texture, and blend dispatch bodies used by Move the remaining branch dispatch object assembly used by
`execute_canvas_draw_merge_branch_body()` into retained helpers so the branch `execute_canvas_draw_merge_branch_body()` into a retained helper so the branch
body keeps only helper dispatch. body keeps only helper dispatch.
Done Checks: Done Checks:
- `execute_canvas_draw_merge_branch_body()` no longer owns the temporary erase, - `execute_canvas_draw_merge_branch_body()` no longer owns the branch dispatch
texture, and blend dispatch bodies inline. object assembly inline.
- Regression coverage proves the extracted helpers preserve temporary erase, - Regression coverage proves the extracted helper preserves temporary erase,
texture, and blend execution order. temporary paint, texture, and blend execution order.
- `docs/modernization/debt.md` records the reduced draw-merge branch-dispatch - `docs/modernization/debt.md` records the reduced draw-merge branch-dispatch
surface. surface.
Closeout: `27d34f2f` Closeout: `8e1aea9a`
Validation: Validation: