Publish the agent surface in robots.txt - #73
Merged
Merged
Conversation
AI crawlers stay blocked at the edge, with a WAF skip for /llms.txt and /docs/*.md — the two surfaces that exist for them. robots.txt still said `Allow: /` to everyone, which invites a compliant crawler to spend its budget earning 403s on HTML it can't have. The named group points them at the two paths that answer instead. The list is advisory and drifts safely: the WAF is the enforcement, and a crawler missing from the list falls back to the wildcard group and is stopped at the edge, which is where it would have ended up anyway. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JGMQ49hvA936om3GQfNTAn
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.
Follow-up to #72. The AI-crawler block stays on; a WAF skip opens
/llms.txtand/docs/*.md, the two surfaces built for agents.robots.txtstill saidAllow: /to everyone, which invites a compliant AI crawler to spend its budget earning 403s on HTML it can't have. This names the major AI crawlers and points them at the two paths that actually answer.The list is advisory and drifts safely — the WAF is the enforcement, and a crawler missing from the list falls back to the wildcard group and is stopped at the edge, which is where it would have ended up anyway. That's why it's a short list rather than an attempt to mirror Cloudflare's managed one.
This is the repo half only. The WAF skip rule has to be added in the Cloudflare dashboard; merging this without it leaves
robots.txtpromising two paths that still 403.🤖 Generated with Claude Code
https://claude.ai/code/session_01JGMQ49hvA936om3GQfNTAn