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
fix(cli): console output inconsistencies seen auditing the nut shop demo (v0.0.183) #2086
`squirrel report --list` puts a separator between the date and the page count (today: `11/17/2026, 10:09:37 AM25`)
The totals line pluralises correctly ("1 error", not "1 errors")
A category header and the totals use the same unit, or label which is which: the Crawlability header said "25 errors" while the total said 1 error, because one counts pages and the other counts checks
Group counts match their section headers: the Agents group showed ⚠9 while the Agent Experience section said "11 warnings"
`squirrel analyze` over the same stored crawl gives the same pass/warn/fail totals as the audit that made it, or the difference is explained in the output (seen: audit 3651/87/1, analyze 3642/90/1)
The "Exposed Sensitive Files" not-checked note says "Run with --probe aggressive" once, in both the CLI and the cloud report (today it repeats)
`squirrel entities` lists every entity counted in "N declared on several pages with no @id" (it said 2 and listed only Brand), and an unnamed entity prints once, not as "(unnamed FAQPage) (FAQPage)"
Scan details count product pages correctly ("9 of 37 product pages" on a shop with 36 products) (obsolete: not reproducible since the demo sitemap changed; re-file with a fixture if seen again)
`analyze` does not print the "Config: (none, using defaults)" log line onto the spinner line ("Analyzing audit rulesConfig: ...")
User-facing CLI strings have no em-dashes ("not signed in — run …", "Detected stack — not part of the score", the AGENTS.md hint). The house copy rule applies, and the docs quote this output verbatim
A signed-out audit does not warn "Site uses cloudflare protection, some pages may be inaccessible" when every page was fetched successfully
Graded against public main f50d1ad (includes #2168, partial fix). Built from source and ran squirrel audit https://nutshop.squirrelscan.com --max-pages 30 --no-publish, then analyze, report --list, entities. Ticked the boxes that pass; 5 stay open.
Exposed files note: "Run the audit with --probe aggressive" appears once (CLI output; not-checked-probe-level-once-2086.test.ts covers the shared report text). Cloud report not run here.
entities: "Entities without an @id (2)" lists ImageObject and Brand; unnamed prints once.
analyze: Config: (none, using defaults) is on its own line above the result.
Header vs totals unit: section headers count grouped findings, the Group/Category Breakdown and Total count checks, with no label saying which is which. There was no Crawlability section on this run, but the same mismatch shows elsewhere (packages/report/src/grouping.ts groupIssuesByCategory vs score categories).
Group counts vs section headers: Agents ⚠24 but "Agent Experience (27 warnings)"; Security breakdown ⚠2 vs "Security (2 errors, 3 warnings)"; Performance ⚠32 vs "(33 warnings)".
analyze vs audit: audit 4587 / 91 / 4, analyze 4586 / 96 / 4 on the same crawl, no explanation printed.
Em-dashes: the named strings are fixed, but the audit output still prints two ("No Markdown response — consider...", "Visible text is under 15% of the page HTML — ..."), and auth.ts:30,94 still has them.
Product page count: current demo sitemap lists 37 product URLs and the report says "14 of 37", so the original 36 vs 37 case does not reproduce; cannot confirm either way.
Activity
fix(cli): console output consistency fixes from the nut shop audit #2086
docs(changelog): add console output consistency entry #2086
fix(cli): console output consistency fixes from the nut shop audit #2086
docs(changelog): add console output consistency entry #2086
fix(cli): console output consistency fixes from the nut shop audit #2086
docs(changelog): add console output consistency entry #2086
fix(cli): drop the report --list changelog clause shipped by #2152, r…
fix(cli): console output consistency fixes from the nut shop audit #2086
docs(changelog): add console output consistency entry #2086
fix(cli): drop the report --list changelog clause shipped by #2152, r…
docs(rules): quote the agents-md colon messages in the rule page #2086
docs(cli): quote the colon forms the CLI now prints #2086
docs(report): match the not-checked note and tech stack colon form #2086
fix(cli): console output consistency fixes from the nut shop audit #2086
nc9 commentedon Nov 21, 2026
Graded against public main f50d1ad (includes #2168, partial fix). Built from source and ran
squirrel audit https://nutshop.squirrelscan.com --max-pages 30 --no-publish, thenanalyze,report --list,entities. Ticked the boxes that pass; 5 stay open.Pass:
11/21/2026, 8:51:18 PM 30(separate columns).console-warning-totals.test.tspasses;Total: ... 4 errors.not-checked-probe-level-once-2086.test.tscovers the shared report text). Cloud report not run here.Config: (none, using defaults)is on its own line above the result.apps/cli/src/lib/bot-protection-notice.ts,bot-protection-notice.test.ts, shipped in feat(rules): security/form-captcha recognises honeypot fields and reports info #2228 #2237).Open gaps:
packages/report/src/grouping.tsgroupIssuesByCategory vs score categories).⚠24but "Agent Experience (27 warnings)"; Security breakdown⚠2vs "Security (2 errors, 3 warnings)"; Performance⚠32vs "(33 warnings)".auth.ts:30,94still has them.nik
nc9 commentedon Nov 21, 2026
Closing with follow-ups. #2168 fixed the six ticked items. The rest moved to their own issues:
The product page count item is obsolete: it does not reproduce since the demo sitemap changed. Re-file with a fixture if it shows up again.
nik