docs(plans): Lody session sharing v2, a design exploration - #219
Open
pythonlearner1025 wants to merge 1 commit into
Open
docs(plans): Lody session sharing v2, a design exploration#219pythonlearner1025 wants to merge 1 commit into
pythonlearner1025 wants to merge 1 commit into
Conversation
Org-wide shares with principal kinds and expiry, org and public links, a computed guest reach for non-members, the session viewer for admins without a seat, the editor ceiling for read-write grants, drain on every narrowing, fork and move across workspaces through a transfer bundle, and the one architecture decision behind all of it: the box stays the truth and the control plane holds a non-authoritative catalog plus opt-in snapshots (M1), with the box-only (M0) and live-hub (M2) options drawn beside it. Written to be argued with, not as a decision record. Every claim about BlitzOS and Lody was checked against the tree at 9d697a3; the reading list in section 1 names each source and what it settled. Two findings surfaced along the way and are recorded as v1 corrections: a level change from rw to ro never drains, and a grantee's connection receives the owner's whole presence snapshot. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
A design exploration for Lody session sharing v2, on top of the shipped-dark v1 in
plans/LODY-SHARING.md. It is meant to be argued with, not merged as a decision: the asks are org-wide shares with a Google-Docs-shaped dialog, org and public links, org admins reading every session whether or not they hold a seat, non-members pulled in as guests, instant scope changes and revocation, and fork or move of a session between workspaces.What the document does:
Two v1 findings surfaced during the research and are recorded as corrections to make in phase A:
rwtoroupserts the row but never drains, so a live socket keeps write until the tab reconnects (core/session-shares.ts:247-256);local-loro-data-plane-server.ts:239-240,:397-400).No code changes. Nothing is built.
Checklist
npm run typecheckpasses — not run; docs-only change underplans/, which no gate readsnpm run lint:gatepasses — samenpm testpasses — samelint-baseline.jsonwas not raised🤖 Generated with Claude Code