Skip to content

Fix/validate llms node20#817

Closed
bullfrogbean wants to merge 3 commits into
ethersphere:masterfrom
bullfrogbean:fix/validate-llms-node20
Closed

Fix/validate llms node20#817
bullfrogbean wants to merge 3 commits into
ethersphere:masterfrom
bullfrogbean:fix/validate-llms-node20

Conversation

@bullfrogbean
Copy link
Copy Markdown
Collaborator

No description provided.

crtahlin and others added 3 commits May 13, 2026 16:02
Add two task-specific documentation bundles via docusaurus-plugin-llms
customLLMFiles, so AI agents can load only the docs relevant to their task
instead of the full 630KB llms-full.txt:

- llms-api.txt (220KB, 20 docs): API usage, uploads, stamps, feeds, chunks,
  encryption, developer tooling
- llms-node-ops.txt (225KB, 22 docs): installation, configuration, monitoring,
  staking, backups, upgrades, FAQ

Both use glob patterns so new pages added under those directories are
automatically included — no manual maintenance needed.

Also adds slice file references to static/llms.txt for agent discovery,
and extends the validation script to log referenced slice files.

Refs: ethersphere/DevRel#840
- Remove CLAUDE.md from repo (personal config) and add to .gitignore
- Replace docs/develop/act.md with docs/develop/access-control.md
- Remove duplicate docs/develop/gateway-proxy.md
- Add includePatterns file-existence check to validate-llms-txt.mjs:
  globs checked via globSync, exact paths via readFileSync — would have
  caught both broken patterns before this review
The validate-llms-txt.mjs includePatterns check used fs.globSync, which
is Node 22+ only. CI runs Node 20 (workflow pin), so the static import
threw SyntaxError and hard-failed prebuild — even though the script is
advisory ("warnings only, does not block the build"). Replace fs.globSync
with a small dependency-free glob matcher so the check runs on Node 20+.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for test-twitter-preview-testing-3 ready!

Name Link
🔨 Latest commit 4b379f5
🔍 Latest deploy log https://app.netlify.com/projects/test-twitter-preview-testing-3/deploys/6a176c27fdfeeb0008fda6d8
😎 Deploy Preview https://deploy-preview-817--test-twitter-preview-testing-3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants