Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(page-audit): stop counting one failed resource as three findings in WebKit

nirholas3cdd15c54140
diff --git a/public/changelog.json b/public/changelog.json
index 1b99f6a3d..8391ee8f7 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-19T01:45:06.251Z",
+ "generated_at": "2026-08-19T01:50:37.339Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
diff --git a/public/features.json b/public/features.json
index 064961ac6..4755fa2a7 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-08-19T01:45:06.231Z",
+ "generated_at": "2026-08-19T01:50:37.319Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/scripts/dev-a11y-check.mjs b/scripts/dev-a11y-check.mjs
deleted file mode 100644
index be22eab55..000000000
--- a/scripts/dev-a11y-check.mjs
+++ /dev/null
@@ -1,33 +0,0 @@
-import { chromium } from 'playwright';
-const url = process.argv[2];
-const b = await chromium.launch();
-const p = await b.newPage({ viewport: { width: 1440, height: 1000 } });
-await p.goto(url, { waitUntil: 'domcontentloaded' }).catch(() => {});
-await p.waitForTimeout(6000);
-
-console.log('capability rows:');
-for (const r of await p.$$eval('#av-skills-list .av-row', (ns) => ns.map((n) => n.innerText.replace(/\n/g, ' | '))))
- console.log(' ', r);
-console.log('summary:', await p.$eval('.av-cap-summary', (n) => n.innerText.replace(/\n/g, ' ')).catch(() => 'none'));
-
-const tabs = await p.$$eval('.av-tab', (ns) =>
- ns.map((n) => `${n.dataset.tab} sel=${n.getAttribute('aria-selected')} ti=${n.tabIndex} ctl=${n.getAttribute('aria-controls')}`));
-console.log('tabs:'); tabs.forEach((t) => console.log(' ', t));
-
-await p.click('.av-tab[data-tab="overview"]');
-await p.waitForTimeout(300);
-console.log('after click overview, url =', p.url());
-await p.keyboard.press('ArrowRight');
-await p.waitForTimeout(300);
-console.log('after ArrowRight focus =', await p.evaluate(() => document.activeElement?.dataset?.tab),
- '| selected =', await p.evaluate(() => document.querySelector('.av-tab.active')?.dataset.tab),
- '| url =', p.url());
-await p.keyboard.press('End');
-await p.waitForTimeout(300);
-console.log('after End focus =', await p.evaluate(() => document.activeElement?.dataset?.tab), '| url =', p.url());
-await p.keyboard.press('ArrowRight');
-await p.waitForTimeout(300);
-console.log('wraps to focus =', await p.evaluate(() => document.activeElement?.dataset?.tab));
-console.log('panel roles ok:', await p.$$eval('.av-panel', (ns) => ns.every((n) => n.getAttribute('role') === 'tabpanel' && n.getAttribute('aria-labelledby'))));
-console.log('shell aria-busy:', await p.$eval('#av-shell', (n) => n.getAttribute('aria-busy')));
-await b.close();
diff --git a/scripts/dev-screenshot.mjs b/scripts/dev-screenshot.mjs
deleted file mode 100644
index af67f4da5..000000000
--- a/scripts/dev-screenshot.mjs
+++ /dev/null
@@ -1,17 +0,0 @@
-import { chromium } from 'playwright';
-const OUT = process.env.SHOT_DIR || process.cwd();
-const b = await chromium.launch();
-for (const t of process.argv.slice(2)) {
- const [url, name, w] = t.split('::');
- const p = await b.newPage({ viewport: { width: Number(w) || 1440, height: 1400 } });
- const errs = [];
- p.on('pageerror', (e) => errs.push('pageerror: ' + e.message));
- p.on('console', (m) => { if (m.type() === 'error' && !m.text().includes('WebSocket')) errs.push('err: ' + m.text().slice(0, 160)); });
- await p.goto(url, { waitUntil: 'domcontentloaded', timeout: 45000 }).catch((e) => console.log('nav', e.message.split('\n')[0]));
- await p.waitForTimeout(7000);
- await p.screenshot({ path: `${OUT}/${name}.png`, fullPage: true });
- console.log('--- ' + name + ' | ' + p.url());
- errs.slice(0, 6).forEach((e) => console.log(' ' + e));
- await p.close();
-}
-await b.close();
diff --git a/scripts/dev-skeleton-shot.mjs b/scripts/dev-skeleton-shot.mjs
deleted file mode 100644
index 178f5df64..000000000
--- a/scripts/dev-skeleton-shot.mjs
+++ /dev/null
@@ -1,12 +0,0 @@
-import { chromium } from 'playwright';
-const OUT = process.env.SHOT_DIR || process.cwd();
-const b = await chromium.launch();
-const p = await b.newPage({ viewport: { width: 1440, height: 900 } });
-// Hold the entity fetch open so the skeleton is what the camera sees.
-await p.route('**/api/agents/**', async (r) => { await new Promise((s) => setTimeout(s, 9000)); r.continue(); });
-p.goto(process.argv[2], { waitUntil: 'commit' }).catch(() => {});
-await p.waitForTimeout(3500);
-await p.screenshot({ path: `${OUT}/v2-skeleton.png` });
-console.log('aria-busy:', await p.$eval('#av-shell', (n) => n.getAttribute('aria-busy')));
-console.log('status text:', await p.$eval('[role="status"]', (n) => n.innerText.trim()).catch(() => 'none'));
-await b.close();
diff --git a/scripts/page-audit.mjs b/scripts/page-audit.mjs
index 13ab36724..4a23c240f 100644
--- a/scripts/page-audit.mjs
+++ b/scripts/page-audit.mjs
@@ -444,13 +444,24 @@ async function auditRoute(ctx, route, viewport) {
const t = m.type();
if (t !== 'error' && t !== 'warning') return;
const text = m.text();
- if (text.startsWith('Failed to load resource')) return; // cascade — captured below
+ // A blocked or failed resource is reported once, by the requestfailed
+ // handler below. Each engine also echoes it to the console in its own
+ // words, and counting those again turned one blocked IPFS image into
+ // three findings. Chromium's echo is "Failed to load resource"; these
+ // are WebKit's.
+ if (text.startsWith('Failed to load resource')) return; // cascade, captured below
+ if (/^Cancelled load to .+ because it violates the Content Security Policy/.test(text)) return;
+ if (/^Cannot load .+ due to access control checks\.$/.test(text)) return;
push(t === 'error' ? 'console-error' : 'console-warn', t === 'error' ? 'error' : 'warn', text);
});
page.on('pageerror', (e) => push('exception', 'error', `${e.message}`));
page.on('requestfailed', (req) => {
const f = req.failure()?.errorText || '';
- if (f === 'net::ERR_ABORTED') return; // navigations / cancelled prefetch
+ // Same event, two vocabularies: Chromium says net::ERR_ABORTED, WebKit
+ // says "Load request cancelled". Both mean the page navigated away or a
+ // long-lived stream (SSE, the pump/oracle trade feeds) was closed with
+ // the tab, which is the audit's own doing rather than a page fault.
+ if (f === 'net::ERR_ABORTED' || /^Load request cancelled$/i.test(f.trim())) return;
push('request-failed', 'error', `${req.url()} — ${f}`);
});
page.on('response', (res) => {