Archilyzer · Source

archilyzer

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

commit 492bc565db7072c6b71ec92ca1d94a2af4fec66f
parent de25db037b1ffe12943a30f95b3eca46dc9375ac
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed,  4 Nov 2026 13:02:51 -0500

umtool docs: thread scenes -- whole threads in date order, the join, manual threads, wide attachments, context media, link visits, the branch map, post items by hand (report-video.md, knobs.md, cli.md); timeline threads --write --conversation takes a group's name

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

Diffstat:
Mumtool/docs/cli.md | 5+++--
Mumtool/docs/knobs.md | 21+++++++++++++++++++++
Mumtool/docs/report-video.md | 73+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mumtool/lib/report/timelineCli.mjs | 4++--
4 files changed, 99 insertions(+), 4 deletions(-)

diff --git a/umtool/docs/cli.md b/umtool/docs/cli.md @@ -83,9 +83,9 @@ Inbox cannot disagree about what is wrong with one. | `posts set <project> <post> thread=on\|off [hide=on\|off] [attach=<clipId>\|auto] [crop=<px>\|off] [--json]` | the Posts table's writer (`updatePosts`, `PUT /api/report/posts`) from a terminal: `<post>` is the manifest's id (`x-<postId>`) or the bare `<postId>`; `thread=on` draws a reply with the post it answers above it (`shot-thread.png` beside its `shot`, taken by `capture-posts` `"thread": true`; its own shot while there is none), `off` removes the key.; `crop=<px>` the post's own crop of its screenshot (`shotMaxHeight`, 120–1080: its top that tall, never panned; `off` removes it) ([knobs.md](knobs.md#add-post-a-post-card-from-play-the-cut)). Refused in the build's words (a post with no `shot`, an `attach` that is not a clip) — **exit 1** | | `posts add <project> <archive-channel>/<postId> [--attach <clipId>] [--flag F] [--author A] [--id ID] [--thread] [--crop <px>] [--dry-run] [--json]` | a **post card** from the corpus's posts archive (`channels/<slug>/posts/*.jsonl`): its words, date, link and handle; id `x-<postId>` (`bsky-`, `post-`); the author an earlier post by the same handle carries in the cut, else the archive's. Its capture (`posts-media/<postId>/`: `shot.png`, `capture.json`, the post's pictures) is copied to the project's `posts-media/<slug>/<postId>/` — or used where it is, when that folder links the channel's captures; never copied through a link anywhere else. Then `upsertPost` (a post with the id is replaced, its `attachTo` kept). **Exit 1** with no screenshot, naming the `pnpm ops capture-posts` to run. `--thread`: the entry gets `thread: true` (a reply drawn with the post it answers; `shot-thread.png` is copied with the rest, and with none yet it prints the `"thread": true` capture to run). `--crop <px>`: the post's own crop (`shotMaxHeight`). A post that quotes another, reposts one or carries media is added with a `WARNING:` line (`--json`: `warnings`) — its screenshot shows them, by the post's own data. Play the cut's **Add post** runs this same write ([knobs.md](knobs.md#add-post-a-post-card-from-play-the-cut)) | | `posts reel <project> --channel <slug> [--channel <slug> …] [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--own] [--with-media] [--replies include\|only\|exclude] [--order chrono\|reverse] [--limit N] [--after <id\|->] [--dry-run] [--json]` | **POST ITEMS** ([report-video.md](report-video.md#post-items-a-post-as-an-entry-of-the-cut)): each archived post an entry of the cut -- its card drawn from the archive row (snapshotted), its attachments copied into `posts-media/` and played in it. The channels are read as one archive, merged in time order, de-duplicated by post id (`--channel ObviousRises-x --channel ObviousRises-x-replies`); `--own` the accounts' own posts (their config's `socialHandle`, no reposts); `--with-media` only posts whose capture holds an attachment; `--replies` keeps, keeps only or drops replies (a reply carries the posts it answers from the archive, else the capture's thread shot, else a "Replying to" line; the quoted post and the parent the archive lacks come from the capture's `context`, as `posts context` fills them). A post the cut already plays (by its id, a repost's original, a repost of it) is skipped, so a **re-run adds only what is new**; the rest goes in in ONE write (one undo point: `timeline <p> undo`), at the end unless `--after` | -| `posts set-item <project> <item> [hold=<s>\|off] [layout=sequence\|grid] [redact=on\|off\|auto] [fit=read[:<linger>]] [media.<i>.start=<s>] [media.<i>.end=<s>] [media.<i>.trim=off] [media.<i>.mute=on\|off] [media.<i>.crop=x,y,w,h\|off] [media.<i>.push=on\|off] [media.<i>.blur=on\|off] [media.<i>.blur.strength=1–10] [media.<i>.blur.label="…"\|off] [media.<i>.blur.boxes=x,y,w,h;…\|off] [quoted.paraphrase="…"\|off] [parent.<i>.paraphrase="…"\|off] [follow=on\|off\|auto] [follow.dim=<0.2-1>] [follow.ease=<s>] [thread.parent[.<i>]=auto\|full\|excerpt\|context\|carry\|hidden] [thread.quoted=…] [thread.carry=auto\|on\|off] [thread.reveal=on\|off] [thread.shrink=<0.3-1>] [thread.dim=<0.15-1>] [thread.seconds=<s>] [thread.pan=<s>] [thread=auto] [--json]` | a **post item's knobs** (the post bench's writer, `updatePostItem`; [knobs.md](knobs.md#a-post-item-a-post-as-an-entry-of-the-cut)): `<item>` is its id or the post's id; refused in the build's words. `quoted.paraphrase` / `parent.<i>.paraphrase`: your retelling of a long context post (≤ 600 characters), drawn in place of its words with a "paraphrased" label (its text kept); `off` or empty clears it. `follow=`: its read-follow ([knobs.md](knobs.md#read-follow-the-block-being-read-lit-the-card-panned-to-it)) -- `off`, `on`, `auto` (the cut's); `follow.dim=` / `follow.ease=` over the cut's. `thread.*`: its THREAD READ ([knobs.md](knobs.md#thread-reads-every-part-of-a-read-on-screen-while-it-is-said)) -- what each context post is on screen (`thread.parent.<i>` one parent, nearest first), the shrink, dim and their seconds, the pan's; `thread=auto` the cut's; a setting that would narrate a post the card hides is refused (**exit 1**). `media.<i>.blur…` CENSORS the attachment in the render (a real blur of the whole frame or of its boxes, labelled "Censored"; the file untouched; merged key by key, `blur=off` keeps the settings) | +| `posts set-item <project> <item> [hold=<s>\|off] [layout=sequence\|grid] [redact=on\|off\|auto] [fit=read[:<linger>]] [media.<i>.start=<s>] [media.<i>.end=<s>] [media.<i>.trim=off] [media.<i>.mute=on\|off] [media.<i>.crop=x,y,w,h\|off] [media.<i>.push=on\|off] [media.<i>.blur=on\|off] [media.<i>.blur.strength=1–10] [media.<i>.blur.label="…"\|off] [media.<i>.blur.boxes=x,y,w,h;…\|off] [quoted.paraphrase="…"\|off] [parent.<i>.paraphrase="…"\|off] [follow=on\|off\|auto] [follow.dim=<0.2-1>] [follow.ease=<s>] [thread.parent[.<i>]=auto\|full\|excerpt\|context\|carry\|hidden] [thread.quoted=…] [thread.carry=auto\|on\|off] [thread.reveal=on\|off] [thread.shrink=<0.3-1>] [thread.dim=<0.15-1>] [thread.seconds=<s>] [thread.pan=<s>] [thread=auto] [thread.group=<name>\|off] [thread.map=auto\|on\|off\|map\|label\|both] [panel=auto\|side\|top\|bottom] [media.add=<file>] [media.<i>=off] [parent.<i>=<json ref>\|@<file>\|off] [parent.<i>.media=<file>[,…]\|off] [link.add=<json ref>] [link.<i>=<json ref>\|off] [link.<i>.media=<file>\|off] [link.<i>.transcript="…"\|off] [--json]` | a **post item's knobs** (the post bench's writer, `updatePostItem`; [knobs.md](knobs.md#a-post-item-a-post-as-an-entry-of-the-cut)): `<item>` is its id or the post's id; refused in the build's words. `quoted.paraphrase` / `parent.<i>.paraphrase`: your retelling of a long context post (≤ 600 characters), drawn in place of its words with a "paraphrased" label (its text kept); `off` or empty clears it. `follow=`: its read-follow ([knobs.md](knobs.md#read-follow-the-block-being-read-lit-the-card-panned-to-it)) -- `off`, `on`, `auto` (the cut's); `follow.dim=` / `follow.ease=` over the cut's. `thread.*`: its THREAD READ ([knobs.md](knobs.md#thread-reads-every-part-of-a-read-on-screen-while-it-is-said)) -- what each context post is on screen (`thread.parent.<i>` one parent, nearest first), the shrink, dim and their seconds, the pan's; `thread=auto` the cut's; a setting that would narrate a post the card hides is refused (**exit 1**). `media.<i>.blur…` CENSORS the attachment in the render (a real blur of the whole frame or of its boxes, labelled "Censored"; the file untouched; merged key by key, `blur=off` keeps the settings). THREAD SCENES ([knobs.md](knobs.md#thread-scenes-the-join-whole-threads-manual-threads-wide-attachments-context-media-link-visits-the-branch-map)): `parent.<i>=` an ancestor added / replaced / dropped (a whole-thread read), `parent.<i>.media=` its attachments, `media.add=` / `media.<i>=off` an attachment from a project file (measured), `link.add=` a post its words link to (a link visit) with its picture and transcript, `thread.group=` a manual thread, `thread.map=` the branch map, `panel=` where its attachments sit | | `posts reread <project> <item> [--without parent:0\|parent:1\|quoted[,…]] [--drop-parts 3,4] [--drop-urls] [--dry-run] [--json]` | a narrated read **re-joined without a piece**, no TTS ([knobs.md](knobs.md#thread-reads-every-part-of-a-read-on-screen-while-it-is-said), [report-video.md](report-video.md#thread-reads)): the picked take's kept parts cut out of its own file (ffmpeg) and joined with the read's pauses, measured, added as a derived take (`steps: [{op: "rejoin", drop}]`, its parts re-timed with their roles, its word timings moved, its slurs state kept) and picked — ONE write (one undo point). `--without` drops the parts that read the post it answers (`parent:0`), its parent (`parent:1`) or the quoted post; `--drop-parts` by number; `--drop-urls` the parts that are nothing but a link. Nothing to drop, every part dropped or a take read in one go: **exit 1**. `posts set-item … thread.parent.<i>=context\|hidden` (or `thread.quoted=…`) on a piece the take reads runs it first (`--no-reread`: refused, as before) | -| `timeline <project> threads [--json]` · `timeline <project> threads --write [--conversation <id>]` | **the cut's conversations** ([report-video.md](report-video.md#thread-reads), `post-conversation.mjs`): each tree of two post items or more — its root, its items' places, whether they play as one run (one scene) or are split by other entries, a reply placed before the post it answers, an item re-reading a post its run already read (with `posts set-item <p> <item> thread.parent.<i>=context`). `--write` gathers each (or the one holding `<id>`: its root, a post, an item) at its first item's place in TREE order — a post after what it answers, sibling branches by date, each depth first — in ONE write (one undo point); never across a section boundary (gathered within each section, and said) | +| `timeline <project> threads [--json]` · `timeline <project> threads --write [--conversation <id>]` | **the cut's conversations** ([report-video.md](report-video.md#thread-reads), `post-conversation.mjs`): each tree of two post items or more — its root, its items' places, whether they play as one run (one scene) or are split by other entries, a reply placed before the post it answers, an item re-reading a post its run already read (with `posts set-item <p> <item> thread.parent.<i>=context`). `--write` gathers each (or the one holding `<id>`: its root, a post, an item, a `thread.group` name) at its first item's place in TREE order (a manual thread: in DATE order) — a post after what it answers, sibling branches by date, each depth first — in ONE write (one undo point); never across a section boundary (gathered within each section, and said) | | `posts roles <project> [<item> …] [--write] [--set <n>=<role>,…] [--json]` | a narrated read **piece by piece** ([knobs.md](knobs.md#thread-reads-every-part-of-a-read-on-screen-while-it-is-said), [report-video.md](report-video.md#thread-reads)): the text each part of the picked take reads -- `parent:<i>`, `quoted`, `post`, `media:<i>` -- stored or inferred, what the card shows for each, and the build's guard (a part read off a post the card hides is refused). `--write` stores the inferred roles on the picked takes' parts (one write; the import stores them for every new take); `<item> --set n=role,…` sets parts' roles by hand (`off`: inferred again); a part out of range or an unknown role is refused (**exit 1**) | | `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` (and its read-follow: `follow=on\|off`, `follow.dim=`, `follow.ease=`; its thread reads: `thread.parent=`, `thread.quoted=`, `thread.carry=`, `thread.reveal=`, `thread.shrink=`, `thread.dim=`, `thread.seconds=`, `thread.pan=`). Refused in the build's words (**exit 1**) | | `posts fx <project> <item> [ls]` · `add word-zoom --match "…" [--target post\|quoted\|parent:<i>] [--occurrence n] [--at s] [--scale s] [--hold s] [--lead s] [--ease out\|inOut\|snap] [--highlight #rrggbb\|off]` · `set <n> [those flags; default clears one]` · `remove <n>` · `posts narrate <project> <item> --words [--worker <id>]` | a post item's **word zoom** ([report-video.md](report-video.md#a-word-zoom), [knobs.md](knobs.md#a-word-zoom-a-post-items-card-pushed-in-on-a-word-as-it-is-read)): the card pushed in on a word as it is read, a highlight under it, then back out -- through `updatePostFx`, refused in the build's words (a match not in the words, a knob out of bounds; **exit 1**). Its time is `--at`, else the word's start in the picked take's word timings; `ls` prints each zoom's time and where it came from. An un-narrated post's `add` fills `at` with the reading estimate. `--words` asks the EDITOR's transcribe op (`words: true`, a job per take or per part file; `ARCHILYZER_EDITOR_URL`, `WORKER_TOKEN`) and keeps the words heard, aligned to the script, on the take (`takes[i].words`) | @@ -99,6 +99,7 @@ Inbox cannot disagree about what is wrong with one. | `posts combo <project> [on=on\|off] [label=L] [position=top-right\|top-left\|bottom-right\|bottom-left\|center] [color=#rrggbb] [scale=0.4-2.5] [sfx=off\|hit\|coin] [minCount=2-20] [match=id\|file\|audio] [--json]` · `posts combo <project> <item> off\|on\|auto\|label=…\|position=…\|color=…\|scale=…\|sfx=… [--json]` | the **combo badge's knobs** ([knobs.md](knobs.md#the-combo-counter)): the cut's (`render.posts.combo`, `updatePostComboRender`; no knobs prints them; `k=` the default again) or one post item's (`combo`, `updatePostCombo`): `off` draws no badge on it -- it still counts -- `on`/`auto` the cut's again. Refused in the build's words (**exit 1**) | | `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 | +| `timeline <project> insert (--after <id\|-> \| --to-section N \| --group G) post-json:<json>\|post-json:@<file> [--id ID]` | **a post item made by hand** — a post no archive holds (one kept only as a picture): `{post: "<channel>/<postId>", author, handle, date, text, media: ["posts-media/…"], parents?, quoted?, subjects?, redact?}`, its media measured, its id `p-<postId>` unless `--id`; refused in the build's words (**exit 1**). Its avatar: `posts avatar <project> <handle> <file>` | | `modules list [--json]` · `modules apply <project> [--config FILE] [--dry-run] [--json]` · `modules apply <project> [--config FILE] --take <id> [--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/<id>.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)) | | `preset list [--json]` · `preset show <name> [--json]` · `preset save <name> --from <project> [--description D] [--force]` · `preset apply <name\|none> <project>` | the **look presets** (`umtool/presets/<name>.json`, or `UMTOOL_PRESETS_DIR`): a render block a manifest stands on (`"preset": "<name>"`), 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 ([knobs.md](knobs.md#look-presets)) | diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md @@ -822,6 +822,27 @@ gathers them). | the cut's conversations — one run is one scene; `threads --write` gathers each in tree order (a post after what it answers, sibling branches by date, never across a section) | — | `umtool timeline <p> threads [--json]` · `threads --write [--conversation <id>]` (one undo point) | — (`orderEntries`) | | a post item's `conversation` (the archive row's threadId) and `quoted.via: "link"` (a status link resolved to an archived post) | — | `umtool posts context <p> [--dry-run]` | — (`setPostItemsContext`) | +## Thread scenes (the join, whole threads, manual threads, wide attachments, context media, link visits, the branch map) + +What each is: [report-video.md](report-video.md#thread-scenes-whole-threads-the-join-manual-threads-wide-attachments-context-media-link-visits-the-branch-map). +The item knobs go through `updatePostItem` (`posts set-item`), each refused in the build's words; Play the cut, the +card route and the build draw the same states. + +| Knob | In umtool | From a terminal | Route | +|---|---|---|---| +| `render.posts.join` — the join between items of one run: `{on, seconds}` (default on, 0.6 s, 0.2–2); the read starts after it | — | (the manifest's `render.posts.join`) | — | +| `join` on a post item — `false`: a cut; `{seconds}` its own | — | (the manifest) | `POST /api/report/post-item {op: "set", patch}` | +| `parents[i]` — an ancestor added (i = the next index), replaced or dropped, nearest first, up to 8: `{id, author, handle, date, text, media?, paraphrase?}` | — | `umtool posts set-item <p> <item> 'parent.1={"id":"…","handle":"…","author":"…","date":"…","text":"…"}'` · `parent.1=@ref.json` · `parent.1=off` | `POST /api/report/post-item {op: "set", patch: {parents: {"1": {ref}}}}` | +| `parents[i].media` — a context post's attachments, shown in the slot while it is on screen (project files, measured) | — | `umtool posts set-item <p> <item> parent.0.media=posts-media/…/1.mp4[,…]` · `=off` | same, `{parents: {"0": {media: [...]}}}` | +| `media` from a project file — added (kind, size, length measured) or removed | — | `umtool posts set-item <p> <item> media.add=posts-media/…` · `media.1=off` | same, `{mediaAdd: [...]}` · `{media: {"1": null}}` | +| `links[]` — a post its words link to that the card draws (a link visit), its picture and the words read off it (`transcript`, role `linked:<i>`) | — | `umtool posts set-item <p> <item> 'link.add={…}'` · `link.0.media=<file>` · `link.0.transcript="…"` · `link.0=off` | same, `{linksAdd: [...]}` · `{links: {"0": {...}}}` | +| `thread.group` — a MANUAL THREAD: consecutive items of one group are one scene, in timeline order | — | `umtool posts set-item <p> <item> thread.group=jiggle` (`off`) · `umtool timeline <p> threads --write --conversation jiggle` (gathered in date order) | same, `{thread: {group}}` | +| `render.posts.panel` — a wide attachment's layout: `{wide, place}` (default 2.0, `top`; `bottom`; `side`: never) | — | (the manifest) | — | +| `panel` on a post item — `side`, `top`, `bottom` (absent: the cut's rule) | — | `umtool posts set-item <p> <item> panel=top` (`auto`) | same, `{panel}` | +| `render.posts.linkVisit` — `{on, hold}` (default on, 1.4 s: a post read earlier lit again that long) · `linkVisit: false` on an item | — | (the manifest) | — | +| `render.posts.threadMap` — the branch map: `{on, style}` (default on, `both`; `map`, `label`) · `thread.map` on an item: `false`, `true`, a style | — | `umtool posts set-item <p> <item> thread.map=off` (`label`, `map`, `both`, `auto`) | same, `{thread: {map}}` | +| a post item made by hand (no archive holds it) | — | `umtool timeline <p> insert --after <id> 'post-json:{"post":"<chan>/<id>","author":…,"handle":…,"date":…,"text":…,"media":["posts-media/…"]}'` (or `post-json:@file.json`) | — | + ## The combo counter A post item that plays an attachment an earlier post item of the cut already played gets a fighting-game badge, diff --git a/umtool/docs/report-video.md b/umtool/docs/report-video.md @@ -911,6 +911,79 @@ the scene its run leaves on screen (`planContext`: the build, Play, the bench, t writers' guard and the lint all pass it). Not narrated, or with no context post drawn, the card is as it was. +### Thread scenes: whole threads, the join, manual threads, wide attachments, context media, link visits, the branch map + +lane/thread-scenes (operator, 4 Nov, after mid-6 of the Mr. Obvious cut: "We'll almost certainly need code changes to +how we handle threads, especially ones that switch layout currently. It's fine if implementing all my requests +lengthens the video a bit"). The standing rule holds throughout: no hidden text is ever narrated, and every read +piece is shown in full and lit while it is read. + +**A whole thread, in date order.** An item may carry up to 8 ancestors (`parents`, nearest first; `POST_PARENTS_MAX` +-- a reel and `posts context` still fill two from the archive, `POST_PARENTS_FILL`); `posts set-item <p> <item> +parent.<i>=<json ref>|@<file>|off` adds one (i = the next index), replaces one or drops one. A take that reads every +ancestor the run has not read, oldest first, maps its parts to `parent:N` … `parent:1`, `parent:0`, `post` (the +roles), and each ancestor is a tile in full and lit while it is read, then shrunk and dimmed. THE READ IS IN DATE +ORDER (operator: "include the whole thread chronologically"): role inference ranks the texts by their posts' dates +(`roleOrderOf`; by kind when one has none), and the tiles follow the take's read (`orderByRead`) -- a quoted take +older than the post he answers is read first and drawn first, above it (p-2115519823090479417: his take 16:00, +Kirsche 17:45, his reply 19:03). A tile that does not answer the one drawn just above it says what it answers +("replying to @X"; in a manual thread every reply does, "replying to the post above"), from the real parents. + +**The join** (`report-to-video/post-join.mjs`; "I'd like a thread-like smooth transition here rather than a cut"). +An item of a conversation run (or a manual thread) opens on the item before AS IT ENDED and morphs into its own +layout over its first `seconds` (0.6) -- a card beside an attachment to a card alone, another attachment, another +width: the card's container eases from that item's box to its own (the words scaled with it, never re-flowed), that +item's card -- shot at its last frame in the build, its page in a second frame in Play -- rides the container and +fades as this one's comes in, the post it ended on (carried in, or the scene's) is drawn as that item drew its post +(its head, its words at their size) and framed where it sat (the anchor measured on both pages), the slot's well +fades in or out, and the attachment it ended on (its last frame) cross-fades into this one's -- the same one (a media +scene) is held. The read starts AFTER the join (`narrationSchedule`'s `pre`): an item in a run is the join longer. +`render.posts.join = { on, seconds }`; an item's `join: false` cuts. The build shoots the whole box while it joins +(the card and the slot's well move); `readInViewErrors` checks every read from its settle, after the join. + +**A manual thread** (`thread.group`; "basically do all of them chronologically as if a thread, maybe subtly indicate +the original relations"). Consecutive items with the same `thread.group` are one run even when X does not link them +(an un-narrated item may open it: shown, not read); every earlier post stays on screen, stacked oldest first, small +and dim (none collapses); each tile says what it answers. `timeline <p> threads --write [--conversation <group>]` +gathers a group at its first item's place in DATE order, the other entries after it in their order. It sits with a +media scene: the group's attachment may change from item to item (a join cross-fades it), same-attachment items +still hold it. + +**Wide attachments** (`postLayout`'s `panel`; "for these super wide images a top-bottom layout would be better"). An +attachment of width ÷ height ≥ `render.posts.panel.wide` (2.0; its crop counted) is laid at full width ABOVE the card +(`place: "top"`, or `"bottom"`), at most 42 % of the box, the card under it (at most 1500 px of a 1080 frame wide); +`panel=side|top|bottom` on an item overrides (`panelEntry` lays the cut's rule on in the build, Play, the route and the +bench). The join morphs to and from it like any other layout. + +**Context media** (`panelSchedule`, the plan's `panel`). A parent, a quoted post or a linked post may carry `media` +(project files; `parent.<i>.media=<file>`, measured as they go in): while that piece is on screen its attachment shows +in the slot over the item's own (cross-faded, 0.3 s) -- from its read (one not read, an image-only reply: from when its +tile is on screen, at least 1.2 s) until the next piece with media or his own words; with none of his own, the last +one is held. A slot is laid out for it when he carries none. A linked post's tall picture whose words are read (its +`transcript`, role `linked:<i>`) SCROLLS top to foot in step with its parts (the build: its crop's y on t; Play: the +same keyframes); `panelReadErrors` refuses a part read off a picture the panel is not showing. + +**Link visits** (`report-to-video/post-link-visit.mjs`; "can we have our transition visit it with a mouse click +visual?"). A status link in a drawn post's words to a post the card draws (the quote -- matched by its author when the +archive kept no id --, a linked post, a post it answers): a pointer glides to the link, clicks (a ripple), and the +post opens as it comes in (its reveal) -- or, read earlier (a thread read in date order), is lit again at full size +with an accent ring for `hold` s (1.4; the item holds it). A linked post shown, not read, is hidden until its click. +`links[]` holds posts its words link to that no archive gave (`posts set-item … link.add=<json ref>`, `link.<i>.media=`, +`link.<i>.transcript=`). `render.posts.linkVisit = { on, hold }`; an item's `linkVisit: false`. + +**The branch map** (`report-to-video/post-branch-map.mjs`; "a specific visual for changing thread branches that makes +the context obvious"). When the scene moves to another branch -- a sibling reply, a reply to an earlier post, a jump +back up -- a small map in the card's corner draws the posts on screen as a tree (a line for each reply, his posts in +his colour), the light travelling from the post the item before ended on up to the post the two branches share and +down to the new one, labelled ("another reply to his post", "back to @X's post"; a blurred author is "a stranger's"). +It comes in as the scene changes (the first piece, after the join), travels 1.1 s, holds, fades. `render.posts.threadMap += { on, style: "map" | "label" | "both" }`; an item's `thread.map` (`false`, `true` or a style). + +**A post item by hand** (`timeline <p> insert … post-json:<json>|@<file>`): a post no archive holds (Kirsche's reply, +kept only as a picture) -- `post`, `author`, `handle`, `date`, `text`, `media` (project files, measured), `parents`…; +its avatar `posts avatar <p> <handle> <file>`; refused as the build would. **An attachment from a file**: +`posts set-item … media.add=<file>` (kind and size measured), `media.<i>=off`. + ### The combo counter When a post item's attachment is one an EARLIER post item of the cut already played — diff --git a/umtool/lib/report/timelineCli.mjs b/umtool/lib/report/timelineCli.mjs @@ -913,7 +913,7 @@ export async function threadsCommand(project, manifest, { write = false, only = const { conversations, gatheredOrder } = await import("umtool-report-to-video/post-conversation"); const tl = Array.isArray(manifest.timeline) ? manifest.timeline : []; const convs = conversations(tl, manifest.render); - if (only && !convs.some((c) => c.root === only || c.items.some((it) => it.id === only || it.post === only || it.chain.includes(only)))) { + if (only && !convs.some((c) => c.root === only || c.group === only || c.items.some((it) => it.id === only || it.post === only || it.chain.includes(only)))) { throw new CliError(`no conversation of two post items or more holds ${only} in ${project.id}`); } if (!write) { @@ -926,7 +926,7 @@ export async function threadsCommand(project, manifest, { write = false, only = out(` ${c.group ? `group ${c.group} (a manual thread, in date order) ` : ""}root ${c.root ?? "?"} ${c.items.length} items ${c.split ? `SPLIT into ${c.runs} runs` : "one run"}`); out(` in the cut: ${c.items.map((it) => `${it.id}@${it.at}`).join(" ")}`); const inOrder = c.items.map((it) => it.id).join(" ") === c.order.join(" "); - if (!inOrder) out(` tree order: ${c.order.join(" ")} (umtool timeline ${project.id} threads --write --conversation ${c.root ?? c.items[0].id})`); + if (!inOrder) out(` tree order: ${c.order.join(" ")} (umtool timeline ${project.id} threads --write --conversation ${c.group ?? c.root ?? c.items[0].id})`); for (const m of c.misplaced) out(` MISPLACED: ${m.id} (at ${m.at}) answers ${m.answers}, placed after it (at ${m.answersAt})`); for (const r of c.rereads) out(` RE-READ: ${r.id} reads ${r.scope} (${r.post}), which ${r.by} already read -- ${r.fix.replace("<p>", project.id)}`); }