Commit ef743d7
committed
site: the llms mirrors are copied at deploy, not maintained twice
www/llms.txt and www/llms-full.txt were a second editable copy of files that
live in the metaobjects repo. They drift in CONTENT, not just in version
numbers, and an edit landed on whichever copy the editor happened to open.
The deploy now copies them from the same clone the injector already makes,
pinned to the same release tag, and they are gitignored here so there is one
copy to edit.
The copy runs BEFORE the injector guard, deliberately. It does not depend on
the injector, and now that the mirrors are untracked, skipping the copy means
www/llms.txt does not exist at all — a 404 on a documented URL, which is
worse than a stale file. A missing source warns instead of failing, for the
same reason the injector guard does: one absent text file must not take down
the whole site.
HELD, not pushed. v0.24.5's docs/llms/ still says 0.24.4 — the docs refresh
has always been a post-tag commit — so deploying this now would REGRESS the
live mirrors by a release. finish-release.mjs in the metaobjects repo now
refuses to tag a tree whose mirrors do not state the release, so the next tag
is fresh by construction and this can be pushed right after it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NynrRND6ZUwGvq3ZUTCfxG1 parent db5c911 commit ef743d7
4 files changed
Lines changed: 25 additions & 459 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
71 | 91 | | |
72 | 92 | | |
73 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments