commit fdf0f84ee5783de40ce8a2b6bc0af6a164f2bb21
parent e7a6d69a4878172f883008b1517e2d01aa6da714
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 21 Nov 2026 19:09:16 -0500
docs: the gap recovery beside a live-edge restart
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/OPERATING.md b/OPERATING.md
@@ -1473,9 +1473,13 @@ pnpm ops keep-videos --json '{"slug":"example-rumble","ids":["v1abcde"],"note":
`liveRecording.stallMinutes` (10) stops THAT recorder (SIGINT), and its part stays. After a stall with bytes, or a
recorder that exited with bytes, one metadata read asks whether the stream is still live (an exit is read twice, a
minute apart: a stream that has just ended may read live a moment). **A stream that reads live is never left
- unrecorded quietly, and a restart never re-downloads what a kept part holds**: live, after 30 s a new part from the
- LIVE EDGE (`ytdlp-r<N>`, its own stem) — the earlier part holds the past and stays for the landing and the join
- (from the start is only the slice-2 tries, when no part holds the stream's start). The stream counts as ended only
+ unrecorded quietly, and no span of it is left in no part while it can be fetched**: live (or unreadable — a failed
+ read never ends a recording), at once a new part from the LIVE EDGE (`ytdlp-r<N>`, its own stem); the earlier part
+ stays for the landing and the join, and a restart never stops a working insurance recorder. When the kept parts
+ (from-start ones from 0, live-edge ones from their recorder's start) do not reach the live edge within max(180 s,
+ 1 %), the span is set on the row (`lost`: "hours 1:12-3:40 are in no part yet", needing a person) and a from-start
+ recovery runs beside the live-edge recorder — first try at once, one at a time, at most 8 a run every 15 min —
+ until a from-start part reaches where the live-edge part begins; then the row is quiet about it. The stream counts as ended only
on evidence: the state read says so, or three live-edge recorders in a row capture nothing (then, if it still reads
live, the row is loud). At most 6 restarts in any hour and 24 in a run; past them, or when the state cannot be read
after an exit, the row says the stream may be live and is NOT recorded (`restarts.refused`) and needs a person.
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -7,7 +7,8 @@
that lands the whole stream recovers the start.
- A recorder whose files stop growing for `liveRecording.stallMinutes`, or that exits while the stream still reads
live, is restarted as a new part from the live edge (at most 6 an hour, 24 a run); its earlier part stays for the
- landing, and a stream that reads live is never left unrecorded quietly.
+ landing, and a stream that reads live is never left unrecorded quietly: a span the kept parts do not reach is
+ said on the row and fetched again from the start beside the live-edge recorder.
- `"insurance"` on record-live: a live-edge recorder beside a from-start recording until it catches up (or the whole
stream). On by default for a stream marked keep.
- After an editor restart, a recording the shutdown or a crash interrupted restarts by itself once the stream reads