Repository navigation
Releases
Releases · avalonreset/legends-captions
legends-captions v0.2.0
legends-captions v0.2.0 (2026-12-03)
Native *.words.jsonl Handoff & FFmpeg libass Doctor
- Added native line-delimited
*.words.jsonlledger ingestion (render-ass --inputandnormalize --input) for zero-friction handoffs fromlegends-youtubeCrispASR Parakeet and NeMo Forced Aligner word ledgers, preserving bounded size limits, strict UTF-8 validation, line-numbered diagnostics, and deterministic word timing extraction. - Upgraded
legends-captions doctorto probeffmpegandffprobepaths and parsed versions, emit non-blocking advisories for older FFmpeg builds (< 6.0or pre-2024 snapshots), and verifylibassassandsubtitlesfilter availability directly via argv with bounded timeouts. - Added machine-readable
routes.json(legends.routes/v1) and expandeddocs/AGENT-RECIPE.mdandREADME.mdwith cross-module*.words.jsonlhandoff and FFmpeglibassguidance.
Cross-Platform Security & Determinism Hardening
- Hardened external binary lookup (
_resolve_external_binary) to block Windows CWD hijacking and.cmd/.bat/.vbs/.ps1script shims while resolving legitimate package-manager symlinks and directory junctions across Homebrew, WinGet, Scoop, Nix, Linux usr-merge, andWindowsApps. - Hardened path traversal checks against symlinks and Windows NTFS junctions across Python 3.11-3.13, added atomic exclusive file writes (
O_EXCL), collision-checked--output/--manifest-output(case-insensitive + hardlink), and strict UTF-8 stdio reconfiguration on Windows. - Added deterministic linear-time pre-parse
MAX_JSON_DEPTH = 64guard (O(N)worst case),OverflowErrorguards, and lone UTF-16 surrogate rejection across all JSON/JSONL loaders.
Verification
- Hermetic test suite:
46/46passed across Ubuntu and Windows on Python 3.11 and 3.13 (testsrun47271414850) plus Python 3.12 locally. - Attached deterministic
legends-captions-0.2.0-bundle.tar.gz,legends_captions-0.2.0-py3-none-any.whl,legends_captions-0.2.0.tar.gz, andSHA256SUMS.txt.
legends-captions v0.1.7
legends-captions v0.1.7
Highlights
- Ship canonical
cto-legends.comhomepage/documentation URLs, update unifiedlegends-youtubehandoff link, sync vendoredcto-legendsrouter skill pin (ff90a8bd2348), and standardize release artifact checksums.
Install or Upgrade via cto-legends
cto-legends update legends-captions --apply
cto-legends doctor legends-captionsAll release artifacts are verified in SHA256SUMS.txt.
legends-captions v0.1.6
legends-captions v0.1.6 (2026-11-22)
- Sync vendored
cto-legendsrouter skill pin (69ddc4f68faa) with LF normalization via.gitattributes. - Attach verified release package artifacts and
SHA256SUMS.txt.
v0.1.5
v0.1.5 (2026-11-21)
- Add
scripts/render_cards.pyand the 7 outlined Legends Fontr1SVG architecture, plain-english workflow, comparison, agent handoff, message desk, and collection star shrine cards underassets/cards/r1/. - Upgrade
README.mdto the evergreen CTO Legends architecture and reference drawer standard with collapsible<details>reference sections and zero hardcoded version drift. - Remove duplicate
assets/collection-star-shrine.svgand includeassets/cards/r1/*.svgandscripts/render_cards.pyinMANIFEST.inandscripts/check_release.py.
legends-captions v0.1.4
legends-captions v0.1.4
FFmpeg filtergraph injection hardening, wheel-safe path resolution, symlink and file-size bounds, and sdist completeness for legends-captions.
What Changed
- Added
escape_ffmpeg_ass_filter(),format_ffmpeg_ass_filtergraph(), and thelegends-captions ffmpeg-filter --ass <path>CLI subcommand to safely escape Windows drive colons, backslashes, brackets, commas, semicolons, and single quotes ('\\'') inside FFmpeglibavfilterass=filename='...'expressions while rejecting control characters and leading-option flags. - Hardened
escape_ass()to normalize\r\nand\r, strip ASCII control characters, and escape\,{, and}before style wrapping, and validated ASS style names, font names, canvas dimensions, and finite non-negative timestamps (math.isfinite,parse_constantrejection ofNaN/Infinity). - Made
PROJECT_ROOTwheel-safe so installed wheel runs resolve relative outputs against the active working directory rather than<venv>/Lib, added ancestor-chainis_symlink()refusal and size caps (1 MiBconfig,25 MiBinput), and enforced fail-closed--overwritesemantics onrender-ass. - Added
MANIFEST.inso source distributions include all governance, recipe, router skill, and test files, removed private session UUID fallbacks fromscripts/stage_*.py, and upgradedscripts/check_release.py.
legends-captions v0.1.3
legends-captions v0.1.3
Gold-standard release hygiene, EDR safety, and agent router alignment for legends-captions.
What Changed
- Removed
LEGENDS.mdand addedAGENTS.md,docs/AGENT-RECIPE.md,THIRD_PARTY_NOTICES.md,assets/manifest.json, andscripts/check_release.py. - Stripped non-essential metadata chunks from
assets/images and sanitizedassets/banner.json. - Updated
legends-captions doctorto emit JSON by default (--json/--text) and accept--offline. - Bumped package and release metadata to
0.1.3.
legends-captions v0.1.2
v0.1.2 - Deterministic ASS Rendering CLI & Direct Python Execution
- Add
legends-captions render-assCLI subcommand to build deterministic active-word or line.asssubtitle documents and correction manifests directly from inline text or timed JSON word/segment inputs. - Standardize test execution and transcript search documentation across
README.md,CONTRIBUTING.md,docs/install/agent-install-guide.md, and.raw/sources/on direct cross-platform Python CLI invocations without legacy PowerShell test wrapper scripts. - Add end-to-end CLI smoke tests for
render-assinline and JSON-input workflows.
legends-captions v0.1.1
legends-captions v0.1.1
- Raise minimum supported Python runtime to Python 3.11+ (
requires-python = ">=3.11"). - Harden GitHub Actions CI workflows with 40-character commit SHA action pins, explicit
contents: readpermissions, andpip>=26.2.2before package installation.
legends-captions v0.1.0
Router-native reset generation.
- cto-legends is the only registered skill; this release vendors a pinned copy at skills/cto-legends/SKILL.md from router commit 6975dcbf073e5eec7a30ce6a04a6975238c61158.
- Removed the per-module skill surface (skills/legends-captions, .claude/skills mirror, CLAUDE.md, CODEX.md, GEMINI.md, gemini-extension.json).
- Contract shape: .legends-module, README agent block, contract CI, version 0.1.0 with CHANGELOG head entry.
- Prior releases and tags wiped per the reset; git history preserved.