Skip to content

Releases

legends-astro v0.4.0

Choose a tag to compare

@avalonreset avalonreset released this 25 Nov 21:00

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 init and scaffold --mode starter):
    • Supports --preset agency|blog|local-business, --trailing-slash always|never|ignore, --site, --with-sitemap / --no-sitemap, --staging-lock, and preview-first planSha256 confirmation.
    • Generates src/content.config.ts (glob() + astro/zod), isPublished draft and scheduled future-pubDate production filtering, zero-dependency RSS 2.0 src/pages/rss.xml.ts, BaseLayout + BlogPostLayout with Organization/LocalBusiness + BlogPosting + BreadcrumbList JSON-LD, and repo-local ASTRO-BUILD-GUIDELINES.md.
  • Day-2 article-to-live publishing (legends-astro post):
    • Read-only --list, preview-first create (--input or --title + --body-file, --hero / --hero-alt, --draft / --publish; defaults to draft: true on create), --update preserving pubDate and unknown custom frontmatter keys while auto-stamping updatedDate, and --rename-from appending deduplicated, chain-flattened, cycle-checked 301 rules to public/_redirects.
    • Enforces strict slugs, magic-byte + XML-parsed SVG XSS image localization into public/images/<collection>/<slug>/, static read-only src/content.config.* detection, and editorial SEO preflight linting.
  • Day-2 regression manifest gate and scheduled post verification (legends-astro verify-build):
    • Added --write-manifest, --baseline, --overwrite, and --allow-canonical-change emitting fail-closed legends.astro-site-manifest/v1 (never written on failure) with baseline_route_missing (honoring valid redirects), canonical, title, description, H1, and JSON-LD type checks plus baselineDiff.
    • Added scheduled future-pubDate leak verification (scheduledEntriesChecked, scheduled_post_route_leaked, scheduled_post_body_leaked, scheduled_post_in_sitemap) and fail-closed dist/rss.xml XML/XXE validation (rss_invalid_xml).
  • Docs snapshot and knowledge pack expansion:
    • Refreshed vendor/astro-docs/ to withastro/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.md and wiki/publishing-and-content-ops.md and expanded the attachable Empire knowledge pack (knowledge/astro/pack.json 0.4.0) to 12 SHA-256 verified files.

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, and verify_knowledge_attachment.py.
  • Release artifacts include wheel, sdist, and SHA256SUMS.txt.

legends-astro v0.3.0

Choose a tag to compare

