Repository navigation
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.