flybrain/infra/bin
acamilo b39ee8e805 shadow: a lost coverage is never forgotten (SHADOW-02 review B1) and the review notes
B1: after an outage of more than ten minutes flysim stops its trace for want of a
consumer and the live fly runs untraced. When the link heals the relay reported healthy
and, counted in trace lines, the box's lag fell under the catch-up bound before its
shadow reached the stop, so `check` could pass for about a minute. The relay now scans
the trace bytes it forwards for that stop and sets a sticky coverageLost in relay.json
(kept across a relay restart of the run; cleared only by a new shadow window, which
takes the stop as history) and reports itself not healthy. `check` refuses on
coverageLost, on a live trace not written for 90 s, and on a run id that is not the
drop-in's (also for a verdict that carries one without a remote drop-in).

Notes: the divergence files the box may send are bounded (after a diverged verdict, at
most three, capped in size); the saves queue holds twelve minutes and the relay unit
gets 1G; fly-shadow-remote-setup keeps authorized_keys in a root-owned home apart from
the mirror, never follows a symlink there as root and requires --from; the runbook
documents the clock-skew refusal, the recovered-stop rule and the first-hour RTF watch.
Also: the ingest lists the mirror's traces under its ledger lock (a file created between
the listing and the lock was marked finished).
2026-10-01 00:45:54 +00:00
..
dev-stage-deploy.sh flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-backup-stage flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-loop-recover 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
fly-loop-reset loop recovery: wait on the watchdog's ActiveState, and only a root flysim that is the running build 2026-09-28 21:37:40 +00:00
fly-recap flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-reset-to-milestone rewards: a catch reward, adapter v6 with a v5 migration, and a rung restart 2026-09-22 17:30:00 +00:00
fly-retention flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-runtime infra: session stops the shadow and guard; shadow start verifies its cpuset 2026-09-30 13:36:12 +00:00
fly-runtime-probation infra: CUT-01 speed probation after fly-runtime session 2026-09-30 12:58:05 +00:00
fly-shadow-run shadow: a lost coverage is never forgotten (SHADOW-02 review B1) and the review notes 2026-10-01 00:45:54 +00:00
fly-watchdog 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
flycast-launch flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flystage-launch flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-health flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-stage flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-x flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00