commit 2e2b9e4faa0e51abc6d48cf2f761d22d559e7588
parent 24086be30f6d62950b4960d57915b480adc66b5a
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 3 Nov 2026 14:57:56 -0500
umtool: a build reads the redaction only for a cut that plays post items -- a broken corpus redactions.json fails a posts cut, not every build
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/umtool/report-to-video/build-video.mjs b/umtool/report-to-video/build-video.mjs
@@ -6150,7 +6150,8 @@ export async function buildVideo({ manifestPath, opts = {}, out, only, fetchOnly
rawDir: dirs.rawDir, channelsDir, channelSlug: provenance?.channelSlug ?? null, probe: opts.probe,
});
FX_CHANNELS_DIR = channelsDir;
- POST_REDACTION = await readPostRedaction(channelsDir, manifest);
+ // Read only for a cut that plays post items: a cut without them publishes nothing it could blank.
+ POST_REDACTION = (manifest.timeline ?? []).some((e) => e?.type === "post") ? await readPostRedaction(channelsDir, manifest) : null;
// Speaker captions read the project's reactions.json and words beside the
// manifest (readLookSources); a short is framed by its clip's crop.
if (captionsOn(render)) dirs.look = await readLookSources(manifestDir);