From 85b653b3ba93d79b7fc2ff13e9749484110c9408 Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Fri, 9 Oct 2026 08:41:26 +0000 Subject: [PATCH] /acceptance: the build writes the registry's suite and case count into the page's metas and intro (262 cases in 20 suites), no hard-coded count left Co-Authored-By: Claude Fable 5.1 --- site/acceptance.html | 6 +++--- site/build.mjs | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/site/acceptance.html b/site/acceptance.html index d1e1b368c..b103fb51e 100644 --- a/site/acceptance.html +++ b/site/acceptance.html @@ -4,13 +4,13 @@ Igneum Test and Acceptance Standard: every case, shown as it passes - + - + @@ -24,7 +24,7 @@ - + diff --git a/site/build.mjs b/site/build.mjs index f1b993071..8c6f15159 100644 --- a/site/build.mjs +++ b/site/build.mjs @@ -7,7 +7,7 @@ import { spawnSync } from 'node:child_process'; import { scrubBench } from './scrub.mjs'; import { MARKS, VENDORS, tokensCss, markHtml } from './lib/marks.mjs'; import { osHtml } from './lib/os-marks.mjs'; -import { shareHtml, checkShare } from './og/pages.mjs'; // the share cards and metas, one source for every page (8 October 2026) +import { shareHtml, checkShare, ACC_COUNT } from './og/pages.mjs'; // the share cards and metas, one source for every page (8 October 2026) import { renderAcceptance } from './lib/acceptance-render.mjs'; // /acceptance, rendered from docs/plans/igneum-2.0-test-registry.json (8 October 2026) import { join, dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; @@ -444,6 +444,8 @@ for (const [file, active] of PAGES) { const rp = join(docs, 'plans', 'igneum-2.0-test-registry.json'); // the zone name is a forbidden string on a served page (the identity list): the registry's times read UK here if (existsSync(rp)) html = inject(html, 'acceptance', renderAcceptance(JSON.parse(readFileSync(rp, 'utf8').replace(/\bBST\b/g, 'UK').replace(/\bPC [12]\b/g, 'the project’s own rig').replace(/Devnet 3\b/g, 'the earlier devnet'))), file); // the identity list: no zone name, no numbered rig, no numbered devnet on a served page + // the share metas and the intro count the registry's suites and cases (the file's own text was a hard-coded count) + html = html.replace(/\b\d+ cases in \d+ suites\b/g, ACC_COUNT); } writeFileSync(p, html); built.push(file);