Skip to content

Preserve offline ink and undo across tablets - #108

Draft
bxff wants to merge 3 commits into
mainfrom
fixes/weft-audit-shared-ink
Draft

bxff wants to merge 3 commits into
mainfrom
fixes/weft-audit-shared-ink

Conversation

@bxff

@bxff bxff commented Dec 1, 2026

Copy link
Copy Markdown
Owner

What changed

Use the exact last shared page revision when two tablets send edits to the same page. Preserve independent strokes and respect a deletion the other tablet has not seen yet. Keep that protection after a device is unpaired or the relay restarts.

Verified

661 cloud and sync-engine tests passed. Two local tablet daemons tested edits and undo in both arrival orders. Independent checks covered revocation, restart, and ambiguous native stroke IDs. If a known revision is no longer available, or a native stroke ID is ambiguous, the relay declines the write and leaves the edit on the tablet rather than guessing.

This does not automatically repair already-diverged notebook copies. No live or physical tablet test.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant