Extract stroke commit history mutation helpers

This commit is contained in:
2026-06-13 23:58:59 +02:00
parent aa53a5f9ac
commit 4484880e32
3 changed files with 66 additions and 40 deletions

View File

@@ -182,6 +182,10 @@ agent or engineer to remove them without reconstructing context from chat.
routes the remaining service wiring through `make_canvas_stroke_commit_request(...)`;
the retained path still owns the concrete history mutation and layer dirty
box updates.
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::stroke_commit()` now
routes action bookkeeping and dirty-box capture/mutation through helper
functions; the retained callback builder now only forwards concrete canvas
state.
- 2026-06-13: DEBT-0036 was narrowed again. `Canvas::stroke_commit()` now
builds its retained callback table through
`make_legacy_canvas_stroke_commit_callbacks(...)`; the legacy executor still