From 236d289cc732a78008a6bdfbf32d1714ecabd8a0 Mon Sep 17 00:00:00 2001 From: doxa-maps-88655c70 <88627970+doxa-maps-88655c70@users.noreply.github.com> Date: Wed, 23 Sep 2026 03:27:10 +0000 Subject: [PATCH] Point the anchoring gate at index.html too, so it can actually measure Second gate caught by the strict server. check-fixed-anchoring loaded both hosts by bare-directory URL, which the old permissive local server resolved and the live layer does not, so it was green only because local was more forgiving than production. Worth noting how it failed: UNMEASURED for both hosts, not a false pass. It refuses to report success when it could not measure, which is the difference between this gate and one that would have found zero dropdowns and called that zero anchoring problems. Now passing with 16 triggers anchored across both hosts, Status among them -- so the eighth filter anchors correctly in the composite as well as standalone. A sweep of internal/ finds no remaining bare-directory leaf URLs. --- internal/check-fixed-anchoring.mjs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/internal/check-fixed-anchoring.mjs b/internal/check-fixed-anchoring.mjs index 3e640a30c..3de745121 100644 --- a/internal/check-fixed-anchoring.mjs +++ b/internal/check-fixed-anchoring.mjs @@ -99,9 +99,15 @@ async function hostRun(browser, label, url, activate) { } const browser = await chromium.launch() +// ★ index.html IS EXPLICIT. These were bare-directory URLs. The old local server resolved a +// directory to its index; the live static layer returns 404, so this gate was only ever green +// because the local server was more forgiving than production. Under serve-strict.mjs it reported +// UNMEASURED for BOTH hosts the first time it ran — correctly refusing to claim a pass it could not +// measure, which is the difference between this gate and one that would have found 0 dropdowns and +// called that 0 problems. const hosts = [ - await hostRun(browser, 'STANDALONE research-dashboard', `${BASE}/research-dashboard/research-dashboard/${TK}`, null), - await hostRun(browser, 'INSIDE cap-5 plugin-studio', `${BASE}/plugin-studio/plugin-studio/${TK}`, '/dashboard-plus-grid/i'), + await hostRun(browser, 'STANDALONE research-dashboard', `${BASE}/research-dashboard/research-dashboard/index.html${TK}`, null), + await hostRun(browser, 'INSIDE cap-5 plugin-studio', `${BASE}/plugin-studio/plugin-studio/index.html${TK}`, '/dashboard-plus-grid/i'), ] await browser.close()