Skip to content

ax/ai-crawlers reports eleven separate rows when one wildcard Disallow blocks every crawler #1780

Closed

Description

@nc9

Reproduced on the public demo site nutshop.squirrelscan.com (repo squirrelscan/nut-shop) with its robots-disallow-all fault on. robots.txt is:

User-agent: *
Disallow: /

The audit reports crawl/robots-txt fail "robots.txt blocks all crawling" (correct), and ax/ai-crawlers adds eleven warning rows, one for each AI crawler it knows, each saying that bot is blocked. None of the eleven is named in the file. The cause is one line, and the fix is one line.

Effects: the comparison with the previous audit shows eleven new findings where one thing changed; an issue list built from the report gets eleven items for one fix; and when the line is removed, eleven rows have to resolve.

Expected: when the only rule that blocks the AI crawlers is the wildcard group, ax/ai-crawlers reports one row that says so and names the wildcard rule. Separate rows stay for crawlers that the file blocks by name, because those are separate decisions by the owner.

Acceptance Criteria

  • With User-agent: * / Disallow: / and no bot-specific groups, ax/ai-crawlers produces one check row. Its message says all AI crawlers are blocked by the wildcard rule, and its items list the affected crawlers.
  • A crawler blocked by its own User-agent group still gets its own row, alongside the wildcard row when both exist.
  • A crawler that the file allows by name while the wildcard blocks everything is not listed as blocked.
  • The row's identity is stable between audits (same check name and item ids), so a comparison shows one finding added and one resolved when the line is added and removed.
  • When crawl/robots-txt already reports the whole-site block, the ax/ai-crawlers row refers to it and does not count as a second, independent problem in the category score. If that is not possible within the scoring model, the PR says why.
  • Tests cover: wildcard block only, named blocks only, both together, and a named allow under a wildcard block.
  • The rule's docs page describes the grouped row.

Activity

  1. added
    bug
    size: S
    rules
    on Nov 11, 2026
  2. added theissue type on Nov 11, 2026
  3. nc9 commented on Nov 13, 2026

    @nc9
    ContributorAuthor

    Decision (lead, 2026-11-13): a robots.txt that blocks everything with a single wildcard Disallow: / gets one grouped informational check here, pointing at crawl/robots-txt, which already reports the site-wide block. When a named search-engine group decides differently, its own check stays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugrulessize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions