feat: Stage 2E physics p95, runtime videos, domain audit, device-test QR

Measure Rapier world.step p95 (~0.2 ms) on GTX 1080, record real route WebMs,
expand runtime/headless hash parity, and document permanent-domain/phone blockers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Даня Архипов
2026-07-30 14:28:14 +00:00
parent 014a46077d
commit 30103ccefc
63 changed files with 2786 additions and 71 deletions

View File

@@ -181,8 +181,9 @@ test.describe('stage2 mobile capability policy', () => {
Object.defineProperty(navigator, 'hardwareConcurrency', { value: 8, configurable: true });
Object.defineProperty(navigator, 'deviceMemory', { value: 8, configurable: true });
});
await page.setViewportSize({ width: 390, height: 844 });
await page.goto('/');
// prefer3DByDefault requires width >= 640; narrow 390px uses SVG by design.
await page.setViewportSize({ width: 800, height: 600 });
await page.goto('/?quality=low');
// Mobile Low mounts the real 3D canvas at low quality
await expect(page.locator('canvas')).toBeVisible({ timeout: 60_000 });
await expect(page.getByTestId('main-svg-fallback')).toHaveCount(0);