Archilyzer · Source

archilyzer

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

commit e667c9a2acde25805a1bc8ff9f8840b0f24807c9
parent 6e94189e853a02a59804e88c77320dd485cb6d4c
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon, 19 Oct 2026 00:41:58 -0400

umtool: seedsFor's reactions key and the --target refusal keep the frames test's words (release 35 C1, slice 3)

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

Diffstat:
Mumtool/lib/projects/scaffold.mjs | 2+-
Mumtool/lib/scaffold-frames.test.mjs | 10+++++-----
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/umtool/lib/projects/scaffold.mjs b/umtool/lib/projects/scaffold.mjs @@ -288,7 +288,7 @@ export async function scaffoldReportVideo({ root, slug, title, from = null, site } const capped = max !== null && max !== undefined; if (timeline && (seed || src)) throw new Error("a board's timeline is the whole timeline: give it without --from or --seed"); - if (target !== undefined && seed !== "frames" && seed !== "reactions") throw new Error("--target is a seed's length budget: give it with --seed frames or --seed reactions"); + if (target !== undefined && seed !== "frames" && seed !== "reactions") throw new Error("--target is the frames seed's length budget (or the reactions seed's): give it with --seed frames or --seed reactions"); const [tLo, tHi] = seed === "reactions" ? PARAM_BOUNDS.target : [10, 3600]; if (target !== undefined && !(Number.isFinite(target) && target >= tLo && target <= tHi)) { throw new Error(`--target must be a number of seconds from ${tLo} to ${tHi}`); diff --git a/umtool/lib/scaffold-frames.test.mjs b/umtool/lib/scaffold-frames.test.mjs @@ -73,13 +73,13 @@ test("seedsFor (release 32): what a video ref can be seeded from — its digest, const channelsDir = path.join(tmp, "channels"); const dir = path.join(channelsDir, "synth-poker", "data", "synthstream1"); await mkdir(dir, { recursive: true }); - assert.deepEqual(await seedsFor({ channelsDir, from: "synth-poker/synthstream1" }), { video: true, chapters: false, frames: false }); + assert.deepEqual(await seedsFor({ channelsDir, from: "synth-poker/synthstream1" }), { video: true, chapters: false, frames: false, reactions: false }); await writeFile(path.join(dir, "frame-scan.poker.json"), JSON.stringify(SCAN)); - assert.deepEqual(await seedsFor({ channelsDir, from: "synth-poker/synthstream1" }), { video: true, chapters: false, frames: true }); + assert.deepEqual(await seedsFor({ channelsDir, from: "synth-poker/synthstream1" }), { video: true, chapters: false, frames: true, reactions: false }); await writeFile(path.join(dir, "ai-digest.json"), "{}"); - assert.deepEqual(await seedsFor({ channelsDir, from: "https://archive.example/?v=synth-poker%2Fsynthstream1&t=5" }), { video: true, chapters: true, frames: true }); - assert.deepEqual(await seedsFor({ channelsDir, from: "notes.md" }), { video: false, chapters: false, frames: false }); - assert.deepEqual(await seedsFor({ channelsDir, from: null }), { video: false, chapters: false, frames: false }); + assert.deepEqual(await seedsFor({ channelsDir, from: "https://archive.example/?v=synth-poker%2Fsynthstream1&t=5" }), { video: true, chapters: true, frames: true, reactions: false }); + assert.deepEqual(await seedsFor({ channelsDir, from: "notes.md" }), { video: false, chapters: false, frames: false, reactions: false }); + assert.deepEqual(await seedsFor({ channelsDir, from: null }), { video: false, chapters: false, frames: false, reactions: false }); } finally { await rm(tmp, { recursive: true, force: true }); }