docs/plans/2026-04-19-slate-history-tranche-4-execution.md
Close packages/slate-history honestly on top of the settled slate core
claim:
slate core is now settled enough to unblock tranche 4:
slate-history now has one direct proof owner landed:
packages/slate-history/test/history-contract.tsslate-history now also has the second direct proof owner landed:
packages/slate-history/test/integrity-contract.tsbun test ./packages/slate-history/test/index.spec.tsbun test ./packages/slate-history/test/history-contract.tsbun test ./packages/slate-history/test/integrity-contract.tsbunx turbo build --filter=./packages/slate-historybunx turbo typecheck --filter=./packages/slate-historybun run lint:fixbun run lintbun run bench:history:compare:localeditor.apply(...) interceptionslate-history as the first real proof that the settled core commit /
transaction model survives contact with a support packagehistory-contract.ts file as the main problem
when the current package gate is already proving a deeper runtime bugpackages/slate/** unless a kept history row proves the
bug really lives in coreNone blocking this slate-history lane.
Deferred / carried forward:
bun run bench:history:compare:local+29.35ms+20.04ms+25.29ms+31.77mspackages/slate/**
file changes:
bun run bench:slate:6038:localbun run bench:core:normalization:compare:localbun run bench:core:observation:compare:localbun run bench:core:huge-document:compare:localbun test ./packages/slate-history/test/index.spec.tsbun test ./packages/slate-history/test/history-contract.tsbun test ./packages/slate-history/test/integrity-contract.tsbunx turbo build --filter=./packages/slate-historybunx turbo typecheck --filter=./packages/slate-historybun run lint:fixbun run lintbun run bench:history:compare:localslate-history as settled enough to stop blocking tranche 4slate-hyperscript as the next package in orderreplanslate-history now captures undo units from the committed publish seamhistory-contract.tsintegrity-contract.tsslate-history now also has a runnable compare owner again:
bench:history:compare:localslate-history package decisions remain in this laneslate-history compare owner is live again+29.35ms+20.04ms+25.29ms+31.77msslate-hyperscriptcontinue calls against this same owner without a new scope or new
contrary evidence should return:
replanpackages/slate-history churn here would be invented work, not
progress1continue was received against the same completed owner with no
new scope, contrary evidence, or blocker changereplan