- New backend endpoint /api/history?hours=N returns chronological
replay frames reconstructed from the events table: agent positions,
energy/knowledge/influence/credits/mood, tool, model, tau, pace,
clocks and drift per tick/action.
- Frontend: new Replay panel with Play/Pause, timeline slider,
Live button and history window selector (1h/3h/6h/12h/24h).
- Canvas draw() now renders either the live snapshot or the current
replay frame; agent cards and drift/clock panels sync in replay mode.
- Overlay on the canvas shows current tick, timestamp, agent action
and model while replaying.
- Also adds the missing refreshTexts() implementation so the
Generated Texts panel is populated.
Verified: /api/history returns frames; JS syntax check passes;
pytest 100/100; web UI renders with new Replay controls.