Archilyzer · Source

archilyzer

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

commit d9e5f8c54a5cf6cd3b32913da2b98a3c404a2ffa
parent a8a04cb29e622fd5d8bcea3abe4bc7c17abb5b30
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon,  9 Nov 2026 15:11:47 -0500

channels: a silence's shading spans the gap itself; short ranges labelled weekly; CHANGELOG

The strip shaded a silence over the whole days of the posts on either side,
hiding those days' bars; it now spans from the post before to the post
after. A range of two months or less is labelled about weekly rather than
by month starts only. [Unreleased] bullets for the X run console and the
account activity panel.

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

Diffstat:
Meditor/CHANGELOG.md | 2++
Meditor/app/channels/[slug]/components/AccountActivityPanel.tsx | 26+++++++++++++++++---------
2 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/editor/CHANGELOG.md b/editor/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## [Unreleased] +- **The X run console: several X channels' posts fetched as one job that stops when the cookies go stale.** On 8 and 9 Nov an agent ran X fetch-posts by hand, one channel after another, watching the cookie jar age and putting off the rest once it went stale. `/review`'s new **X run** section lists the X posts channels in priority order (focus, tier, rank; paused ones unticked), with a tick and up/down buttons for each, and **Start X run** queues ONE `x-run` job on X's queue. The job fetches each channel in turn (new posts only, at most 200 each), waits X's queue gap (`pacing.jobGapSeconds.twitter`) between two channels, and checks the cookie jar again before EACH one. Once the jar is past `social.x.maxCookieAgeMinutes`, or the X alert is up, the run stops and the rest are **deferred until the next refresh**. It never refreshes cookies itself. The console shows each channel's state (queued, running, done with its new posts, deferred, failed), "N done, M deferred until the next refresh", the jar's age counted down to the limit, and the wait before the next channel. **Resume** runs the deferred channels after the operator presses Refresh cookies on /settings. A Retry of the job, and "Re-run stopped jobs", do the same. A restart does not resume a run: an interrupted run ends deferred. `pnpm ops x-run {"channels": [...]}` / `{"resume": "<run id>"}` and `pnpm ops get x-run` do the same from a terminal. +- **Account activity on a posts channel's page: posts per day, with the long silences marked.** A compact bar strip shows posts per UTC day over the archive's range. Long silences are shaded and listed: a gap of at least 3× the account's median gap AND 48 h, each linked to the post before it and the post after. An open-ended silence since the last post is listed too, when the last fetch came that long after it. Only the account's own posts count (a with-replies timeline also archives the posts it answers). The silence is the archive's ("no archived post"), and a stretch no fetch reached looks the same. Mr Obvious's 5–8 Nov gap reads 4 Nov 10:54 → 8 Nov 19:00 UTC on ObviousRises-x. - **umtool: each character has a voice, auditioned on a page, the same in every project.** The operator wanted to "pick different voices for different characters, and in UI alone be able to try rendering different ones to compare … and try to maintain consistent voices for different repeating characters" -- tonight TheQuartering's reads were re-voiced by hand after scoring five voices against his real one. `/projects/<p>/voices` (from the Cut tab's Reads and voices) lists every character a project's reads use, the voice each reads in now and where it comes from (the cast, the project, the narrator's, the default), its reads in another voice, and its real voice. **Audition** reads one line (its own words here, a stock line, or typed) in 2-6 stock voices -- a job: the editor's tts, then each one's closeness to the real voice (speakers.json, TitaNet, local) -- played side by side at one loudness beside the real voice, a reference never a target. **Use for this project** or **Use everywhere** (the cast, `<reports>/.umtool/cast.json`), then the items to re-read, queued. A recording of an item can be made a character's read: kept, cleaned, converted to its stock voice. Every read -- a single post's and each piece of a thread read -- asks the same order (the read's own, the project's map, the cast, the narrator's, the default), and a cast voice of another engine is synthesized by it. `umtool cast ls|add|set|rm|undo|project|audition|use|reread`, `posts narrate … --recording`, and `umtool lint` warns when a cast character is read in another voice. - **umtool: Play the cut draws a text card as the render does, and a counter can count her words as she said them.** Play showed a teaser -- the Leaflit video's X posts quoted on text cards -- as a grey placeholder, so the card's words and the count stepping on it could not be checked without a render (operator, 6 Nov: "play the cut needs to handle x posts"). Play now lays each card's own page, composed by the build's own code (`POST /api/report/chrome/teasers`), full frame and seeked on the cut clock, the deck over a card that counts. And the counter takes up to 12 series (8 before): past 8 its cells narrow into one row so the title keeps its column, and `deck.counter.labels: "as-written"` sets each cell's words in their own case in up to two lines instead of capitals cut to their last words -- "moderate conservative" no longer reads CONSERVATIVE (operator: "make groups with the literal spoken label e.g. 'moderate', 'moderate conservative', 'close to MAGA'"). - **Rumble clips play the words their quotes say: one clock per recording.** On 6 Nov seven Rumble clips of the weight video played other words than their quotes, c43 13.1 seconds early (the "310" clip), and one stream was right at 10 minutes and 13.6 seconds off at 38. A Rumble channel's transcript is made from a separate audio download, and its clips were cut from another file; the two do not keep the same time, and not by a constant. The operator: "stop trying to grab rumble individual clips and instead grab whole streams and clip after." **Whole, never seeked:** umtool's fetch (the bench's fetch more, `umtool fetch`, a build's fetch) asks for a Rumble clip through Fetch windows, which saves the stream once and cuts the clip from it; nothing falls back to a seek, and a failed save says why. **The right video:** a report cites a Rumble video by its embed id while the archive keeps it under its page's id; every fetch, save and render now finds the video under either (6 Nov: every such fetch went to a folder that did not exist, and one got a Rumble 403). **The time map:** before a clip is cut from a saved Rumble stream, the stream's audio is matched against the audio the transcript was made from, every 5 minutes and around each clip, and the map (`clock.json` beside the video, with how well it fits) moves every cut onto the transcript's time; clips cut before the map, or by a seek, are cut again. A stretch where the two files part (a dropped piece of the stream) is narrowed to a few seconds, and a clip on it is said to be uncertain. **The check:** `umtool quote-check <project>` has the editor transcribe what each clip will actually play and finds the quote in it: `moved` (heard seconds away), `not-found`, or `ok`; `umtool window <p> <clip> --align` puts the cut on the words as heard, `umtool check` blocks on a moved or missing quote, a take refuses one unless a person rules it (`--quote-ruled`), and `umtool prep --status` counts them. Needs a restart of the editor (umtool's half works at once). diff --git a/editor/app/channels/[slug]/components/AccountActivityPanel.tsx b/editor/app/channels/[slug]/components/AccountActivityPanel.tsx @@ -49,15 +49,23 @@ export function AccountActivityPanel({ activity }: { activity: AccountActivity } const index = new Map(days.map((d, i) => [d.day, i])); const lastYear = activity.lastAt.slice(0, 4); const barW = n <= 120 ? 0.8 : 1; - // Month starts, at most ~12 labels. - const starts = days.flatMap((d, i) => (d.day.endsWith("-01") || i === 0 ? [i] : [])); + // Labels: about a week apart over two months or less, else month starts + // (at most ~12). One too near the right edge would run off it. + const starts = + n <= 62 + ? days.flatMap((_, i) => (i % Math.max(1, Math.ceil(n / 7)) === 0 ? [i] : [])) + : days.flatMap((d, i) => (d.day.endsWith("-01") || i === 0 ? [i] : [])); const step = Math.max(1, Math.ceil(starts.length / 12)); - // A label too near the right edge would run off it. const ticks = starts.filter((i, k) => k % step === 0 && (i === 0 || i / n < 0.92)); - const silenceDays = (s: { before: ActivityEnd; after: ActivityEnd }) => { - const a = index.get(s.before.createdAt.slice(0, 10)) ?? 0; - const b = index.get(s.after.createdAt.slice(0, 10)) ?? n - 1; - return { x: a, w: Math.max(1, b - a + 1) }; + const label = (i: number) => + n <= 62 || i === 0 ? dayText(days[i].day).replace(/ \d{4}$/, "") : MONTHS[Number(days[i].day.slice(5, 7)) - 1]; + // A silence's shading spans the gap itself, from the post before to the + // post after (in days from the strip's first midnight), not their whole days. + const origin = Date.parse(`${days[0].day}T00:00:00Z`); + const silenceSpan = (s: { before: ActivityEnd; after: ActivityEnd }) => { + const a = (Date.parse(s.before.createdAt) - origin) / 86_400_000; + const b = (Date.parse(s.after.createdAt) - origin) / 86_400_000; + return { x: a, w: Math.max(0.2, b - a) }; }; return ( <section aria-label="account activity" className="rounded-lg border border-border bg-card p-4 flex flex-col gap-3"> @@ -78,7 +86,7 @@ export function AccountActivityPanel({ activity }: { activity: AccountActivity } className="w-full h-14 block" > {silences.map((s) => { - const { x, w } = silenceDays(s); + const { x, w } = silenceSpan(s); return ( <rect key={`s-${s.before.id}`} x={x} y={0} width={w} height={H} className="fill-warning-soft" data-silence=""> <title>{`No archived post for ${spanHours(s.hours)}`}</title> @@ -108,7 +116,7 @@ export function AccountActivityPanel({ activity }: { activity: AccountActivity } className="absolute whitespace-nowrap" style={{ left: `${(i / n) * 100}%` }} > - {i === 0 ? dayText(days[i].day).replace(/ \d{4}$/, "") : MONTHS[Number(days[i].day.slice(5, 7)) - 1]} + {label(i)} </span> ))} </div>