Skip to content

Releases

legends-captions v0.2.0

Choose a tag to compare

@avalonreset avalonreset released this 04 Dec 05:12

legends-captions v0.2.0 (2026-12-03)

Native *.words.jsonl Handoff & FFmpeg libass Doctor

  • Added native line-delimited *.words.jsonl ledger ingestion (render-ass --input and normalize --input) for zero-friction handoffs from legends-youtube CrispASR 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 doctor to probe ffmpeg and ffprobe paths and parsed versions, emit non-blocking advisories for older FFmpeg builds (< 6.0 or pre-2024 snapshots), and verify libass ass and subtitles filter availability directly via argv with bounded timeouts.
  • Added machine-readable routes.json (legends.routes/v1) and expanded docs/AGENT-RECIPE.md and README.md with cross-module *.words.jsonl handoff and FFmpeg libass guidance.

Cross-Platform Security & Determinism Hardening

  • Hardened external binary lookup (_resolve_external_binary) to block Windows CWD hijacking and .cmd/.bat/.vbs/.ps1 script shims while resolving legitimate package-manager symlinks and directory junctions across Homebrew, WinGet, Scoop, Nix, Linux usr-merge, and WindowsApps.
  • 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 = 64 guard (O(N) worst case), OverflowError guards, and lone UTF-16 surrogate rejection across all JSON/JSONL loaders.

Verification

  • Hermetic test suite: 46/46 passed across Ubuntu and Windows on Python 3.11 and 3.13 (tests run 47271414850) 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, and SHA256SUMS.txt.

legends-captions v0.1.7

Choose a tag to compare

@avalonreset avalonreset released this 02 Dec 19:10

legends-captions v0.1.7

Highlights

  • Ship canonical cto-legends.com homepage/documentation URLs, update unified legends-youtube handoff link, sync vendored cto-legends router skill pin (ff90a8bd2348), and standardize release artifact checksums.

Install or Upgrade via cto-legends

cto-legends update legends-captions --apply
cto-legends doctor legends-captions

All release artifacts are verified in SHA256SUMS.txt.

legends-captions v0.1.6

Choose a tag to compare

@avalonreset avalonreset released this 22 Nov 17:19

legends-captions v0.1.6 (2026-11-22)

  • Sync vendored cto-legends router skill pin (69ddc4f68faa) with LF normalization via .gitattributes.
  • Attach verified release package artifacts and SHA256SUMS.txt.

v0.1.5

Choose a tag to compare

@avalonreset avalonreset released this 21 Nov 21:37

v0.1.5 (2026-11-21)

  • Add scripts/render_cards.py and the 7 outlined Legends Font r1 SVG architecture, plain-english workflow, comparison, agent handoff, message desk, and collection star shrine cards under assets/cards/r1/.
  • Upgrade README.md to 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.svg and include assets/cards/r1/*.svg and scripts/render_cards.py in MANIFEST.in and scripts/check_release.py.

legends-captions v0.1.4

Choose a tag to compare

@avalonreset avalonreset released this 11 Nov 03:15

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 the legends-captions ffmpeg-filter --ass <path> CLI subcommand to safely escape Windows drive colons, backslashes, brackets, commas, semicolons, and single quotes ('\\'') inside FFmpeg libavfilter ass=filename='...' expressions while rejecting control characters and leading - option flags.
  • Hardened escape_ass() to normalize \r\n and \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_constant rejection of NaN/Infinity).
  • Made PROJECT_ROOT wheel-safe so installed wheel runs resolve relative outputs against the active working directory rather than <venv>/Lib, added ancestor-chain is_symlink() refusal and size caps (1 MiB config, 25 MiB input), and enforced fail-closed --overwrite semantics on render-ass.
  • Added MANIFEST.in so source distributions include all governance, recipe, router skill, and test files, removed private session UUID fallbacks from scripts/stage_*.py, and upgraded scripts/check_release.py.

legends-captions v0.1.3

Choose a tag to compare

@avalonreset avalonreset released this 05 Nov 19:27

legends-captions v0.1.3

Gold-standard release hygiene, EDR safety, and agent router alignment for legends-captions.

What Changed

  • Removed LEGENDS.md and added AGENTS.md, docs/AGENT-RECIPE.md, THIRD_PARTY_NOTICES.md, assets/manifest.json, and scripts/check_release.py.
  • Stripped non-essential metadata chunks from assets/ images and sanitized assets/banner.json.
  • Updated legends-captions doctor to emit JSON by default (--json / --text) and accept --offline.
  • Bumped package and release metadata to 0.1.3.

legends-captions v0.1.2

Choose a tag to compare

@avalonreset avalonreset released this 04 Nov 21:54

v0.1.2 - Deterministic ASS Rendering CLI & Direct Python Execution

  • Add legends-captions render-ass CLI subcommand to build deterministic active-word or line .ass subtitle 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-ass inline and JSON-input workflows.

legends-captions v0.1.1

Choose a tag to compare

@avalonreset avalonreset released this 29 Oct 21:06

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: read permissions, and pip>=26.2.2 before package installation.

legends-captions v0.1.0

Choose a tag to compare

@avalonreset avalonreset released this 25 Sep 16:57

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.