Repository navigation
Releases
legends-youtube v0.3.0
Highlights
- YouTube Data API v3 2026 Policy & Readback Hardening:
- Retries stale YouTube Data API v3 readbacks with bounded exponential backoff in
metadata-applywhile failing closed immediately onprivacyStatusdrift. - Added
videos:batchGetStatssupport (YouTubeClient.batch_get_video_stats, CLIbatch-stats, and dedicated 10,000/day granular quota bucket inquota.py). - Raised
MAX_THUMBNAIL_BYTESfrom 2 MB to 50 MB (2026-09-14thumbnails.setrevision) and added 9:16 Shorts thumbnail support (720x1280+) inthumbnail-check. - Added explicit
paidProductPlacementDetails(hasPaidProductPlacement: Falsedefault, opt-in--paid-product-placementondraft-freeze) tovideos.insertpayloads (2026-11-16 API policy) while lockingprivacyStatus="private". - Surfaced the 2026-11-16 TV co-views metric boundary note across
analytics-audit,packaging-audit,batch-stats, anddocs/AGENT-RECIPE.md.
- Retries stale YouTube Data API v3 readbacks with bounded exponential backoff in
yt-dlpSecurity Floor & Word-Ledger Handoff:- Tightened dependency to
yt-dlp[default]>=2026.10.26(MIN_SAFE_YTDLP_VERSION = (2026, 10, 26)) and added advisoryyt_dlp_ejsreporting inlegends-yt-dlp doctor. - Added
*.words.jsonlword-ledger ingestion toload_transcript_segmentssolegends-yt-dlpword ledgers feed directly intotranscript-packageandretention-xray. - Added explicit
--dotenv+--token-fileOAuth client pairing and heatmap float redaction fixes.
- Tightened dependency to
- Router & Ecosystem Parity:
- Added machine-readable
routes.jsoncovering bothlegends-youtubeandlegends-yt-dlpcommands with quota and cost metadata. - Synced vendored
cto-legendsrouter skill pin (ff90a8bd2348).
- Added machine-readable
Verification
- Verified offline suite (
135tests PASS),scripts/check_release.py(0issues), and live read-only YouTube Data API v3batchGetStats+ heatmap + OAuth token checks. - Standardized release assets (
legends-youtube-0.3.0-bundle.tar.gz, Python wheel, source distribution, andSHA256SUMS.txt).
legends-youtube v0.2.1
legends-youtube v0.2.1 (2026-11-22)
- Sync vendored
cto-legendsrouter skill pin (69ddc4f68faa) with LF normalization via.gitattributes. - Attach verified release package artifacts and
SHA256SUMS.txt.
v0.2.0
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
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
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.pyandinventory.pyagainst config and URL option injection: rejected control characters and newlines invalidate_url()andquote_config_value(), validated--max-filesize(^\d+(?:\.\d+)?[KMGTPkmgtp]?[Bb]?$), tokenized config files viashlex.split(raw_line, comments=True, posix=True)against a strictALLOWED_CONFIG_OPTIONSallowlist, recorded and verifiedconfig_sha256inmanifest.jsonduringpreflight_batch()andrun_batch(), and validatedsource_urlbefore--inrun_ytdlp_inventory(). - Hardened
tools.pywithvalidate_github_https_url()(HTTPS-only allowlist for GitHub release hosts),SafeGitHubRedirectHandler,ProxyHandler({}), TLS 1.2+ssl.SSLContext, bounded downloads (1 MiBmetadata/checksums,64 MiBbinary), mandatorySHA2-256SUMSverification, symlink refusal, and cross-platform asset selection (yt-dlp.exe,yt-dlp_macos,yt-dlp_linux). - Made
paths.pyandenvfile.pywheel-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 MiBtext/JSON/JSONL), and added GitHub URL fallback in_doc_reference(). - Enforced output path containment (
is_relative_to), concat list escaping, and fail-closed--overwrite(-ndefault,-ywith--overwrite) inrender_clip_plan(), explicit-iandvalidate_local_media_file()inverify.pyandextract_audio(), 16-digit account validation andTimeoutExpiredredaction inmullvad.py/process.py, and Hydra override validation inrun_nfa_alignment(). - Added
--versionto the CLI,MANIFEST.in, 1:1docs/AGENT-RECIPE.mdparity, and Gold-Standardscripts/check_release.pychecks.
legends-yt-dlp v0.1.4
legends-yt-dlp v0.1.4
Gold-standard release hygiene, EDR safety, and agent router alignment for legends-yt-dlp.
What Changed
- Removed
.ps1wrapper and packaging scripts (scripts/legends-yt-dlp.ps1,scripts/package-alpha.ps1,tools/vault-health-check.ps1) and duplicateassets/legends-yt-dlp-banner.webp. - Added
AGENTS.md,docs/AGENT-RECIPE.md,THIRD_PARTY_NOTICES.md,assets/manifest.json, andscripts/check_release.py, and stripped non-essential metadata chunks fromassets/. - Updated
legends-yt-dlp doctorto support--offline,--require-tools,--json, and--textwith JSON output by default. - Bumped package and release metadata to
0.1.4.
v0.1.3
Summary
- Standard Package Dependency & Venv Resolution (
pyproject.toml,src/legends_ytdlp/tools.py): Addyt-dlp>=2026.10.01as a standard package dependency and updatefind_ytdlp()to prefer the active Python environment / PATHyt-dlpexecutable 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 inSHA2-256SUMSand verify the digest against a staging.downloadfile before writingyt-dlp.exe. - Endpoint Security (EDR) Hygiene (
src/legends_ytdlp/onboarding.py,docs/): Replacepowershell -ExecutionPolicy Bypass -File scripts\legends-yt-dlp.ps1across onboarding prompts and operator documentation with the directlegends-yt-dlpentrypoint. - CI & Cross-Platform Fixes (
.github/workflows/ci.yml,tests/test_batch.py): Resolve Windows 8.3 short-path test comparisons and add thelegends-ytdlpconsole script alias.
legends-yt-dlp v0.1.2
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: readpermissions, andpip>=26.2.2before package installation.
legends-yt-dlp v0.1.1
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
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.