caelum0x 82e0ccefcb feat(console): recordings, click maps, surveys, experiments and exports screens, with experiments changing flags only through the flags slot (A3)
flags merge pending: the flags slot (wave-p2-railyard PY2.1) is not on main,
so experiments/_slot/flags-slot.ts carries a copy of its FlagEnv and Flag
types and the setFlag contract, answers no slot until the merge (the
one-block switch is written in the file), and is tested with an in-memory
fixture of that contract: one setFlag call per start or stop, the service
then reads the flag back as live.

- _lib/a3-client.ts: every A3 endpoint through A1's paFetch, and the pure
  form mappings (tested).
- Screens (one primary action each, no emoji, copy denylist clean):
  recordings (by person, event id or funnel drop-off; the player embedded
  from the signed 10-minute link; settings), click maps (overlay from a
  signed link, scroll depth bars), surveys (list, new, results, start and
  stop), experiments (list, new, results with the sample-ratio warning,
  start and stop), exports (destinations, signing secret shown once from a
  short-lived path cookie, runs, pause, resume, retry, test, delete; saved
  insight CSV download).
- Recordings and click maps wait for RAILYARD_REPLAY_LIVE, experiments for
  RAILYARD_FLAGS_LIVE (the copy denylist's own switches); until then those
  screens say they are arriving, name nothing else, and their actions
  refuse. Segments stay the console's word for cohorts.
- Uses A1's Shell and http helpers and A2's insights client read-only;
  no console dependency, manifest or lib change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 08:09:05 +03:00
..