commit b5653768e6d6f6ae092f6eb2c723e927a0fdee45
parent d4c646a573024e1a06ef3d5caba774d4c91f16f3
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 13 Oct 2026 14:46:45 -0400
umtool e2e: the stub's video revision carries a siteOrigin (/browse scans gen-projects too)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/umtool/e2e/fixtures/editor-stub.mjs b/umtool/e2e/fixtures/editor-stub.mjs
@@ -203,7 +203,9 @@ function finishDraft(job) {
} else if (it.kind === "revise-video") {
const proj = path.join(GEN_PROJECTS, article, `i${n}`);
mkdirSync(proj, { recursive: true });
- writeFileSync(path.join(proj, "video.manifest.json"), JSON.stringify({ title: "The cut", timeline: [{ type: "card", id: "t0", heading: "Revised heading" }] }, null, 2));
+ // /browse scans the whole fixture root, gen-projects included: a manifest with no siteOrigin
+ // here would be one more BLOCKING defect in projects.spec's count.
+ writeFileSync(path.join(proj, "video.manifest.json"), JSON.stringify({ title: "The cut", provenance: { siteOrigin: "https://archive.example" }, timeline: [{ type: "card", id: "t0", heading: "Revised heading" }] }, null, 2));
patch.projectDir = proj;
patch.ops = { applied: [{ index: 0, op: { op: "heading", card: "t0", heading: "Revised heading" } }], refused: [] };
}