| Files | Last commit | Last update |
|---|---|---|
fix: the remaining findings of the render.py, batch.py and sequence.py audit (#458, 25 items) (#508) * fix: the remaining findings of the render.py, batch.py and sequence.py audit (#458) Cache keys: file_key() reads mtime in nanoseconds (A277); a project recipe's key covers every file the project names (A80) and is computed on every --watch pass (A81); the inline chapters file is keyed by its content, so the chapters stage can hit (A100). Work directory: the default one is mkdtemp(), not the PID alone (A77); an explicit --work replaces render's own unchanged stage files, recorded in .ffskill-render-stages.json (A98); a dry run writes nothing there and removes a --work it created (A99). Output names: batch names a .webm source's output .mp4 (A83); render without an export stage refuses an output named for another container than the file it copies (A84); sequence.py --dir . names its output after the folder (A108). Caller text: inline chapter titles with LF, CR or NUL are refused (A260, metadata.py refuses NUL too); EDL names lose line breaks and control characters, FCPXML the characters XML cannot hold (A261); the pack table escapes '|' and report.py --pack reads it back (A263); parse_json() refuses a lone surrogate (A264). EDL: more than 999 events or a record past 24 h is refused (A265); source timecode wraps at midnight (A266). Also: --stop-after export stops (A87); an executed plan reports an absolute output (A96); batch's glob matches without regard to case and an empty glob is a note (A82); --export-timeline probes each file once (A267); --list-templates/--init print JSON under --json (A102); the audiogram template takes $BRAND and $TITLE (A90); the reference and examples/brand.json say what the code does (A86, A103, A107). Tests: Issue458Tests in tests/test_orchestration.py; its unittest.main() guard moved to the end of the file, so the classes after it run when the module is run directly. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: review findings on the render/batch audit fixes - a cache hit no longer replaces a file in --work that is not this render's own - --list-templates --json gives all four safe-zone edges - caseless_glob closes a class whose first member is a bracket - a project of the wrong shape does not raise from the batch cache key Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: caseless_glob reads an unclosed negated class as literal text Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 5 days ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago | |
feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) (#224) * feat: delivery templates (render.py --template, safe zones, platform presets, blurred fit, social pack, sticker/hook/meme) scripts/_platforms.py holds one table per destination (frame, fps, spec, safe zone, caption defaults, preset, check) that check.py and export.py now derive from; the pre-existing platform values are unchanged. render.py --template tiktok|reels|shorts|youtube-shorts|youtube|x|linkedin| facebook|podcast|all renders a delivery-ready file from placeholders ($INPUT $CUES $SRT $LOGO $TITLE $BRAND $CHAPTERS); --template all is the social pack with a per-platform table and HTML report (report.py --pack). export.py gains tiktok/shorts/linkedin/facebook/youtube-hdr/youtube-av1 presets; check.py --platform facebook; caption.py/graphics.py --platform put text inside the platform's safe zone; look.py --safe draws the zone; fit.py --fit blur fills 16:9 into 9:16 with a blurred copy instead of bars; graphics.py sticker|hook|meme templates. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * fix: audit-12 pass on delivery templates (project graphics keys, logo safe zone, pack dry-run, presets from the platform table, aliases) + demos Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs * test: alias test reads check.py's platform from its JSON regardless of the compliance verdict On the ffmpeg 7.1 runner a 3 s speed-changed crop misses the shorts fps row, and the test asserted exit 0 where it only needed the resolved platform name. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013tPrsGXLuaGU7t643QNUZs --------- Co-authored-by: Claude <noreply@anthropic.com> | 2 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 5 days ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago | ||
| 2 months ago |