From 9675f4bf922b4e539e394c4bc8ff811cb6b05b9b Mon Sep 17 00:00:00 2001 From: anti Date: Sat, 9 May 2026 06:34:02 -0400 Subject: [PATCH] refactor(decnet_web/MazeNET): bump coverage floor after Inspector split MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suite is now 51 files / 259 tests, 25.68% lines / 21.43% branches. Floor: lines 24->25, functions 21->22, branches 19->21, statements 23->24. Inspector/index.tsx ends at 172 LOC, the only other > 250 LOC file in MazeNET/ is NodeInspector (362) — the node branch was the bulk of the original 606 LOC and its 7 add-service / tarpit form states stay co-located there. --- decnet_web/vite.config.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/decnet_web/vite.config.ts b/decnet_web/vite.config.ts index 6c79980d..d6277897 100644 --- a/decnet_web/vite.config.ts +++ b/decnet_web/vite.config.ts @@ -15,16 +15,16 @@ export default defineConfig({ include: ['src/**/*.{ts,tsx}'], exclude: ['src/**/*.d.ts', 'src/test/**', 'src/main.tsx'], // Baseline floors. Each refactor PR raises these; never lower. - // Phase 10 (AttackerDetail follow-through): page shell down from - // 1652 to 450 LOC. Lifted fingerprint renderers (12), behaviour - // panel (8 sub-pieces + lookups), and IntelPanel into focused - // sub-modules. 13 new tests. Suite: 50 files, 249 tests, - // 24.8% lines / 19.53% branches. + // Phase 11 (MazeNET/Inspector split): Inspector.tsx (606 LOC) + // split into per-selection panels. Inspector/index.tsx is now + // a 175 LOC dispatcher; NodeInspector keeps the 7 form-state + // useStates that are node-only. 10 new dispatcher tests. Suite: + // 51 files, 259 tests, 25.68% lines / 21.43% branches. thresholds: { - lines: 24, - functions: 21, - branches: 19, - statements: 23, + lines: 25, + functions: 22, + branches: 21, + statements: 24, }, }, },