Skip to content

JSON report auditLevel.settings claims render/cloudChecks/externalLinks on --offline runs #1275

Closed

Description

@nc9

meta.auditLevel.settings in the JSON report (and the <audit-level> element in the LLM output) is documented as "the settings it resolved to". On an --offline run it still reports the level's cloud defaults.

For squirrel audit <url> -C surface --max-pages 30 --offline --passive on v0.0.141, every report has:

"auditLevel": {"level": "custom", "basedOn": "surface",
  "settings": {"pages": 30, "crawlStrategy": "sampled", "cloudChecks": true, "render": "all", "externalLinks": true, "probe": "passive"},
  "changes": ["pages", "probe"]}

The same report lists links/broken-external-links as not checked (external-links-not-checked), and nothing was rendered or checked in the cloud. All 300 reports sampled from a batch run show the same thing. A consumer reading settings to decide what was covered (a CI gate, an agent, our own corpus analysis) is told that rendering and external link checks ran when they didn't.

Acceptance Criteria

  • On an --offline audit, auditLevel.settings reports cloudChecks: false, externalLinks: false and the render mode actually used. offline appears in changes (or the settings carry an explicit offline: true).
  • The same holds for the LLM, markdown and text outputs that render the audit level.
  • A test pins the resolved settings for -C surface --offline and for a cloud run.
  • The JSON output docs for auditLevel say these are the effective settings.
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

    bugclisize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions