/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 <noreply@anthropic.com>
This commit is contained in:
parent
f3f019e334
commit
85b653b3ba
2 changed files with 6 additions and 4 deletions
|
|
@ -4,13 +4,13 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
||||
<title>Igneum Test and Acceptance Standard: every case, shown as it passes</title>
|
||||
<meta name="description" content="The Igneum 2.0 Test and Acceptance Standard, 190 cases in 18 suites, case by case: each case in the standard’s words, the five gates, the profiles and the fixtures. A checklist, never a completion dashboard.">
|
||||
<meta name="description" content="The Igneum 2.0 Test and Acceptance Standard, 262 cases in 20 suites, case by case: each case in the standard’s words, the five gates, the profiles and the fixtures. A checklist, never a completion dashboard.">
|
||||
<link rel="canonical" href="https://igneum.network/acceptance">
|
||||
<!-- share:start -->
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="Igneum">
|
||||
<meta property="og:title" content="Igneum Test and Acceptance Standard: every case, shown as it passes">
|
||||
<meta property="og:description" content="The Igneum 2.0 Test and Acceptance Standard, 190 cases in 18 suites, case by case: each case in the standard’s words, the five gates, the profiles and the fixtures. A checklist, never a completion dashboard.">
|
||||
<meta property="og:description" content="The Igneum 2.0 Test and Acceptance Standard, 262 cases in 20 suites, case by case: each case in the standard’s words, the five gates, the profiles and the fixtures. A checklist, never a completion dashboard.">
|
||||
<meta property="og:url" content="https://igneum.network/acceptance">
|
||||
<meta property="og:image" content="https://igneum.network/og/home.png?v=5">
|
||||
<meta property="og:image:type" content="image/png">
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<meta property="og:image:alt" content="The GPU-mined chain that proves every block. igneum.network">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="Igneum Test and Acceptance Standard: every case, shown as it passes">
|
||||
<meta name="twitter:description" content="The Igneum 2.0 Test and Acceptance Standard, 190 cases in 18 suites, case by case: each case in the standard’s words, the five gates, the profiles and the fixtures. A checklist, never a completion dashboard.">
|
||||
<meta name="twitter:description" content="The Igneum 2.0 Test and Acceptance Standard, 262 cases in 20 suites, case by case: each case in the standard’s words, the five gates, the profiles and the fixtures. A checklist, never a completion dashboard.">
|
||||
<meta name="twitter:image" content="https://igneum.network/og/home.png?v=5">
|
||||
<meta name="twitter:image:alt" content="The GPU-mined chain that proves every block. igneum.network">
|
||||
<!-- share:end -->
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue