commit ae735021be5a66a4e8ed1e9dcf449a4bf493425f
parent 5b1fd6cbfbdfcbb458377784b9f462aee20ba1e8
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 20 Oct 2026 14:44:05 -0400
plans: release 38 lane E — FACTS (the look's rules, ops, proposals, join preview); changelog
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -1,6 +1,8 @@
# Changelog
## [Unreleased]
+- **Ask for a small change to a report video in words, on the local model, and apply it with one click.** The Build tab's Look panel and the clip editor's side column have an **Ask** box: "make the joins 0.15 s with less smear", "louder", "no QR", "keep 2 s after the last word", "cut the first 3 seconds of r014". The assistant answers with proposed edits shown as a list of changes ("join 0.22 s → 0.15 s", "smear 0.5 → 0.3"), each with **Apply**, plus **Apply all** and **Dismiss**; nothing changes until you apply, and each edit is checked again and written by the same code the Look panel and the clip editor use. A change it cannot make, or a value out of range, is listed with the reason instead. It runs on the local model by default (in every preset but `api`), so it works without Claude Code; it waits while a transcription has the GPU, and the box says so. A note on the whole project can be asked too: the reply comes back on the note with an **Apply all**. **Preview join** renders the first few joins in the saved look and plays them in place. It can change the look, the blur slide, the room at the clips' edges, a clip's edges or room, and a set of declared deck and effect settings (`pnpm ops report-draft` task `video-assist`; the MCP's `generate`).
+- **The Look panel has the blur slide's and the room's numbers.** With the join set to blur slide, **Travel**, **Smear** and **Grain** are fields; with room at the clips' edges on, **Tail up to, s** (how far the sound may run past a cut) and **Silence gap, s**. Video revisions of an article can now change the look, the slide and the room too.
- **Wayback Machine captures of pages are records of their own.** A capture of a page that is not a video — an old blog post, a group's site, a channel's About page, a document taken down — goes into a **Wayback pages** channel: on the New channel form, paste a Wayback URL of such a page (`web.archive.org/web/*/example.com/blog*` scopes every capture under that path, `*.example.com` a whole domain, one capture's URL that page) or choose **Wayback pages** as the platform, and edit its targets (a URL, how it matches, optional dates). The channel page's **Import a capture** takes a capture's URL, or the page's own URL and a date for the capture nearest it, and imports it as one job at archive.org's pace: the page as captured is kept, its readable text, title, author, date, links and images become a record — searchable, in the MCP and on a built site like any post — dated by the page's own date when it gives one. A later capture of the same page is kept as a version of the first. **Re-extract** reads every kept capture again with no request. A capture of a video is still Import video's, and is refused here with a sentence saying so. An x.com or twitter.com capture is private exactly as X posts are. From a terminal: `pnpm ops import-page` (`dryRun` says what it would fetch) and `pnpm ops reextract-pages`; `pnpm archilyzer wayback pages import|reextract` run without the editor. Needs a restart of the editor.
- **Wayback captures of Tumblr, Twitter, forums, Google Docs and YouTube About pages are read as their posts.** A Tumblr blog's post, index, tagged or archive page becomes one record per post (its date, tags, images and what it reblogged), and the same post seen on an index and on its own page is one record. An old Twitter profile or status page becomes one record per tweet — replies, retweets and quotes pointing at the tweets they answer, and the profile's bio, website and counts as one more — and a capture of X's later JavaScript app says it holds no posts. A captured XenForo thread page gives the same posts, with the same ids, that a forum channel of the thread holds. A Google Doc's mobilebasic or published page gives the document's text with its headings; its edit page says it holds no text and names the mobilebasic address to look for. A YouTube channel's About page gives how the channel described itself at that capture: description, links, joined date and counts. Nothing calls a model.
- **Focus the queues on a site, or on some channels, from a terminal.** `pnpm ops channel-priority --json '{"focus":{"kind":"site","siteId":"<id>"}}'` does what the /channels focus bar's **Focus site** does: that site's channels lead every lane, and the focus follows the site's membership. `{"kind":"channels","slugs":[…]}` focuses a list and `{"kind":"none"}` ends the focus. `focus` goes alone in the body. Needs a restart of the editor.
diff --git a/plans/FACTS.md b/plans/FACTS.md
@@ -11138,3 +11138,48 @@ parsed to 0 cues, indexing the video textless) is CLOSED by `200a3105` (transcri
brace-matched string-aware and `JSON.parse`d, or — when assigned as a JS string — unescaped (`\xNN`, `\uNNNN`)
then parsed; renderers found by key anywhere (`channelAboutFullMetadataRenderer` | `aboutChannelViewModel`,
`c4TabbedHeaderRenderer` | `pageHeaderViewModel`, `channelMetadataRenderer`).
+
+## Release 38 lane E: the video assistant — look rules, ops, proposals, join preview (verified 2026-10-20, branch `r38/video-assist`)
+
+- **The look's rules live in common now**: `common/lib/report/look.mjs` holds `LOOK_KEYS`, `applyLookPatch(manifest,
+ patch) → {render, errors}` (what umtool's `updateRender` writes with), `lookErrors`, and the validators that were in
+ report-to-video — `validateTransitionStyle`/`validateSlide` (+ `TRANSITION_STYLES`, `SLIDE_DEFAULTS`, `SLIDE_BOUNDS`,
+ now exported), `validateRoom`/`clipRoom`/`roomOn` (+ `ROOM`, `ROOM_EDGES`, `ROOM_BOUNDS` {minGap [0.1,2], maxS
+ [0,10]}), `validateCaptions`/`validateLoudness`/`verticalErrors`/`validateVertical`/`validateLook` and their
+ constants. `report-to-video/{look,room,transition}.mjs` RE-EXPORT every moved name, so no importer changed; umtool
+ `lib/report/manifest.mjs` re-exports `LOOK_KEYS` and `lookOf`. Moved, not copied: the editor (which cannot import
+ umtool) checks a proposed look op with the writer's own function.
+- **Composition params** (`common/lib/report/fxParams.mjs`): `COMPOSITION_PARAMS[id]` for `deck`
+ (`render.chrome.deck`), `stats`, `fx.<effect>` — `{key (dot path in the settings), label, kind
+ (seconds|number|int|px|enum|bool|text), min/max | values | maxLength, default}`. `deck.mjs` `DECK_PARAMS`,
+ `stats.mjs` `STATS_PARAMS`, `fx.mjs` `FX_PARAMS` (by effect) are the slices. `report-to-video/fx-params.test.mjs`
+ holds every declaration to `validateChrome` at its bounds and just past them. Layout-coupled settings (deck height,
+ footageScale, qr.size, pip sizes) are NOT declared.
+- **The ops** (`common/lib/report/videoAssistOps.mjs`): `look | slide | room | clip_edges | clip_room | fx`. The
+ model writes ONE shape `{op, id, key, value}` (`ASSIST_OPS_SCHEMA`: four required keys an op — a strict tool requires
+ every key); `normalizeAssistOp` turns it into the checker's (`{op:"slide", blur:0.3}`). `checkAssistOps(manifest,
+ ops, {request, scope}) → {ops: [{op, diff, apply, warning?}], refused: [{index, op, why}], diff, manifest}` applies
+ each op to a COPY in turn. `apply` = `{writer: "render", patch}` | `{writer: "clip", body}` (runClipEditorOp
+ `trim`/`room`) | `{writer: "chrome", id, param, value}`. A clip's window: its extent (start–end) when it has a cut,
+ else its edges ± `render.fetchPad` (0 when absent); an edge moves ≤ 3 s (`EDGE_SLACK_SECONDS`) unless the request
+ names more seconds (`secondsNamedIn`: "6 seconds", "2.5 s"). A room op's numeric `tail` = tail on + `maxS`.
+- **`<project>/assist-proposals.json`** (`common/lib/report/videoAssistProposals.mjs`): `{version: 1, promptVersion:
+ "video-assist-1", at, model, request, scope, note?, reply?, ops: [{id: "a<n>", op, diff, warning?, status:
+ proposed|applied|dismissed|failed, at?, error?}], refused: [{op, why}], diff}`. Written whole by the editor's task (a
+ new ask replaces it); statuses marked by umtool (`lib/report/videoAssist.mjs` `applyAssistOps`/`dismissAssistOps`).
+ Never applied by being there. umtool's own `.video-assist-job.json` is the followed job.
+- **Task `video-assist`** (`GENERATION_TASKS`; presets: `local` in code/balanced/local, `api` in api — the `code`
+ preset routes it LOCAL). `report-draft` body: `project` (absolute), `request` | `note` (a `whole`-anchored note's
+ text), `scope` (look|clips|fx|all), `answers` (code route), `dryRun` (the ops route: `planVideoAssistJob`). Its own
+ job (`common/controller/videoAssist.ts`), `draft:local` / `draft:api`, narration cap, ledger task `video-assist`;
+ marker `{article: "", iteration: 0, task: "video-assist", project, status, summary, usd, assist: {at, proposed,
+ refused, diff, file, note?}}`. A note's reply is posted to umtool's notes with proposal `{kind: "assist", at, ops}`
+ (a new `ReplyProposal` kind; umtool `lib/annotations/shape.mjs`).
+- **`videoOps.ts`** (revise-video) gained `look`, `slide`, `room` (through `checkAssistOps`, scope look);
+ `VIDEO_OPS_SCHEMA` = `OPS_SCHEMA` + `key`/`value`; `localOpsBatch` takes an optional `schema`.
+- **Join preview**: `build-video.mjs <manifest> --join-preview [--join-from <clip>]` → `out/join-preview.mp4` +
+ `out/join-preview.json` (`{version, madeAt, clips, look}`), work in `out/join-preview-work/`; no chapters, YouTube
+ text or thumbnail; in the heavy slot (`takesHeavySlot`). `report-to-video/join-preview.mjs`
+ `joinPreviewTimeline`: 4 consecutive clips, each the last 3 s of its cut (the last clip its first 3 s), cards out,
+ windows untouched; refused for a deck, a montage, hard cuts. umtool `/api/report/join-preview` (a `join preview
+ <project>` job on lib/jobs.ts).