Back to Plate

Non React Coverage Roadmap Phase 4

docs/plans/2026-03-25-non-react-coverage-roadmap-phase-4.md

53.0.53.1 KB
Original Source

Non React Coverage Roadmap Phase 4

Goal

Freeze the last defensible non-React cleanup queue after the Phase 3 burn-down and the stale file-list fix.

Lock Rules

  • Phase: temporary non-React cut only.
  • Frozen threshold: use 2026-03-25-coverage-priority-files-testing-review-non-react-post-phase-3.tsv as source of truth.
  • Tier 1 is every remaining score >= 5 file.
  • Tier 2 is optional cleanup from the best score = 4 files below.
  • Keep the queue file-first.
  • Do not collapse this back into package sweeps.
  • Future passes should mark items done, removed, or deferred. Do not reshuffle the whole thing unless the candidate set materially changes again.

Execution Policy

  • Finish Tier 1 only if you still want one last non-React lap.
  • Tier 2 is optional polish, not a mandate.
  • After Tier 1 or Tier 2, stop non-React coverage and move on.

Tier 1: Execute Now

  1. [done] 5 docxListToList.ts
  2. [done] 5 BaseCodePlugin.ts
  3. [done] 5 BaseStrikethroughPlugin.ts
  4. [done] 5 BaseItalicPlugin.ts
  5. [done] 5 BaseUnderlinePlugin.ts

Tier 2: Optional Cleanup

  1. [done] 4 getSelectedCellsBorders.ts
  2. [done] 4 AutoformatPlugin.ts
  3. [done] 4 DebugPlugin.ts
  4. [done] 4 get-package-manager.ts
  5. [done] 4 getCellIndices.ts
  6. [done] 4 BaseBoldPlugin.ts
  7. [done] 4 deleteText.ts

Deferred By Design

  • [deferred] score-4 Slate DOM-editor helpers like hasDOMNode.ts Reason: DOM-only seam. Real code, wrong phase.
  • [deferred] score-4 schema dust like settings.ts Reason: low-signal data/schema constants. Bad ROI.
  • [deferred] html-to-docx.ts Reason: giant serializer sludge. Bad final non-React spend.
  • [deferred] BasePlugin.ts and similar core foundation slabs Reason: broad rearchitecture target, not a good late coverage slice.
  • [deferred] utility dust like isTouchEvent.ts Reason: uncovered, but not worth touching.

Update Rule

  • When a file gets direct tests, flip it to [done].
  • When a file proves fake ROI, flip it to [deferred] with a reason.
  • When a file disappears, flip it to [removed].
  • Do not reshuffle the queue because a fresh pass had a new vibe.