docs/plans/2026-03-22-coverage-priority-map.md
Run fresh repo coverage, score every packages/*/src/** file for non-React unit-test value, and sync the next recommendations against the work already completed on March 14-17, 2026.
bun test --coverage --coverage-reporter=lcov --coverage-dir=.coverage-repo-2026-03-22a --reporter=dots2524 pass0 fail437 files3.28smarkdown already got a focused helper and fallback pass. It is not the best next spend anymore.table already got the merge, sizing, and selection helper pass. It still has debt, but not enough value to stay at the front of the line.selection, docx-io, and a focused non-React core lane all got real follow-up work.media non-/react coverage is basically done now. Do not spend the next cycle there.packages/*/src/**./react files score 0 by design.0.0.Scores tie in a few places. The TSV is the raw matrix. The order below is my actual recommendation.
yjsBest next package.
/react requiredlist-classicBest next move if you want to stay closest to the existing testing plan.
docxsuggestionailistlayoutcode-blockcoreautoformatThis package needs a surgical pass, not a coverage binge.
packages/autoformat/src/lib/rules/**csvOne sharp little slice, not a whole campaign.
table
markdown
selection
docx-io
media
/react lane is basically saturatedlink
emoji and code-drawing
yjs, list-classic, docx, suggestion, or aiThe raw package and file matrices were generated as TSV artifacts during this pass and are intentionally treated as disposable analysis output, not committed source of truth.
The file matrix included every runtime file under packages/*/src, with:
scoreline_cov_pctuncovered_linessource_linesstatus
candidaterecently-coveredlow-value-dataexcluded-reactexcluded-typeexcluded-barrel