Skip to content

refactor(web): remove dead exports flagged by the lean audit#146

Merged
muraschal merged 1 commit into
mainfrom
chore/lean-audit-fixes
Jun 25, 2026
Merged

refactor(web): remove dead exports flagged by the lean audit#146
muraschal merged 1 commit into
mainfrom
chore/lean-audit-fixes

Conversation

@muraschal

Copy link
Copy Markdown
Contributor

Applies the two confirmed-removable findings from the read-only lean audit dogfooded on this repo:

  • LEAN-001 (P3) — removed REPORT_SLUGS (exported on spec, 0 consumers per knip + grep).
  • LEAN-002 (P3) — dropped export from ScoreRow/NotApplicable/Finding/DedupExhibit (used only internally to compose the exported Report type).

Negative LoC; knip now reports zero unused exports for web/. Verified: typecheck · lint · test 17/17 · build.

Lean audit verdict was A− overall — 0 vulns, 0 phantom/unused real deps, ~0%% JS/TS duplication, no slop; depcheck false-positives left as load-bearing.

From the read-only lean audit dogfooded on this repo:
- LEAN-001: remove `REPORT_SLUGS` — exported on spec, zero consumers (knip + grep).
- LEAN-002: drop `export` from ScoreRow/NotApplicable/Finding/DedupExhibit —
  used only internally to compose the exported Report type.

Negative lines of code; knip now reports zero unused exports for web/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auditor Ready Ready Preview, Comment Jun 25, 2026 8:08pm

Request Review

@muraschal muraschal merged commit d5485f8 into main Jun 25, 2026
5 checks passed
@muraschal muraschal deleted the chore/lean-audit-fixes branch June 25, 2026 20:11
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