aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/workbench/routing.test.mjs
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-25 11:57:33 +0100
committereunhhu <[email protected]>2026-09-25 11:57:33 +0100
commit08056bb65bb9d1cfa4ccb1cd0b9cb67554d560a3 (patch)
tree4955dd22c1a1602264c1502181dd2ebd20cbec0c /prototypes/workbench/routing.test.mjs
parentefba82d75e4357c7e82b027b04a5ec9937f8443b (diff)
downloadpure-08056bb65bb9d1cfa4ccb1cd0b9cb67554d560a3.tar.gz
pure-08056bb65bb9d1cfa4ccb1cd0b9cb67554d560a3.zip
Allow drafts without a stored base
Runtime-owned values such as an app's text need the same extent tree as stored documents without a store file. pure_draft_new creates such a draft; it edits, lends versions and reclaims like any draft but refuses to commit. pure_draft_restore returns a held draft to an earlier version, so a failed event can abandon its edits. A test runs 4,000 random edits with a fifth abandoned against a flat oracle under ASan/UBSan.
Diffstat (limited to 'prototypes/workbench/routing.test.mjs')
0 files changed, 0 insertions, 0 deletions