Skip to content

Releases

legends-youtube v0.3.0

Choose a tag to compare

@avalonreset avalonreset released this 02 Dec 15:47

Highlights

  • YouTube Data API v3 2026 Policy & Readback Hardening:
    • Retries stale YouTube Data API v3 readbacks with bounded exponential backoff in metadata-apply while failing closed immediately on privacyStatus drift.
    • Added videos:batchGetStats support (YouTubeClient.batch_get_video_stats, CLI batch-stats, and dedicated 10,000/day granular quota bucket in quota.py).
    • Raised MAX_THUMBNAIL_BYTES from 2 MB to 50 MB (2026-09-14 thumbnails.set revision) and added 9:16 Shorts thumbnail support (720x1280+) in thumbnail-check.
    • Added explicit paidProductPlacementDetails (hasPaidProductPlacement: False default, opt-in --paid-product-placement on draft-freeze) to videos.insert payloads (2026-11-16 API policy) while locking privacyStatus="private".
    • Surfaced the 2026-11-16 TV co-views metric boundary note across analytics-audit, packaging-audit, batch-stats, and docs/AGENT-RECIPE.md.
  • yt-dlp Security Floor & Word-Ledger Handoff:
    • Tightened dependency to yt-dlp[default]>=2026.10.26 (MIN_SAFE_YTDLP_VERSION = (2026, 10, 26)) and added advisory yt_dlp_ejs reporting in legends-yt-dlp doctor.
    • Added *.words.jsonl word-ledger ingestion to load_transcript_segments so legends-yt-dlp word ledgers feed directly into transcript-package and retention-xray.
    • Added explicit --dotenv + --token-file OAuth client pairing and heatmap float redaction fixes.
  • Router & Ecosystem Parity:
    • Added machine-readable routes.json covering both legends-youtube and legends-yt-dlp commands with quota and cost metadata.
    • Synced vendored cto-legends router skill pin (ff90a8bd2348).

Verification

  • Verified offline suite (135 tests PASS), scripts/check_release.py (0 issues), and live read-only YouTube Data API v3 batchGetStats + heatmap + OAuth token checks.
  • Standardized release assets (legends-youtube-0.3.0-bundle.tar.gz, Python wheel, source distribution, and SHA256SUMS.txt).

legends-youtube v0.2.1

Choose a tag to compare

@avalonreset avalonreset released this 22 Nov 17:20

