Archilyzer · Source

archilyzer

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

commit 0f12a9f09e145541f837c2bbf98f67d84df1e07d
parent 5d18296f838f424a52bab4b672a11bb10fa6abc2
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Wed, 21 Oct 2026 22:37:57 -0400

docs: deck markers, verdict pips, stamps off and no QR on posts; plans/deck-counts.md

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

Diffstat:
Meditor/CHANGELOG.md | 1+
Aplans/deck-counts.md | 94+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mumtool/docs/report-video.md | 20++++++++++++++++++--
Mumtool/report-to-video/README.md | 75+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
4 files changed, 182 insertions(+), 8 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## [Unreleased] +- **A fact-check video can count without the stamp, colour its timeline by verdict, flag the moments time passes, and leave the QR off posts.** In umtool's fact-check form, **stamp effect** off draws no verdict stamp over the footage, while the tally in the panel still counts each claim at the second its stamp would have landed. The On-screen settings have **colour** under timeline: **verdict** lights each clip that carries a claim in its verdict's colour — the tally's colour — with a shape per verdict (circle, diamond, square, triangle, ring), and the tally's cells carry the same shapes. **qr codes** under posts off leaves the QR off every post card, popup or feed, and the words take its width; each clip's own QR stays. A video's manifest can flag moments on the timeline (`render.chrome.deck.markers`: "3 to 5 weeks pass" after a clip), each popping in as the timeline reaches it and staying lit. Needs a restart of umtool. - **The dashboard says when a service's cookies have gone stale, and what to do.** When Rumble refuses its embeds with a 403 on two different videos in a row (one is not enough — a removed video answers 403 too), when YouTube asks to confirm you're not a bot, when Odysee answers with Cloudflare's check, when a forum's browser check or login wall stops a thread, or when archive.today answers with its check page, a banner at the top of the dashboard says so — "Rumble needs fresh cookies: open rumble.com in firefox" — with the jobs it happened in. **Recheck** asks the service once, through the same path and cookies the jobs use, and clears the banner when it answers; the next clean request clears it by itself too, and **Dismiss** clears it by hand. Once it is clear the banner says "OK again" and offers **Re-run stopped jobs**, which retries the jobs it stopped. The stopped job's log ends with the cause and the fix, `archilyzer doctor` lists it under "service cookies", and a Connect forum session or Connect archive session that ends on a cleared page clears the matching banner. From a terminal: `pnpm ops get services`, `recheck-service`, `rerun-service-jobs` and `dismiss-service`. Odysee's check is recognised by Cloudflare's own words beside a 403; no real Odysee sample has been seen yet. Needs a restart of the editor. - **archive.today copies are page records too, like Wayback captures.** The channel kind is now **Archived pages** on the New channel form (paste an archive.today copy's URL, `archive.ph/newest/<page>`, and the channel's target is that page on archive.today), and each target says where its copies are looked for: the Wayback Machine, archive.today, or both. The channel page's **Import a capture** takes an archive.today copy's URL (`archive.ph/<id>`, or any of its other names), or the page's own URL, a date and **on archive.today** for the copy nearest that date; the copy is kept as archive.today served it and read without its header bar, links back to the pages they pointed at, so a tweet, a Tumblr post or an article gives the same records it would from the Wayback Machine — each saying it came from archive.today and linking that copy, its images archive.today's own copies. archive.today is asked one request at a time, eight seconds apart; when it says "too many requests" the import stops with a sentence and nothing more is asked of it for half an hour. When it answers with a CAPTCHA instead of the copy, the import is refused and never reads the CAPTCHA as a page: **Connect archive session** (on the channel page, and in Settings → Archive sources) opens a window on the editor's machine to pass the check once, and the next import reads through it; nothing is ever solved for you. **Look up a page** lists every copy each archive holds of a page, with an Import button on each. From a terminal: `pnpm ops import-page` takes `"source": "archive.today"`, `pnpm ops archive-lookup` lists the copies, and `pnpm archilyzer archive lookup <url>` runs without the editor. Needs a restart of the editor. - **A page the Wayback Machine will not show says so.** When the Wayback Machine answers "forbidden" for one page while it answers others, that page is excluded from it, and Wayback lookups, page imports and archive lookups now say "excluded from the Wayback Machine (cause unknown)" instead of reporting an error. diff --git a/plans/deck-counts.md b/plans/deck-counts.md @@ -0,0 +1,94 @@ +# Deck counts — stamps off, verdict pips, track markers, no QR on posts (lane `lane/deck-counts`) + +Asked by the operator on 2026-10-21 while reviewing a timeline video ("Huck's bill": a deck cut with +`factcheck` stamps and tally, `deck.posts.layout: "feed"`): + +- "Remove the stamp effect it doesn't seem that good." +- "add a 'grift' count … alongside the seizure or medical issue count, include both on the timeline + and let them be visibly distinct somehow." +- "later in the timeline, highlight when the '3 to 5 weeks' passed … Do this for other promise claims." +- "Since X isn't public, let's not include the QR on tweets. Videos can keep them." + +## What shipped + +Each key is optional. A manifest without them builds byte-identical pages and schedules (proof below). + +| Key | Default | What it does | +|---|---|---| +| `render.chrome.factcheck.stamp.show` | `true` | `false`: no stamp composition is composed, rendered or laid (build, verify-build, compose-chrome, umtool's preview: `stampsDrawn`). The schedule's `factcheck.stamps` are unchanged, so the tally steps and flashes at each claim's `landed` second exactly as before. | +| `render.chrome.deck.posts.qr` | `true` | `false`: popup and feed post cards carry no QR and no cell for one; the words take the width (a popup card with a `logo` keeps its cell for the logo). No post QR png is made. The clip's deck QR (`deck.qr`) is untouched; the schedule still carries each post's `qrUrl`. | +| `render.chrome.deck.pip.color` | `"accent"` | `"verdict"`: a claimed clip's pip, once lit, is drawn in its verdict's resolved colour (the tally cell's, overrides included) and a shape per verdict, `VERDICT_SHAPES` in VERDICTS order: CORROBORATED circle, PARTLY diamond, CONTRADICTED square, NOT_FOUND triangle, UNTESTABLE ring. 10 px at the default pip size (5/3 of it) so the shape reads. Each tally cell carries its verdict's shape before its label. Unclaimed pips, the fuse and the marker stay the accent. | +| `render.chrome.deck.markers` | `[]` | `[{ after, label, color? }]`: a flag on the pip track between the pip of the clip `after` names and the next (midpoint; `pip.spacing: "time"`: the next segment's mid-dissolve; after the last pip, halfway to the track's end). Label above the track in a 10 px band (`MARKER_BAND`; the track and body move down only when there are markers). Hidden until the fuse burns past it, then a 0.35 s pop (`MARKER_POP`), lit for the rest of the cut. | + +The "grift count beside the medical count" request is the tally plus verdict pips: the two counts are +two verdicts (relabelled with `factcheck.verdicts.<V>.label`/`color`), and `pip.color: "verdict"` makes +them visibly distinct on the timeline by colour AND shape. The "3 to 5 weeks passed" highlight is a +marker after the clip where the promise was made. + +## Files + +- `umtool/report-to-video/factcheck.mjs` — `stamp.show` default/validator; `stampsDrawn`; `VERDICT_SHAPES`. +- `umtool/report-to-video/deck.mjs` — defaults (`pip.color`, `posts.qr`, `markers`), `PIP_COLORS`, + `MARKER_LIMITS`, `MARKER_PALETTE_KEYS`, `MARKER_DEFAULT_COLOR`, `MARKER_BAND`; validateChrome + (pip.color, posts.qr, `markerShapeErrors`); `validateDeckMarkers(manifest)` (shape + `after` names a + clip in the timeline); `deckLayout` marker band; `deckMarkers` (x, colour, label box). +- `umtool/report-to-video/chrome-deck.mjs` — verdict pips and tally shapes (`shapeCss`), marker + flags/labels and their reveal cues (`MARKER_POP`). +- `umtool/report-to-video/chrome-posts.mjs`, `chrome-feed.mjs` — `posts.qr: false`. +- `umtool/report-to-video/compose-chrome.mjs` — no post QR pngs when off; the stamp region refuses when + the stamps are off. +- `umtool/report-to-video/build-video.mjs`, `verify-build.mjs` — `stampsDrawn`; the build refuses bad + markers (`validateDeckMarkers`) beside the posts check. +- `umtool/report-to-video/lint.mjs` — `validatorErrors` runs `validateDeckMarkers` under the deck. +- `umtool/lib/report/manifest.mjs` — `updateChrome` and the structural writers run `validateDeckMarkers` + (removing a clip a marker follows is refused until the marker goes). +- `umtool/app/api/report/chrome/preview/route.ts` — no stamp preview when the stamps are off. +- `umtool/components/projects/OnscreenSection.tsx` — form fields `pip.color` ("colour", timeline) and + `posts.qr` ("qr codes", posts); a settings save now carries through `deck.markers` and every other + `render.chrome` key (threads, flips, stats, fx — it used to drop them; only `factcheck` was kept). +- `umtool/components/projects/StructureEditors.tsx` — the fact-check form's "stamp effect" switch. +- Docs: `umtool/report-to-video/README.md` (deck keys, `deck.markers` section, factcheck section, + posts QR), `umtool/docs/report-video.md`, `editor/CHANGELOG.md` [Unreleased]. + +## Decisions + +- **Where the UI lives.** The Build tab's Look panel is for cuts WITHOUT the deck ("a deck cut keeps its + own settings"), so F1–F3 are in the deck's own forms: the On-screen settings (pip colour, post QR) and + the fact-check form (stamp effect). Markers have no form; they are written in the manifest and carried + through every save. +- **Markers' `after` check is timeline-aware**, which `validateChrome(chrome, render)` cannot be (it has + no timeline). `validateDeckMarkers(manifest)` is the one function the build, the lint and umtool's + writers call; validateChrome checks the shape alone so the On-screen writer refuses a bad block early. +- **The band moves the track only with markers**, so a deck without them lays out pixel for pixel as + before. Under a band the QR is held inside the deck and below the active pip's halo (`trackY + 12`). +- **Reveal time** is the moment the fuse's linear burn from pip k to pip k+1 reaches the flag's x; a + flag after the last clip pops a second before that clip ends. One cue per marker (a fromTo from its + stated init), so a seek from anywhere lands on the same pixels. +- **Label boxes** reach at most halfway to the neighbouring flags (and 240 px), centred on the flag when + that leaves room, else off-centre near the track's end; overflow is an ellipsis. +- **Verdict pips are larger** (5/3 of `pip.size`) so a 6 px pip's diamond and square are distinguishable; + the active marker (12 px) still covers it. +- **Default marker colour** is the palette's `amber`, distinct from the accent pips and the verdict colours. + +## Tests + +- `umtool/report-to-video/deck-counts.test.mjs` (new, 14): stamp.show validation; stamps off → same + schedule, same tally cues and flash, identical deck page, compose-chrome refuses the stamp region; + posts.qr validation; popup and feed pages without codes or cells, the deck's own QR untouched; + pip.color validation; VERDICT_SHAPES; verdict pips (colour after override, shape, unclaimed unchanged, + tally cell colour + shape, pip cues unchanged); markers shape refusals, timeline refusals (and the + lint's), layout band, placement (even, time, last pip), crowded boxes never meeting, reveal at the + fuse, page markup and escaping. +- `umtool/lib/report/manifest.test.mjs`: updateChrome refuses a marker after a missing clip / a card / an + over-long label and writes nothing; accepts a good one. +- `deck.test.mjs`, `factcheck.test.mjs`: resolved defaults gained `pip.color` and `stamp.show`. +- e2e: `onscreen.spec.ts` (pip colour + post QR saved, markers and factcheck carried through a save), + `timeline-edit.spec.ts` (stamp effect off writes `stamp.show: false`). +- **Byte-identity.** A probe hashed validateChrome, validatePosts, deckLayout, deckSchedule, + estimateSchedule, deckCues, deckHtml (whole and windowed), stampCues, stampHtml, postsHtml (every + window) and feedHtml for 30 manifests without the new keys (5 deck variants — even/time spacing, feed, + no QR, flush+at start — × 3 fact-check blocks × with/without posts; 327 hashes) on the branch base + (3f0543e7) and after the change: identical. +- **Real render.** A 3-clip `src` fixture (claims PARTLY, CONTRADICTED, CORROBORATED; two markers; one X + post with `posts.qr: false`; `stamp.show: false`; `pip.color: "verdict"`) built offline through the + heavy slot with the real hyperframes 0.8.24; frames extracted and looked at (see the lane's report). diff --git a/umtool/docs/report-video.md b/umtool/docs/report-video.md @@ -352,8 +352,24 @@ the stamps' own composition (`chrome/stamp-preview/`, served under `updateChrome(dir, chrome | null, { token })` writes `render.chrome` itself: `validateChrome()` first, so a block umtool saves is one the build accepts, -and `null` removes the key — turning the deck off without touching anything -else under `render`. +then `validateDeckMarkers()` against the timeline (each `deck.markers[].after` +names a clip in it), and `null` removes the key — turning the deck off +without touching anything else under `render`. The structural writers run +`validateDeckMarkers()` too, so removing a clip a marker follows is refused +until the marker goes. + +The On-screen settings form edits every `render.chrome.deck` key it lists, +among them **colour** under timeline (`pip.color`: `accent`, or `verdict` — a +claimed clip's pip lit in its claim's verdict colour and shape) and **qr +codes** under posts (`posts.qr`: off draws no QR on any post card, popup or +feed). The fact-check form beside the structure editors has **stamp effect** +(`factcheck.stamp.show`: off draws no stamp over the footage; the tally still +counts). `deck.markers` — flags on the pip track, `[{ after, label, color? }]` +([the pipeline's README](../report-to-video/README.md#deckmarkers--flags-on-the-pip-track)) +— has no form: write them in the manifest. A settings save carries them +through, with the fact-check block and the other regions (threads, flips, +stats, fx), as saved. With the stamps off the preview composes no stamp +region (`stampsDrawn`). ### Preview, before and without a build diff --git a/umtool/report-to-video/README.md b/umtool/report-to-video/README.md @@ -395,7 +395,9 @@ whatever a manifest omits, one level deep: "height": 190, // px, whole number, 120–400 "footageScale": 0.82, // 0.5–1; the footage must still fit above the deck "background": "panel", // "panel" (lifted) | "flush" - "pip": { "spacing": "even", "size": 6, "activeSize": 12 }, // spacing "even" | "time"; activeSize ≥ size + "pip": { "spacing": "even", "size": 6, "activeSize": 12, // spacing "even" | "time"; activeSize ≥ size + "color": "accent" }, // | "verdict": a claimed clip's pip in its verdict's colour and shape (below) + "markers": [ { "after": "c07", "label": "3 to 5 weeks pass", "color": "amber" } ], // flags on the pip track (below); at most 12 "title": { "size": 54, "maxChars": 48 }, // size 24–96; maxChars 10–120 (the editor's counter, not a refusal) "subtitle": { "parts": "auto", "dateFormat": "long" }, // parts "auto" | a distinct list of channel/title/date/clock; dateFormat "long" | "iso" "qr": { "show": true, "size": 150, // size 80–380, and at most height − 20 @@ -407,11 +409,12 @@ whatever a manifest omits, one level deep: "shift": { "scale": 0.86, "seconds": 0.6 }, // the footage makes room: scale 0.5–1, seconds 0–3; or false "position": "top-right", // | "top-left" "width": 600, "qrSize": 120, "maxLines": 7, "inset": 24, // width 320–900 px; qrSize 80–200 and ≤ width/2; maxLines 2–14; inset 0–80 - "links": "archive" } // | "original": where a post's QR goes (below) + "links": "archive", // | "original": where a post's QR goes (below) + "qr": true } // false: no QR on any post card, popup or feed; the words take its width }, "factcheck": { // the fact-check stamps and tally (below); every key optional "verdicts": { "PARTLY": { "label": "Partly true", "color": "#e3b23c" } }, // per verdict: label ≤ 24 characters, a #rgb/#rrggbb colour - "stamp": { "seconds": 3, "position": "top-left" }, // seconds 1–10; top-left | top-right | bottom-left | bottom-right | center + "stamp": { "show": true, "seconds": 3, "position": "top-left" }, // show false: no stamp drawn, the tally still counts; seconds 1–10; top-left | top-right | bottom-left | bottom-right | center "tally": { "show": true, "position": "right" } // position "right" (beside the QR) | "left" (before the title) }, "stats": { // a frame scan's running numbers over each clip (below); every key optional @@ -456,6 +459,45 @@ or `?t=<s>` on a youtu.be link), a Rumble page as it is (it has no time parameter a QR can carry), an X post's link as it is. A clip's `citeUrl` still wins, and a clip whose record names no page keeps the site link. +### `deck.markers` — flags on the pip track + +A marker flags a moment on the rail between two clips — "3 to 5 weeks pass", +"the promised date" — so a viewer sees time pass, or a promise lapse, in the +timeline itself: + +```jsonc +"deck": { "markers": [ + { "after": "c07", "label": "3 to 5 weeks pass" }, // colour: the palette's amber + { "after": "c12", "label": "Promise lapses", "color": "#e5534b" } // a #rgb/#rrggbb, or fg | muted | accent | amber | dim +] } +``` + +- **Where.** On the track between the pip of the clip `after` names and the + next pip — their midpoint; with `pip.spacing: "time"` the second the two + segments hand over (the next one's mid-dissolve). After the last clip it + stands halfway to the track's end. Its label stands in a band above the + track: with any marker the track moves down 10 px (`MARKER_BAND`) and the + body under it with it; without one the deck lays out as it always did. +- **When.** Hidden until the fuse burns past the flag, then a short pop (scale + and opacity, `MARKER_POP`), lit for the rest of the cut; it slides away and + back with the panel. A flag after the last clip pops a second before that + clip ends. +- **Labels.** One line, at most 24 characters, uppercased; each label's box + reaches at most halfway to the next flag either side (and 240 px at most), + and a label that does not fit ends in an ellipsis rather than running into + its neighbour. The band is above everything in the body, so a label never + meets the tally or the QR. +- **Refused.** `after` must name a CLIP in the timeline, the label must be + non-empty and ≤ 24 characters, at most 12 markers, a colour a hex or a + palette key, and unknown keys are refused. `validateChrome` checks the + shape; `validateDeckMarkers(manifest)` (`deck.mjs`) checks the shape and + `after` against the whole timeline — the build, the lint and umtool's + writers all call it, so removing a clip a marker follows is refused until + the marker goes. + +Markers are written in the manifest (there is no form for them); umtool's +On-screen settings carry them through every save. + ### `posts` — written statements on the deck A cut that wears the deck can carry a post — a Bluesky or X statement — as a @@ -552,6 +594,13 @@ platform goes away. `deck.mjs` `postQrUrl` makes the link: the post's an archive channel and the post's id; else the post's own `url`, as before. `"original"` always links the post's own `url`. +`posts.qr: false` draws no QR on any post card — popup or feed — and no cell +for one: the words take the width (a popup card with a `logo` keeps the cell +for the logo alone), and no code is made. For a source that is not public (an +X post a viewer cannot open) the card is the evidence, and a code would lead +nowhere. The clip's own QR in the deck (`deck.qr`) is untouched, and the +schedule still carries each post's `qrUrl`. + - **The archive channel.** A post channel is a channel of its own on the archive (`piratesoftware-bsky`, not the video channel `piratesoftware`), and a manifest rarely says which. The build finds it (`post-links.mjs`), just @@ -628,11 +677,25 @@ build fetches — umtool's writer refuses with the same function. whole cut (`chrome/stamp/`, `chrome/stamp-frames/`, cached by its key, a window `stamp-from<s>`), and the build lays it last, over the posts, exactly as it lays the deck's. `verify-build.mjs` checks its frame count. +- **No stamp (`stamp.show: false`).** Nothing is composed, rendered or laid + over the footage (`stampsDrawn`: the build, verify-build, compose-chrome and + umtool's preview all ask it), and the tally still steps — and flashes — at + each claim's `landed` second, exactly as it would have: the schedule's + `factcheck.stamps` are unchanged. umtool's fact-check form has a "stamp + effect" switch for it. +- **Verdict pips (`deck.pip.color: "verdict"`).** A claimed clip's pip, once + lit, takes its claim's verdict colour — the resolved one, relabels and + recolours included, the same the tally cell draws — and a shape per verdict + (`VERDICT_SHAPES`, in VERDICTS order: CORROBORATED a circle, PARTLY a + diamond, CONTRADICTED a square, NOT_FOUND a triangle, UNTESTABLE a ring), a + little larger than a plain pip so the shape reads; each tally cell carries + its verdict's shape before its label, so the rail reads without colour. An + unclaimed clip's pip, the fuse and the marker stay the accent. `render.chrome.factcheck` sets the verdicts' labels and colours (one at a time: -a verdict named without a colour keeps the default's), the stamp's seconds and -corner, and whether and where the tally is drawn; `validateChrome()` refuses an -unknown key there as everywhere in the block. +a verdict named without a colour keeps the default's), the stamp's seconds, +corner and whether it is drawn, and whether and where the tally is drawn; +`validateChrome()` refuses an unknown key there as everywhere in the block. ### `render.chrome.stats` — a frame scan's running numbers (release 31)