commit 16ff0e3dd132c264eb2ae1500d3188ef8b2aec1e
parent fd363661bb1e65a5847422e46e79ea889be63f97
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 1 Nov 2026 01:10:15 -0500
umtool e2e: the cut-integrity fixture keeps a public siteOrigin (a private one is a blocking row projects.spec counts); every clip carries its own citeUrl on the spec's site
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/umtool/e2e/fixtures/cut-integrity-fixture.mjs b/umtool/e2e/fixtures/cut-integrity-fixture.mjs
@@ -13,7 +13,8 @@
// out/clips-raw/ vid1 0.00-9.00, which holds every clip
//
// The site the QRs link is the spec's own (a local HTTP server on a free
-// port): the spec writes its origin into the manifest before it opens a page.
+// port): every clip's citeUrl names it, and the spec writes its origin into
+// them before it opens a page. provenance.siteOrigin stays public-looking.
//
// Synthetic, like every fixture.
import { copyFileSync, mkdirSync, writeFileSync } from "node:fs";
@@ -31,11 +32,14 @@ const write = (dir, name, doc) => {
export function cutIntegrityManifest(manifest, site) {
const link = (id, t) => `${site}/?v=${encodeURIComponent(`testchan/${id}`)}&t=${t}`;
const clip = (id, start, end, extra = {}) => ({ type: "clip", id, video: "vid1", start, end, lock: true, section: 0, ...extra });
- 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." }),
+ // The origin is a public-looking one (a private origin is a blocking
+ // manifest-invalid row that projects.spec counts); every clip carries its
+ // own citeUrl on `site`, so the link check walks the spec's server.
+ const doc = manifest(CUT_INTEGRITY, "The Cut Integrity Fixture", { siteOrigin: "https://archive.example" }, [
+ clip("c01", 1.0, 5.0, { cite: 1, citeUrl: link("vid1", 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." }),
// 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("c02", 3.0, 6.0, { cite: 3, citeUrl: link("vid1", 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;