commit bfcfb20c27bb22b2b05e16af1ed98cafec8cfc27
parent 6f4ab8558445a64ee2756c89a6b453e24770a2ff
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 15 Oct 2026 15:31:49 -0400
plans: release 29 — the live fix's record (a copy's format selector, source-side failed copies, retryFailed)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -1,6 +1,7 @@
# Changelog
## [Unreleased]
+- **find-copy can fetch from an archive.org copy that is a single video file.** Such a file's fetch failed with "Requested format is not available" and the copy was then marked as failed. A copy's window is now cut from whatever single file it is, and a copy is marked failed only when the copy itself is gone or refused. `pnpm ops find-copy --json '{"article": "<id>", "retryFailed": true}'` tries copies marked failed again. Needs a restart of the editor.
- **A model can propose verdicts for a fact-check's unruled claims, for you to approve or reject.** `pnpm ops report-draft --json '{"task":"verdicts","article":"<id>"}'` asks each claim with no verdict, with the verdict bench's own prompt, and keeps each proposed verdict, its reason, the model and the prompt version in `verdicts.proposed.json` beside the article, never in `report.json`. It runs only on a model you ticked on the verdict bench (`settings.generation.verdicts.models`, empty until you do), and never sets a verdict itself. umtool's Inbox shows "N verdicts proposed" under Review; **Review verdicts** opens the article, where each proposal has **Approve** (the claim gets that verdict) and **Reject** (the claim stays unruled), with an optional note. A claim you have ruled, or whose proposal you have reviewed, is not asked again. `pnpm ops verdict-review` does the same from the command line. Needs a restart of the editor and umtool.
- **Draft everything can add the on-screen deck first.** Tick **with the deck** beside **Draft everything** on a cut's Media tab (or `umtool chain <article> <n> --draft-all --deck`): before the flips, a step adds the on-screen deck with every setting at its default to a cut that has none, so the flips and threads are drafted on a cut the converter made. A copy of the cut as it was is kept in its revisions first. A cut that already has a deck is left as it is, and the step says "deck added" or "deck already there". Off by default: without the tick, Draft everything is as it was. Needs a restart of umtool.
- **Posts for X and Bluesky, drafted for you to copy — never posted.** A new media draft, `social`, writes a post for X and one for Bluesky, each with up to four more posts under it, from the article's evidence: third person, every name and number from the report, quotation marks only around words a cited clip says, and no links, hashtags, @mentions or emoji of its own. The link under the first post is added by code: the video's URL when the cut's manifest has one (`publish.videoUrl`, yours to set once the video is up), else the article's page on the homepage when the article is public there. The lengths are counted as each platform counts them — on X a link (also a bare `example.com`) is 23 and an emoji 2, at most 280; on Bluesky 300 characters as a reader sees them — and a post over it is cut at a sentence or refused, never sent long. The Media tab's **Social posts** shows each post with its counted length and **Copy**, and when you set the video's URL after the posts were drafted it says so and offers **Re-draft the posts**; a post past its count is a build warning, never a refusal; every build that writes `out/youtube.txt` also writes `out/x.txt` and `out/bluesky.txt`, and Draft everything drafts them after the YouTube text. Draft it alone from the Media tab's **Social** row, `archilyzer gen run social --iteration <n>`, or `generate` in the MCP. It takes narration's route in every preset. Needs a restart of the editor and umtool.
diff --git a/plans/release-29.md b/plans/release-29.md
@@ -726,6 +726,36 @@ host's warning; the Wayback order and its fall-through; a compilation mentioning
a Rumble record not looked for; a failed copy recorded and not on a 429; members-only with and without cookies; the
door's `force`.
+### Live fix: a copy's format selector (2026-10-15, lane A, `r29/fix-copy` from `main` `840d126c`)
+
+Found live: find-copy for the article `deleted` found an archive.org mirror (an original `.webm`) and its
+fetch-windows job failed — yt-dlp's generic extractor answered "Requested format is not available", because
+`clipFormatSelector` has only height- and codec-filtered rungs and a direct file's one format has no known height —
+and fetch-windows then recorded the mirror as a failed copy. Fixed:
+- A window whose item carries `copy` is fetched with `copyClipFormatSelector(maxHeight)`
+ (`common/ytdlp/downloadFormat.ts`): the clip rungs, then `bv*[height<=?N]+ba`, `b[ext=mp4][height<=?N]`,
+ `b[height<=?N]`, then `b`. The output is still `-o <window>.part.mp4` with `--force-keyframes-at-cuts`, so ffmpeg
+ writes the cut as an mp4 (a stray `.<ext>` is still adopted as before); no recode was added, because prepare
+ re-encodes every clip to H.264 (`lib/evidenceClip-server.ts`). A platform window keeps the strict selector.
+- A failed copy is recorded only for a source-side failure (`isSourceSideCopyFailure`, `lib/copyAttempts-server.ts`:
+ `per_video` or `network` class, or 404/410/403, "not archived or indexed", "Unable to download webpage", an
+ unresolvable or refusing host). Our selector ("Requested format is not available"), ffmpeg, the disk or an
+ unplaceable error is never held against the copy.
+- `find-copy {…, "retryFailed": true}` tries copies recorded as failed again (still listed as `failedBefore`) — for
+ the live `deleted` article, whose mirror is now in `copy-attempts.json` from the selector failure; that file was
+ not edited by hand.
+
+| Commit | What |
+| --- | --- |
+| `9f2fb949` | the lenient copy selector, source-side-only failed copies, `retryFailed`; tests (a fake generic single-format source of unknown height: refused by the clip selector, fetched by the copy's; the classifier; a selector failure not recorded; retryFailed); ops help, COMMANDS.md |
+| (this commit) | this paragraph |
+
+Gates: tsc clean; common 4253/4253, editor 310/310, mcp 372/372, `test:scripts` 1021 + 3 skipped, export 117/117,
+homepage 25/25; `docs env|files|cli --check`, `settings example --check` clean; editor capped build ok (95 s,
+through the heavy slot). No e2e spec touched. Not proven offline: what yt-dlp writes for a real archive.org `.webm`
+under `--download-sections` (an mp4 at the `-o` name, or a stray adopted and renamed); the re-run of `deleted` with
+`retryFailed` is the check.
+
### Gate round (2026-10-15, orchestrator)
On `r29/integration` `b9e91de6` (every lane and every review fix merged), one step at a time behind a 6 GB memory floor