commit 3a3215ec7b2dc1a639b3b8f9334cbddaa43a8feb
parent 88d1a7a71c5b48b192382edbe29d2d67eef785c9
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Thu, 12 Nov 2026 20:54:50 -0500
umtool docs: the analysis item (report-video.md), its CHANGELOG bullet
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
2 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md
@@ -1,6 +1,7 @@
# Changelog
## [Unreleased]
+- **umtool: a report video can end on an analysis item, built from the ledger.** A new timeline entry, `{type: "analysis"}`, draws a full-frame ending on the deck's fonts and colours. It has a chart of a named run of his weights with a shaded band and marks, a pace table, status rows and one reading line. The line draws in and the rows land; there is no slam, hit or camera move. Every figure comes from a ledger row. A loss ("down 31.5") is placed against the run's start, the same weight a loss goal's base uses. A pace row's pounds and days are computed, never typed. A bound ("under 300") is drawn as a hollow point, and a pace row ending on one says "over" or "under" in the right direction. With `audio`, a clip's sound plays under the item and its citation and QR code are shown, but not its picture. Without audio the item is silent for at most 8 seconds. `umtool lint` names the row behind every refusal. `umtool timeline <p> [--take <t>] add-analysis | set-analysis` writes one into the draft or a take, with an undo point, and `--dry-run` prints every figure with its row. A cut without an analysis item builds exactly as before.
- **umtool: a build and a take refuse a picked read that says an anonymous author's handle or name.** `umtool lint` reported it, but the lint a build enforces (and so every take's render) did not, so a recorded "@realguy is lying" rendered with the card anonymised and the audio saying the handle. The enforced lint now carries the same error in the same words; `--no-lint` is still the only override, and a video with no anonymous character lints exactly as before. Also: a video with anonymous characters whose `video.manifest.json` is missing or unreadable is refused rather than read with an empty set; a read collapses a status link to an anonymous author's post; a `--post-take` part takes its words from what the source take said; and the words sent to a model lose an anonymous author's display name, bare handle, `/i/web/status/` links and percent-encoded handles too.
- **umtool: anonymity covers the whole project, every link, the podcast and the previews; old reads keep their speed.** Re-checking the anonymous characters found several gaps. An item that named one in another variant, or one dropped by a ruling, `--only`, a window or a take, left the author in clear. The deck's corner QR on an anonymous author's post item still led to the real post. Links were rewritten with the status id kept. The podcast's show notes and the chrome preview, still and onscreen routes had no pass at all. Now:
- The set is built from the whole project manifest (and a take's), and the build, the chrome composer, the podcast, Play, Present and the previews all take it from one function.
diff --git a/umtool/docs/report-video.md b/umtool/docs/report-video.md
@@ -456,6 +456,66 @@ umtool timeline <p> --take mid-22 add-video posts-media/…/2117366108705767779_
umtool timeline <p> --take mid-22 set-video video audio.bass=10 enter=0.8,0.4
```
+### The analysis item
+
+```jsonc
+{ "type": "analysis", "id": "analysis",
+ "kicker": "THE KETO RUN · EVERY WEIGHT HE STATED",
+ "title": "What his own numbers say",
+ "series": { "rows": ["w91", "w87", "w93", "w104", "w115", "w118", "w122", "w137"] }, // or { "from": "<date|row>", "to": "<date|row>" }
+ "band": { "from": "2026-10-23", "to": "2026-11-03", "label": "WORLD SERIES" }, // dates or row ids, inside the series
+ "marks": [{ "row": "w118", "label": "offers the scale video", "quote": "…" }], // a point of the series
+ "pace": [{ "from": "2026-09-24", "to": "2026-10-15" }, { "from": "w122", "to": "w137", "note": "…" }],
+ "status": [{ "label": "SCALE VIDEO", "value": "NOT POSTED", "note": "offered 23 Oct", "color": "red", "row": "p01" }],
+ "reading": "By his own numbers the loss is steady — and it stalled …", // ONE line, required
+ "footnote": "All figures are his own statements; no weigh-in has been shown.",
+ "mark": 300, // the dashed line across
+ "audio": { "clip": "c46", "start": 4112.6, "end": 4127.1 }, // optional: that clip's sound under it
+ "seconds": 7 } // without audio; at most 8
+```
+
+An ending built from **data, not a clip** (`analysis-plan.mjs`, `chrome-analysis.mjs`): the whole frame,
+on the deck's ground, faces and colours -- a chart of a named run of his weights with a shaded band, a
+pace table, status rows and one reading line. Calm, not a trailer: the title fades in, the axes and
+the band, the line draws point to point in date order (each point and its mark as the line reaches
+it), the pace rows land one by one, then the status, then the reading. No slam, no hit, no camera move.
+
+**Every figure is a ledger row's.** The ledger is the live one (`video.manifest.json` → `ledger`; a
+variant reads its whole measure record). A series row is a weight of HIS on the value track --
+`current`, `past` (at its `asOf`) or `delta`, which is resolved against **the run's start** exactly as a
+loss goal's base is (measure-slice.mjs `runStartAt`: a remembered weight within `bandGapDays` before the
+run's first loss claim) and names that row. Of two weights for one day the line takes the one said last.
+A pace row's ends are dates (the series point that day) or row ids; its **pounds and days are computed**,
+never typed. A mark draws its row's figure and day, then your words. A status row's figure names its row
+(`row`). A row the ledger lacks, another speaker's row, a non-weight row, a band outside the series or a
+pace end with no point refuses the item; a number typed into a label or note is a warning.
+
+**A bound is never an exact figure.** A row with a qualifier (`<`, `>`; "under 300") is drawn as a hollow
+point, and the line's stretches to and from it are dotted. A pace row ending on a bound is a bound, in the
+right direction on each side: ending on `< 300` the change is LESS than computed -- the loss is **over**
+the figure ("OVER −10.5 lb") -- and starting on it, **under** ("UNDER −8.5 lb"); its sub-line says which
+end ("to < 300"). Both ends bounding opposite ways draw no figure. `--dry-run` and the lint name the row.
+
+**Its sound.** With `audio`, the named clip's sound over `[start, end]` (source seconds inside that clip's
+window) plays under the item: read from the clip's own fetched source as its segment reads it (the raw
+cache, on its clock, its `audio.offset` applied), levelled to `render.loudness` as a clip is, faded in and
+out over 0.3 s. Its picture is not shown; its citation ("HEARD: channel · title · date · clock") and its
+QR are, at the foot. The item lasts exactly the span. The lint warns when the cut also plays that span
+(the words heard twice). Without audio the item is **silent for `seconds`** (default 7, at most 8: no dead
+air); a short one's motion is scaled to leave a 1.5 s hold. Works with no model anywhere.
+
+**Its segment** is composed and rendered once (`chrome/analysis-<id>/`, cached by its page key, as a
+teaser's is) and encoded with its sound; `segments/<id>.analysis.json` keys the frames, the sound (the
+source file, its offset, its gain) and the encode, so an unchanged item is not encoded again, and
+`--chrome-only` rebuilds it from the cache. The deck is away over it (full frame). No vertical form: a
+9:16 cut refuses it. A cut without an analysis item builds byte for byte as before.
+
+```sh
+umtool timeline <p> --take rev9-a10 add-analysis @first-use.json --after c99 --dry-run # every figure with its row
+umtool timeline <p> --take rev9-a10 add-analysis @first-use.json --after c99
+umtool timeline <p> --take rev9-a10 set-analysis analysis '{"audio": null, "seconds": 7}'
+```
+
### Post items: a post as an entry of the cut
A post card laid OVER a clip (`posts[]`, the deck's feed and popups) says what was