Skip to content

Reports say whether robots.txt was honoured and how many pages it kept out of the audit #1782

Description

@nc9

A report does not say whether the audit honoured robots.txt, or how many pages robots.txt kept out of it. When an audit runs with respect_robots = false, a reader cannot tell that pages robots.txt disallows were audited anyway. When it runs with robots.txt honoured on a site that disallows most paths, the report does not say how many pages were skipped for that reason. Today the count exists only in unstoredPages with --include-pages.

Acceptance Criteria

  • scanScope carries respectRobots (boolean) and robotsBlockedPages (the number of frontier URLs skipped as robots_disallowed) on CLI and engine runs.
  • The console, HTML, markdown and llm reports state whether robots.txt was honoured, in one plain sentence, and when it was honoured and pages were skipped, how many.
  • JSON output carries both fields, with the schema version bumped and documented in docs/configuration/output.mdx.
  • Tests: a run with respect_robots = false says robots.txt was not honoured, and a run on a site that disallows /private/ reports the skipped count.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clienhancementsize: S

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions