fix: preserve resize undo through write repair

Issue: #293
User-Visible: yes
This commit is contained in:
Sergey Matyunin
2026-08-24 17:46:20 +03:00
parent 08dce8603d
commit e2c1dbec0d
8 changed files with 61 additions and 17 deletions
+11
View File
@@ -298,6 +298,17 @@ export const MUTANTS = [
replace: ' safe = true;',
}],
},
{
id: 'resize-history-boundary-repair-removed',
guard: 'node demo/smoke_resize_pointer_real_plan.mjs',
because: 'write-time wall degradation must not erase the one Resize Undo command; '
+ 'the strict outbound barrier remains authoritative after the local restore (#293)',
patches: [{
file: 'src/houseplan-card.ts',
find: " && check?.reason === 'wall-degraded-extra');",
replace: ' && false);',
}],
},
{
id: 'resize-pointer-delta-zeroed',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '