
jpmschweitzerandClaude Opus 4.6
6bcdc48412
feat(client): add visual test harness with golden regression
Gives Claude eyes: `make screenshot` captures a rendered frame,
`make test-visual` compares against golden PNGs, `make visual-update`
regenerates goldens. Built to debug the Sprint 22 fog regression and
prevent future visual regressions across fog, HUD, dialogue, and UI.
Config-driven via tests/visual.json (11 scenarios, 2 flows).
Capture engine boots main.tscn with real GPU rendering (not --headless),
waits for NoiseTexture2D async gen, uses deterministic shader time.
Components:
- visual_capture.gd: SceneTree capture engine (scenario + movie modes)
- visual_scenarios.gd: per-scenario setup hooks
- tooling/visual-diff: pixel comparator (PIL primary, struct fallback)
- tooling/visual-thumbnail: contact sheet + crop tool
- tests/run-visual: suite script (xvfb wrapping, golden workflow)
- fog_state.gd: override_time for deterministic captures
- fog_shader.gd: fog_noise_ready signal for settle sequencing
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 16:33:55 +01:00
..
2026-02-13 01:19:40 +01:00
2026-02-27 11:08:00 +01:00
2026-02-13 01:19:46 +01:00
2026-02-18 12:58:27 +01:00
2026-02-11 01:21:11 +01:00
2026-02-27 11:08:00 +01:00
2026-02-13 17:42:22 +01:00
2026-02-12 16:54:21 +01:00
2026-02-12 16:54:21 +01:00
2026-02-11 16:43:07 +01:00
2026-02-11 16:53:02 +01:00
2026-02-18 13:07:46 +01:00
2026-02-27 11:08:00 +01:00
2026-02-24 11:56:40 +01:00
2026-02-18 11:02:24 +01:00
2026-02-18 12:41:35 +01:00
2026-03-01 16:33:55 +01:00
2026-03-01 16:33:55 +01:00