Skip to content

legends-astro 0.2.0

Choose a tag to compare

@avalonreset avalonreset released this 24 Oct 23:51
· 35 commits to main since this release

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.