Repository navigation
Releases
Releases · avalonreset/legends-astro
legends-astro v0.4.0
legends-astro v0.4.0
Full agency Astro v7 lifecycle release: Day-1 greenfield starter scaffolding, Day-2 article publishing with 301-safe slug renames, manifest regression gating, scheduled post leak verification, refreshed withastro/docs snapshot (56 verified files), and an expanded 12-file attachable Empire knowledge pack.
Highlights
- Day-1 greenfield agency starter (
legends-astro initandscaffold --mode starter):- Supports
--preset agency|blog|local-business,--trailing-slash always|never|ignore,--site,--with-sitemap/--no-sitemap,--staging-lock, and preview-firstplanSha256confirmation. - Generates
src/content.config.ts(glob()+astro/zod),isPublisheddraft and scheduled future-pubDateproduction filtering, zero-dependency RSS 2.0src/pages/rss.xml.ts,BaseLayout+BlogPostLayoutwithOrganization/LocalBusiness+BlogPosting+BreadcrumbListJSON-LD, and repo-localASTRO-BUILD-GUIDELINES.md.
- Supports
- Day-2 article-to-live publishing (
legends-astro post):- Read-only
--list, preview-first create (--inputor--title+--body-file,--hero/--hero-alt,--draft/--publish; defaults todraft: trueon create),--updatepreservingpubDateand unknown custom frontmatter keys while auto-stampingupdatedDate, and--rename-fromappending deduplicated, chain-flattened, cycle-checked301rules topublic/_redirects. - Enforces strict slugs, magic-byte + XML-parsed SVG XSS image localization into
public/images/<collection>/<slug>/, static read-onlysrc/content.config.*detection, and editorial SEO preflight linting.
- Read-only
- Day-2 regression manifest gate and scheduled post verification (
legends-astro verify-build):- Added
--write-manifest,--baseline,--overwrite, and--allow-canonical-changeemitting fail-closedlegends.astro-site-manifest/v1(never written on failure) withbaseline_route_missing(honoring valid redirects), canonical, title, description, H1, and JSON-LD type checks plusbaselineDiff. - Added scheduled future-
pubDateleak verification (scheduledEntriesChecked,scheduled_post_route_leaked,scheduled_post_body_leaked,scheduled_post_in_sitemap) and fail-closeddist/rss.xmlXML/XXE validation (rss_invalid_xml).
- Added
- Docs snapshot and knowledge pack expansion:
- Refreshed
vendor/astro-docs/towithastro/docs@7f32508fbe63450b15ff4503a7062c847e1cd0e5(2026-11-25T13:19:10Z) adding 8 official English MDX guides (53 MDX guides / 56 manifest entries total). - Added agency runbooks
wiki/agency-starter-guidelines.mdandwiki/publishing-and-content-ops.mdand expanded the attachable Empire knowledge pack (knowledge/astro/pack.json0.4.0) to 12 SHA-256 verified files.
- Refreshed
Verification
- Verified across 103 unit and adversarial tests (
unittest),scripts/check_release.py,node ./scripts/verify-sources.mjs,node ./scripts/test-doctor.mjs,knowledge-pack --check --json, andverify_knowledge_attachment.py. - Release artifacts include wheel, sdist, and
SHA256SUMS.txt.
legends-astro v0.3.0
legends-astro v0.3.0
Release date: 2026-11-24
Commit: e4a2d414fcd87494746eb133bcc3726524a3fdc8
Highlights
- Upgraded Astro baseline and canary lock to
astro@7.4.13(engines.node >=22.23.4,sharp ^0.35.5,undici ^8.13.1), refreshed all 24 existingwithastro/docsMDX guides to commit87c37b156627418328b8d3d4671320ca20487c79, and added 21 new official Astro v7.4 MDX guides (45 MDX guides / 48 manifest files total: Fonts API, Font Provider Reference,@astrojs/sitemap,@astrojs/cloudflare, Cloudflare deploy,@astrojs/node,astro:assets, Routing Reference, Vite Plugin Astro, plus every officialmigrate-to-astro/guide covering Create React App, Docusaurus, Eleventy, Gatsby, GitBook, Gridsome, Hugo, Jekyll, NuxtJS, Pelican, SvelteKit, and VuePress). - Added multi-framework static repository auditor (
legends_astro/framework_audit.pywired intosource-audit): read-only static auto-detection for Next.js (App Router, Pages Router, hybrid), Nuxt, Gatsby, Vite/CRA (React, Vue, Svelte, Preact, Solid), Docusaurus, Hugo, Jekyll, Eleventy, and SvelteKit emittingframeworkMigration(routes, API routes, static redirects fromvercel.json/netlify.toml/_redirects/next.config.*/nuxt.config.*, interactive islands vs static.astrocandidates,PUBLIC_*env var renames, framework import/syntax traps, Markdown/MDX content collections, and exact vendoreddocs-lookupIDs) while preserving precedence forraw-capture, Firecrawl, WordPress, and HTML trees. - Added smart optional
legends-firecrawlecosystem integration:capturedetects WAF/bot challenges (HTTP 403/429/503,cf-mitigated, Cloudflare/Turnstile/Akamai/PerimeterX/DataDome) and empty JS SPA shells (#root,#__next,#app,#__nuxt) and emitsfirecrawlFallbackhandoff guidance;doctoremits a read-only, non-blockingecosystemblock reporting optionallegends-firecrawland Playwright availability. - Refreshed outlined Legends Font
r1SVG architecture, three-pillars, plain-english chains, and comparison cards (scripts/render_cards.py) with evergreen copy (zero hardcoded version numbers or doc counts). - Added
@astrojs/cloudflareto live ecosystem probes (docs_nav.py) and hardened TLS CA verification via strictssl.SSLContext+ optionalcertifibundle loading without weakening certificate checks. - Added shared network and filesystem safety module (
legends_astro/net_safety.py): CWE-918 SSRF and DNS-rebinding IP pinning, explicit--allow-hostallowlisting,https://default (--allow-httpopt-in), manual redirect hop validation (max 5 hops), bounded streaming reads, CWE-59 symlink refusal, Windows Controlled Folder Access refusal, CWE-22 path containment,O_CREAT | O_EXCLwrites, and CWE-776 XXE-safe XML parsing. - Added
capturecommand (legends_astro/capture.py): live recursive sitemap / bounded BFS crawl and locallegends-firecrawlarchive/directory normalizer (response.data,legends-firecrawl-evidence/v1, top-leveldata) with__-delimited collision-safe slugs and deterministic Migration Triage reporting (platform, page builders,[shortcodes], forms/Turnstile/reCAPTCHA, WooCommerce, Cloudflare email obfuscation, trackers, external CDNs). - Added
vendor-assetscommand (legends_astro/vendor.py): two-pass HTML + recursive CSS@import/url(...)asset localizer handlingsrcset,data-poster-url,data-video-urls, inlinebackground-image, anddynamic_css.php->.css, writingpublic/+asset-map.json, plus longest-URL-first rewriter and local SRIintegrity=/crossorigin=cleanup. - Added
scaffoldcommand (legends_astro/scaffold.py,--mode clone|editorial): preview-first (planSha256->--apply --confirm-plan) Astro v7.4.13 project generator with<Fragment set:html={...} />exact-DOM clone layout, Cloudflare XOR hex email decoder (--decode-cf-email), live tracker stripping (--strip-trackers), and Triple-Lock staging (--staging-lock). - Added
twinandtwin-diffcommands (scripts/twin.mjs+legends_astro/twin.py): optional runtime Playwright Visual + Computed-Style Digital Twin capture for live--url(SSRF +page.routeguarded) or local--dist(ephemeral in-process127.0.0.1:0read-only static server closed infinally) plus pure offlinetwin-diffregression gate. - Upgraded
source-auditandverify-build(legends_astro/auditor.py): Yoast/RankMath title precedence, WordPressattachment->_thumbnail_idfeatured images, Custom Post Types/taxonomies/authors, Markdown<table>/<figure>/<iframe>conversion, Firecrawl directory unwrapping, plusverify-build --forbid-host,--env staging|production, CSSurl()/@importresolution, local SRI check, canonical/OG/JSON-LD/H1/Webflowdata-wf-pageparity,trailingSlashshape verification, XXE-safe sitemap verification,_redirectsloop/target validation, and/cdn-cgi/+[shortcode]leak checks.
Release Artifacts
legends_astro-0.3.0-py3-none-any.whllegends_astro-0.3.0.tar.gzSHA256SUMS.txt
legends-astro v0.2.6
legends-astro v0.2.6 (2026-11-22)
- Sync vendored
cto-legendsrouter skill pin (69ddc4f68faa) with LF normalization via.gitattributes. - Attach verified release package artifacts and
SHA256SUMS.txt.
legends-astro v0.2.5
legends-astro v0.2.5
- Added
scripts/render_cards.pyand the 7 outlined Legends Fontr1SVG architecture, plain-english chain, comparison, handoff, message-desk, and star-shrine cards underassets/cards/r1/. - Rewrote
README.mdto the evergreen CTO Legends visual architecture standard with collapsible<details>reference drawers. - Added
VERSIONand expandedscripts/check_release.pyand packaging manifests (MANIFEST.in,setup.py) to verify0.2.5version synchronization andassets/cards/r1/*.svgintegrity.
legends-astro v0.2.4
legends-astro v0.2.4
- Symlink, Overwrite & Controlled Folder Access Guards (
legends_astro/cli.py,legends_astro/auditor.py,legends_astro/docs_nav.py): Added_check_no_symlink_chainon un-resolved paths before.resolve()(with Darwin-only/var,/tmp,/etcexemptions),--overwriteand--allow-protected-folderflags for--write-report, and atomic report writes that refuse Windows Controlled Folder Access directories by default. - EDR & Subprocess Hardening (
legends_astro/auditor.py,scripts/test-doctor.mjs,scripts/check_release.py): RemovedwindowsHide: trueacross Python and Node scripts, addedwindowsHidedetection toscripts/check_release.py, resolvednode/npxviashutil.whichwithshell=Falseon POSIX in_run_check, and replaced in-memory pipe buffering with bounded128 KBtemporary files to prevent large-output deadlocks. - Vendored Corpus Integrity & Packaging Parity (
vendor/astro-docs/README.md,vendor/astro-docs/manifest.json,MANIFEST.in,setup.py): Stripped control characters fromvendor/astro-docs/README.md, updatedvendor/astro-docs/manifest.jsonSHA-256 digests, expandedscripts/check_release.pyto scanvendor/, included.legends-router-pinandsetup.pyinMANIFEST.in, and fixedfind_islands(client_only=True)to return allclient:*directives. - 100% CLI & Python API Documentation Parity (
README.md,AGENTS.md,docs/AGENT-RECIPE.md): Documented all 9 CLI subcommands and all 6 public Python functions with 1:1 signature and flag parity.
v0.2.3
legends-astro v0.2.3
- Added build-time wheel data mirror (
setup.py->legends_astro/_data/),.legends-module,assets/manifest.json,scripts/smoke_installed_resources.py, andscripts/verify_knowledge_attachment.pyso installed wheels resolve all knowledge packs, vendored docs, recipes, and references outside a source checkout. - Updated
resolve_resources()inlegends_astro/cli.pyandvendor_dir()inlegends_astro/docs_nav.pyto resolvelegends_astro/_datafirst when running from a wheel. - Upgraded
scripts/check_release.pyand.github/workflows/checks.ymlwith Gold-Standard EDR, metadata, and dash gates plus multi-OSempire-attachmentCI verification.
v0.2.2 - Offline Build Verification & Dev-Server EDR Guardrails
v0.2.2 - Offline Build Verification & Dev-Server EDR Guardrails
- Add explicit agent guardrails in
AGENTS.md,docs/AGENT-RECIPE.md,wiki/inspect-setup.md, and the attachable Empire knowledge pack (knowledge/astro/) forbidding detached backgroundastro dev/astro previewdaemons and--openbrowser launches during automated agent runs (preventing Windows EDR local-portal behavioral alerts) in favor of offlineastro build+legends-astro verify-build. - Refresh
knowledge/astro/pack.jsonmanifest version and SHA-256 digests (0.2.2).
legends-astro 0.2.1
legends-astro v0.2.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-astro 0.2.0
legends-astro 0.2.0
Initial public release of legends-astro (succeeding the legacy legends-astro-kit identifier while retaining legends-astro-kit as a compatibility alias in cto-legends).
Highlights
- Python and Node CLI (
legends-astro):doctor: Offline Node runtime (>=22.12.0forastro@7.3.1,>=22.23.4forastro@7.4.2, tested LTS baseline24.15.0), globalastroPATH collision detection, 27-filewithastro/docsSHA-256 snapshot verification, lockfile consistency (npm,pnpm,yarn,bun), and Astro v7 Content Layer checks without executing consumerastro.config.*files.source-audit: Deterministic pre-migration contract extraction (migration-contract.json) from legacy HTML directories/files, WordPress WXR.xmlexports, WordPress REST.jsondumps, andlegends-firecrawl.jsonscrapes, including_HTMLToMarkdownParserconversion and route alias detection.ingest: Preview-first (--applyrequired for writes) Astro v7 Content Layer scaffolding (src/content.config.tswithglob()andastro/zod,src/lib/published.tsdraft filter, converted Markdown entries, andpublic/_redirects).verify-build: Mechanical post-build verification ofdist/againstmigration-contract.jsonfor route parity, zerodraft: truecontent leaks,<title>/ meta description / JSON-LD preservation, client-JS DOMidretention, first-paint<head>CSS ordering, and internal link/asset resolution.docs-lookup: Offline search across 24 vendoredwithastro/docsMDX guides (0844aab04ea2f3859132ab97b1e9daa01ade76a1) and 9 operationalwiki/runbooks, plus verified upstream endpoint status checks.knowledge-pack: Versionedlegends.knowledge-pack/v1manifest (knowledge/astro/pack.json) for attachment into an Empire vault vialegends-empire.