flybrain/infra/docs
acamilo 56a315eda1 shadow: SHADOW-02, the shadow run on a build box
The on-container shadow cost the live fly real time (RTF 0.9998 -> 0.93-0.98,
27 ms/frame on shared CPUs, falling behind every hour). fly-shadow gains:

- relay (release container, as flyshadow.service): streams new saves, the
  trace bytes of this run and the sugar journal over one ssh connection;
  writes the box shadow's verdict back (runId-bound, lagTransitions plus the
  unsynced tail, a relay member) and keeps flysim's consumer heartbeat fresh
  only while connected, the box shadow of this run is alive and the box has
  everything that was on disk a minute ago; exits 3 on a remote divergence.
- ingest (build box, the relay key's forced command): checks the release
  directory and binary hashes against its own, resets the mirror for a new
  run, writes the mirror and reports acks, liveness, verdict, divergence.
- run --run-id-file: the verdict carries runId; a new id exits 4.
- coverage: a no-consumer trace stop while following is a coverage
  divergence (a stop that predates the shadow stays a trace-cap skip); the
  journal is read before the trace directory is listed.

tests/shadow_remote.rs runs a real flysim, the relay, the real ingest binary
and a remote shadow through a restart, a remote shadow death and a sync
stall (coverage divergence relayed back).

infra: fly-shadow-run start runs remote with /etc/fly/shadow-remote.env
(a flyshadow.service drop-in running the relay; --local keeps the old
placement), check also needs relay.json healthy; infra/box/ holds the build
box's flyshadow-remote.service/.path and fly-shadow-remote-setup (release at
the same path, root-owned restrict,command= authorized_keys); 02-base adds
openssh-client. Runbook, lint and a dated legacy-gameboy-v1 section 18
amendment.
2026-10-01 00:45:54 +00:00
..
capture-freeze.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
cuda-on-dev-soak.tsv flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
cuda-on-dev.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
gpu-quality-nvenc-p4-rail.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
gpu-quality-nvenc-p6-rail.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
gpu-quality-nvenc-p7-rail.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
gpu-quality-ref-rail.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
gpu-quality-x264-veryfast-rail.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
lif-cuda-spike.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
loop-recovery.md infra: a reset's replay is not progress; the ladder measures progress and catches against the reward names it has seen (row 70 review r3) 2026-09-30 23:58:13 +00:00
macros-bench.md docs: the trap hunt and the bench run the service's frame since FND-01, and hunts across the change do not compare 2026-09-23 20:15:20 +00:00
macros-traps.md infra: a reset's replay is not progress; the ladder measures progress and catches against the reward names it has seen (row 70 review r3) 2026-09-30 23:58:13 +00:00
p0-local-encoded-frame.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
p0-local-live.png flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
p0-measurements.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
release-ct-provision.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
release-v0.1.0.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
release-v0.1.1.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
release-v0.1.2.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
release-v0.1.3.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
release-v0.1.4.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
room-escape.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
runbook.md shadow: SHADOW-02, the shadow run on a build box 2026-10-01 00:45:54 +00:00
secrets-history-scan.md infra: pass entry names out of the public tree 2026-09-29 15:52:35 +00:00
simloop-profile.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
virtualgl-soak.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
virtualgl-spike.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00