landing-family-stress.test.mjs
26 lines 1.1 KB
Raw
sha256:4215cecbbabf5591b1ff69053cc938b4b6c800f0d487be40618c1d4254d8b67b security: npm audit fix pre-bridge 2026-09-05 Human 2 days ago
1 import { describe, it } from 'node:test';
2 import assert from 'node:assert';
3 import { readFileSync } from 'node:fs';
4 import { fileURLToPath } from 'node:url';
5 import { dirname, join } from 'node:path';
6
7 const root = join(dirname(fileURLToPath(import.meta.url)), '..');
8 const indexPath = join(root, 'web', 'index.html');
9
10 describe('landing family copy (stress)', () => {
11 it('keeps family invariants across repeated full-file reads', () => {
12 for (let i = 0; i < 250; i += 1) {
13 const html = readFileSync(indexPath, 'utf8');
14 assert.equal(/agentception/i.test(html), false);
15 assert.equal(/parentier/i.test(html), false);
16 assert.ok(html.includes('https://ourware.org'));
17 assert.ok(html.includes('https://x.com/ourware'));
18 assert.ok(html.includes('scool.ing'));
19 assert.ok(html.includes('Overseer Kit'));
20 assert.ok(html.includes('class="hero-value-fold-triangle"'));
21 const triStart = html.indexOf('class="hero-value-fold-triangle"');
22 const triangle = html.slice(triStart, triStart + 280);
23 assert.equal((triangle.match(/<span><\/span>/g) || []).length, 3);
24 }
25 });
26 });
File History 2 commits
sha256:4215cecbbabf5591b1ff69053cc938b4b6c800f0d487be40618c1d4254d8b67b security: npm audit fix pre-bridge 2026-09-05 Human 2 days ago
sha256:9eaa2a7ec9aaf5866cd03d0deadf843cca97778299d1857b5452f71d92a1880a feat(f24): flip DOCS_NOTION_HUB_KEY_AUTHORIZED=true (Tier 3) Human minor 16 days ago