mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-01 04:09:17 +00:00
refactor: fans are the whole additive node — dead support re-union removed (#302)
С адресным тримом (он не режет полосы обычных узлов) возврат саппорт-квадов в тело стал мёртвым слоем: полный юнит-набор зелёный без него — проверено исполнением, а не предположено. По дисциплине мутационного реестра избыточный слой убран (fans only), его мутант `junction-supports-not-restored` снят: у #271-узлов трим режет только ЗА пределами саппорта, возвращать нечего. Саппорт-квады остаются экспортом `junctionNodeGeometry` — детектор и тесты используют их как источник контрактной истины. `npm test` 1303/1303; `golden:verify` 126/126; контракт-проба репро — 0; `smoke_junction_holes` OK. Issue: #302 User-Visible: no
This commit is contained in:
@@ -2189,17 +2189,6 @@ export const MUTANTS = [
|
||||
replace: ' void A2; void B2;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'junction-supports-not-restored',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs && node --test --test-name-pattern="hole-free end to end" test/wall-thickness.test.mjs',
|
||||
because: 'фаска старого слоя срезает материал полос на острых стыках; '
|
||||
+ 'без возврата саппорт-квадов узла репро владельца снова дырявое',
|
||||
patches: [{
|
||||
file: 'src/wall-thickness.ts',
|
||||
find: ' for (const piece of [...corners.supports, ...corners.fans]) {',
|
||||
replace: ' for (const piece of corners.fans) {',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'junction-fan-ignores-thick-length',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs && node --test --test-name-pattern="issue 302" test/wall-thickness.test.mjs',
|
||||
|
||||
Reference in New Issue
Block a user