Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 9fd192b92c900e5bb2f5e5ad62073c0334564056
parent 6c65b20aa035723fc4ae8b4c677d7a9db2ef2d97
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sat, 21 Nov 2026 00:46:35 -0500

docs: a live recording is verified from its own record, never from a job count

A record-live job failed 55 seconds after it was accepted and was reported as running for seven hours,
because the live-chat capture for the same video was still an active job. OPERATING.md and AGENTS.md now
say what to read after starting a recording and before every status report.

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
MAGENTS.md | 9+++++++++
MOPERATING.md | 13+++++++++++++
2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/AGENTS.md b/AGENTS.md @@ -513,6 +513,15 @@ curl https://jeralyzer.pages.dev/llms.txt # the same contract as prose Both are served with `access-control-allow-origin: *`. +## A live recording is verified from its own record, never from a job count + +After `record-live`, and before every "still recording" you tell the operator, read +`data/<id>/live-recording.json` (`status` must be `recording`) and check that the recording's part files are +growing. A job "for that video" being active proves nothing: the live-chat capture is a separate job on the +same id. A recording failed 55 seconds in on 20 Nov 2026 and was reported as running for seven hours that +way; the stream was one its owner removes afterwards. Keep a watch on the record until it says `landed`. +OPERATING.md, "record-live". + ## Do not boot a second editor against the real corpus The editor's `instrumentation.ts` arms the runners on boot, which resumes long-running diff --git a/OPERATING.md b/OPERATING.md @@ -1120,6 +1120,19 @@ pnpm ops keep-videos --json '{"slug":"example-rumble","ids":["v1abcde"],"note": and lands what they have: video and audio left unmerged by a cancel or a crash are merged then (`-c copy`), and an earlier run's unmerged pair is merged and landed by the next run. A stream that is not live is refused: download it, or import a recording of it. +- **An accepted `record-live` is not a recording.** The job can fail seconds after it is accepted (a + from-start YouTube attempt that ends "The downloaded file is empty" records nothing), and nothing retries + it. After starting one, and at every later status report, read the recording's OWN record and its files: + `transcripts/channels/<slug>/data/<id>/live-recording.json` must say `"status": "recording"`, and the part + files beside the channel's saved videos (`.<id>.live-*.ytdlp.*`) must be growing between two looks a minute + apart. **Never infer it from "a job for this video is active"**: the live-chat capture is a separate job on + the same video id and keeps running when the recorder has died (20 Nov 2026: a recording of a stream that + is privated afterwards failed after 55 s and was reported as "still recording" for seven hours on exactly + that evidence). For a stream that cannot be fetched again (`doNotClean`, a note saying why), keep something + watching that record until it says `landed`, and restart the recording through `record-live` if it says + `failed` while the stream is still live. A from-start recording of a stream hours old is also not safe + until it has caught up: it downloads the past faster than real time, and what it has not reached is lost + if the stream is removed first. - `import-media` (Media → **Import a file**) makes one file from outside the archive a normal transcribed item: `"url"` makes or refreshes the record from its page (metadata only, under the id the archive keys it by — a Rumble URL's id, not the embed id in the file name), `"id"` names a record already here, `"meta"` describes one