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
cli: local incremental re-audit still counts carried findings in pre-#3360 units #2097
After pub#2008 (repo#3360), the audit engine scores carried findings in the full audit's check units, but the local CLI's incremental re-audit path still counts in the old units:
apps/cli/src/audit/smart-audits.ts:321 passes no carriedChecksPerPage to the estimator.
The smart-merge totals loop in apps/cli/src/reports/reconstruct.ts (around line 1081) counts every carried row, including extra item rows.
So a local incremental re-audit moves toward the full audit's score but not all the way.
Acceptance Criteria
A local incremental re-audit (squirrel audit over an existing store) of a site where nothing changed reports the same passed/warnings/failed totals and score as a full local audit of that site.
smart-audits.ts passes the checks-per-page figure the engine uses, and reconstruct.ts totals skip extra item rows the way the engine's totals do.
A test covers a multi-check rule (e.g. img-alt) with multi-item findings on carried pages and asserts parity with the full audit.
Activity