Skip to content

fix(cli): report --input keeps meta.partialAudit and publishes with it #2102 - #2153

Merged
nc9 merged 2 commits into
mainfrom
boat/report-partial-audit-2102
Nov 20, 2026
Merged

nc9 merged 2 commits into
mainfrom
boat/report-partial-audit-2102

Conversation

@nc9

@nc9 nc9 commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Closes #2102

convertSlimReport now reads meta.partialAudit through a validator (bounded lists of short strings, valid WCAG level, dropped when it names no filter). squirrel report --input therefore renders the marker and --publish decides through reportPublishDecision with the marker in the payload. docs/configuration/output.mdx no longer lists --input as an exception.

Acceptance criteria

  • json carries meta.partialAudit, validated: tests 'a rule-filtered export keeps its marker...' and 'a hostile marker is bounded and validated' (tests/controllers/report.test.ts)
  • publish decides through reportPublishDecision: same test, compared with resolvePublishDecision(ruleFilterActive: true)
  • no field, no marker: 'a file without the field yields no marker'
  • docs exception removed (output.mdx)

Gates

apps/cli format:check, lint, typecheck pass; scripts/test-suites.ts --run cli: 4570 pass, 14 skip, 0 fail; docs make validate pass.

Agent skill: no change needed.

@nc9
nc9 force-pushed the boat/report-partial-audit-2102 branch from 2dc8128 to 62d34ad Compare November 20, 2026 20:43
@nc9
nc9 marked this pull request as ready for review November 20, 2026 20:58
@nc9
nc9 merged commit 7e81058 into main Nov 20, 2026
8 of 15 checks passed
@nc9
nc9 deleted the boat/report-partial-audit-2102 branch November 20, 2026 22:50
nc9 added a commit that referenced this pull request Nov 21, 2026
* origin/main:
  test(audit-engine): carriedCheckAsFailure keeps the continuation mark #2098 (#2166)
  fix(rules): correct zoom-disabled 1.4.4 wording, related criteria for wcagNone rules #2115 (#2174)
  refactor(cli): list bash completion flags one per line #2116 (#2175)
  feat(rules): waive a public Supabase table by bare name in security/supabase-rls #2103 (#2177)
  test(rules): every site rule emits a check on a clean site, with a shrinking baseline #1741 (#2179)
  feat(rules): report each 5xx page as its own crawl/server-errors finding #2130 (#2181)
  fix(rules): one finding per leaked field across json-sensitive-fields and auth-endpoint-disclosure, deduped by the runner #2083 (#2154)
  fix(cli): report --input keeps meta.partialAudit and publishes with it #2102 (#2153)
  fix(cli): local incremental re-audit counts carried findings in the full audit's check units (#2159)
  fix(crawler): cap stored entity refs and edges, skip corrupt refs rows #2135 (#2158)
  fix(crawler): a quick crawl fetches the start URL when a sitemap lists it past maxPages #2127 (#2157)
  fix(rules): security/exposed-actuator reads a 5xx through isUnverifiedReply, never part of a pass #2101 (#2151)
  fix(rules): hold large text to 3:1 in a11y/color-contrast #2105 (#2155)
  fix(cli): size the report list date column from rendered dates #2095 (#2152)

Signed-off-by: Nik Cubrilovic <[email protected]>
nc9 added a commit that referenced this pull request Nov 21, 2026
* origin/main:
  test(audit-engine): carriedCheckAsFailure keeps the continuation mark #2098 (#2166)
  fix(rules): correct zoom-disabled 1.4.4 wording, related criteria for wcagNone rules #2115 (#2174)
  refactor(cli): list bash completion flags one per line #2116 (#2175)
  feat(rules): waive a public Supabase table by bare name in security/supabase-rls #2103 (#2177)
  test(rules): every site rule emits a check on a clean site, with a shrinking baseline #1741 (#2179)
  feat(rules): report each 5xx page as its own crawl/server-errors finding #2130 (#2181)
  fix(rules): one finding per leaked field across json-sensitive-fields and auth-endpoint-disclosure, deduped by the runner #2083 (#2154)
  fix(cli): report --input keeps meta.partialAudit and publishes with it #2102 (#2153)
  fix(cli): local incremental re-audit counts carried findings in the full audit's check units (#2159)
  fix(crawler): cap stored entity refs and edges, skip corrupt refs rows #2135 (#2158)
  fix(crawler): a quick crawl fetches the start URL when a sitemap lists it past maxPages #2127 (#2157)
  fix(rules): security/exposed-actuator reads a 5xx through isUnverifiedReply, never part of a pass #2101 (#2151)
  fix(rules): hold large text to 3:1 in a11y/color-contrast #2105 (#2155)
  fix(cli): size the report list date column from rendered dates #2095 (#2152)

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.

cli: report --input drops meta.partialAudit (and publishes without it)

1 participant