Skip to content

feat(rules): search-engine-access warns when Googlebot is blocked for the audited URL - #1693

Closed
nc9 wants to merge 1 commit into
mainfrom
feat/googlebot-blocked-warn-1680
Closed

nc9 wants to merge 1 commit into
mainfrom
feat/googlebot-blocked-warn-1680

Conversation

@nc9

@nc9 nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Closes #1680

What

The search-engine-access check of ax/ai-crawlers was info only. Its status now comes from the Googlebot verdict: warn when Googlebot is root-blocked or path-blocked for the audited URL (usually a deindexed site, often a staging Disallow: / left in), info otherwise. The warn counts toward the score like any warn check of the rule. The message leads with robots.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.

allowed and allow-override stay info (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.bots still lists every bot with its class. A missing robots.txt still emits no search-engine check.

Acceptance criteria

  • Googlebot root-blocked or path-blocked produces a warn that affects the score: tests for a Googlebot group, a wildcard Disallow: / (Googlebot falls under it) and a path rule for the entry URL.
  • allow-override and allowed do not warn; Bingbot and Applebot blocked do not warn.
  • details.bots still lists every bot with its class, warn or not.
  • Tests: Googlebot blocked, Googlebot allowed with another engine blocked, a missing robots.txt, plus the AI-crawler checks keeping their own statuses beside the warn (packages/rules/tests/ai-crawlers.test.ts, 29 pass).
  • docs/rules/ax/ai-crawlers.mdx states 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. tsgo in packages/rules, root lint, make validate. The squirrelscan agent skill needs no change.

@nc9

nc9 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Landed on main as 8fe7f0f (later commits there carry the review fixes). Closing this draft as superseded.

nik

@nc9 nc9 closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ax/agent-blocking search-engine-access: warn when Googlebot is blocked, others stay info

1 participant