Repository navigation
Conversation
… the audited URL #1680 Signed-off-by: Nik Cubrilovic <[email protected]>
Contributor
Author
|
Landed on main as 8fe7f0f (later commits there carry the review fixes). Closing this draft as superseded. nik |
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.
Closes #1680
What
The
search-engine-accesscheck ofax/ai-crawlerswas info only. Its status now comes from the Googlebot verdict:warnwhen Googlebot isroot-blockedorpath-blockedfor the audited URL (usually a deindexed site, often a stagingDisallow: /left in),infootherwise. The warn counts toward the score like any warn check of the rule. The message leads withrobots.txt blocks Googlebot (<verdict>), which usually means the site is not indexed: check the block was intended.and then the per-bot line as before.allowedandallow-overridestayinfo(the check was info in those cases before, it is not turned into a pass), and so does any other engine blocked (Bingbot,Applebot): it is listed as an item but never warns.details.botsstill lists every bot with its class. A missing robots.txt still emits no search-engine check.Acceptance criteria
root-blockedorpath-blockedproduces a warn that affects the score: tests for aGooglebotgroup, a wildcardDisallow: /(Googlebot falls under it) and a path rule for the entry URL.allow-overrideandalloweddo not warn; Bingbot and Applebot blocked do not warn.details.botsstill lists every bot with its class, warn or not.packages/rules/tests/ai-crawlers.test.ts, 29 pass).docs/rules/ax/ai-crawlers.mdxstates the Googlebot warn and the info-only others.Notes: the issue also names Baidu and Yandex; the check evaluates only Googlebot, Bingbot and Applebot today, so those are not added here (adding a bot is a separate change with its own token and fallback rules). An existing test that expected the Googlebot path-blocked case to be info now expects warn; that is the change.
Also run: content-signals, golden-finding-messages, canonical golden, rule-verdict-scope, meta-string-limits.
tsgoinpackages/rules, root lint,make validate. The squirrelscan agent skill needs no change.