fix: address room draft review findings

Issue: #478
User-Visible: no
This commit is contained in:
Matysh
2026-09-06 18:46:50 +03:00
parent b754d362ca
commit 38abe78c9a
47 changed files with 892 additions and 591 deletions
+11
View File
@@ -2519,6 +2519,17 @@ const MUTANT_DEFINITIONS = [
replace: " if (!this._commitPhysicalGeometry(this.host._t('history.wall_segment'), before)) {",
}],
},
{
id: 'room-accept-leaves-coincident-partitions',
guard: 'node demo/smoke_unified_wall_tool.mjs',
because: 'accepting a face must consume active and older coincident partition intervals in '
+ 'the same transaction; otherwise the next Optimize repairs the just-created room (#478 AC13)',
patches: [{
file: 'src/houseplan-editor-runtime.ts',
find: ' allowCoincidentPartitions: true, // #478 room acceptance consumes its wall carriers.',
replace: ' allowCoincidentPartitions: false, // mutant: accepted carriers survive',
}],
},
{
id: 'wall-draw-local-neighbour-dropped',
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '