Skip to content

Memo 153: restore removed llms-txt generator + regenerate stale v4 bundles (Memo-064 regression) #141

Description

@a6b8

The committed bundles public/docs-llms.txt + public/llms-full.txt are served verbatim by Astro but were stale, still teaching the removed v1 facade API (6x activateServerTools, 1x validateSchema). Root cause: their generator scripts/generate-llms-txt.mjs (+ dep scripts/diagram-descriptions.mjs) was deleted in Memo 064 (4f1ded1 site copy/serve), leaving the bundles orphaned/frozen (last auto-regen 2026-06-21). The stale v1 came from guides/server-integration whose source is already clean — pure bundle staleness.

Fix:

  • Restore both scripts from 4f1ded1^.
  • Regenerate from the current (clean) src/content/docs: bundles now v4-clean (activateServerTools/validateSchema = 0).
  • Re-wire generate-llms-txt.mjs into prebuild so every build/deploy keeps the bundles fresh (no more orphaning).

Follow-up to #140 (which fixed the quickstart template source).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions