// THE REGISTRY'S PROSE (lane palette, L8a): per top-level command, the lines // `umtool help` prints for it and the rows docs/cli.md's Commands table gives // it -- written ONCE here, so the help and the page are generated from the same // place as the verb rows (verbs.mjs) the ⌘K palette's forms are built from. // // `usage`: the help lines, as `umtool help` prints them (two spaces, then // `umtool ` padded to the column; a continuation line indented to it). // `{chainSteps}` and `{draftAllSteps}` are filled in when it prints (lib/cli/docs.mjs). // `docs`: [syntax cell, text cell] pairs, the Commands table's markdown as it stands. // // A command appears in the order `umtool help` lists it; one may appear twice // (take: its renders, then the lint, then its promote and status). Edit the // prose here, then `node umtool/lib/cli/docs.mjs` rewrites docs/cli.md's // generated section (the test in verbs.test.mjs fails while it is stale). // // Plain data, no imports. /** @type {Array<{ cmd: string, usage: string[], docs: Array<[string, string]> }>} */ export const GROUPS = [ { cmd: "ls", usage: [ " umtool ls [--kind K] [--template T] [--state S] [--open] [--blocking]", " [--q TEXT] [--sort name|recent] [--json]", ], docs: [ ["`ls [--kind --template --state --open --blocking --q --sort --json]`", "the index, as text or JSON"], ], }, { cmd: "show", usage: [ " umtool show [--json]", ], docs: [ ["`show [--json]`", "one project: summary, the cut, per-clip status, decisions"], ], }, { cmd: "check", usage: [ " umtool check [] [--take T] [--json] exit 1 on anything blocking (--take: the take's quote rows)", ], docs: [ ["`check [] [--take T] [--json]`", "**exit 1 on anything blocking** — including an `out/`, `clips/` or `share-*/` link whose drive is not there (`storage-unreachable`). `--take T`: the quote check's rows are the TAKE's — its clips, judged by `takes/T/quote-check.json` over the project's"], ], }, { cmd: "links", usage: [ " umtool links [--json] [--fix] do the clip QRs open on their sites? (corpus.json -> slugToPage", " -> the shard's record; polite, cached; out/links.json, which check reads); exit 1 when one is dead", " umtool links --embed-ids [--clips a,b] [--dry-run] [--json] the published Rumble embed id (siteVideo)", " on every clip citing a URL-slug folder; no network, one write (the Cut tab's Project > Rumble cites)", ], docs: [ ["`links --embed-ids [--clips a,b] [--dry-run] [--json]`", "the **published embed id**: every clip citing a Rumble URL-slug folder the archive does not serve gets `siteVideo` (the folder's `metadata.info.json` id, shareLine.mjs `siteVideoFor`), a citeUrl naming the folder moved with it; no network, one write, one undo point. The Cut tab's Project › Rumble cites ([knobs.md](knobs.md#the-inspector-panels-this-weeks-hand-edits-in-the-ui))"], ["`links [--json] [--fix]`", "do the clip QRs open on their sites? `corpus.json` → the channel's manifest → `slugToPage` → the shard's record, one request at a time, shards from the cue cache; recorded in `out/links.json`, which `check` reads (`link-dead` blocking, `links-unverified`, `links-unchecked`); `--fix` rewrites a Twitch id the site serves as `v`, and a Rumble folder id (the URL slug) as the embed id the site serves (the clip gets `siteVideo`); **exit 1** when a link is dead ([knobs.md](knobs.md#do-the-qr-links-open)). The same record dates each site's deploy: a cited video newer than it is `site-deploy-behind` ([knobs.md](knobs.md#the-sites-the-links-depend-on))"], ], }, { cmd: "cast", usage: [ " umtool cast [ls] | add --name … --voice [--handles a,b] | set … | rm | undo", " | project

[add … | set … | rm | undo | pool | keep ]", " | audition --voices a,b,c [--project

] [--text …] | use

", " [--everywhere] | reread

the CAST: characters across projects (cast.json), each a", " PRESET -- synthetic (voice, speed, Orpheus tuning) and recorded (convert, clean, trim, a direction) -- a project's", " characters, its OWN (characters.json: anonymous ones), their drift, an audition of candidate voices", " | assign

[--model] [--dry-run] | assign

--accept |--accept-all|--reject |--change …", " PROPOSED characters for authors with none, by rule; nothing applied until a person accepts", " | try

[--tuning …] [--reading N|--another] | stale

