Back to Plate

Slate V2 Interfaces Family Deleted-Test Closure

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

53.0.69.6 KB
Original Source

Slate V2 Interfaces Family Deleted-Test Closure

Scope

Close the deleted packages/slate/test/interfaces/** family by separating the current helper surface that is already mirrored by live proof from the deleted TypeScript declaration-merging surface that no longer belongs to the current contract.

Family Closure Matrix

Cluster idDeleted countStatusCurrent proof ownerResolution
Editor/positions40mirrored nowsnapshot-contract.tscurrent point iteration is already proved across offset, character, word, block, reverse, inline-fragmentation, and voids lanes
Editor/nodes26mirrored nowsnapshot-contract.tscurrent traversal is already proved across match, mode, pass, and universal seams
Editor/unhangRange13mirrored nowsnapshot-contract.tscurrent hanging-range behavior and void handling are already proved directly
Editor/after + Editor/before23mirrored nowsnapshot-contract.tscurrent point/path/range helper rows are already mirrored directly
Editor/above + Editor/marks + Editor/string + Editor/next + Editor/previous + Editor/isEmpty and related small Editor clusters85mirrored nowsnapshot-contract.tsthe current read/query seam is already materially covered in the live oracle tranche
Path/*120mirrored nowsnapshot-contract.tsrelationship helpers plus Path.transform(...) are already directly proved
Point/*50mirrored nowsnapshot-contract.tscompare / equality / direction helpers plus Point.transform(...) are already directly proved
Range/*32mirrored nowsnapshot-contract.ts, interfaces-contract.tsincludes / equality / direction / transform plus runtime guards are already proved
Node/*52mirrored nowsnapshot-contract.ts, interfaces-contract.tsNode.isNode, isNodeList, getIf, string, descendants, elements, and texts are already directly proved
Text/*36mirrored nowsnapshot-contract.ts, interfaces-contract.tsText.equals, decorations, isText, isTextList, and matches are already directly proved
Element/*21mirrored nowsnapshot-contract.ts, interfaces-contract.tsElement.isElement, isElementList, and helper predicates are already directly proved
Location/*25mirrored nowsnapshot-contract.tsLocation.isPath, isPoint, isRange, and isSpan are already directly proved
Operation/*26mirrored nowsnapshot-contract.ts, interfaces-contract.tsisOperation, isOperationList, and inverse(...) are already directly proved
Scrubber/__root__1mirrored nowsnapshot-contract.tsthe current scrubber seam is already directly proved
CustomTypes/__root__10explicit skipnonedeleted declaration-merging tests targeted a CustomTypes seam that does not exist in the current exported types or runtime contract

Totals:

  • mirrored now: 566
  • explicit skip: 10
  • reconciled total: 576

Why The Explicit Skip Is Honest

The deleted CustomTypes rows depended on a module-augmentation seam that the current package does not expose:

  • there is no CustomTypes interface in interfaces.ts
  • the live exported document model is structural and open-ended:
    • Element is { type: string; children: readonly Descendant[]; [key: string]: unknown }
    • Text is { text: string; [key: string]: unknown }
  • the only remaining references to CustomTypes were stale docs

That makes CustomTypes a real explicit skip, not hidden missing proof.

Docs Synced