@avalonreset avalonreset released this 25 Nov 03:24

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 existing withastro/docs MDX guides to commit 87c37b156627418328b8d3d4671320ca20487c79, 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 official migrate-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.py wired into source-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 emitting frameworkMigration (routes, API routes, static redirects from vercel.json/netlify.toml/_redirects/next.config.*/nuxt.config.*, interactive islands vs static .astro candidates, PUBLIC_* env var renames, framework import/syntax traps, Markdown/MDX content collections, and exact vendored docs-lookup IDs) while preserving precedence for raw-capture, Firecrawl, WordPress, and HTML trees.
  • Added smart optional legends-firecrawl ecosystem integration: capture detects WAF/bot challenges (HTTP 403/429/503, cf-mitigated, Cloudflare/Turnstile/Akamai/PerimeterX/DataDome) and empty JS SPA shells (#root, #__next, #app, #__nuxt) and emits firecrawlFallback handoff guidance; doctor emits a read-only, non-blocking ecosystem block reporting optional legends-firecrawl and Playwright availability.
  • Refreshed outlined Legends Font r1 SVG 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/cloudflare to live ecosystem probes (docs_nav.py) and hardened TLS CA verification via strict ssl.SSLContext + optional certifi bundle 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-host allowlisting, https:// default (--allow-http opt-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_EXCL writes, and CWE-776 XXE-safe XML parsing.
  • Added capture command (legends_astro/capture.py): live recursive sitemap / bounded BFS crawl and local legends-firecrawl archive/directory normalizer (response.data, legends-firecrawl-evidence/v1, top-level data) 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-assets command (legends_astro/vendor.py): two-pass HTML + recursive CSS @import/url(...) asset localizer handling srcset, data-poster-url, data-video-urls, inline background-image, and dynamic_css.php -> .css, writing public/ + asset-map.json, plus longest-URL-first rewriter and local SRI integrity=/crossorigin= cleanup.
  • Added scaffold command (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 twin and twin-diff commands (scripts/twin.mjs + legends_astro/twin.py): optional runtime Playwright Visual + Computed-Style Digital Twin capture for live --url (SSRF + page.route guarded) or local --dist (ephemeral in-process 127.0.0.1:0 read-only static server closed in finally) plus pure offline twin-diff regression gate.
  • Upgraded source-audit and verify-build (legends_astro/auditor.py): Yoast/RankMath title precedence, WordPress attachment -> _thumbnail_id featured images, Custom Post Types/taxonomies/authors, Markdown <table>/<figure>/<iframe> conversion, Firecrawl directory unwrapping, plus verify-build --forbid-host, --env staging|production, CSS url()/@import resolution, local SRI check, canonical/OG/JSON-LD/H1/Webflow data-wf-page parity, trailingSlash shape verification, XXE-safe sitemap verification, _redirects loop/target validation, and /cdn-cgi/ + [shortcode] leak checks.

Release Artifacts

  • legends_astro-0.3.0-py3-none-any.whl
  • legends_astro-0.3.0.tar.gz
  • SHA256SUMS.txt

legends-astro v0.2.6

Choose a tag to compare

@avalonreset avalonreset released this 22 Nov 17:17

legends-astro v0.2.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.

legends-astro v0.2.5

Choose a tag to compare

@avalonreset avalonreset released this 21 Nov 21:17

legends-astro v0.2.5

  • Added scripts/render_cards.py and the 7 outlined Legends Font r1 SVG architecture, plain-english chain, comparison, handoff, message-desk, and star-shrine cards under assets/cards/r1/.
  • Rewrote README.md to the evergreen CTO Legends visual architecture standard with collapsible <details> reference drawers.
  • Added VERSION and expanded scripts/check_release.py and packaging manifests (MANIFEST.in, setup.py) to verify 0.2.5 version synchronization and assets/cards/r1/*.svg integrity.

legends-astro v0.2.4

Choose a tag to compare

@avalonreset avalonreset released this 11 Nov 03:20

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_chain on un-resolved paths before .resolve() (with Darwin-only /var, /tmp, /etc exemptions), --overwrite and --allow-protected-folder flags 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): Removed windowsHide: true across Python and Node scripts, added windowsHide detection to scripts/check_release.py, resolved node/npx via shutil.which with shell=False on POSIX in _run_check, and replaced in-memory pipe buffering with bounded 128 KB temporary 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 from vendor/astro-docs/README.md, updated vendor/astro-docs/manifest.json SHA-256 digests, expanded scripts/check_release.py to scan vendor/, included .legends-router-pin and setup.py in MANIFEST.in, and fixed find_islands(client_only=True) to return all client:* 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

Choose a tag to compare

@avalonreset avalonreset released this 05 Nov 19:03

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, and scripts/verify_knowledge_attachment.py so installed wheels resolve all knowledge packs, vendored docs, recipes, and references outside a source checkout.
  • Updated resolve_resources() in legends_astro/cli.py and vendor_dir() in legends_astro/docs_nav.py to resolve legends_astro/_data first when running from a wheel.
  • Upgraded scripts/check_release.py and .github/workflows/checks.yml with Gold-Standard EDR, metadata, and dash gates plus multi-OS empire-attachment CI verification.

v0.2.2 - Offline Build Verification & Dev-Server EDR Guardrails

Choose a tag to compare

@avalonreset avalonreset released this 05 Nov 03:46

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 background astro dev / astro preview daemons and --open browser launches during automated agent runs (preventing Windows EDR local-portal behavioral alerts) in favor of offline astro build + legends-astro verify-build.
  • Refresh knowledge/astro/pack.json manifest version and SHA-256 digests (0.2.2).

legends-astro 0.2.1

Choose a tag to compare

@avalonreset avalonreset released this 29 Oct 21:06

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

legends-astro 0.2.0

Choose a tag to compare

@avalonreset avalonreset released this 24 Oct 23:51

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.0 for astro@7.3.1, >=22.23.4 for astro@7.4.2, tested LTS baseline 24.15.0), global astro PATH collision detection, 27-file withastro/docs SHA-256 snapshot verification, lockfile consistency (npm, pnpm, yarn, bun), and Astro v7 Content Layer checks without executing consumer astro.config.* files.
    • source-audit: Deterministic pre-migration contract extraction (migration-contract.json) from legacy HTML directories/files, WordPress WXR .xml exports, WordPress REST .json dumps, and legends-firecrawl .json scrapes, including _HTMLToMarkdownParser conversion and route alias detection.
    • ingest: Preview-first (--apply required for writes) Astro v7 Content Layer scaffolding (src/content.config.ts with glob() and astro/zod, src/lib/published.ts draft filter, converted Markdown entries, and public/_redirects).
    • verify-build: Mechanical post-build verification of dist/ against migration-contract.json for route parity, zero draft: true content leaks, <title> / meta description / JSON-LD preservation, client-JS DOM id retention, first-paint <head> CSS ordering, and internal link/asset resolution.
    • docs-lookup: Offline search across 24 vendored withastro/docs MDX guides (0844aab04ea2f3859132ab97b1e9daa01ade76a1) and 9 operational wiki/ runbooks, plus verified upstream endpoint status checks.
    • knowledge-pack: Versioned legends.knowledge-pack/v1 manifest (knowledge/astro/pack.json) for attachment into an Empire vault via legends-empire.