Skip to content

feat(report): record discovered URLs split by sitemap and links (repo#3079) - #2019

Merged
nc9 merged 2 commits into
mainfrom
boat/discovered-split-3079
Nov 17, 2026
Merged

nc9 merged 2 commits into
mainfrom
boat/discovered-split-3079

Conversation

@nc9

@nc9 nc9 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Adds optional scanScope.discovered { total, sitemap, links } (distinct fetched-or-pending frontier URLs, split by first queue source), stamped by the CLI audit, emitted as JSON meta.discovered (schema 1.23), reloaded by squirrel report --input, documented in docs/configuration/output.mdx. Report-only: nothing in scoring reads it. Older reports without it read as null.

Acceptance (repo#3079):

  • total of distinct URLs incl. unfetched: discoveredCoverage test 'a capped crawl counts pending links...'
  • sitemap vs links split: same test
  • capped crawl discovered > scanned: same test (5 known, 2 fetched)
  • field absent still reads: scanScopeDiscovered 'absent or malformed' test
  • no score change: no scoring code reads the field

Gates: cli typecheck/lint/format:check, report/audit-engine/core-contracts typecheck clean; bun test 4+2+... files pass; docs make validate exit 0.
Limit: a URL in both sitemap and links counts under whichever source the crawler queued first.
Agent skill: no change needed. Private follow-ups (gitlink, cloud stamping) filed separately.

@nc9
nc9 force-pushed the boat/discovered-split-3079 branch from 2c50e26 to 6e7c485 Compare November 17, 2026 07:44
@nc9
nc9 marked this pull request as ready for review November 17, 2026 08:04
@nc9
nc9 force-pushed the boat/discovered-split-3079 branch 3 times, most recently from d205300 to 54f9f5f Compare November 17, 2026 13:49
nc9 added a commit that referenced this pull request Nov 17, 2026
…t --publish through the audit guard #1082

squirrel report rebuilt a rule-filtered audit without meta.partialAudit, so
report --publish sent a partial score with no marker. The marker is now saved
in the crawl's scan scope (no migration, like startRedirect) and restored by
reconstruct; report --publish decides through resolvePublishDecision.

Renumbers this PR's schema version to 1.25 (1.24 is meta.discovered, #2019),
fixes the docs claims for the report path and adds the CHANGELOG entry.

Signed-off-by: Nik Cubrilovic <[email protected]>
nc9 added a commit that referenced this pull request Nov 17, 2026
nc9 added a commit that referenced this pull request Nov 17, 2026
@nc9
nc9 force-pushed the boat/discovered-split-3079 branch from af22a45 to cd50e58 Compare November 17, 2026 14:10
nc9 added a commit that referenced this pull request Nov 17, 2026
@nc9
nc9 force-pushed the boat/discovered-split-3079 branch from cd50e58 to 2f3c774 Compare November 17, 2026 14:40
@nc9
nc9 force-pushed the boat/discovered-split-3079 branch from 2f3c774 to 8f7a2a5 Compare November 17, 2026 14:53
@nc9
nc9 merged commit 8b8018a into main Nov 17, 2026
16 checks passed
@nc9
nc9 deleted the boat/discovered-split-3079 branch November 17, 2026 15:12
nc9 added a commit that referenced this pull request Nov 17, 2026
…t --publish through the audit guard #1082

squirrel report rebuilt a rule-filtered audit without meta.partialAudit, so
report --publish sent a partial score with no marker. The marker is now saved
in the crawl's scan scope (no migration, like startRedirect) and restored by
reconstruct; report --publish decides through resolvePublishDecision.

Renumbers this PR's schema version to 1.25 (1.24 is meta.discovered, #2019),
fixes the docs claims for the report path and adds the CHANGELOG entry.

Signed-off-by: Nik Cubrilovic <[email protected]>
nc9 added a commit that referenced this pull request Nov 17, 2026
…t --publish through the audit guard #1082

squirrel report rebuilt a rule-filtered audit without meta.partialAudit, so
report --publish sent a partial score with no marker. The marker is now saved
in the crawl's scan scope (no migration, like startRedirect) and restored by
reconstruct; report --publish decides through resolvePublishDecision.

Renumbers this PR's schema version to 1.25 (1.24 is meta.discovered, #2019),
fixes the docs claims for the report path and adds the CHANGELOG entry.

Signed-off-by: Nik Cubrilovic <[email protected]>
nc9 added a commit that referenced this pull request Nov 17, 2026
…t --publish through the audit guard #1082

squirrel report rebuilt a rule-filtered audit without meta.partialAudit, so
report --publish sent a partial score with no marker. The marker is now saved
in the crawl's scan scope (no migration, like startRedirect) and restored by
reconstruct; report --publish decides through resolvePublishDecision.

Renumbers this PR's schema version to 1.25 (1.24 is meta.discovered, #2019),
fixes the docs claims for the report path and adds the CHANGELOG entry.

Signed-off-by: Nik Cubrilovic <[email protected]>
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.

1 participant