You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Create llms-txt-validation.js
Fetches /llms.txt and returns a simple validity flag (1 or 0). It checks that the response:
- Succeeds (HTTP 2xx)
- Has a Content-Type of text/plain
- Contains balanced Markdown code fences (…)
- Has matching counts of [ vs. ] and ( vs. )
If any check fails, it returns 0; otherwise it returns 1.
* Update llms-txt-validation.js
* Update llms-txt-validation.js
* Return JSON
* JSON stringify
* Update llms-txt-validation.js
* Rename llms-txt-validation.js to dist/llms-txt-validation.js
* Update llms-txt-validation.js
* Update llms-txt-validation.js
* Rename llms-txt-validation.js to llms_txt_validation.js
* Update llms_txt_validation.js
* Change to Boolean
* Validation Changes
Making LLMs.txt scoring less strict, so present - yet malformed llms.txt files - will always be marked as "valid", rather than invalid to make it easier to count total adoption whilst understanding which files have errors or not.
---------
Co-authored-by: Barry Pollard <barrypollard@google.com>
Co-authored-by: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com>
0 commit comments