vestige/apps
Sam Valladares 69aab30d38 feat(dashboard): Phase 3 — event-triggered field effects (firewall flash)
The "earned by the backend" payoff: cognitive events drive the WebGPU field.

- fieldEvents.ts: a tiny decoupled pub/sub bridge (emit/onFieldEvent) so the
  dashboard publishes cognitive events and the BackdropEngine reacts, with no
  coupling either way. Kinds: firewall / decay / birth.
- BackdropEngine: uniform expanded to carry an event vec4 (code, fade, origin).
  Compute shader applies a scoped impulse — firewall = outward shockwave + energy
  spike, decay = inward cold collapse, birth = bright bloom. Render shader flares
  particles near a firewall origin toward an angry CRIMSON (reserved ONLY for the
  firewall block; nothing else turns red). Effect fades over 1.6s.
- Black Box ?demo=firewall now emits a firewall field event, so catching the
  attack visibly flashes the living field crimson — the launch money-shot.

Verified: svelte-check 0 errors / 967 files; WGSL compiles with no validation
errors in-browser. NOTE: the on-screen crimson flash is not yet visually
captured this session (preview GPU device stalled after many reloads); pending a
clean GPU context. Memory Cinema / Graph3D untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-27 11:55:47 -05:00
..
dashboard feat(dashboard): Phase 3 — event-triggered field effects (firewall flash) 2026-06-27 11:55:47 -05:00