Archilyzer · Source

archilyzer

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

commit 75d07b9cabe7e1babcd8b025abf33b41b48b57f0
parent ff940e0e62715313d424ccb30f69047e64cc4d44
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Tue, 10 Nov 2026 09:50:57 -0500

umtool: X's jar is waited on 0.4 s, not 1.5 -- a late answer is the next read's (a busy editor slowed every home render) (redesign L4)

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

Diffstat:
Mumtool/docs/knobs.md | 2+-
Mumtool/lib/inbox/xJar.ts | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/umtool/docs/knobs.md b/umtool/docs/knobs.md @@ -393,7 +393,7 @@ were the rail's; the rail keeps navigation only (Pinned, which never had a store | a quote **not heard** (`clip-quote-missing`, Blocking) | the check's row says `not-found` | **Run quote-check** (after a refetch) | `umtool fetch <p> --refetch <clip> && umtool quote-check <p> --clips <clip>` | | **QR links that don't open** (`link-dead`, Blocking) on a Rumble folder id | the recorded check knows the fix: the archive serves the recording by its embed id | **Use embed ids (N)**: the clip's `siteVideo` (a `citeUrl` that was the dead link moves with it), one undo point, then the check again (POST `/api/report/links {fix: true}`, `linksCli.mjs` applyLinkFixes — only a clip still as the check saw it) | `umtool links <p> --fix` | | **new transcripts since the last scan** (`case-new-cues`, Review) | a research case with a pipeline, not done, whose candidate scan last finished at T, and recordings in its scope transcribed since T (the transcript index's per-video mtimes; with no index, the files) | **Scan again**: the case's pipeline page | `archilyzer case candidates <case>` | -| **X's cookies are stale and X work waits** (`x-jar-stale`, Blocking: a machine call beside a missing tool — on home and in the rail's count, no piece's, so not in `items[]`) | the editor's services (`GET /api/ops/services`, asked through umtool's editor client, a minute's memo, never waited on past 1.5 s) carry a stale X alert — the rule the editor's banner draws by | **Refresh X's cookies**: the editor's settings (Refresh cookies / Connect X account, then Recheck) — a human click; nothing here asks X | `pnpm ops get services` | +| **X's cookies are stale and X work waits** (`x-jar-stale`, Blocking: a machine call beside a missing tool — on home and in the rail's count, no piece's, so not in `items[]`) | the editor's services (`GET /api/ops/services`, asked through umtool's editor client, a minute's memo, never waited on past 0.4 s — a late answer is the next read's) carry a stale X alert — the rule the editor's banner draws by | **Refresh X's cookies**: the editor's settings (Refresh cookies / Connect X account, then Recheck) — a human click; nothing here asks X | `pnpm ops get services` | A card whose rows agree on one press shows it in place of its link (`mergeSettle`: a quote check over every clip the card lists; the same project-wide press; never two clip patches), its title still a link to where it is settled — the diff --git a/umtool/lib/inbox/xJar.ts b/umtool/lib/inbox/xJar.ts @@ -6,7 +6,7 @@ import { xJarDecision } from "./xJar.mjs"; // X's jar, for the Inbox (lib/inbox/xJar.mjs says when it is a call): the // editor's services route asked through umtool's editor client (askEditor, // its WORKER_TOKEN), answered from a minute's memo, and never waited on for -// more than WAIT_MS -- the Inbox and the rail's count read it, and an editor +// more than WAIT_MS (0.4 s) -- the Inbox and the rail's count read it, and an editor // that is slow or down must not slow them. Any failure is no row. SERVER ONLY. // --------------------------------------------------------------------------- @@ -15,7 +15,8 @@ const memoMs = () => { const v = Number(process.env.UMTOOL_XJAR_MEMO_MS); return Number.isFinite(v) && v >= 0 ? v : 60_000; }; -const WAIT_MS = 1500; +/** The editor's services answer from a stat: a late answer still lands in the memo for the next read. */ +const WAIT_MS = 400; type Memo = { at: number; value: Promise<Decision | null> } | null; const g = globalThis as typeof globalThis & { __umtoolXJarMemo?: Memo };