Archilyzer · Source

archilyzer

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

commit fd363661bb1e65a5847422e46e79ea889be63f97
parent 1e6ec0ab2f81e07417a76bb6bfd4e2fc2025b907
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sun,  1 Nov 2026 01:34:54 -0400

umtool: move to walk note -- a correction on a clip whose facts are right moves to the walk note in one press

The Ember walk wrote "THIS IS GOLD" and "might want a bit of silence" as corrections on confirmed clips; the bench offers to move such a note (walkNote set, correction cleared, one write). e2e step and docs.

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

Diffstat:
Mumtool/components/projects/ClipBench.tsx | 22++++++++++++++++++++++
Mumtool/docs/clip-bench.md | 4+++-
Mumtool/e2e/cut-integrity.spec.ts | 9+++++++++
Mumtool/e2e/fixtures/cut-integrity-fixture.mjs | 5+++--
4 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/umtool/components/projects/ClipBench.tsx b/umtool/components/projects/ClipBench.tsx @@ -4287,6 +4287,28 @@ export default function ClipBench({ data }: { data: ClipBenchData }) { return ( <label key={k} className="block" title={why}> <span className="font-mono text-[11px] text-[var(--color-text)]">{label}</span> + {/* A "correction" on a clip whose facts are right is an editorial note + written in the only box there was (the Ember walk: "THIS IS GOLD"): + one press moves it to the walk note, where it belongs. */} + {k === "correction" && + (clip.correction ?? "").trim() && + (clip.verdict === "confirmed" || clip.verdict === "rejected") && + !(clip.walkNote ?? "").trim() && + !changed && ( + <button + type="button" + data-move-to-walk-note="" + disabled={!!busy} + onClick={(e) => { + e.preventDefault(); + void save({ walkNote: clip.correction ?? "", correction: "" }); + }} + className="ml-2 text-[11px] text-signal-text underline" + title="it is an editorial note, not a fact error: moves it to the walk note and clears the correction" + > + move to walk note + </button> + )} {changed && ( <span className="ml-2 text-[11px] text-[var(--color-dirty)]"> unsaved — was {attribValue(clip, k) || "(empty)"} diff --git a/umtool/docs/clip-bench.md b/umtool/docs/clip-bench.md @@ -356,7 +356,9 @@ prints them as a trailer's `--beats-json`. The **walk note** field (beside `corr editorial note — *this is gold*, *wants a beat of silence*, *move it to sex appeal* — as `walkNote`. Neither touches the verdict, and neither is a `correction`: that field says the REPORT got a fact wrong and is read by the next report pass. From a terminal: `umtool window <p> <clip> --star` -(`--no-star`), `--walk-note "…"` (`''` clears). A clip that re-plays another on purpose shows +(`--no-star`), `--walk-note "…"` (`''` clears). A `correction` on a clip already confirmed (or rejected for a cut reason) is +usually such a note written in the only box there was: **move to walk note** beside it moves it in one +write (`umtool window <p> <clip> --walk-note "…" --correction ''`). A clip that re-plays another on purpose shows **repeats `<clip>`** in the header (`repeatOf`). A window you save that leaves the clip's `cite` (the clock) — or its citeUrl's `t=` — more than 5 s diff --git a/umtool/e2e/cut-integrity.spec.ts b/umtool/e2e/cut-integrity.spec.ts @@ -120,6 +120,15 @@ test("#3 It's deliberate: repeatOf through the writer, the row gone, the chip on await shot(page, "3-repeat-of-chip-cut-tab"); await page.goto(urls.clipBenchHref(PROJECT, "c02")); await expect(page.locator('[data-bench-repeat-of="c01"]')).toHaveText("repeats c01"); + // #7: an editorial note written as a correction on a confirmed clip moves to the walk note in one press. + await expect(async () => { + await page.locator("[data-move-to-walk-note]").click({ timeout: 2000 }); + await expect(page.locator("[data-move-to-walk-note]")).toHaveCount(0, { timeout: 2000 }); + }).toPass({ timeout: 15_000 }); + await expect.poll(() => entry("c02")?.walkNote).toBe("might want a bit of silence"); + expect(entry("c02")?.correction).toBeUndefined(); + expect(entry("c02")?.verdict).toBe("confirmed"); + await expect(page.locator('[data-attrib-field="walkNote"]')).toHaveValue("might want a bit of silence"); }); test("#5 Move to 0:06: the clock and the QR back on the clip, and the row gone", async ({ page }) => { diff --git a/umtool/e2e/fixtures/cut-integrity-fixture.mjs b/umtool/e2e/fixtures/cut-integrity-fixture.mjs @@ -5,7 +5,7 @@ // video.manifest.json four clips of vid1 (the fixture corpus's cues): // c01 1.0-5.0 cite 1 -- overlaps c02 (not next to it): window-overlap // c03 6.8-8.6 cite 0.5, citeUrl t=0 -- the clock and the QR 6 s early: clip-cite-off -// c02 3.0-6.0 cite 3 +// c02 3.0-6.0 cite 3, confirmed, an editorial note in `correction` // c04 vid2 2.0-4.0 cite 2, citeUrl naming a record the site does not have // draft-1.patch.json deck markers after c04 and after `gone` (a clip // nobody has): patch-markers-stale; removing c04 @@ -34,7 +34,8 @@ export function cutIntegrityManifest(manifest, site) { const doc = manifest(CUT_INTEGRITY, "The Cut Integrity Fixture", { siteOrigin: site }, [ clip("c01", 1.0, 5.0, { cite: 1, quote: "This is a complete sentence." }), clip("c03", 6.8, 8.6, { cite: 0.5, citeUrl: link("vid1", 0), quote: "of that it finishes here." }), - clip("c02", 3.0, 6.0, { cite: 3, quote: "And this one runs on" }), + // Confirmed, with an editorial note in `correction` (the box there was): "move to walk note". + clip("c02", 3.0, 6.0, { cite: 3, quote: "And this one runs on", verdict: "confirmed", correction: "might want a bit of silence" }), clip("c04", 2.0, 4.0, { video: "vid2", cite: 2, citeUrl: link("nope", 2), quote: "a record the site does not have" }), ]); doc.render.fetchPad = 0;