vestige/apps
Sam Valladares 07921cfd52 feat(observatory): RSB causal recall wavefront on the live field (Phase 4)
A real recall lights the backward CAUSE chain through the graph — every
hop after the origin follows a real ConnectionType::Causal edge, not mere
co-occurrence. This is the conjunction no competitor has: RSB's directed
causation + the causal edge type + per-memory FSRS + the raw-WebGPU engine.

- pathfinder: isCausalEdge() + a preferCausal walk option (defaults false,
  so Memory Cinema is byte-identical). When set, the greedy walk prefers
  real causal edges every step, tracing true causation.
- path-builder: buildRecallPath gains preferCausal + centerId; causal hops
  (detected on viaEdge.type, keeping the shared Cinema beat-kind union and
  the protected narrator untouched) map to PATH_KIND.backwardCause — the
  magenta backward rim in render-path.wgsl.
- live-bridge: a real DeepReferenceCompleted (or BackfillFired) whose
  primary is in-field rebuilds the PathStep buffer centered on the real
  recalled memory, preferring causal edges, and rides the proven recall
  wavefront machinery. Honest scope: only lights when the recalled memory
  is actually on screen (never invents a path).
- 2 new tests: the pathfinder picks the real cause over the strongest
  co-occurrence; a live DeepReferenceCompleted arms the causal wavefront.

Verified live: injected a real in-field DeepReferenceCompleted → the
bridge armed causalRecall for the real primary + set an 8-step path whose
7 post-origin hops are ALL kind-1 (backward-cause) following real causal
edges. 1043 tests, check + build green. Cinema untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 22:19:25 -07:00
..
dashboard feat(observatory): RSB causal recall wavefront on the live field (Phase 4) 2026-07-08 22:19:25 -07:00