Back up the served policy first
Retrieve the file from the exact production origin and retain the body and time. Identify whether a static file, CMS, plugin, application route or CDN serves that response. A repository file is not necessarily the public source. If several systems can write robots.txt, choose the authoritative owner before editing to avoid a later regeneration silently undoing your changes.
Merge the smallest intentional change
A CrawlCharter draft is a starting template, not a lossless rewrite. Compare every generated token with existing groups. Preserve path exclusions, sitemap declarations and extensions you still need. Specific groups do not inherit wildcard restrictions in this evaluator, and repeated exact-token groups combine. Review those two cases explicitly rather than appending a fragment and assuming it overrides the file.
Check before and after publication
Paste the complete merged file and test representative public, restricted and exception paths. Confirm the intended search and training choices separately. After publishing through the authoritative system, fetch again and compare the returned body with the draft you approved. Allow for target-side caches and CrawlCharter five-minute evidence reuse; use response metadata and retrieval time to know what you are examining.
User-agent: *
Disallow: /admin/
User-agent: GPTBot
Disallow: /
Sitemap: https://example.com/sitemap.xml
Illustrative merged file: the wildcard admin restriction and sitemap are retained, with a separate training-token choice. Replace the example origin and review all real groups.
Make rollback concrete
Keep the original source file or version-control commit available. Define who can restore it, where to deploy it and which paths to recheck. If a critical search path becomes restricted unintentionally, restore the prior policy through the same delivery layer and verify the served response. A successful text check confirms policy interpretation only; it cannot promise indexing, traffic or immediate vendor adoption.
Put it into practice
- Save the current served body and its retrieval time.
- Identify the source that owns the public response.
- Merge token choices with required path restrictions.
- Audit representative paths before publishing.
- Fetch after deployment and keep the rollback version ready.
Primary sources
Protocol matching and vendor controls are distinct. Read the current sources before deploying; crawler semantics may change.