Back to Plate

Slate V2 Transforms Family Deleted-Test Closure

docs/plans/2026-04-09-slate-v2-transforms-family-deleted-test-closure.md

53.0.67.2 KB
Original Source

Slate V2 Transforms Family Deleted-Test Closure

Scope

Close the deleted packages/slate/test/transforms/** family against the current slate-v2 transform contract.

Family Closure Matrix

Cluster groupDeleted countStatusCurrent proof ownerResolution
delete/*100mirrored nowsnapshot-contract.tscurrent narrow Transforms.delete(...) rows are directly proved on exact path, point, non-empty range, mixed-inline, and adjacent block-boundary seams
move/*49mirrored nowsnapshot-contract.tscurrent narrow Transforms.move(...) rows are directly proved across anchor/focus/start/end, distance/reverse, mixed-inline, and supported block-boundary seams
insertFragment/*41mirrored nowclipboard-contract.ts, snapshot-contract.tscurrent fragment insert behavior is proved on collapsed/expanded, mixed-inline, quote, wrapper-list, and explicit-target rebasing seams
setNodes/*29recovered nowtransforms-contract.ts, snapshot-contract.tscurrent helper widened from path-only to optional current-selection / explicit Point / Range / Span plus match / mode / voids
moveNodes/path6recovered nowtransforms-contract.ts, range-ref-contract.ts, operations-contract.tsexact-path no-op plus later nested-container target rebasing are directly proved, including consistent selection + range-ref rebasing on the effective move target
moveNodes/selection + moveNodes/voids-true7mirrored nowtransforms-contract.ts, range-ref-contract.ts, operations-contract.tsselection-driven and voids move breadth stays inside the current MoveNodesOptions contract and the exact ledger rows remain mirrored
wrapNodes/*, unwrapNodes/*, liftNodes/*, select/*, deselect/*, setPoint/*, unsetNodes/*64mirrored nowsnapshot-contract.tsthe current helper seams are materially mirrored on exact path plus top-level span/current-selection behavior, and the recovered public option bags now match that surface
mergeNodes/*, splitNodes/*, insertNodes/*, insertText/*, removeNodes/*112recovered nowindex.spec.ts, snapshot-contract.ts, operations-contract.tsthe old narrow-helper explicit-skip read is dead; upstream owner semantics for insert/split/merge/remove breadth are restored and the full transform fixture corpus is green

Totals:

  • mirrored now: 261
  • recovered now: 147
  • explicit skip: 0
  • reconciled total: 408

What Was Directly Recovered In This Batch

  • setNodes/inline/**
  • enough of moveNodes/path/** to prove:
    • exact-path no-op
    • later nested-container target rebasing
    • consistent selection + range-ref rebasing on the effective move target

See:

Current Boundary

The old narrow-helper explicit-skip story for packages/slate/test/transforms/** is no longer live.

Current slate package truth is simpler:

  • the full transform fixture corpus is green
  • helper breadth for mergeNodes, splitNodes, insertNodes, insertText, and removeNodes is recovered inside the kept package claim
  • any remaining explicit skips for the overall migration program now live outside this slate transform-family closure