π docs(design): RFC β session persistence via a detached daemon - #46
Open
winlp4ever wants to merge 2 commits into
Open
π docs(design): RFC β session persistence via a detached daemon#46winlp4ever wants to merge 2 commits into
winlp4ever wants to merge 2 commits into
Conversation
Promote ARCHITECTURE Appendix A into a full RFC (docs/design/SESSION_DAEMON.md): the two-reconnects framing (app-disconnect = daemon; network-disconnect = wrap remote tmux/mosh), the screen-model plan (@xterm/headless + addon-serialize snapshot for cold reattach), transport/protocol + lifecycle, the auto-update Γ daemon versioning policy (thin frozen protocol so a new client speaks to an old daemon), perf budget for the extra hop, security, quit-UX, WSL/hook interplay, a staged build plan (0β4), and the open decisions. Appendix A links here. No code β design discussion doc.
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.
Drafts the "big gun" we discussed into a proper RFC β
docs/design/SESSION_DAEMON.mdβ promoting ARCHITECTURE Appendix A from a sketch to a buildable plan. No code; this is the doc to argue against as we continue.What it captures
@xterm/headlessemulator per session +@xterm/addon-serializesnapshot for a correct cold reattach, with the fidelity cases that'll eat the time (alt-screen TUIs incl. Claude's, reflow-on-resize, scrollback bound, cwd/status tracking).SMTERM_PERFharness), security (0600 socket), quit-UX (keep-running-in-background default; "N background sessions" in the status bar), and WSL/hook interplay.Appendix A now links here. Ready to iterate β the open questions in Β§12 are where I'd like your calls next.