feat: ship production deploy, Playwright e2e, and agent implementer

Add Docker atomic deploy tooling, CI, Playwright smoke/visual suite,
shared industrial theme, physics invariants, quality-mode wiring,
and a worktree-isolated agent implementer MVP with hard safety limits.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Даня Архипов
2026-07-15 17:14:01 +00:00
parent 985f7c327d
commit b5985f33bb
34 changed files with 2076 additions and 71 deletions

20
e2e/visual.spec.ts Normal file
View File

@@ -0,0 +1,20 @@
import { test, expect } from '@playwright/test';
test.describe('visual regression', () => {
test('home idle HUD panel', async ({ page }) => {
await page.goto('/');
await expect(page.locator('canvas')).toBeVisible({ timeout: 60_000 });
const hud = page.getByTestId('demo-hud');
await expect(hud).toBeVisible();
// Wait for idle classification proof row / stable HUD text
await expect(page.getByTestId('demo-command')).toHaveText('IDLE');
await expect(page.getByTestId('demo-case-label')).toHaveText('1/10');
// Snapshot HUD only — avoids flaky WebGL canvas pixels
await expect(hud).toHaveScreenshot('home-idle-hud.png', {
threshold: 0.3,
maxDiffPixelRatio: 0.05,
});
});
});