Skip to content

Add lossless storage packing for relay edit history - #112

Draft
bxff wants to merge 1 commit into
mainfrom
fixes/weft-lossless-op-storage
Draft

bxff wants to merge 1 commit into
mainfrom
fixes/weft-lossless-op-storage

Conversation

@bxff

@bxff bxff commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Large stroke operations are verbose JSON. This stores compressible operations more compactly without changing a single byte the browser or tablet receives, and without deleting history or changing quota decisions.

Normal upgrades still use the original storage format. Packing is an explicit offline maintenance operation with a reversible unpack command. Older relays refuse the packed layout, and the runbook covers dry verification, backup and rollback before activation.

Verified locally: exact wire bytes and history replay; mixed-row and damaged-data handling; unchanged logical usage; packed backup through restore with deletion ledger; older relay refusing packed storage and reading the exact bytes after unpack; interruption and resume before layout and row commits. No live activation.

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