llms.txt overhaul: full-content index, markdown mirrors, crawler policy - #55
Merged
Merged
Conversation
…nown alias
- llms-full.txt now inlines each post's full text (was metadata-only;
the 400-char truncate was inert since all summaries are <=160)
- new md_mirror plugin publishes {slug}.md next to every published
article; both llms files link the markdown variants
- llms.txt: posts grouped by category with per-entry dates, expanded
key pages (IAM Blast Radius tool, accessibility), tools/code section,
meta section (author, security.txt, feeds, citation), provenance line
- header description single-sourced via LLMS_DESCRIPTION and refreshed
to cover AI security, threat intel, and hiring-security threads
- .well-known/llms.txt alias via include shim
- robots.txt: explicit allow for GPTBot/ClaudeBot/Claude-Web/
PerplexityBot/Google-Extended, each with /drafts/ excluded
- check_wellknown_llms: guard draft-URL leaks, llms-full parity,
markdown mirrors, .well-known alias; soft warn at 384KB
rivassec
force-pushed
the
llms-index-improvements
branch
from
September 11, 2026 22:44
9d6b716 to
10388e6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Ten improvements to the AI-crawler index surface, plus one independent SEO fix.
llms.txt / llms-full.txt
plugins/md_mirror.pycopies each published article's source tooutput/{slug}.md(readsgenerator.articles, so drafts structurally cannot leak; runs after the sitemap generator so mirrors stay out of the sitemap). Both llms files link them.(YYYY-MM)dates, provenance line (Generated: <date> | N posts).LLMS_DESCRIPTIONin pelicanconf) and refreshed to cover the AI-security, threat-intel/OSINT, and hiring-security threads..well-known/llms.txtalias (byte-identical include shim) for crawlers that probe there first.robots.txt
Explicit allow groups for GPTBot, ClaudeBot, Claude-Web, PerplexityBot, Google-Extended - each with the same
/drafts/exclusion - and comments naming both llms URLs. Publishing an llms.txt means AI readership is wanted; this makes the policy deliberate instead of implicit.CI guard hardening (
check_wellknown_llms.py)Now also fails on: any
/drafts/URL in either llms file, a post missing from llms-full (parity with the short index), a missing markdown mirror, or a missing .well-known alias. Soft size warning at 384KB.Independent fix
testing-an-iam-analyzer-against-its-own-claims.md: Summary trimmed 212 -> 157 chars (meta descriptions truncate at ~160;check_descriptionsflagged it). This changes the live meta description - review the wording.Verification
check_wellknown_llms.py: 0 issues (including the new guards).well-known/llms.txtbyte-identical to/llms.txt; 20 markdown mirrors written