[codex] add web bot auth and AI crawler policies#132
Merged
Conversation
Deploying qf-api-docs with
|
| Latest commit: |
9653bea
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://18ede448.qf-api-docs.pages.dev |
| Branch Preview URL: | https://codex-web-bot-auth-ai-polici.qf-api-docs.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds agent-readiness signals for automated crawlers by publishing a Web Bot Auth verification directory endpoint, ensuring it’s served with the correct content-type, and expanding robots.txt with explicit AI crawler policies.
Changes:
- Add a Web Bot Auth-style key directory at
/.well-known/http-message-signatures-directory. - Configure Cloudflare Pages headers to serve the directory with
application/http-message-signatures-directory+json. - Expand
robots.txtwith per-user-agent AI crawler rules andContent-Signaldirectives.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| static/robots.txt | Adds explicit crawler groups (allow/deny) and Content-Signal declarations. |
| static/_headers | Adds a Pages header rule to serve the well-known directory with a specific JSON media type. |
| static/.well-known/http-message-signatures-directory | Publishes a JSON key directory (JWK-like) for bot auth discovery. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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 changed
/.well-known/http-message-signatures-directoryso the site can publish a Web Bot Auth verification directoryapplication/http-message-signatures-directory+jsonrobots.txtwith explicit AI crawler rules andContent-Signaldirectives for training, search, and AI input preferencesWhy
The site was missing the bot identity and crawler policy signals expected by agent-readiness checks:
GPTBot,OAI-SearchBot,Claude-Web, andGoogle-ExtendedContent-Signaldeclarations inrobots.txtImpact
Validation
git diff --cached --check