[]", ], docs: [ ["`cast [ls] \\| add --name … --voice [--handles a,b] [--speakers …] [--speed s] [--convert-engine e] [--convert-voice v] [--convert-pitch target\\|source\\|contour] [--convert-semitones n] [--enhance on\\|off] [--trim on\\|off] [--trim-pad ms] [--direction \"…\"] [--narrator] \\| set … \\| rm \\| undo [--json]`", "**THE CAST** (`/.umtool/cast.json`, [knobs.md](knobs.md#the-cast-each-characters-voice-in-every-project-and-the-voices-page)): the characters across projects, one writer, an undo point a write. **A character is a PRESET**, two of them ([knobs.md](knobs.md#a-character-is-a-preset)): `synthetic` -- the STOCK voice it reads in (`--voice`) and its speed (`--speed` 0.5–2; Orpheus has none) -- and `recorded` -- what a recording of them is made into: the stock voice (`--convert-voice`; a file or a recording is refused), the engine, the **pitch** the converted read lands on (`--convert-pitch`: `target` the stock voice's own, `source` the pitch it was read at, `contour` the read's rises and falls at the stock voice's register; `--convert-semitones` -12…12 moves a followed one), whether it is cleaned first (`--enhance`), its edges trimmed to speech (`--trim`, `--trim-pad` the ms kept either side) and a `--direction` (one line for the person reading, never sent to a model). `set` lays the flags given over the presets; `default` for one takes that key off; `--no-convert`, `--no-speed`. A version 1 file (`voice`, `convert` at a character's top) reads as these presets and the first write makes it version 2 (`undo` puts the old file back). A followed pitch on an engine that has none, semitones with nothing followed, a speed or a pad out of range: **exit 1**"], ["`cast project [--json]` · `cast use [--everywhere]` · `cast reread [--dry-run]`", "a project's characters: each one's voice now (and speed) and **where it comes from** -- the chain one read asks, first hit wins: the command's flags, the item's own character (`posts character`), this video's character for the author (then its voice map), the cast's, the narrator's, the default -- what a recording of them is made into, its stale reads; this video's own characters; the items that name their own. `use`: the voice for this project (its own character's when it has one for them, else the voice map) or everywhere, and the re-reads that asks for"], ["`cast project add [--name \"…\"] [--voice ] [--handles a,b] [--anonymous [--shown \"…\"]] [the preset flags]` · `set … [--no-voice] [--no-anonymous]` · `rm ` · `undo` · `pool ` · `keep [--anonymous]` `[--json]`", "**THIS VIDEO's OWN CHARACTERS** (`/narration/characters.json`, [knobs.md](knobs.md#this-videos-own-characters-and-an-items-own)): the cast's shape and the cast's writer (a token, an undo point a write, atomic, a broken file never overwritten), for people who must not enter the pool. `--anonymous`: it goes by a **shown name** (`--shown`; default the next of `Anon 1`, `Anon 2` …) on the Voices page, in `cast project` and in a recording's note, and never enters the pool; **anonymity belongs to the handle, project-wide**: every card, popup post, promise panel, chat replay and synthesized read draws or says them under the shown name; what cannot be fixed is refused or warned -- the coverage table in [knobs.md](knobs.md#this-videos-own-characters-and-an-items-own). `--voice` is optional here: a character with none leaves the voice to the layers under it. `narration/voices.json` keeps working under it (a handle in it reads as a character with only a synthetic voice) and is never rewritten by these. `pool ` (**Add to the pool**) moves one into the cast -- an anonymous one, or an id the cast has, is refused; `keep` (**Keep in this video only**) copies a cast character here (its presets changed for this video alone), or gives an author with no character one, in the voice they read in now. A refusal: **exit 1**, nothing written"], ["`cast assign [--model] [--dry-run] [--json]` · `--accept ` · `--accept-all` · `--reject ` · `--reject-all` · `--change [--voice ] [--speed s] [--name \"…\"] [--direction \"…\"] [--anonymous [--shown \"…\"] \\| --no-anonymous]`", "**AUTO-ASSIGNMENT BY RULE** ([knobs.md](knobs.md#proposed-characters-cast-assign)): every post item's author gets a character -- the item's own, this video's, its voice map's or the cast's; an author with none a **PROPOSED** character of this video: an id from the handle, their name, a STOCK Kokoro voice -- the next, in one fixed rotation (a male and a female voice in turn), that this project does not use yet; a gender hint only from the profile's own stated pronouns when the capture carries them. Proposals are kept apart in `/narration/characters.json` (`proposed`; the same writer, an undo point: `cast project

undo`) and are **applied to nothing** -- no item, no picked read -- until a person accepts. `--accept ` / `--accept-all`: this video's character, named (`narration.character`) on that author's items that name none -- no take made or changed (a picked read in another voice shows as drift); `--change `: its voice (a stock one only), speed, name, direction or anonymity -- the row is then a person's, never re-sent to a model or overwritten; `--reject ` / `--reject-all`: dropped. An author an anonymous character covers is never proposed for and never sent to a model. A proposal whose author has a character now is dropped by the next run. `--dry-run` writes nothing. **`--model`** (on request only): the generation task `cast-assign`, routed by `settings.generation` like the other tasks, is asked per author (display name, bio, post text -- untrusted) for `{character, voice, speed, direction}`; each field is checked (a stock voice, a speed 0.5–2, one plain line, control characters stripped) and laid over the rule's row, which stays when the answer fails. Refused: **exit 1**, nothing written"], ["`cast audition --voices a,b,… [--project

] [--text \"…\" \\| --item \\| --line \\| --stock] [--no-score \\| --score-only] [--json] [--progress ndjson]`", "**AN AUDITION**: one line read by 2-6 stock voices through the editor's tts op, levelled to -20 LUFS in `

/narration/auditions/` (cached), scored for closeness to the character's real voice (`speakers.json`; TitaNet, local)"], ["`cast set [--tuning steady\\|default\\|lively] [--temperature t] [--top-p p] [--repeat-penalty r] [--chunk-takes n] [--no-tuning]` (and `cast add`, `cast project

add\\|set`)", "**A CHARACTER's ORPHEUS TUNING** ([knobs.md](knobs.md#a-characters-orpheus-tuning)): on its synthetic preset -- a named starting point (Steady, Default, Lively: temperature, top_p and repeat penalty together) and the numbers over it; `default` takes one off; a value equal to its default is not kept (takes 3 too: its reads then take the editor's `tts.orpheus.takes`). The default of every Orpheus read the character's preset answers for; a read's own tuning flags beat it; Kokoro and eSpeak NG ignore it. `--json` says `tuning` with every value its reads are asked with (`effective`). Out of range: **exit 1**"], ["`cast try [--text \"…\" \\| --item \\| --line ] [the tuning flags] [--reading N \\| --another] [--scope cast\\|project] [--list \\| --clear] [--json] [--progress ndjson]` · `cast stale [] [--json]`", "**TRY IT**: one line read in the character's own voice with a tuning (its own, or the flags over it) and a reading, through the editor's tts op, levelled to -20 LUFS in `

/narration/auditions/` and kept in a short list (`tries.json`, the newest 12 per character; `--list`, `--clear`) -- SCRATCH: no take on any post, nothing in the draft. **STALE**: the picked Orpheus reads of a character made with other settings than its tuning now (a read whose line asked its own tuning, or a recorded one, never is; takes compared only when the character names them) -- listed, never re-made"], ], }, { cmd: "speaker-check", usage: [ " umtool speaker-check [--clip …] [--json] which of the project's named voices (speakers.json) each", " clip is: TitaNet-small, local -> speaker-check.json; --set 'Name=,/,channel:' / --remove / --list", ], docs: [ ["`speaker-check [--clip …] [--json] [--progress ndjson]` · `--set 'Name=,/,channel:'` · `--remove ` · `--list`", "which of the project's **named voices** (`speakers.json`) each clip is: TitaNet-small, local, against each voice's robust centroid → `/speaker-check.json` (merged); the walk's **Speaker:** badge and **Check speaker** ([report-video.md](report-video.md#the-speaker-check-on-the-walk-which-of-several-voices))"], ], }, { cmd: "quote-check", usage: [ " umtool quote-check [--take T] [--clips a,b] [--pad S] [--json] | --status is each clip's quote in the seconds it plays?", " the cut ±15 s of the source the render would use, transcribed by the editor (words on), the quote", " found in it and in the cues: ok | moved (heard N s away: window --align) | not-found -> quote-check.json;", " check calls moved and not-found blocking, and a take refuses them unless the clip is --quote-ruled;", " --take T judges the take's clips into takes/T/quote-check.json (check --take and the take read it)", ], docs: [ ["`quote-check [--take T] [--clips a,b] [--pad S] [--json]` · `quote-check [--take T] --status`", "**is each clip's quote in the seconds it plays?** The cut ±15 s of the source the render would cut it from, transcribed by the editor (`pnpm ops transcribe`, words on — its transcription lane), the quote found in those words and in the cues: `ok`, `moved` (heard more than 0.5 s from where the cues have it), `not-found`; rows in `quote-check.json`, stale when the cut or the quote changes; the editor's work files go to `/.quote-check/`, never under `out/` (a link onto a media drive the editor will not write in); `check` blocks on `moved`/`not-found` (`clip-quote-moved`, `clip-quote-missing`), a take refuses them, `prep --status` counts them; `--take T` judges the take's own clips into `takes/T/quote-check.json`, which the take's render, `check --take T` and `window --take T --align` read with the project's rows (either current row refuses: `--take` only ever adds a refusal) ([knobs.md](knobs.md#the-quote-check-is-the-quote-where-the-clip-plays))"], ], }, { cmd: "check-joins", usage: [ " umtool check-joins --take [--json] [--all] [--limit ] every boundary of the take's master where the", " next post item draws a post the one before showed: its join, the SSIM across it, the largest jump", ], docs: [ ["`check-joins --take [--json] [--all] [--limit ]`", "do a rendered take's **post joins carry on**: every boundary of its master where the next post item draws a post the one before showed, its planned join, the SSIM across it and the largest frame-to-frame step (read-only, ffmpeg) -- worst first ([report-video.md](report-video.md#thread-scenes-whole-threads-the-join-manual-threads-wide-attachments-context-media-link-visits-the-branch-map))"], ], }, { cmd: "link-policy", usage: [ " umtool link-policy [--via ] [--direct a,b] [--clear] [--fix] [--json] the link policy", " (provenance.linkPolicy): cite via site X, these channels direct; --fix rewrites the clips that break it", ], docs: [ ["`link-policy [--via ] [--direct ] [--clear] [--fix] [--json]`", "the project's **link policy** (`provenance.linkPolicy`): cite via site X, these channels direct. With no flag, prints it and every clip whose QR breaks it; `--fix` rewrites each one that has a fix through the window writer; new clips are written by it. **Exit 1** when a clip still breaks it ([knobs.md](knobs.md#the-link-policy))"], ], }, { cmd: "patch-markers", usage: [ " umtool patch-markers [.patch.json] [--fix] [--json] take patches whose deck markers name a", " clip not in the cut; --fix gives each the after of the cut's marker of the same label", ], docs: [ ["`patch-markers [.patch.json] [--fix] [--json]`", "take patches whose deck markers name a clip not in the cut (a take made with one is refused); `--fix` gives each the `after` of the cut's marker of the same label; **exit 1** when one is left ([knobs.md](knobs.md#take-patches-follow-a-removal))"], ], }, { cmd: "decisions", usage: [ " umtool decisions [--json]", ], docs: [ ["`decisions [--json]`", "the inbox"], ], }, { cmd: "inbox", usage: [ " umtool inbox [--all] [--json] the decisions, grouped and ranked as the inbox shows them", " (--all: the hidden ones on parked/done pieces, and the quiet group)", ], docs: [ ["`inbox [--all] [--json]`", "the decisions grouped and ranked by piece (`a:/`, `p:`): Your call, Review, Blocking, Notes, Open, Ready to finish, Quiet — one card per piece and kind, and how many sit hidden on parked or done pieces (`--all` lists them). Every decision, songs' and articles' included; runs `bin/inbox.ts` through tsx"], ], }, { cmd: "schedule", usage: [ " umtool schedule list | show [--json] the recurring reports: chip, editions, tick log (read-only;", " a schedule is written through the editor: `pnpm ops report-schedule`)", ], docs: [ ["`schedule list \\| show [--json]`", "the recurring reports, read-only ([recurring.md](recurring.md))"], ], }, { cmd: "folders", usage: [ " umtool folders [--json]", ], docs: [ ["`folders [--json]` · `kinds [--json]`", "the tree, the registry"], ], }, { cmd: "kinds", usage: [ " umtool kinds [--json]", ], docs: [ ], }, { cmd: "link", usage: [ " umtool link / | --clear [--json] the manifest names its article (a top-level", " `article`): what settles link-ambiguous; noted for the generator on a generated manifest", ], docs: [ ["`link /` · `link --clear`", "the manifest names the article it is the video of (settles `link-ambiguous`)"], ], }, { cmd: "window", usage: [ " umtool window [--start S] [--end E] [--lock|--lock-end|…]", " attribution too: --title, --date YYYY-MM-DD, --cite, --cite-url, --quote", " --repeat-of it re-plays that clip on purpose (a callback): their overlap is not flagged or trimmed", " --correction TEXT what the REPORT got wrong here (never rendered)", " --walk-note TEXT an editorial note from the walk (not a correction; never rendered)", " --star / --no-star the walk's favourite: a trailer candidate (umtool trailer

--candidates)", " a window edit that leaves --cite (or the citeUrl's t=) more than 5 s before the clip, or", " after it, moves it to the clip's first second; an explicit --cite moves the QR's t= with it", " --verdict confirmed|incorrect what the walk said; incorrect needs --correction", " --reject [--note TEXT] rejected on the walk, kept in place (`umtool timeline

reject`", " takes it out, on record): not-matching|wrong-speaker (fact errors: incorrect, the note its", " correction) or irrelevant|repeats|weak|privacy|other (rejected; other needs --note)", " --cut-start S --cut-end E --lock-cut the cut the video renders", " --align the cut snapped to the quote as HEARD (quote-check.json: a breath before its first word,", " its last let ring; the extent widened to hold it; lockCut kept) -- the per-clip fix for a moved quote", " --quote-ruled / --no-quote-ruled a person heard it and rules the quote check's verdict: a take renders it", " --move-stamp first|nearest| | --clear-stamp with --start/--end: a stamp's second (claim.at,", " a mark's at) the new window would leave outside moves to the first second that plays, the nearest,", " or , or loses its at -- in the same write; --move-mute nearest | --clear-mute the mute mark's", " --gap FROM-TO (repeatable) cut those source seconds out of the clip's middle: it plays", " as ONE segment of jump cuts (gaps.mjs; inside the cut, ≥ 0.2 s, 0.5 s kept between);", " --gap-remove S the gap holding source second S · --gaps 'A-B,C-D' the whole list ('' clears)", " an empty value (--title '') deletes the field", " --take a take's clip (walk a take): the edit goes into takes//take.json's", " patch, an undo point first (`umtool timeline

--take undo`); the manifest is untouched", ], docs: [ ["`window [--start S] [--end E] [--lock] [--lock-end] [--no-lock-end] [--note …]`", "edit a window"], ["`window --start S --end E --move-stamp first\\|nearest\\|` · `--clear-stamp` · `--move-mute nearest` · `--clear-mute`", "a window edit refused because a stamp's second (`claim.at`, a mark's `at`) or the mute mark would fall outside it, with the fix in the same write: the stamp to the first second that plays, the nearest, or ``, or its `at` cleared; the mute mark to the nearest second, or cleared (never inside a gap). A refused `window` names these flags ([clip-bench.md](clip-bench.md#saving))"], ["`window --verdict confirmed\\|incorrect [--correction T]` · `window --reject [--note T]`", "what the walk said: `--reject` is the walk's **Reject ▾** kept in place (`not-matching`/`wrong-speaker`: incorrect, the note its correction; `irrelevant`/`repeats`/`weak`/`privacy`/`other`: rejected, the note its `rejectNote`); `umtool timeline

reject` takes it out ([report-video.md](report-video.md#verdict--what-the-walk-said))"], ["`window --walk-note T` · `--star` / `--no-star` · `--repeat-of `", "what the walk said that is not a verdict: an editorial note (not a correction) and the ★ favourite, a trailer candidate (`trailer --candidates [--json]` lists them as beats); a deliberate repeat ([knobs.md](knobs.md#a-clip))"], ["`window --align` · `--quote-ruled` / `--no-quote-ruled`", "the cut snapped to the quote as HEARD (0.15 s before its first word, 0.3 s after its last, the extent widened to hold it, `lockCut`); a person's ruling on the quote check (a take renders a ruled clip)"], ["`window --take …`", "a **take's** clip (walk a take): the same fields, written into the take's patch (`takes//take.json`) with an undo point first; the project's manifest is untouched ([clip-bench.md](clip-bench.md#walking-a-take))"], ], }, { cmd: "walk", usage: [ " umtool walk [--take ] [--all] [--json] the clip bench's walk: every clip in walk order,", " its verdict, fetched or not, and (→) the ones the walk visits; --take walks a take (a draft too)", ], docs: [ ["`walk [--take ] [--all] [--json]`", "the clip bench's **walk**: every clip in walk order with its window, verdict and whether a fetched file holds it, and (→) the ones the walk visits — fetched and needing a verdict; `--all` every fetched one; `--take` walks a take (a draft too); the bench's address to start at. The intro (`render.intro`) is listed first, watched, not judged (`intro`, `stops` in `--json`)"], ], }, { cmd: "review-pass", usage: [ " umtool review-pass [ls] [--json] the workspace's REVIEW PASS: each block's answer (a clip's is its", " walk verdict; a post's or a card's review-pass.json) and the block it resumes on", " umtool review-pass mark keep|fix|clear [--note T] a block's mark: a Fix (\"needs work\", saying", " what) on any block, a clip too; Keep on a post or a card (a clip's Keep is its walk verdict)", " umtool review-pass verdict like|maybe|no|clear [--note T] the draft's verdict: its parent's when only", " the walk's and the pass's fields differ, else the draft saved as the next version and judged", ], docs: [ ["`review-pass [ls] [--json]` · `review-pass mark keep\\|fix\\|clear [--note T]`", "the workspace's **review pass** (`?mode=review`): every block but the intro and a clip rejected for a cut reason, its answer and the block the pass resumes on; a Fix (\"needs work\", saying what) is a mark in `/review-pass.json` on any block, a clip too — never a clip's verdict (`incorrect` is the bench's fact-error ruling, never written or overwritten here); a clip's Keep is its walk verdict (`window --verdict confirmed`), a post's or a card's a mark — `mark` writes one (a Fix needs `--note`; a clip takes `fix` and `clear`) ([knobs.md](knobs.md#the-review-pass))"], ["`review-pass verdict like\\|maybe\\|no\\|clear [--note T] [--json]`", "the pass's **verdict on the draft**, one locked call: a draft that differs from its parent version only by what the walk and the review pass write (verdict, correction, reason, reject note, walk note, ★) judges the PARENT and saves nothing; otherwise the draft is saved as the next version and that is judged (`takes/verdicts.json`)"], ], }, { cmd: "narration", usage: [ " umtool narration [] [--list] [--json] a CARD's NARRATION (spoken only; no card draws it): its", " words, reading and tuning, and its READINGS kept beside the build (out/narration/)", " umtool narration --read [--text \"…\"] [--reading N|next] [tuning flags] one reading asked of", " the editor and kept, the card NOT changed · --pick : the card made that reading", " umtool narration [--text \"…\"] [--reading N] [tuning flags | --tuning-off] set them", ], docs: [ ["`narration [] [--list] [--json]` · ` --read [--text \"…\"] [--reading N\|next] [--temperature t] [--top-p p] [--top-k k] [--min-p m] [--repeat-penalty r] [--chunk-takes n]` · ` --pick ` · ` [--text \"…\"] [--reading N] [tuning flags \| --tuning-off]`", "a **card's narration** and its readings ([knobs.md](knobs.md#a-cards-narration-read-again), `lib/report/cardNarrationCli.mjs`): the words a stock voice says over a card (spoken only — no card draws them), its reading and Orpheus tuning; `--read` asks the editor for one reading (a job; it waits while render mode holds the machine) and keeps it in `out/narration/` without changing the card (`--reading next`: one past the highest these words were read at); `--pick ` makes the card play a kept reading (its words, reading and tuning; nothing synthesized) — a verdict on the same words is kept; without either, the card's words, reading and tuning are set. The narration page's Read again, Read edited text, Tune and Pick run these."], ], }, { cmd: "reads", usage: [ " umtool reads [--find [--case] [--word]] [--stale] [--character ] [--json] A VIDEO's READS:", " every line a voice reads (posts, thread pieces, screen lines, cards), what it SAYS, the take that plays,", " fresh / stale / unpicked / none / recorded; --find over the spoken text only", " umtool reads replace [--case] [--word] [--say-only] [--only ] [--dry-run] THESE READS'", " spoken text (one undo point; never the shown text), or --say-only EVERYWHERE (a pronunciation entry);", " neither synthesizes · undo [--dry-run]: the newest replace taken back while nothing was written since", " umtool reads reread [--only ] [--wait] the stale reads queued on the app's queue, one step per", " item, each the bench's command; re-reads join unpicked · queue [--stop] [--retry ] · pick --new|--old", " (--dry-run on reread and pick: what would be queued or picked; a flag a subcommand does not take is refused)", ], docs: [ ["`reads [--find [--case] [--word]] [--stale] [--character ] [--json]`", "**a video's reads** ([knobs.md](knobs.md#the-reads-of-a-video), `lib/report/reads.mjs`): every line a voice reads — a post's script, a thread read's pieces (his words, a parent, the quoted or a linked post), its screen lines, a card's narration — with the words it SAYS (never what is shown), where they are kept, the take that plays and its state: `fresh`, `stale` (other words, the lexicon, a character's settings — the rows `cast stale` lists — or its voice since), `unpicked` (re-read, waiting for a pick), `none`, `recorded` (yours: never stale, never re-read). An id is the item's, `/` for a thread piece. `--find` searches the spoken text only (`--case`, `--word`)."], ["`reads replace [--case] [--word] [--say-only] [--only ,…] [--dry-run] [--json]` · `reads undo [--dry-run]`", "**Replace**, two scopes, neither synthesizing and neither touching what is shown (operator ruling 3; `lib/report/readsReplace.mjs`): **these reads** rewrites the matched reads' spoken text in ONE undo point (`auto-before-reads-replace`) — a post's script (marked for reading), a screen line's said-as (made when it has none), a card's narration; a parent, the quoted or a linked post is said as shown (only `--say-only` changes it); a recorded read is never replaced; the preview names what a changed post loses (its approval, as a new script takes it), a card's review verdict given on the old words, and what the build would refuse (refused whole). **`--say-only`: everywhere, from now on** — a pronunciation entry (`posts say add`'s writer): every read of a post says it that way; whole words; never a card. `undo` takes back the newest replace -- These reads only while the draft is still exactly what it left (a re-read landing or any edit since: refused, said why), an Everywhere back to the entry it changed (its spoken form and note) or the entry it added removed; `--dry-run` says which, or why not. A flag a subcommand does not take is refused; `--` ends the flags."], ["`reads reread [--stale] [--only ,…] [--wait [--timeout ]] [--dry-run] [--json]` · `reads queue [--stop] [--retry ] [--json]` · `reads pick --new\|--old [--only ,…] [--dry-run] [--json]`", "**the re-read queue** (`lib/report/readsQueue.mjs`): the stale reads (or `--only` those) queued on the app's durable queue (`umtool queue ls`), ONE step per item in cut order, none waiting on another — `reads

reread --one --only `, which judges the item again and runs the item's bench command (`readAgainArgv.mjs`: a post's take as the bench asks it, `--bench-slurs`; a thread piece's `--for`/`--tuned … reading:next`; a card's own reading), the tuning a plain press asks (only what the line owned). The editor's `tts-file` jobs, one at a time; render mode holds them. A re-read joins its list UNPICKED. `queue` says each row's state and, in one sentence, why they wait; `--stop` cancels what has not started; `--retry` puts one back. `pick --new` makes every unpicked re-read play, `--old` goes back to what played before (a card: its old words and reading) — one undo point."], ], }, { cmd: "present", usage: [ " umtool present [--take | --cut] [--json] [--public] [--open] PRESENT MODE: the cut as slides,", " navigated like a deck (/projects/

/present); prints its address and its slides (# opens", " one); --json the payload (posts with their censor data by kind, clips' spans, section/day dividers);", " --public the payload a public page would carry (censored, no reveal data); --open opens it", ], docs: [ ["`present [--take \\| --cut] [--json] [--public] [--open] [--url ]`", "**present mode**: the cut as slides, navigated like a deck (`/projects/

/present`) — prints the address and every slide (its kind, id — a post's `/`, a clip's id, `section-`, `day-` — date, words and censor counts); `--json` the payload (each post's card as Play draws it and its censor data by kind, each clip's spans, the dividers); `--public` the payload a public page would carry (censored, no reveal data); `--open` opens it; `

#` opens a slide ([knobs.md](knobs.md#present-mode-the-cut-as-slides-navigated-like-a-deck))"], ], }, { cmd: "set", usage: [ " umtool set key=value … a clip's knobs (`key=` clears; umtool/docs/knobs.md):", " claim.at (a source second: the stamp lands, the count steps) claim.hold claim.stamp", " claim.count claim.label (the first mark's, or --mark 's) · marks: mark.add=[@]", " mark.remove= mark.verdict= marks= (≤ 8, each its own stamp and count)", " · audio.offset (ms, + later) audio.gain (dB) audio.fadeIn audio.fadeOut", " · hideModules=diet,streak (those modules hidden over the entry's span; any entry)", " · shelfNote='words' (a line on the shelf over the entry's span; any entry)", " --take : the entry knobs into the take's patch, the project's manifest untouched", ], docs: [ ["`set key=value …`", "a clip's **knobs**: `claim.at` `claim.hold` `claim.stamp` `claim.count` `claim.label` (the first mark's, or `--mark `'s), its **marks** `mark.add=[@]` `mark.remove=` `mark.verdict=` `marks=`, `audio.offset` `audio.gain` `audio.fadeIn` `audio.fadeOut`, its picture's **blur** `blur.on=true` `blur.caption=…` `blur.strength` `blur.from` `blur.to` (`blur.on=` clears it; [knobs.md](knobs.md#a-clips-picture-blurred)), its **effects** `fx.zoom=` `fx.receipts=` `fx.punch=…` `fx.quote` `fx.punchIn=` `fx.speakers=` (`fx=` all of them, `fx=` clears them; a shot is a file in the project; [knobs.md](knobs.md#effects)), its **gaps** `gap.add=12.3-15.1` `gap.remove=` `gaps=…` and a gap's own `gap.mark=:on|off|default` `gap.why=:dead-air|idle|other|default` `gap.reason=:` (its mark says them) `gap.corner=:tl|tr|bl|br|default`, the **mark at its gaps' joins** `gapCue.mark=true` `gapCue.min` `gapCue.corner` `gapCue.label` `gapCue.place` `gapCue.border=accent\\|'#rrggbb'` (its border: the deck's accent, or that colour) over the project's `render.gapCue` (`gapCue=` clears it; [knobs.md](knobs.md#gaps-inside-a-clip)); on ANY entry (a post item, a still, a clip) `hideModules=diet,streak`, `shelfNote='…'` and `chapter='…'` (its name in the chapter list, one line of at most 100 characters; `chapter=` none); `--take ` writes the entry knobs into that take's patch; `key=` clears one ([knobs.md](knobs.md#marks))"], ], }, { cmd: "intro", usage: [ " umtool intro [key=value …] [--off] [--json] THE INTRO the cut opens on (render.intro): prints it,", " what the cut opens with and each version's on/off; key=value writes it (style seconds mark sound", " site title lines …; `key=` clears; a new one starts as boot-dark); --off takes it off;", " --take --off|--on: that version opens on no intro (its patch's render.intro: null) or the cut's", ], docs: [ ["`intro [key=value …] [--off] [--json]` · `intro --take --off\\|--on`", "**the intro** the cut opens on (`render.intro`): with no key, prints it as written, what the cut opens with (a `title-card`'s words resolved) and each version's on/off; `key=value` writes it through the look writer (`style` `seconds` 3.5–8 `mark` `ground` `sound` (`false` silent) `site` `title` `lines` (`a\\|b`, ≤ 3) and the brand's keys; `key=` clears one; a new intro starts as `boot-dark`); `--off` takes it off the cut; `--take --off` that version opens on no intro (its patch's `render.intro: null`), `--on` on the cut's again. **Exit 1** on a value the build refuses ([knobs.md](knobs.md#the-intro-played-and-edited))"], ], }, { cmd: "look", usage: [ " umtool look key=value … the cut's knobs: factcheck.stamp.scale|motion|opacity|seconds,", " factcheck.verdicts..stampLabel|label|color, deck.markers=, deck.markerLayout,", " variants=, and the look's keys (transition=0.3, …)", ], docs: [ ["`look key=value … [--unset render.]… [--take ]`", "the cut's **knobs** (`--take `: the `deck.*` keys given are set on that take -- its patch, an undo point of its own, the project's manifest untouched; the other knobs are the project's): `factcheck.stamp.*`, `factcheck.verdicts..stampLabel\\|label\\|color`, `deck.markers=`, `deck.markerLayout`, `variants=`, and the look's keys — `mode=basic\\|deck` (the footage alone, [knobs.md](knobs.md#basic-output-the-footage-alone)) and `basic=` (its fades), `gapCue=` (the mark at the joins clips' gaps leave, `{\"mark\":true}`; [knobs.md](knobs.md#gaps-inside-a-clip)) among them ([knobs.md](knobs.md)) **The deck on, legacy keys off** (`updateRenderKeys`, one write, an undo point `revisions/…auto-render-keys…` first): `chrome.layout=deck` turns the deck on (render.chrome created when the cut has none: engine hyperframes, an empty deck), `--unset render.` (repeatable) drops a legacy render key -- only `rail` `chromeEngine` `railEngine` `chromeRegions` `claimSchedule` `wordmark` `title` `finale` `cut`; the deck beside the old rail is refused in the build's words unless the same command drops it; deck.* keys in the same command land after the chrome exists. Another key named: **exit 2**"], ], }, { cmd: "migrate", usage: [ " umtool migrate [--dry-run] [--json] move the manifest into the video modules' homes", " (the fact-check verdicts and tally become deck.counter's series); renders the same", ], docs: [ ], }, { cmd: "variants", usage: [ " umtool variants [--take ] [--list] [--json] make the encode ladder of a build (render.variants);", " --list: what was made, and the build's sync report (each clip's lag, past a frame flagged)", ], docs: [ ["`variants [--take ] [--list] [--json]`", "**Make variants**: the encode ladder of the build (or of a take's); `--list` what was made and the build's sync report, each clip's lag (past a frame flagged) ([knobs.md](knobs.md))"], ], }, { cmd: "corrections", usage: [ " umtool corrections what the report got wrong + the walk's coverage", ], docs: [ ["`corrections `", "what the report got wrong (the clip bench's sixth field) and the walk's coverage, as markdown for the next pass"], ], }, { cmd: "build", usage: [ " umtool build [--preset preview|fast|final] [--only ID]", " --run: the app's build job (UMTOOL_URL, else http://localhost:3050; --url), followed here;", " Ctrl-C cancels it; --replace stamps a newer deliverable aside", ], docs: [ ["`build [--preset preview\\|fast\\|final] [--only ID]`", "**prints** the chain"], ["`build --run [--url URL] [--replace] [--preset P] [--only ID] [--skip-fetch]`", "**runs** it as the app's build job (POST `/api/report/build` on `--url`, else `UMTOOL_URL`, else `http://localhost:3050`), prints its log as it grows, **Ctrl-C** cancels the job (twice leaves it running); `--replace` stamps a deliverable newer than the manifest aside; exit 1 unless the job is done (release 36)"], ], }, { cmd: "chain", usage: [ " umtool chain
[--from ] [--dry] [--final] [--projects-root DIR] [--site-origin URL] [--draft-all [--model M] [--deck]] [--stop-before-render] [--allow-whole-recording]", " an article iteration's pipeline, one step a process: {chainSteps}", " (resumes at the first step not done; --dry prints it; the project is /
/i/)", " --draft-all (Draft everything): {draftAllSteps} —", " each draft a report-draft job on --model (else its route); a draft that fails does not stop it;", " --deck adds a step before the flips: the minimal on-screen deck on a cut with none", " --stop-before-render ends it before the voices: nothing voiced or built", " --allow-whole-recording: a remote-only channel's Rumble windows may download", " their whole recording (refused with its size otherwise)", ], docs: [ ["`chain
[--from ] [--dry] [--final] [--draft-all [--model M]] [--stop-before-render] [--allow-whole-recording]`", "an iteration to a video: the Iterations tab's **Make the video** (`--draft-all`: Draft everything, which fetches the windows of the clips the drafted cut kept, `cut-windows`); `--stop-before-render` is **Stop before render** (it ends before the voices); `--allow-whole-recording` is **Fetch the whole recordings** (a remote-only channel's Rumble windows, refused with their size otherwise)"], ], }, { cmd: "index", usage: [ " umtool index [--rebuild] [--prune] [--since MS] [--json]", ], docs: [ ["`index [--rebuild] [--prune] [--since MS] [--json]`", "the cache"], ], }, { cmd: "new", usage: [ " umtool new [--from ||/] [--site-origin URL] [--seed chapters|frames]", " /, or --folder : the project in a folder of the reports tree (its id", " /, routed /projects//) — a spin-off beside its parent", " --seed frames: a draft supercut from the video's frame scan (pnpm ops frame-scan) — the events", " ranked (scoops, milestones, swings, pots, level-ups) into --target (default 240), the", " deck on with the stats region drawing frameScan.overlay over each clip", " --seed phrase --phrase --channels a,b [--prefer ] [--exclude ]: every time", " the phrase was said in those channels' transcripts, chronological, cut from the --prefer", " channel's copy where it has one (a twin by date and duration); a context matching --exclude", " is left out; the scan beside the manifest as phrase-scan.json; --max N keeps N instances", " spread across the years in proportion (the rest: phrase-scan.json \"skippedByCap\")", " --seed reactions --from / [--target S] [--laugh-min X] [--scope FROM:TO|auto [--segment sN]] [--no-analyze]: the clip finder on a long", " recording (needs its diarization.json): highlights proposed from the host's laughs and comments,", " then `umtool clips analyze` (the laugh scan + voices) unless --no-analyze; --scope auto reads the", " narrated video auto-scope finds in the speakers' turns (--segment names one, else the longest)", " --from-posts [--channel …] [--since D] [--until D] [--own] [--with-media]", " [--replies include|only|exclude] [--order chrono|reverse] [--limit N]: a POSTS REEL -- each", " archived post a post item (its card, its attachments), the deck on (umtool posts reel adds more)", " [--brand archilyzer-media] render.brand: the report-to-video brand preset", ], docs: [ ["`new [--from \\|\\|/] [--site-origin URL] [--seed chapters\\|frames [--target S]]` · `new / …` · `new --folder …` · `new --seed phrase --phrase --channels a,b [--prefer ] [--exclude ] [--max N]` · `new --seed reactions --from / [--target S] [--laugh-min X] [--scope FROM:TO\\|auto [--segment sN]] [--no-analyze]`", "scaffold; `/` (or `--folder`) makes it in a folder of the reports tree — its id `/`, routed `/projects//` (a spin-off beside its parent); a folder that is itself a project, the reserved `at`, or one past the walk's four levels is refused"], ["`new --from-posts [--channel …] [--since D] [--until D] [--own] [--with-media] [--replies …] [--order …] [--limit N]`", "a **posts reel**: the scaffold with the deck on (no `siteOrigin`: each post's QR opens the post, `deck.qr.links: \"original\"`), then `posts reel` with the same filters"], ], }, { cmd: "doctor", usage: [ " umtool doctor [--json] exit 1 if the report pipeline is missing a tool", " or the media root is set and not there; the roots, and a leftover old cache", ], docs: [ ["`doctor [--json]`", "which tools are on this machine and where the roots are; **exit 1** if the report pipeline is missing one, or `UMTOOL_MEDIA_DIR` is set and not there"], ], }, { cmd: "storage", usage: [ " umtool storage [] where each project's out/ lives (dir, link, DANGLING)", " umtool storage move-out|move-back |--all [--dry-run]", " umtool storage deliverables --to media|local [--dry-run] clips/ + share-*/, then the switch", " out/ to the media root (UMTOOL_MEDIA_DIR) and back; run when nothing is building", ], docs: [ ["`storage [] [--json]`", "where each project's `out/` lives: dir, link, DANGLING, none — and a report's deliverables (`clips/`, `share-*/`) and its switch"], ["`storage move-out\\|move-back \\|--all [--dry-run] [--json]`", "`out/` to the media root (a link left behind) and back — copied, mirrored, verified first; run when nothing is building"], ["`storage deliverables --to media\\|local [--dry-run] [--json]`", "`clips/` and every `share-*/` to the media root and back, then `storage.deliverables` in the manifest; refused while a build step, a cut or a share batch (by `--project` id, name or directory, as the app starts them) or the report's own scripts run in the project — a hand-run command that is none of these is not seen; **exit 1** on any failure (the switch is then left as it was)"], ], }, { cmd: "snapshot", usage: [ " umtool snapshot [--label L] copy the manifest into revisions/", ], docs: [ ["`snapshot [--label L]`", "copy the manifest into `revisions/`"], ], }, { cmd: "diff", usage: [ " umtool diff what changed since that snapshot", ], docs: [ ["`diff `", "added / removed / moved / window / retyped, by entry id"], ], }, { cmd: "export", usage: [ " umtool export --format toc-bbcode|toc-markdown|description|chapters [--variant V] [--first TITLE]", " umtool export [--context N | --raw [--from S --to S] [--uncensored-raw]] [--fetch] [--take T] [--open]", " one clip, clean, into /exports/: the cut's edges, its gaps out, its mute; --context N what", " the cut plays ± N s; --raw the whole fetched window, or a span (the full exchange), as recorded; its", " hidden regions hidden (a raw export of a clip with boxes refused unless --uncensored-raw); --fetch", " asks the editor first for what that needs; in the heavy slot; --open shows it", ], docs: [ ["`export --format toc-bbcode\\|toc-markdown\\|description\\|chapters [--variant V] [--first TITLE]`", "the posting artifacts, from the build's chapter offsets. A deck with markers: `chapters` are its top-level sections (subsections left out) at the second each section's first segment starts, YouTube's rules kept (0:00 first, each ≥ 10 s, at least three; what was merged is said on stderr); the opening is titled `deck.sectionTitle.first`, or `--first TITLE`, else the first section takes 0:00"], ["`export [--take T] [--open] [--json]` · `--context N` · `--raw [--from S --to S]` · `--fetch` · `--progress ndjson`", "**one clip, clean** (no deck) into `/exports/` as `[-ctx\\|-raw[--]]--.mp4`: as the cut plays it (its edges, gaps out, its mute); `--context N` what the cut plays ± N s (1–120), as recorded; `--raw` the fetched window, or `--from/--to` a span (the full exchange), as recorded. A clip's hidden regions (`render.censor`, its `censor`) are hidden in a cut or context export; a raw export of a clip with boxes is refused unless `--uncensored-raw`, which shows them and says so. In the heavy slot (a 600 MB estimate). `--fetch` asks the editor first (fetch-via-editor, the bench's path) for what a context or raw export needs that is not on disk; without it nothing is fetched. `--progress ndjson`: one `export` event (the app's export job reads it) ([knobs.md](knobs.md#export-one-clip))"], ], }, { cmd: "check-sources", usage: [ " umtool check-sources […] prints the re-check chain (never-checked/old when no args)", ], docs: [ ["`check-sources […]`", "**prints** the re-check chain; with no args, the never-checked and >30 d projects"], ], }, { cmd: "notes", usage: [ " umtool notes [/||--all] the operator's notes, as markdown (open ones)", " umtool notes reply \"\" [--resolve] answer one; resolve | wontfix | reopen ", ], docs: [ ["`notes …`", "operator notes: list, read, reply, resolve ([notes.md](notes.md))"], ], }, { cmd: "modules", usage: [ " umtool modules list | apply [--config F] [--dry-run | --take [--at S --dur S | --full] …]", " a module-config.json onto the cut (writers), or as a take's patch", ], docs: [ ["`modules list [--json]` · `modules apply [--config FILE] [--dry-run] [--json]` · `modules apply [--config FILE] --take [--label L] [--at S --dur S \\| --full] [--quick] [--force] [--from TAKE] [--keep-frames] [--patch-out FILE]`", "the **video modules** (release 39): `list` every module, its kind, slot and where its settings live; `apply` maps the project's `module-config.json` (the modules a video wants, in MODULES-DESIGN's vocabulary) into the manifest's homes (`report-to-video/modules/config-loader.mjs`) — the preset, the deck's subtitle and QR, the counter's series and each clip's marks, the stamps, the rail's markers, the chapters, the pairs, the status ledger, the intro, the finale — and lists every field with no home, by path. Without `--take` the manifest is rewritten through `replaceManifest` (a snapshot first); with `--take` it is that take's patch (`takes/.modules-patch.json`, or `--patch-out`) and the take is made from it as `take` makes one, the manifest untouched. **Exit 1** when the result would not build (the build's sentences) ([knobs.md](knobs.md#look-presets))"], ], }, { cmd: "preset", usage: [ " umtool preset list | show | save --from | apply ", " the look presets (preset → manifest → style → take patch)", ], docs: [ ["`preset list [--json]` · `preset show [--json]` · `preset save --from [--description D] [--force]` · `preset apply [--replace] [--json]`", "the **look presets** (`umtool/presets/.json`, or `UMTOOL_PRESETS_DIR`; built in: `plain-deck` `huck-deck` `ember-deck` `archive-catalog` `basic`): a render block a manifest stands on (`\"preset\": \"\"`), laid under it — preset → manifest → style → take patch. `save` keeps a project's look and leaves its content out; `apply` names the preset on the cut through `updatePreset` (nothing copied in), refused when the cut over it would not build (a basic cut's chrome is not checked); `--replace` also clears the manifest's own value of every key the preset sets, after an undo point (`revisions/…-auto-before-preset-replace`), and prints what went ([knobs.md](knobs.md#look-presets))"], ], }, { cmd: "take", usage: [ " umtool take --id --label L [--style S] [--patch F | --set p=v …] [--at S --dur S | --full]", " one take: the manifest with a style's patch, rendered into takes// (--rebuild, --force;", " --from TAKE reuses that take's segments, chrome and batches; --keep-frames keeps the chrome)", " --draft (--no-render): record the take, render nothing -- walk it, edit it, render it later", " (`umtool take

--id --full` renders a draft from its stored patch)", " --priority: render mode for the take's lifetime -- every other heavy job waits for it, the", " editor's transcription and download lanes are held; all let go at its end, failure or signal", " --draft --from TAKE: a draft that starts from that take's patch (its timeline its own from then on)", " umtool take --id --import-item :[,…] [--after |--before ]", " [--as ] [--dry-run] [--json] items of ANOTHER project cloned into the take (its patch), their", " narration and pick kept, the files they name hard-linked into this project; again: updated or unchanged", ], docs: [ ], }, { cmd: "lint", usage: [ " umtool lint [--take ] [--variant sourced|full] [--final] [--json] the manifest lint a build runs", " first, on the project's manifest or a take's (its patches applied), and the files its post items", " name (a picked read, an attachment not in the project: an error) -- exit 0 clean, 1 an error", ], docs: [ ["`lint [--take ] [--variant sourced\\|full] [--final] [--json]`", "**the manifest lint** (`report-to-video/lint.mjs`, what a build runs before it renders a frame) from umtool: the project's manifest, or with `--take` the take's (its patches applied, written beside the project's manifest for the lint as its render's is, then removed) -- plus the **files its post items name**: a picked read, an attachment or a context post's media not in the project is an ERROR, another kept take a warning. A `ledger*.json` beside a manifest that carries its own `ledger` -- one that parses as rows with ids (never `ledgerSchema.json`) -- is a warning naming the live one (the manifest's, or with `--take` the take's: what the build and `umtool ledger` read) and the file as stale, or NEWER only when it holds row ids the live ledger lacks (named), with both counts and local dates; the file is never touched. Run it after an import and before queueing the render. `--json`: `{ok, entries, errors, warnings}`. **Exit 0 no error · 1 an error · 2 usage**"], ], }, { cmd: "take", usage: [ " umtool take --id --promote [--anyway] make this the cut: the take's patch applied to the", " manifest, one undo point (revisions/…-auto-before-promote-take)", " umtool take status [--id ] [--json] [--log] [--tail N] the take's render record (every render", " writes takes//render.json and the full render.log): exit 0 done, 3 queued/waiting/running, 1 failed", ], docs: [ ["`take --id --label L [--group G] [--kind similar\\|different] [--summary S] [--style NAME] [--patch FILE \\| --patch-json JSON \\| --set path=value …] [--effect NAME] [--at S --dur S \\| --full] [--quick] [--force] [--progress ndjson]`", "one **take**: the manifest with a montage style's patch, then an overlay effect's (`--effect`, release 35), then the take's own, rendered into `takes//` (the Takes page's New take); `--id --rebuild` makes one again from its own `take.json` ([report-video.md](report-video.md#making-takes))"], ["`take --id --label L [--patch F \\| …] --draft` (`--no-render`) · `take --id [--full \\| --at S --dur S]` · `take --id --rebuild [--full \\| --at S --dur S]` · `take --id --promote [--anyway] [--json]`", "a **draft** take: recorded with nothing rendered, to be walked first; a draft named with no patch flags is rendered from its stored (walked) patch, and `--rebuild` takes a window flag; **make it the cut**: the take's patch applied to the manifest now, one undo point (`revisions/…-auto-before-promote-take`), refused (exit 1) when its timeline would replace a cut that changed since, until `--anyway` ([report-video.md](report-video.md#walking-a-take-drafts-edits-into-the-take-and-making-it-the-cut))"], ["`take --id … --uncensored` · build-video `--uncensored`", "the **uncensored cut** ([knobs.md](knobs.md#the-slur-filter-slurs-masked-in-what-is-published-off-for-the-uncensored-cut)): the same cut with the post items' slur filter off -- `render.posts.slurs.on: false` in the take's patch (a `--rebuild` keeps it; a censored take is not rebuilt uncensored, **exit 2**: make a take of its own), its label gains \"(uncensored)\", take.json's `slurs` records `censored` or `uncensored`. The redaction of private words and censored attachments stay on"], ["`take --id --draft --from [--label L] [--patch F \\| --patch-json J \\| --set p=v …]`", "a **draft made from another take**: that take's style and patch (a `--patch` merged over it), its label \" (from )\" unless `--label`, nothing rendered; its timeline is its own from then on, and its render's `--from` (segments reused) is a separate flag of the render ([take-scoped edits](#edit-a-take-not-the-project-items-from-other-projects-and-take-scoped-edits))"], ["`take --id --preview [--from ] [--at S --dur S \\| --full] [--priority] [--json]`", "the take's **preview**: the take as stored (a draft too, from its walked patch) composed exactly as its render is -- the same 1920×1080 layout, segments, chrome frames and sound -- with only its final picture encoded smaller and faster (`render.preview`: 1280×720, x264 veryfast, crf 26) into `takes//out/.preview.mp4`; its build, schedule and record (`render.json`, `render.log`) in `takes//out/preview/`. The full render (`preview.mp4`, `out/.mp4`, `out/sourced/`, `take.json`, `render.json`) is never touched. `--at S --dur S`: cut seconds of the take's own cut (its schedule when newer than its take.json, else its entries' lengths as estimates; an S past the end refused before anything builds), the chrome at its state then and no rail, into its own `takes//out/.preview.-.mp4` (`` as rendered, clipped at the cut's end; build and record in `out/window/`, one window at a time; `take status` says `window S-…`), never over the full preview. Reuses this take's own full render, and `--from`'s full render and preview ([report-video.md](report-video.md#fast-feedback-preview-and-changes-renders), [knobs.md](knobs.md#fast-feedback-a-preview-and-a-reel-of-the-changes))"], ["`take --id --changes [--from ] [--pad 3] [--no-preview] [--priority] [--json]`", "the take's **changes reel**: only what changed against `--from` (default: the take's own `from`, or the take a draft was made from) -- each added, re-read, re-picked, re-voiced, trimmed, held, fx'd, … item with a neighbour either side, rendered in one build (`takes//out/changes/`), cut to the item ± `--pad` s, a label burned in (`21:19 · p-2116831815466193102 · re-voiced`: its time in the FULL cut), joined into `takes//out/.changes.mp4`; a removed item shows as the join it leaves. `takes//changes.json` lists the pieces with their full-cut times and how exact they are (`times.basis`: `measured` -- the base's measured schedule plus the changed items' measured lengths -- or `estimate`). Preview quality unless `--no-preview`. Nothing changed: no reel, and the list says so"], ["`take --id --import-item :[,…] [--import-item …] [--after \\| --before ] [--as ] [--dry-run] [--json]`", "**items of another project into a take** -- into the take's patch, the draft untouched (`timeline

import-item` is the draft's twin; `takeImport.mjs`): each entry CLONED from the source's manifest as it is now (its card, context, knobs, narration with its takes and its pick) into the take's timeline -- one write, an undo point of the take's (`timeline

--take undo`); the files it names (narration takes and their `take-.*` sidecars, the parts' cache files, attachments, a context post's media, the picture of each author it draws that the take lacks, added to the take's `postAvatars`) **hard-linked** into this project's dir at the same path, so the render and the lint find them (copied across filesystems; the same file already there is left; ANOTHER file at the path: linked under `imports//` and the clone names that). The source project and this project's manifest are only read. **Placed** `--after`/`--before` an entry of the take (several items in the order named, one after another), else by the post's date when the take's posts are in date order, else at the end. **Again**: updated in place from the source (moved only with `--after`/`--before`), `unchanged` with no write when nothing differs. `--as`: one item under another id (a second copy). `--dry-run`: the plan and the placement, nothing linked or written. `--json`: `items[] {id, action added\\|updated\\|unchanged\\|moved, at {index, after, before}, narration {takes, pick, file}, files[], avatars[]}`, `revision`. Refused while the take renders. **Exit 0 · 1 refused (no such item, take or entry; a link out of the project) · 2 usage**"], ["`take … --priority` · `takes make … --priority` · `render-mode on [--for 90m] [--note T] [--json \\| --print-token]` · `render-mode on [--for 90m] [--note T] [--print-token] -- ` · `render-mode off [--force] [--json]` · `render-mode status [--json]`", "**render mode**: a render the operator waits for gets the machine. `--priority` turns it on for the take's (or the batch's) lifetime — on at the start, off at the end, on a failure and on a signal; the Takes page's **Give renders the machine** is the same flag. While it is on, every other heavy job (e2e suites, `next build`s, the publish stages, other renders) waits at the heavy slot's door (`queue-lock: held for a render (…) — waiting`), the render runs on the floor 4000 MB and the cap 10240 MB, and the editor's transcription, download and Speakers lanes are held through its ops (`lane`; only the ones not already held, and only those are released at off). `render-mode on` is a window (default 2h) for a chain of renders: every `umtool take` started in it renders in it, another command joins with the `RENDER_PRIORITY_TOKEN` it prints (`--print-token`: the token alone on stdout, the rest on stderr). **`on … -- ` is the form for a script**: the command is spawned with the token in its environment, the hold is the command's pid, and it is released when the command exits — done, failed, or umtool signalled (the signal is passed on); umtool exits with the command's code, and inside a manual window the command joins it. A bare `on` in a script leaves the window behind (the chain trap). `off` ends it (a running take's hold only with `--force`, else it ends with the take); `status` says what holds it and releases a stale hold's lanes. A hold whose process is gone or whose window is over is no hold. Needs WORKER_TOKEN and the editor at ARCHILYZER_EDITOR_URL for the lanes; without them it still holds the door. **Exit 1** when it is already on, or a lane could not be released ([report-video.md](report-video.md#render-mode-giving-a-render-the-machine); WORKTREES.md, \"Render mode\")"], ["`take status [--id ] [--json] [--log] [--tail N]`", "a take's **render record** (`takes//render.json`, written by every render whoever started it — a terminal, the Takes page, the queue): `state` (`running`, `waiting` at the heavy slot, `done`, `failed`, `cancelled`; `queued` or `blocked` while a queue step waits to render it), `stage` and a rough `percent`, the `error` (the first error line, not a bare \"exited 1\") and the log's last 40 lines (`tail`), on done the `mp4` and its measured `seconds`; `--log` prints the FULL `takes//render.log`. A \"running\" whose process is gone reads **failed** (\"the render process is gone\"); a done whose mp4 is missing or 0 bytes reads **failed**. **Exit 0 done · 3 queued, waiting or running · 1 failed, cancelled, blocked or none.** Without `--id`: every take with a record, the newest's exit ([queue and poll](#queue-and-poll-instead-of-scripting)); and its fast-feedback renders beside it, `preview` and `changes` (each one's state, mp4, seconds, log; a changes reel's piece count, its base and its list), a queued `--preview`/`--changes` step said as such -- never as the take's own render"], ], }, { cmd: "queue", usage: [ " umtool queue add [--after |last] [--label T] -- a step the umtool APP runs, in", " order, one at a time (it survives the session); prints the qid. ls [--all] | status | wait ", " [--timeout S] | log | cancel | retry [--json]; status exits 0 done, 3 going, 1 failed", ], docs: [ ["`queue add [--after \\|last] [--label T] [--timeout ] [--json] -- `", "a **step** of the durable queue: the argv of a umtool command, one word per argument (no shell), stored under `/.umtool-queue/` and run by the **umtool app** (its systemd unit), one step at a time, in order — so it survives the session that queued it, an app restart and a ship. Prints the qid (`q`) alone on stdout. `--after` waits for that step to be **done**; when it fails or is cancelled this one is **blocked** (and so is whatever waits on it). `--timeout`: the step's limit (default 720 minutes). A step does not start while the app's own job runner is busy (a Takes-page job), and a heavy step still takes the machine's heavy slot and render mode by itself"], ["`queue ls [--all] [--json]` · `queue status [--json]` · `queue wait [--timeout ]` · `queue log [--tail N]` · `queue cancel ` · `queue retry `", "the queue: `ls` the runner (is the app running it) and the steps not finished or finished in the last 24 h; `status` one step (**exit 0 done · 3 queued or running · 1 failed, blocked or cancelled**); `wait` the same after up to `` seconds (default 90); `log` its FULL log (`logs/.log`; earlier attempts kept as `..log`); `cancel` a queued or blocked step at once, a running one stopped (its process group); `retry` a failed or cancelled step back in the queue with every step blocked behind it. A step that was running when the app died reads **failed** (\"the step's process is gone\"), its log kept — it is never re-run on its own"], ], }, { cmd: "jobs", usage: [ " umtool jobs [--json] every running and recent take render and queue step, across projects, and the app's jobs", ], docs: [ ["`jobs [--json]`", "every running and recent **take render** across projects (their records), every queue step not finished or finished in the last 24 h, and the umtool app's own jobs (`GET /api/jobs` at `--url` / `UMTOOL_URL`, when it answers). The page is **/jobs** (home's *Running* links it)"], ], }, { cmd: "takes", usage: [ " umtool takes make [--recipe F | --all-styles] | styles | pick [--anyway]", " | ls | relabel | supersede [--by ] [--clear]", " | delete [--dry-run] [--force] take housekeeping: a label fixed, a take folded away", " as superseded, a take deleted -- refused while a render names it", " | verdict like|maybe|no|clear [--note T] a take's verdict (verdicts.json): Play and judge", ], docs: [ ["`takes make [--recipe FILE] [--only ID,ID] [--force]` · `takes make --all-styles [--group G] [--at S --dur S \\| --full]`", "a recipe's takes, one at a time (default `takes/recipe.json`); every montage style, one take each (Make all styles); **exit 1** if any failed"], ["`takes styles [--json]` · `takes effects [--json]` · `takes pick [--anyway] [--pin \\| --unpin] [--json]`", "the montage styles; the overlay effects the cut offers (`render.chrome.fx` presets: the Takes page's **Effect** list); **Use this take** — refused (exit 1) when the project changed since the take was made, until `--anyway`; `--pin` keeps the pick when newer takes are built (each whole-cut take of the manifest is otherwise its group's pick once built), `--unpin` lets go ([report-video.md](report-video.md#takes-alternative-renders-judged-side-by-side))"], ["`takes ls [--json]` · `takes relabel ` · `takes supersede [--by ]` · `takes supersede --clear` · `takes delete [--dry-run] [--force]`", "**take housekeeping** (the Takes page's ✎, **Mark superseded**, **Delete take**): first the working cut's line (`Latest: draft-22 · 28:03 · +N edits since`, and the edits in words; `--json`: `working`), then the takes with latest / picked (pinned) / superseded / RENDERING; a label fixed in `take.json` (an undo point of the take's own); a take folded away as superseded (verdicts.json, nothing deleted); a take deleted. Relabel and delete are refused (**exit 1**) while the take renders or a live render is made from it ([knobs.md](knobs.md#takes-relabel-supersede-cancel-delete-fork-as-variant-compare))"], ["`takes verdict like\\|maybe\\|no\\|clear [--note \"…\"] [--json]`", "**a take's verdict** in `takes/verdicts.json` — the Takes page's and Play's **Like · Maybe · No**; a version with a render and none is a call on home (\"versions to judge\", [knobs.md](knobs.md#what-needs-you-home-the-inbox-one-press-actions-quick-clip))"], ["`takes save [--label L] [--force] [--json]` · `takes open [--json]` · `takes freeze [… \\| --all] [--apply] [--json]`", "**the working draft and its saved versions** (Play's **Save version** and **Open in draft**): `save` freezes the draft (`video.manifest.json`) as the next `v` — `takes/v/base.manifest.json` byte for byte, `take.json` `version: true` — and names it the draft's parent (`takes/draft.json`); nothing is saved when the draft has no edits since its parent, unless `--force`. `open` copies a version into the draft — the draft saved first as the next `v` when it has edits since its parent — with one undo point (`umtool timeline

undo` puts the draft and its parent back); a legacy take with its own timeline opens by its patch over the draft (as `take --promote`), another legacy take as the manifest it was rendered from (as `takes pick`). Neither touches the pick or its pin. `freeze` gives legacy takes a frozen base (the manifest each was rendered from, else the draft now) — a dry run unless `--apply`, each take's difference from how it resolves today said. Version ids are `v1`, `v2`, … — one above every `v` directory under `takes/`, never reused ([knobs.md](knobs.md#the-working-draft-and-saved-versions))"], ["`takes cancel [--json]` · `takes fork [--name N] [--json]` · `takes compare [--json]`", "**take housekeeping, the rest**: **Cancel render** (asked of the process rendering it, which stops its render's process group, marks the take cancelled and lets render mode go; exit 1 when it has not stopped); **Fork as variant** (a project beside this one, default `v-`: the take's manifest, `variant.json`, the parent's media and assets linked, the take in it); two takes **side by side** (`` or `:`: the facts, the cut's changes A → B, the look's differences) ([knobs.md](knobs.md#takes-relabel-supersede-cancel-delete-fork-as-variant-compare))"], ], }, { cmd: "render-mode", usage: [ " umtool render-mode on [--for 90m] [--note T] | off [--force] | status [--json] render mode: a render the", " operator waits for gets the machine (other heavy jobs wait; the editor's transcription and", " download lanes held); `on` is a window for a chain of renders (default 2h)", " on [--for D] [--print-token] -- : held while runs (its env carries the token,", " the hold is its pid), released when it exits -- the form for a script; --print-token prints", " the token alone on stdout", ], docs: [ ], }, { cmd: "library", usage: [ " umtool library [ls] | topics | posts [--topic T] [--state S] [--gone] [--media] [--author H] [--q TEXT]", " [--new] [--limit N] [--offset N] [--json] a private X trending library, read through the editor", " judge --state keep|drop|later|undecided (--id ID,… | --thread ID,… | --filter [--where S] …", " (--dry-run | --yes)) [--note T] [--no-archive] [--by agent|operator]", " watch on|off [--interval MIN] [--hours H] [--shots] [--by agent|operator]", " purge [--topic T] (--dry-run | --confirm DIGEST --by operator)", " seen (… | --all) --by operator Mark seen: what --new counts from", " rename --title NAME | move --to TOPIC (--id ID,… | --thread ID) [--create] [--by agent|operator]", " merge --into TOPIC --from T,… --by operator topics into one: no unmerge", " publish [--channel SLUG] (--dry-run | --confirm DIGEST --by operator) kept posts into a channel on no site", " accounts [--topic T] [--limit N] | archive [--name N] [--dry-run] [--fetch]", ], docs: [ ["`library [ls] [--json]` · `library topics ` · `library posts [--topic --state --gone --media --author --q --new --limit --offset --json]`", "the **Posts library** ([tools.md](tools.md#posts-library-toolslibrary)) from a shell: the editor's X trending libraries, a library's topics (posts, unjudged, new since Mark seen, what its watch is doing) and its posts under the page's filters — `--state unjudged\\|keep\\|drop\\|later` is the judgement in force, `--gone` gone from the page, `--media` carrying media, `--author` one account, `--q` every word, `--new` first shown since the topic's Mark seen (with `--topic`). Read THROUGH THE EDITOR (`GET /api/ops/trending`): umtool opens no file of a library. Needs WORKER_TOKEN (else the editor's env files) and the editor at ARCHILYZER_EDITOR_URL"], ["`library judge --state keep\\|drop\\|later\\|undecided (--id ID,… \\| --thread ID,… \\| --filter [--where S] [filters] (--dry-run \\| --yes)) [--note T] [--no-archive] [--by agent\\|operator]`", "the editor's `judge-trending`: posts by id, threads by their root post's id, or every post a filter matches (`--where` the judgement they hold now; `--dry-run` counts, and without `--yes` nothing is judged, **exit 1**), at most 500 per ask — a keep's archiving is ONE paced capture job per ask, never one per post (`--no-archive` marks only). **`--by` is `agent` unless told**: an agent's judgement is a suggestion and never replaces the operator's (skipped, by name); the page's presses are the operator's"], ["`library watch on\\|off [--interval MIN] [--hours H] [--shots] [--by agent\\|operator]`", "the editor's `watch-trending` for one topic. A watch runs only while X's cookie jar is fresh, and one paused as failing is switched on again only with `--by operator`; the editor's refusal is printed, **exit 1**"], ["`library purge [--topic T] (--dry-run \\| --confirm DIGEST --by operator)`", "the editor's `purge-trending`, in two steps: `--dry-run` says what would be removed (the captures of posts THE OPERATOR dropped: posts, files, bytes; how many of them are gone from the page, whose capture is the only copy; how many an agent dropped, which are never purged) and prints the `--confirm` digest; the removal carries it and `--by operator`. Judgements stay; media another post uses is left; refused while a capture is queued or running, or when the set changed since the dry run (**exit 1**)"], ["`library seen (… \\| --all) --by operator`", "Mark seen: umtool's own state (`/.umtool/posts-library.json`), the only thing that moves what `--new` and the page's New count. **The operator's**: without `--by operator` it is refused (an agent marking topics seen would hide posts from him), and a topic the library does not hold is refused, nothing marked (**exit 1**)"], ["`library rename --title NAME [--by agent\\|operator]` · `library move --to TOPIC (--id ID,… \\| --thread ID) [--create] [--by agent\\|operator]`", "the editor's `organise-trending`. **rename** changes a topic's name and nothing else (its id stays, so its watch, posts and judgements are untouched; a name another topic answers to is refused, and so is a rename while a read of the library is queued or running). **move** puts posts, or every post of one thread, into another topic (`--create` makes a topic of that name when there is none); judgements and captures are untouched and a later read never moves a post back. Both say `agent` unless told, and who is recorded"], ["`library merge --into TOPIC --from T,… --by operator`", "the editor's `organise-trending`, op `merge`: every post, page and read of the `--from` topics goes into `--into`, and they are gone. **There is no unmerge, so it is the operator's**: without `--by operator` it is refused before the editor is asked (**exit 1**). Refused while a read of the library is queued or running. One watch stands (the target's, with its own terms; else the merged topic's moves to it), and the sentence says which. umtool's Mark seen state follows: the earliest of the merged topics' marks stands"], ["`library publish [--channel SLUG] (--dry-run \\| --confirm DIGEST --by operator)`", "the editor's `publish-trending`, in two steps: `--dry-run` says exactly what would be written (the channel's slug and whether it is made, posts, files, bytes; the sites the channel is already on, where what is added goes public at the next build; posts moved into the topic and by whom; files that no longer match their capture and are not copied; posts published as their words alone; posts published before and no longer kept, which stay) and prints the `--confirm` digest; the publish carries it and **`--by operator`** (an agent's is refused, **exit 1**). Only posts THE OPERATOR kept are published, into an ordinary channel on NO site whose files are copies; `--channel` names the slug at the first publish only. Refused while a read or a capture of the library is queued or running"], ["`library accounts [--topic T] [--limit N] [--json]` · `library archive [--name N] [--dry-run] [--fetch]`", "the library's **accounts** (handle, posts, kept, topics, the X channels that already archive each), and **archive**: the editor's `x-search-lead`, action `archive`, for an account of the library: `-x`, an X channel on no site that names nothing of the library. **It asks X nothing, now or later**: the channel is made with sync off (its priority paused) and no first fetch is started, and the editor's sentence says how to turn sync on and fetch; `--fetch` asks for the ordinary behaviour instead (the first fetch started, sync on); `--dry-run` creates nothing"], ], }, { cmd: "pool", usage: [ " umtool pool [stats] [--since 7d] | prune [--max-gb N] [--dry-run] | verify [--sample N | --all] [--json]", " the render pool: every post, clip, chunk, sound and chrome frame a build made, by its key,", " hard-linked into any take that needs it again (UMTOOL_RENDER_POOL=0 off; _MAX_GB its cap)", ], docs: [ ], }, { cmd: "trailer", usage: [ " umtool trailer --take (--beats F | --beats-json J) [--intro] [--finale S] [--xfade 0.3] [--out NAME]", " a trailer cut from the take's finished master: the master's own frames, so the deck shows the", " whole timeline; beats are clip source seconds or master seconds ([--dry-run] the mapping only)", " --reel [--take ]: a beat reel's beats and settings (promo/-beats.json),", " written to takes//out/..mp4; no --take: its pinned, last-cut or latest master", " --vertical [--layout reframe] [the vertical flags]: the reel 9:16 (umtool vertical --reel)", ], docs: [ ["`trailer --take (--beats FILE \\| --beats-json JSON) [--intro] [--finale S] [--xfade 0.3] [--no-snap] [--out NAME] [--dry-run] [--json]`", "a **trailer cut from the take's finished master**: spans of the master's own frames (the deck shows the whole timeline), clip beats in source seconds mapped by the take's build records, each clip beat's end moved forward into the next pause (through its sentence when one ends within 1 s) and its start back into the one before, so the crossfade lands in quiet, each move said (`--no-snap`: the edges as written), crossfaded, the take's encode, in the heavy slot; writes `takes//out/.trailer.mp4` and `.trailer.json`; **exit 1** on a refusal ([report-video.md](report-video.md#trailer-from-the-master)) · `--reel [--take ]`: a **beat reel** -- its own beats file (`promo/-beats.json`), crossfade, intro (one rendered for the reel when the master has none, or the reel's own) and outro card (the title, the call to action, an image, the site's name; faded in from the last beat, held to the end), written to `..mp4`; no `--take`: its pinned take, else the one it was last cut from, else the latest finished master ([report-video.md](report-video.md#beat-reels))"], ], }, { cmd: "vertical", usage: [ " umtool vertical --take (--reel R | --beats F | --items a,b) [--clip full|framed|quote]", " [--post card|stack|media] [--side split|overlay] [--hook title|section|] [--deck stacked|bare]", " [--reframe | --landscape] [--json]", " a vertical short (1080x1920, -14 LUFS) of the take's items: each clip cut again in its layout,", " each post drawn in a portrait box; --reframe recomposes the finished 16:9 master instead", ], docs: [ ], }, { cmd: "censor", usage: [ " umtool censor --video [--channel ] --box x,y,w,h[@from-to] [--box …] [--style blur|black|pixelate]", " [--strength 1-10] [--from s] [--to s] | --clear | --list the same parts of the picture hidden on", " every clip of one recording (render.censor: a chat overlay, a window with other accounts)", ], docs: [ ], }, { cmd: "promo", usage: [ " umtool promo [--portrait-from @] [--box x,y,w,h] [--draw] [--take ] [--json]", " the channel promo (render.promo, set with `umtool look

promo=…`): its portrait grabbed", " from a clip at a second into shots/, its card drawn 9:16 and 16:9 into out/promo/", ], docs: [ ], }, { cmd: "shorts", usage: [ " umtool shorts --take (--items a,b | --all | --again) [--formats vertical,landscape]", " [the vertical flags] [--max-vertical 180] [--max-landscape 140] [--replace] [--dry-run] [--json]", " a batch of shorts: each clip in each format through `umtool vertical`'s builder, into the", " project's shorts-/ as ..mp4 (the title's slug) with batch.json", ], docs: [ ], }, { cmd: "trailer-beats", usage: [ " umtool trailer-beats [ls] | add [-] [--at N] [--label L] | add-raw | set -", " | remove | move --to | order | limit | xfade | intro on|off", " | candidates [--add] the trailer's beats (promo/trailer-beats.json, the Trailer page's file): each", " beat's length, the running length against the platform limit (X 2:20), beats outside their clip", " | verdict confirmed|note|clear | title T | take T | undo | reels | new-reel [--from R]", " --reel : that beat reel (promo/-beats.json); every write is an undo point", ], docs: [ ["`trailer-beats [ls] [--json]` · `add [-] [--at N] [--label L]` · `add-raw ` · `set -` · `remove ` · `move --to ` · `order` · `limit ` · `xfade ` · `intro on\\|off\\|''` · `outro on\\|off\\|none\\|'{title,text,image,seconds}'` · `candidates [--add]` · `verdict confirmed\\|note\\|clear` · `title \\|none` · `take \\|none` · `undo` · `reels [--json]` · `new-reel [--from ] [--title T]` · `gap add -\\|remove \\|clear` · `status [--take ] [--json]` · `anchor […] --take ` · `clamp ` · `repoint ` · `history [--json]` · `--take ` on an edit · `--reel ` on any", "**the trailer's beats** (`promo/trailer-beats.json`, the Trailer page's file, what `trailer --beats` reads) or another **beat reel's** (`--reel`: `promo/-beats.json`): each beat's length, the running length against the platform limit (X 2:20 by default), beats outside their clip's window, the cut's order, the walk's ★ clips; the reel's own intro and its outro card (`ls`: `· outro 3.5 s`, counted in the length); every write an undo point and a history entry; a beat's gaps (two moments of one clip as one beat of jump cuts); each beat read against the take now -- what it was cut against, what changed (`status`), and the fixes ([knobs.md](knobs.md#the-trailers-beats), [reels track their source](knobs.md#reels-track-their-source))"], ], }, { cmd: "tighten", usage: [ " umtool tighten [--json] [--all] [--no-measure] | --apply [,…] each clip to its sentence (its", " cut's, else the whole ones in its window), each edge into its pause; before -> after; --apply writes", ], docs: [ ["`tighten [--json] [--all] [--no-measure]` · `tighten --apply [,…]`", "the Cut tab's **Propose tight windows**: each clip to its sentence (the sentences its cut touches, else the whole ones inside its window) and each edge into its pause (the build's measured silences and the gaps between the recording's timed words, ≤ 1 s, inside the cached window) — before → after with the seconds, the clips that would change (`--all`: every clip); prints only. `--apply` writes the named rows through the window writer (the token, the cite that follows the edge); a lock is kept (it is against `resolve-windows`, not a person) ([knobs.md](knobs.md#tighten-to-the-sentence-snap-to-a-pause))"], ], }, { cmd: "ledger", usage: [ " umtool ledger [ls] [--scope S] [--json] | add --date D --scope S --population P [--value V] --scopeBasis \"…\" [-- V …] | set -- V … [--unset k,k] | rm ", " a measure ledger's rows, checked against its ledgerSchema (incl. promise / promise_check, run, retro)", ], docs: [ ["`ledger [ls] [--scope S] [--population P] [--json]` · `ledger add --date D --scope S --population P [--value V] --scopeBasis \"…\" [-- V …] [--row '{…}']` · `ledger set -- V … [--unset k,k]` · `ledger rm `", "a **measure ledger's rows** (`ledgerSchema.kind \"measure\"`), the only writer of them: each row is checked against the schema -- a track, a form (and the promise forms `promise` / `promise_check`), a number in its unit or a declared regime with an event, the six adjudication fields (a new row defaults `scopeConfidence` read, `valueKind` uttered, `flags` []; `--scopeBasis` is never defaulted), the declared fields, and the instruments' own keys: `run` (a loss claim's run), `retro` (a loss told in the past with no `asOf`: off the odometer), `promise`, `kept`, `due`, `speaker` (another party's key: her rows move none of his numbers), `paidOn`, `outcome` (a `promise_outcome`'s: kept, refunded, withdrawn), `stampNote` (a `promise_outcome`'s: the words under its stamp on the promise clock in place of \"by · no video\" -- `ledger

set --stampNote \"…\"`, `--stampNote null` for the clock's own words again; one line, the strip over a post's card shows its first clause, and `umtool lint` warns past 26 characters); the promise forms are `promise`, `promise_check`, `promise_claim`, `promise_outcome`. `rm` refuses a row an entry pins or another row names ([knobs.md](knobs.md#the-measure-slice-the-weight-instruments))"], ], }, { cmd: "measure", usage: [ " umtool measure [--take ] [--scopes a,b] [--scale MIN-MAX] [--as-of YYYY-MM-DD] [--json]", " the measure slice the instruments draw from: events at their cut seconds, hidden rows, totals", ], docs: [ ["`measure [--take ] [--scopes a,b] [--scale MIN-MAX] [--as-of YYYY-MM-DD] [--json]`", "the **measure slice** the instruments draw from (`render.chrome.deck.measure`; the flags override it): each row in scope the cut shows at the cut second its figure is said, the hidden rows, and the totals -- the odometer's runs, NET, the goals, the diets, the promises. The take's built `schedule.json` with `--take`, else an estimate; `--json` prints the slice. Reads only ([knobs.md](knobs.md#the-measure-slice-the-weight-instruments))"], ], }, { cmd: "rulings", usage: [ " umtool rulings [--json] | import [--dry-run] | set keep|cut|not-him|read-aloud [--reason R] [--match M] | clear ", " the clip deck's montage rulings (montage-rulings.json); a render leaves the ruled-out clips out", ], docs: [ ["`rulings [--json]` · `rulings import [--dry-run] [--json]` · `rulings set keep\\|cut\\|not-him\\|read-aloud [--reason R] [--match M]` · `rulings clear `", "a montage's **clip rulings** (`montage-rulings.json`, the clip deck's): each clip and its ruling and the next render's kept clips; the earlier rulings in the seed's `edits.json`, once; one ruling set or cleared. A render leaves out every clip ruled cut, not-him or read-aloud ([report-video.md](report-video.md#ruling-the-clips))"], ], }, { cmd: "fetch", usage: [ " umtool fetch [--dry-run | --wait | --status | --body] [--reason R] [--json]", " the clip windows asked of the editor as one fetch-windows batch (one paced job per platform);", " each run recorded in /fetch-runs.json; --refetch [,…] / --refetch-video /", " evict those clips' cached windows first (the editor's evict-clips), then fetch", ], docs: [ ["`fetch --body` · `fetch --dry-run [--json]` · `fetch [--wait] [--json]` · `fetch --status [--json]` · `… [--reason R]` · `… --refetch [,…]` · `… --refetch-video /` · `… --take `", "**Fetch windows** (the Cut tab's and the clip deck's button): every clip's window asked of the editor as ONE fetch-windows batch — `--body` prints the body and asks nobody; `--dry-run` the editor's plan (groups per platform, cached, in flight, unresolved); no flag starts it (one paced job per platform queue), `--wait` follows the jobs to their end and names each window a job failed; `--status` follows the last run's jobs once. Clips the montage rulings leave out are not asked for. `--refetch [,…]` evicts the cached windows that OVERLAP those clips' fetch spans first (the editor's `evict-clips` `{slug, id, covering}`, one job per video, waited for), then fetches as usual — for windows known bad (cut from a corrupt saved video); `--refetch-video /` does it for every window the project asks of that video; with `--dry-run` the eviction is a dry run too and names what it would remove. `--take ` asks for a TAKE's clips instead — its manifest as its walk reads it (the project's now with the take's patches; a draft's too, nothing rendered), so a clip only the take has is fetched; the run is recorded with `take`, and `--status --take` follows the take's last run (the cut's never reads a take's). Every run is recorded in `/fetch-runs.json` (a refetch's evictions under `refetch`). Needs WORKER_TOKEN (else the editor's env files) and the editor at ARCHILYZER_EDITOR_URL. **Exit 1** when a job failed or the editor refused ([report-video.md](report-video.md#fetching-the-windows-and-stand-ins))"], ], }, { cmd: "prep", usage: [ " umtool prep [--clips a,b] [--wait | --status] [--json]", " what the clip bench makes on a clip's first open (a long recording's excerpt, the waveform),", " made before the walk: queued and run in the background, one clip at a time, in the heavy slot", " (a small declared estimate), under nice/ionice; --wait runs it here; a write or a fetch queues it too", ], docs: [ ["`prep [--clips a,b] [--json]` · `prep [--clips a,b] --wait` · `prep --status [--json]` · `… --take `", "**Prepare clips for the walk** (the Cut tab's): what the clip bench makes on a clip's first open — a long recording's excerpt, the waveform — made ahead ([clip-bench.md](clip-bench.md#prepared-before-you-open-it)). No flag queues it and returns (a runner starts in the background, its log `out/bench-excerpts/prep.log`); `--wait` runs it here to the end; `--status` prints ready / to prepare / failed / not fetched and the runner. One clip at a time, each in the heavy slot (estimate 400 MB), under `nice -n 19` and `ionice -c3`; a prepared clip is skipped. A fetch that lands and a write that moves or adds a clip queue it too (`UMTOOL_BENCH_PREP=0` turns that off). `--take `: a TAKE's clips (the take's walk page has the same button) — its manifest as its walk reads it, a draft's too — with its own status, queue, runner and log under `out/bench-excerpts/takes//`, so a take's clip that carries the cut's id with other bounds never shares the cut's state; a save on the take's walk queues it. The plan does not depend on the directory it is run from. **Exit 1** when a clip failed (`--wait`)"], ], }, { cmd: "prune", usage: [ " umtool prune [ [--take X] [--anyway] | --all] [--keep N] [--older-than 3d] [--idle-work 3d] [--yes] [--json]", " takes' work files (segments, chrome frames, crossfade batches, encode chunks, the rail's prerail base):", " what each holds (hard links counted by inode), which takes keep theirs and why, what freeing the rest", " gives back; a dry run unless --yes. A take build prunes its project after; a render prunes when disk is", " low. --idle-work D: in a project untouched for D, the newest/picked takes' work goes too", " umtool prune [ | --all] --versions [--idle 3d] [--grace 7d] [--idle-work 3d] [--yes] [--json]", " whole SUPERSEDED takes, through `takes delete`: per version line (the id, digits folded:", " draft-# ; letters never: v6c ≠ v6d) the highest built number is kept, older ones while it is", " younger than --grace, and any take picked, judged, rendering, a base, noted on or refused;", " a project touched within --idle, or whose verdicts.json cannot be read, is skipped", ], docs: [ ["`prune [--take X[,Y]] [--anyway] [--keep N] [--older-than 3d] [--yes] [--json]` · `prune --all [--keep N] [--older-than 3d] [--yes] [--json]`", "**the takes' work files** (the Takes page's **Free work files**): per take its work — segments, chrome frames, crossfade batches, encode chunks, raw clip copies, `work-from-*` — counted by inode (a file hard-linked into two takes is counted once and freed only when both let it go), what freeing it gives back, or why it is kept: a running build or the take one builds from (never freed), the picked or current take, a pin in `takes/prune.json`, the newest `--keep` (2) of its group, anything modified within `--older-than` (3d), the `--from` bases of those. A dry run unless `--yes`; `--take X --anyway` frees a take the policy keeps. Renders, previews, take.json and manifests are never touched. **Exit 1** when a path could not be removed ([report-video.md](report-video.md#a-takes-work-files-and-pruning-them))"], ], }, { cmd: "fallback", usage: [ " umtool fallback [--dry-run | --clip … | --restore ] [--json]", " stand-ins for refused montage windows: the instance's public alternate (YouTube first), on the clip", ], docs: [ ["`fallback --dry-run [--json]` · `fallback [--clip …] [--json]` · `fallback --restore `", "**stand-ins** (the clip deck's **Use stand-in** / **Restore**): a montage clip whose window a fetch run says the editor refused, and is not on disk, switched to its phrase-scan instance's first public alternate (YouTube, then Odysee / cornbreadman, then the rest) — recorded on the clip as `fallbackFrom`, its ruling and voice-match row moved with it; `--restore` puts it back. An older `phrase-scan.json` with no `alternates` is scanned again. **Exit 1** when a named clip has no stand-in"], ], }, { cmd: "phrases", usage: [ " umtool phrases \"\" [\"\" …] --channels a,b [--prefer c] [--exclude RE] [--words|--regex] [--json]", " how often each phrase was said, by year, in one pass (the phrase finder's search)", ], docs: [ ["`phrases \"\" [\"\" …] --channels a,b [--prefer c] [--exclude RE] [--words \\| --regex] [--samples N] [--no-cache] [--json \\| --full]`", "the phrase finder's search ([tools.md](tools.md#the-phrase-finder-toolsphrases)): every phrase in one pass, each with its count once folded, by year, the preferred channel's share or Rumble's, speaker changes, sample contexts. Plain words become a tolerant pattern unless the phrase holds a regular expression's characters. `--json` the numbers, `--full` every instance; `--spec FILE --out FILE --progress` is the page's job form. **Exit 1** on a bad phrase"], ], }, { cmd: "voice-match", usage: [ " umtool voice-match [--reference auto|rulings|recordings] [--reference-video / …] [--instances F] [--dry] [--json]", " a local speaker-similarity score per montage clip (TitaNet-small) -> /voice-match.json", ], docs: [ ["`voice-match [--reference auto\\|rulings\\|recordings] [--reference-video / …] [--reference-channel …] [--instances FILE] [--span phrase\\|cut] [--pad S] [--likely X --unlikely Y] [--out FILE] [--dry] [--json] [--progress ndjson]`", "who is speaking, per montage clip: a local speaker-similarity score (TitaNet-small) against the host's voice → `/voice-match.json` (the Cut tab's **Score the voices**); `--instances` also scores a phrase scan's instances not in the manifest; `--dry` prints the plan ([report-video.md](report-video.md#who-is-speaking-the-voice-match))"], ], }, { cmd: "clips", usage: [ " umtool clips analyze [--from /] [--rescan] [--no-laughs] [--no-voices] [params]", " umtool clips propose [--host N] [params] [--dry] | show | segments ", " the clip finder: the laugh scan + voices on the recording's sound, then clips proposed", " (setup → reaction → tail) into the manifest (assist: by the assistant) and reactions.json;", " params --target S --laugh-min X --merge-gap S --setup-max S --clip-max S; a clip you edited is never moved", ], docs: [ ["`clips analyze [--from /] [--rescan] [--no-laughs] [--no-voices] [params] [--words FILE] [--progress ndjson] [--json]` · `clips propose [--from /] [--host N] [params] [--words FILE] [--dry] [--json]` · `clips show [--json]` · `clips segments [--json]`", "the **clip finder** on a long recording ([report-video.md](report-video.md#highlights-the-clip-finder)): `analyze` runs the laugh scan (CED-mini) and a voice centroid per speaker on the recording's sound (cached in `/scans/`), then proposes; `propose` proposes again from what is there (after a role flip, a param change, new words); `show` prints the speakers, laughs and the cut. Params `--target S` (600) `--laugh-min X` (0.25) `--merge-gap S` (6) `--setup-max S` (20) `--clip-max S` (75) and the scope `--scope FROM:TO` (either side may be empty; `all` clears it) or `--from S --to S` with numbers (a `--from` that is a `/` names the recording), kept in `reactions.json`; `--host N` is your word on the host, kept. `--keep-cut` proposes without touching the cut (nothing moved, removed or added; the proposals are listed). **`--scope auto`** reads the narrated video auto-scope finds in the speaker turns (`--segment sN` names one, else the longest); `segments` lists them. A chat replay beside the recording (`live_chat.cues.json`) adds chat-burst moments and the log names the chat's lag. A channel on no site gets each clip linked to its platform page (`citeUrl`). A clip you edited, ruled, locked or added is never moved. **Exit 2** with no `diarization.json` (the message names the `archilyzer diarize backfill` to run)"], ], }, { cmd: "model-log", usage: [ " umtool model-log

| --job [--phase P] [--outcome kept|dropped|rewritten|n/a] [--task T] [--run K] [--json]", " the model's side of a run: every call by phase -- seconds, what code did and why, what was", " asked, what came back, each item's fate; --call prints one call's whole text", ], docs: [ ["`model-log
[--phase P] [--outcome kept|dropped|rewritten|n/a] [--task T] [--run K] [--call ] [--json]` · `model-log --job […]`", "the **model log** (the run page's, the Iterations tab's and a media draft's Model log panel): every model call of an iteration's runs and steps, or of a job with no iteration, on every route (local, the Claude API, a Claude Code session), grouped by phase — the seconds, what code did with the answer and why, the first lines asked and answered, and each item kept, dropped or rewritten with its reason; `--call` prints one call's system prompt, prompt and answer whole (each kept to 40,000 characters). Read only. **Exit 0 · 1 no such iteration or call · 2 usage**"], ], }, { cmd: "refresh", usage: [ " umtool refresh
[--iteration N] [--no-fetch] [--yes] [--json]", " re-fetch an article's scope, see what changed, update: the plan (the editor's);", " --yes starts it, one editor job (needs WORKER_TOKEN and the editor)", " umtool refresh --check [
] [--force] [--json] the daily suggestion check, now", ], docs: [ ["`refresh
[--iteration N] [--no-fetch] [--yes] [--json]` · `refresh --check [
] [--force]`", "the refresh's plan, `--yes` starts it; the daily check now ([refresh.md](refresh.md))"], ], }, { cmd: "clip", usage: [ " umtool clip /