Repository navigation
legends-github v0.2.4
Source commit: 0a09e1aa670c88007f34e74debf8b1cc56b3f9c8
Highlights
- Release Notes & Typography Hygiene (
[GH-01]): Scrubs literal0x1B(ESC) control characters fromAGENTS.mdanddocs/GITHUB-RECIPE.md, removes em-dashes fromgithub/scripts/audit_reports.py, and enforces control-character and typography checks inscripts/check_release.py. - CLI Subprocess Argument & Release File Hardening (
[GH-02]): Enforces strictOWNER/REPO, GitHub username, and git tag validation acrossgithub/scripts/, passes--before positionalgitarguments, switchesrelease_repo.pyfrom inline--notesto--notes-filewith temporary file cleanup, and redacts rawgh/gitstderrstrings inaudit_evidence.py,meta_repo.py,seo_repo.py, andsocial_preview.py. - Path Traversal, Symlink & Outbound HTTP Safety (
[GH-03],[GH-04]): Validates--slugincommunity_repo.pyagainst path separators and traversal segments, enforces ancestor symlink and Windows junction refusal viasafe_local_path(), moves default audit evidence output outside the repository working tree (~/.legends-github/audits), and enforces_NoRedirect,ProxyHandler({}), and bounded reads on outbound HTTP requests. - Dependency Pin & Runtime Cleanup (
[GH-05],[GH-06]): Removes legacy.codexfallback paths and unusedload_env_file(), pinslegends-dataforseov0.1.10(cc706b4cd42a2dd14a75905ef138a61369e04317), and upgradesscripts/check_release.pyto the Gold Standard release gate.