Archilyzer · Source

archilyzer

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

commit c668974c0eb2f1eb9ffc856431f908d5fe8fcf96
parent 1cf75802566e90aae960c3137e0bbe685dc96ec9
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon, 26 Oct 2026 08:11:37 -0400

OPERATING.md: archive a new creator end to end, without interruptions (the h3 archive's lessons as six steps)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
MOPERATING.md | 45+++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+), 0 deletions(-)

diff --git a/OPERATING.md b/OPERATING.md @@ -55,6 +55,51 @@ pnpm ops get channel example - Rename or delete: `pnpm ops rename-channel --json '{"slug":"old","newSlug":"new"}'`, `pnpm ops delete-channel --json '{"slug":"x","confirm":"x"}'` — both refused while the channel is busy. +## Archive a new creator end to end, without interruptions + +What a first full archive of a big creator (thousands of videos across several channels, a podcast feed, +archive.org mirrors, a forum thread) needs, in order — the lessons of the h3h3 archive (2026-10-23…26). Every step is a +command an agent can run; each has the same control on the editor's pages. + +**1. Set the channels up so the lane never stalls.** +- One site per creator, private until the operator says otherwise; every channel on it, ranked, with the site as the + focus: `pnpm ops channel-priority --json '{"focus":{"kind":"site","siteId":"<site>"}}'`. Inside a focus channels + run in rank order and focus beats tier. +- A channel whose old episodes were livestreams: `chat: "later"` (Configure's **Live chat replay**, or + `channel-config` patch). Chat replays are 7–42 MB each and make a download 2–4× slower; with "later" the lane + downloads without them and fetches the chat backlog by itself once the channel's downloads are done + ([A streaming channel: its chats after its downloads](#a-streaming-channel-its-chats-after-its-downloads)). +- A podcast feed channel: an `include` download filter that names the feed-only episodes. `^` and `$` anchor to the + title (the file id on a feed); the pattern is at most 200 characters, so use unique id prefixes for a long list. +- A Rumble channel with a long listing: `fullSweepIntervalMinutes: 0` (Configure, Sync) — a full sweep walks the + whole listing in one burst and is rate-limited; every sync is then the newest-first paged walk. +- Forum threads: `syncIntervalMinutes` (6 h for a busy thread) and, for leads, a `report-schedule` series on the + thread (`daily 06:00`, a `maxUsd` cap); the first window is the day before the first tick — read any older gap + yourself. + +**2. Let the scan read verdicts before anything downloads.** The lane's metadata scan reads titles 60 at a time with +20 minutes of downloads between batches; its members-only and private verdicts keep `download-missing` and the +lane from retrying those videos. Don't start a `download-missing` over a channel the scan has not read. + +**3. Never drive the queues by hand.** No per-video `transcribe-one` loops, no `job promote` of ASR work onto a +platform queue — a YouTube video with captions gets its captions; let the auto lanes order the work. Pacing (with +its upward jitter) is the floor; "more resources" means GPU time and memory, never a faster request rate. + +**4. Imports and gap hunts are their own queues.** archive.org (`import-archive-org`, dry run first), the podcast feed +and forum fetches don't touch YouTube's queue; run them beside the YouTube lane. Match removed or members-only videos +by id first (archive.org descriptions carry "Original video URL"), then by date bracket; the feed is where +members-only episodes most often survive as audio. + +**5. Restarts.** A restart (shipping the editor) re-queues the interrupted resumable jobs on boot (imports, post +fetches, download-missing, persists, window fetches, transcription buckets) — [When the editor restarts](#when-the-editor-restarts); +`pnpm ops job resume-interrupted --dry-run` lists them. An idle boot (`ARCHILYZER_IDLE_BOOT=1`) resumes nothing. +Items an import adds reach the transcription lane as they land (the channel's report refreshes every few items). + +**6. Check it is moving, not just running.** `pnpm ops get channel <slug> --counts` for held / transcribed; +`pnpm ops get jobs --kind auto-download-unit --limit 200` for the pace (YouTube ~55–65 units an hour on captions); +`pnpm archilyzer corpus grep --regex <re> --channels a,b --since <date>` to search what landed, offline; `pnpm ops +get x-session` before any X fetch (fresh cookies only, one X job at a time). + ## Sync and download ```sh