Archilyzer · Source

archilyzer

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

commit 24086be30f6d62950b4960d57915b480adc66b5a
parent 6a5f22ec04c2781d8abf0f3fbb8b261f9bf4c883
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue,  3 Nov 2026 14:19:24 -0500

umtool docs: redacted words -- knobs.md's section (the project's list, the corpus's redactions.json, a post's posts-markup.json; where it applies and where it does not), cli.md's `posts redact` row, the help lines

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

Diffstat:
Mumtool/bin/umtool.mjs | 3+++
Mumtool/docs/cli.md | 1+
Mumtool/docs/knobs.md | 21+++++++++++++++++++++
3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/umtool/bin/umtool.mjs b/umtool/bin/umtool.mjs @@ -115,6 +115,7 @@ // narrate <project> [<item>] --import | --take | --script | --pick | --approve | k=v | --all … narration // fit <project> --all | <item>… narrated posts' videos cut to their best part // avatar <project> <handle> <image> | avatars <project> the authors' pictures +// redact <project> ls | add "<term>" [--substring] | remove <n> words blanked from what is published // umtool candidates <project> [ls | import <sweep.md> | add <json>] proposed clips for the Cut tab's Candidates panel import process from "node:process"; import { @@ -1036,6 +1037,8 @@ function usage() { " | --all --draft-scripts | --all --take | --cut k=v …] a post read aloud (its takes: the editor's tts or yours)", " umtool posts fit <project> [--all | <item> …] [--linger s] [--dry-run] narrated posts' videos cut to their best part", " umtool posts avatar <project> [<handle> <image>|off] · avatars <project> the authors' pictures on the cards", + " umtool posts redact <project> ls | add \"<term>\" [--substring] [--note \"…\"] | remove <n> words blanked from", + " what is published (a bar on the card, left out of a synthesized read); the data never rewritten", " umtool candidates <project> [ls] [--all] [--json] | import <sweep.md> [--dry-run] | add <json|@file>", " the candidates inbox: a sweep's or an agent's proposed clips -> <project>/candidates.json;", " Insert into a section or a group, and Not this, are the Cut tab's Candidates panel's", diff --git a/umtool/docs/cli.md b/umtool/docs/cli.md @@ -86,6 +86,7 @@ Inbox cannot disagree about what is wrong with one. | `posts narrate <project> --import [--dry-run] [--json]` · `--list` · `<item> [--script "…"] [--pick <n>] [--approve\|--unapprove] [--off\|--on] [lead= tail= ramp= linger= clip=read\|full wet= lowpass= duck=on\|off short=hold\|loop attach=under\|after lufs=]` · `<item> --take [--note "…"] [--voice v] [--engine e] [--speed s] [--script "…"]` · `<item> --derive <n> --op enhance\|convert [--engine e] [--voice v]` · `<item> --delete <n>` · `--all --draft-scripts [--force]` · `--all --take [--limit N]` · `--cut <k=v>…` | a **narrated post item** ([report-video.md](report-video.md#narrated-post-items), [knobs.md](knobs.md#a-narrated-post-item)): `--import` reads `narration/posts/index.json` (`[{id, entry, script, takes: [{file, engine, voice, seconds}], pick}]`, and a take's `take-<n>.parts.json`) into the cut in ONE write, measuring each take (length, loudness); a re-run adds only takes not there. `--take` asks the EDITOR for a new take (`POST /api/ops/tts`, its `out` the next `narration/posts/<postId>/take-<n>.<engine>-<voice>.wav`; a job, waited for; `ARCHILYZER_EDITOR_URL`, `WORKER_TOKEN`) and picks it, its `--note` kept with it; `--pick <n>` is the take's number as `--list` shows it. `--derive <n>` makes a NEW take from take n through the editor's `voice-enhance` / `voice-convert` op (a stock synthetic voice; "not installed" until the editor has the engine), the original kept; `--delete <n>` moves a take's file to the post's `.trash/`. A new script or pick takes the approval away. `--all --draft-scripts` writes every post's words as its script, VERBATIM (cleaned only to be spoken: @handles, links, emoji dropped; `plan(s)` → plans, `w/` → with, `&` → and; paragraphs kept). `--cut` sets `render.postNarration`. Refused in the build's words (**exit 1**) | | `posts fit <project> [--all \| <item> …] [--linger <s>] [--dry-run] [--json]` · `posts set-item <project> <item> fit=read[:<linger>]` | narrated posts' video attachments cut to their **best part** for the read (lead + take + tail + linger): a scored scan of the sound (loudness, its peaks), the speech (a transcript) and the scene cuts, the start snapped to a pause or a cut, recorded with why (`narration.window`) -- ONE write; each post's old and new length printed. A video no longer than the read is left as it is | | `posts avatar <project> [<handle> <image-file> \| <handle> off] [--json]` · `posts avatars <project> [--dry-run] [--json]` | the **authors' pictures** (`postAvatars`): `avatar` copies a picture into `posts-media/_avatars/` for every card that draws that handle (manual; never replaced by the archive's), `off` clears it, no handle lists them; `avatars` copies the archive's (the channels' `posts-media/_avatars/avatars.json`, capture-posts') for every author the cut's cards draw unblurred that it has none of. A blurred author never shows one | +| `posts redact <project> ls \| add "<term>" [--substring] [--note "…"] \| remove <n> [--json]` | **REDACTED WORDS** ([knobs.md](knobs.md#redacted-words-blanked-from-what-is-published)): the project's list (`render.posts.redact`, `updatePostRedact`) of words or phrases blanked from everything the cut publishes -- a solid bar on the rendered card, left out of a synthesized read, a post's chapter line and an attachment's captions; matched without case, as whole words (`--substring`: inside words too), a phrase across any spaces or punctuation. The posts' words and the scripts are never rewritten. `ls` numbers the terms as `remove` takes them, and counts the corpus's (`transcripts/redactions.json`) and the posts marked up in the cut's channels (`posts-markup.json`). A term already listed is refused (**exit 1**) | | `posts context <project> [--dry-run] [--json]` | every **post item's context from its capture** (`postContext.mjs`): the post it quotes and the post it answers, as its page showed them (`capture.json`'s `context`, read by the editor's `capture-posts` -- `"contextOnly": true` reads it alone), filled where the archive row lacks them -- `quoted` where the entry has none (or a named one with no words, the same post), `parents` where it has none (a thread shot stays on the entry; the card draws the parents). What the archive gave is never replaced. ONE write for every entry (`setPostItemsContext`: one undo point, refused whole in the build's words); a re-run with nothing new writes nothing. A post whose capture read no context is listed with the call that reads it (`pnpm ops capture-posts --json '{"slug":…,"ids":[…],"contextOnly":true}' --wait`). The card's blur of other authors is unchanged ([report-video.md](report-video.md#post-items-a-post-as-an-entry-of-the-cut)) | | `new <slug> --from-posts <channel> [--channel <more>…] [--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 | | `timeline <project> insert (--after <id\|-> \| --to-section N \| --group G) post:<channel>/<postId> [--id ID]` | **one post item** among the cut's entries, made as `posts reel` makes one | diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md @@ -693,6 +693,27 @@ the shape, the mix, recordings, parts, the best part). One writer for a post's n none, approved) and links the next post to record; **N** / **P** walk the cut's posts, **Space** plays the item as the render will (the take over the muffled attachment). +## Redacted words (blanked from what is published) + +A word or a phrase -- a private person's name -- left out of everything a cut PUBLISHES, never out of the data +(`report-to-video/post-redact.mjs`). The archive's rows, the manifest's snapshot of each post and every narration +script keep their words; the redaction is applied where public output is made: the **rendered card** draws each +match as a solid bar of the word's width (no letters in the page or the frame, not a blur that can be undone) in the +post's words, the posts it answers and quotes, a paraphrase, an author's name and handle and the repost line; a +**synthesized read** (`--take`, the bench's re-take) is sent to the editor with the match left out, its spaces and +dangling punctuation tidied; a post's **chapter line** and a video attachment's **burnt-in captions** drop it. +umtool's own views (the bench, Play, the recording page) show the words; Play's **As published** shows the bars, +and the recording teleprompter strikes through the words to leave out of your read. A term matches without regard +to case, as whole words unless `wholeWord: false`, the words of a phrase across any spaces or punctuation (or none, +as a handle runs them together), a possessive `'s` with it. A redaction file that is there and broken FAILS the build +(a render that ignored it would publish what it was told to blank). + +| Knob | In umtool | From a terminal | Route | +|---|---|---|---| +| `render.posts.redact` — the project's list, `[{term, wholeWord?, note?}]` (at most 200; one writer, `updatePostRedact`, refused in the build's words) | Play the cut, **As published** (the cards as the video draws them) | `umtool posts redact <p> ls` · `add "<term>" [--substring] [--note "…"]` · `remove <n>` (n as `ls` numbers them) | `GET /api/report/post-item?…&published=1` (the card's page, as published) | +| the corpus's list — `transcripts/redactions.json`, the same shape (or `{terms: […]}`): blanked in every project | — | read by every build; the editor's to write | — | +| one post's markup — `transcripts/channels/<slug>/posts-markup.json`, `{"<postId>": {redact: [{term, wholeWord?, scope?} \| {start, end, scope?, index?}]}}`: a term in a `scope` (`text`, `parent`, `quoted`; absent, the whole post), or a span of the archived text in code units (`index`: which parent, nearest first) | — | read by every build of a cut playing the post; the editor's to write | — | + ## The source backlog (Sources · Prioritize · Re-sweep when complete) The Overview tab's **sources** line (`components/projects/report/SourceBacklog.tsx`, `lib/report/sourceBacklog.*`): for each