Skip to content

fix(cli): console output consistency fixes from the nut shop audit #2086 - #2168

Merged
nc9 merged 7 commits into
mainfrom
boat/cli-console-output-2086
Nov 21, 2026
Merged

nc9 merged 7 commits into
mainfrom
boat/cli-console-output-2086

Conversation

@nc9

@nc9 nc9 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Partial fix for #2086 (Refs, not Closes: five criteria need engine/data investigation, listed below).

Done:

  • report --list date column widened so the date and page count no longer touch (report.ts).
  • Totals and footer pluralise ("1 error", "1 warning"); test console-warning-totals.test.ts "pluralises one error and one warning".
  • "Run with --probe aggressive" appears once in the exposed-files not-checked note: rule message no longer carries the hint (the skip-reason hint does); not-checked-probe-level-once-2086.test.ts, exposed-files test, golden file regenerated.
  • squirrel entities lists every entity counted in "declared on several pages with no @id", and an unnamed entity prints once, not "(unnamed X) (X)".
  • analyze prints the "Config:" line above the spinner instead of onto it (silentConfig + configSourceLine).
  • Em-dashes removed from the named CLI strings (not signed in, Detected stack, JSON-LD note, AGENTS.md hint) and the report notes strings.

Not done (need investigation, not guessed): category header unit vs totals; Agents group count vs section header; analyze vs audit totals; "9 of 37 product pages" count; the cloudflare warning (string not found in this repo, likely not present on current main). Other em-dashes remain in less-visible CLI strings (fail-on, updater, doctor).

Gates (repo-public root): format:check, lint, typecheck clean. Suites via scripts/test-suites.ts: report 1413 pass 0 fail; rules 12502 pass (2 fail fixed after, files re-run 34 pass); audit-engine golden regenerated, 3 pass; cli 4572 pass, 2 fail in audit-ephemeral-wiring (5 s timeout under load, passes alone 11/0).
Agent skill: no change needed.

@nc9
nc9 force-pushed the boat/cli-console-output-2086 branch 3 times, most recently from 2941c6b to e36d966 Compare November 20, 2026 23:19
@nc9
nc9 force-pushed the boat/cli-console-output-2086 branch from e36d966 to 14dc59b Compare November 21, 2026 02:10
@nc9
nc9 marked this pull request as ready for review November 21, 2026 04:18
@nc9
nc9 merged commit ee9768a into main Nov 21, 2026
8 of 15 checks passed
@nc9
nc9 deleted the boat/cli-console-output-2086 branch November 21, 2026 05:30
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