legends-youtube v0.2.1 (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.2.0

Choose a tag to compare

@avalonreset avalonreset released this 21 Nov 23:37

Unified \legends-youtube\ (\�0.2.0) combining the YouTube Data API v3, Analytics API v2, 2-unit channel inventory, 0-quota outlier radar, Perfect Video Score idea radar, lossless \If-Match\ ETag snippet merge, SHA-256 private-only draft uploads, and 18-file Empire knowledge pack (\legends-youtube) with the read-only \items.jsonl\ probe, anonymous SHA-256 \yt-dlp.conf\ capture guard, \ fprobe\ stream verification, and local GPU Parakeet word-ledger FFmpeg clip engine (\legends-yt-dlp).

v0.1.6

Choose a tag to compare

@avalonreset avalonreset released this 21 Nov 21:36

Release v0.1.6: outlined Legends Font r1 SVG cards, evergreen README with collapsible reference drawers, and SVG asset packaging.

legends-yt-dlp v0.1.5

Choose a tag to compare

@avalonreset avalonreset released this 11 Nov 03:15

legends-yt-dlp v0.1.5

Config and URL injection hardening, HTTPS-only yt-dlp binary verification, wheel-safe runtime paths, and media/clip safety guards for legends-yt-dlp.

What Changed

  • Hardened batch.py and inventory.py against config and URL option injection: rejected control characters and newlines in validate_url() and quote_config_value(), validated --max-filesize (^\d+(?:\.\d+)?[KMGTPkmgtp]?[Bb]?$), tokenized config files via shlex.split(raw_line, comments=True, posix=True) against a strict ALLOWED_CONFIG_OPTIONS allowlist, recorded and verified config_sha256 in manifest.json during preflight_batch() and run_batch(), and validated source_url before -- in run_ytdlp_inventory().
  • Hardened tools.py with validate_github_https_url() (HTTPS-only allowlist for GitHub release hosts), SafeGitHubRedirectHandler, ProxyHandler({}), TLS 1.2+ ssl.SSLContext, bounded downloads (1 MiB metadata/checksums, 64 MiB binary), mandatory SHA2-256SUMS verification, symlink refusal, and cross-platform asset selection (yt-dlp.exe, yt-dlp_macos, yt-dlp_linux).
  • Made paths.py and envfile.py wheel-safe (LEGENDS_YTDLP_WORKSPACE, LEGENDS_YTDLP_HOME, os.environ["MULLVAD_ACCOUNT_NUMBER"] -> LEGENDS_YTDLP_ENV_FILE -> Path.cwd() / ".env" -> PROJECT_ROOT / ".env"), added ancestor-chain symlink refusal (assert_not_symlink) and size caps (64 KiB .env, 25 MiB text/JSON/JSONL), and added GitHub URL fallback in _doc_reference().
  • Enforced output path containment (is_relative_to), concat list escaping, and fail-closed --overwrite (-n default, -y with --overwrite) in render_clip_plan(), explicit -i and validate_local_media_file() in verify.py and extract_audio(), 16-digit account validation and TimeoutExpired redaction in mullvad.py / process.py, and Hydra override validation in run_nfa_alignment().
  • Added --version to the CLI, MANIFEST.in, 1:1 docs/AGENT-RECIPE.md parity, and Gold-Standard scripts/check_release.py checks.

legends-yt-dlp v0.1.4

Choose a tag to compare

@avalonreset avalonreset released this 05 Nov 19:27

legends-yt-dlp v0.1.4

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

What Changed

  • Removed .ps1 wrapper and packaging scripts (scripts/legends-yt-dlp.ps1, scripts/package-alpha.ps1, tools/vault-health-check.ps1) and duplicate assets/legends-yt-dlp-banner.webp.
  • Added AGENTS.md, docs/AGENT-RECIPE.md, THIRD_PARTY_NOTICES.md, assets/manifest.json, and scripts/check_release.py, and stripped non-essential metadata chunks from assets/.
  • Updated legends-yt-dlp doctor to support --offline, --require-tools, --json, and --text with JSON output by default.
  • Bumped package and release metadata to 0.1.4.

v0.1.3

Choose a tag to compare

@avalonreset avalonreset released this 04 Nov 17:57

Summary

  • Standard Package Dependency & Venv Resolution (pyproject.toml, src/legends_ytdlp/tools.py): Add yt-dlp>=2026.10.01 as a standard package dependency and update find_ytdlp() to prefer the active Python environment / PATH yt-dlp executable before falling back to .local\bin\yt-dlp.exe.
  • Fail-Closed Checksum Verification (src/legends_ytdlp/tools.py): Require a non-empty SHA-256 entry in SHA2-256SUMS and verify the digest against a staging .download file before writing yt-dlp.exe.
  • Endpoint Security (EDR) Hygiene (src/legends_ytdlp/onboarding.py, docs/): Replace powershell -ExecutionPolicy Bypass -File scripts\legends-yt-dlp.ps1 across onboarding prompts and operator documentation with the direct legends-yt-dlp entrypoint.
  • CI & Cross-Platform Fixes (.github/workflows/ci.yml, tests/test_batch.py): Resolve Windows 8.3 short-path test comparisons and add the legends-ytdlp console script alias.

legends-yt-dlp v0.1.2

Choose a tag to compare

@avalonreset avalonreset released this 29 Oct 21:09

legends-yt-dlp v0.1.2

  • 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-yt-dlp v0.1.1

Choose a tag to compare

@avalonreset avalonreset released this 29 Sep 00:50

Fixes ordinary downloads incorrectly requiring Mullvad installation and a local account file. Default doctor, preflight and run do not inspect or operate a VPN. Explicit VPN mode retains its connection and posture checks.

Conversational operator guidance makes VPN optional at every batch size. Agents handle flags and use the user's explicit batch request as bulk acknowledgement.

Validation: 86 tests pass, Python compile checks pass, vault health check passes. Includes source package and SHA256 checksum; no binaries, media, cookies, or local runtime state.

legends-yt-dlp v0.1.0

Choose a tag to compare

@avalonreset avalonreset released this 25 Sep 17:03

Router-native reset generation.

  • One skill: cto-legends, vendored pinned copy at skills/cto-legends/SKILL.md, byte-exact vs router commit 6975dcbf073e5eec7a30ce6a04a6975238c61158.
  • De-skillified: per-module skill dir, root CODEX.md shim, and skill agent metadata removed. Operator recipe lives in docs/OPERATOR-ROUTING.md plus command, batch, Mullvad, and safety references under docs/ (no skill frontmatter).
  • Authoritative version: pyproject.toml reads 0.1.0.
  • Old releases (v0.1.0 pre-release through v0.3.1) and tags wiped; commit history preserved.