docs/plans/2026-04-09-slate-v2-slate-history-deleted-test-family-closure.md
Historical batch note. The live closure read is now folded into release-file-review-ledger.md.
packages/slate-history/test/**Captured from:
git -C /Users/zbeyens/git/slate-v2 diff --diff-filter=D --name-only -- packages/slate-history/test
Exact deleted test paths: 17
packages/slate-history/test/index.jspackages/slate-history/test/isHistory/after-edit.jspackages/slate-history/test/isHistory/after-redo.jspackages/slate-history/test/isHistory/after-undo.jspackages/slate-history/test/isHistory/before-edit.jspackages/slate-history/test/jsx.d.tspackages/slate-history/test/undo/cursor/keep_after_focus_and_remove_text_undo.jspackages/slate-history/test/undo/delete_backward/block-join-reverse.tsxpackages/slate-history/test/undo/delete_backward/block-nested-reverse.tsxpackages/slate-history/test/undo/delete_backward/block-text.tsxpackages/slate-history/test/undo/delete_backward/custom-prop.tsxpackages/slate-history/test/undo/delete_backward/inline-across.tsxpackages/slate-history/test/undo/insert_break/basic.tsxpackages/slate-history/test/undo/insert_fragment/basic.tsxpackages/slate-history/test/undo/insert_text/basic.tsxpackages/slate-history/test/undo/insert_text/contiguous.tsxpackages/slate-history/test/undo/insert_text/non-contiguous.tsx| Deleted file / cluster | Deleted count | Status | Current proof owner / replacement | Resolution |
|---|---|---|---|---|
harness files (test/index.js, test/jsx.d.ts) | 2 | explicit skip | history-contract.ts | deleted fixture harness files add no current contributor-facing value; the live proof surface is the direct contract suite |
test/isHistory/* | 4 | recovered now | history-contract.ts | direct proof now keeps History.isHistory(...) true before edits and across edit, undo, and redo lifecycle |
test/undo/cursor/keep_after_focus_and_remove_text_undo.js | 1 | recovered now | history-contract.ts | direct proof now restores the saved expanded selection after delete, blur, refocus, and undo |
test/undo/delete_backward/block-join-reverse.tsx, block-nested-reverse.tsx, block-text.tsx | 3 | recovered now | history-contract.ts | direct proof now restores reverse block joins, reverse nested block joins, and reverse same-text deletes |
test/undo/delete_backward/custom-prop.tsx | 1 | explicit skip | history-contract.ts | the old cross-block delete shape is wider than the live delete helper contract; current same-text custom-prop restore is proved directly instead |
test/undo/delete_backward/inline-across.tsx | 1 | explicit skip | history-contract.ts | the old cross-inline multi-block delete shape is wider than the live delete helper contract; current same-text inline restore is proved directly instead |
test/undo/insert_break/basic.tsx | 1 | recovered now | history-contract.ts | direct proof now restores insertBreak() commits |
test/undo/insert_fragment/basic.tsx | 1 | explicit skip | history-contract.ts, clipboard-contract.ts | the deleted deep nested fragment shape is beyond the current simple-block fragment contract; current simple block fragment undo is proved directly instead |
test/undo/insert_text/basic.tsx | 1 | recovered now | history-contract.ts | direct proof now restores a plain insertText(...) commit |
test/undo/insert_text/contiguous.tsx, test/undo/insert_text/non-contiguous.tsx | 2 | explicit skip | history-contract.ts, Readme.md | legacy timing-based auto-merge heuristics are not the live contract; the current package uses one outer transaction per undo unit and explicit merge helpers |
Totals:
recovered now: 10explicit skip: 717History.isHistory(...) stays true before edits and across undo/redoinsertText(...) commit is undoableinsertBreak() commits undo cleanlytest/index.js and test/jsx.d.ts were fixture plumbingwithMerging(...),
withNewBatch(...), and withoutMerging(...)| Scope | Status | Notes |
|---|---|---|
packages/slate-history/** | open | parent stays open because deleted src/history.ts and package-root residue are outside this batch |
packages/slate-history/test/** | closed | closed by this note |
packages/slate-history/src/history.ts | open | deleted source rewrite still needs explicit file-level audit against the current package surface |
packages/slate-history/CHANGELOG.md | open | package-root changelog residue still needs explicit low-priority disposition |
packages/slate-history/src/history.tspackages/slate-history/CHANGELOG.mdpackages/slate-history/**True Slate RC blockers outside deleted-history testsyarn workspace slate-history run testyarn test:customyarn lint:typescript