v0.47.10 — session map stays in its lane
Fix: session-map file lines never bleed into the right panel, and stop lingering
The moment→file connection lines live in an un-transformed, workspace-wide SVG overlay that paints above the co-pilot. On a dense run the tree is fit-zoomed wide, so moment nodes scroll off the right of the clipped map — getBoundingClientRect still reports their off-screen x, so a line could originate over the co-pilot and paint across the right panel.
No-bleed guarantee (geometric — holds at any width, zoom, or animation frame):
- The SVG clip band and every line's endpoint are clamped to the map column's right edge, so a line only ever hands off toward the files across the gap, never into the panel.
- A line whose origin node has scrolled past the map edge is dropped, not stubbed.
- The measure bails entirely if the map canvas can't be located (no full-width fallback).
No more lingering lines:
- The follow camera moves nodes via a CSS transform that fires no scroll/resize event — each follow pan now nudges a re-measure so the lines track the eased camera instead of freezing where the nodes used to be.
- All measured lines clear on a run switch (their origin nodes are gone).
Verified on a 320-moment / 277-line run at 417% zoom: 0 lines cross into the co-pilot, the clip stops at the map edge (1097 vs co-pilot 1109), and every line stays glued to its node (gap 0) after a hard pan + re-engaged tracing. npm run check: 245/245 tests pass.
Run it: npx @taewooopark/agent-blackbox@0.47.10 up