You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
squirrel report rebuilt from the project database has no scan scope #1050
squirrel report (and squirrel report <id>), which rebuilds an audit from the project database, renders a report with no scanScope. A capped audit then reads like an uncapped one: there is no page limit in the scan line, the HTML coverage notice says "Not every discovered page was crawled" rather than "The crawl reached its page limit of N", and JSON has no meta.maxPages. There is also no scanScope.unfetched (pub#1049), so the discovered count leaves out the URLs the crawl queued but never fetched.
squirrel audit itself, and squirrel report --input <file.json>, both carry the scope. Only the database path (reconstructReport in apps/cli/src/reports/reconstruct.ts, called from apps/cli/src/controllers/report.ts) drops it.
Repro: squirrel audit https://example.com -m 5, then squirrel report -f llm. There is no <scan-scope> element.
Acceptance Criteria
squirrel report from the project database renders the same scanScope (origin, maxPages, requestedMaxPages when clamped, pagesCrawled, capped, unfetched) that squirrel audit printed for that crawl
A crawl stored before the page limit was recorded still renders, with no scope rather than an invented one
A test covers a capped crawl reloaded from the database (scan line, JSON meta.maxPages and meta.unfetched)
I would like to take this. I will trace the persisted crawl/run metadata used by reconstructReport, restore scanScope only when the historical record has enough authoritative fields, and add a capped database-reload regression covering the scan line plus JSON maxPages and unfetched values.
Activity
WilliamK112 commentedon Oct 24, 2026
I would like to take this. I will trace the persisted crawl/run metadata used by
reconstructReport, restorescanScopeonly when the historical record has enough authoritative fields, and add a capped database-reload regression covering the scan line plus JSONmaxPagesandunfetchedvalues.fix(report): preserve stored scan scope squirrelscan#1050
fix(report): preserve stored scan scope squirrelscan#1050
fix(report): preserve stored scan scope #1050
nc9 commentedon Oct 26, 2026
Fixed in #1118 (main a3d453c): squirrel report keeps the scan scope the audit printed. Ships in v0.0.134.