Repository navigation
docs(design): tole-desktop, local and remote over the same serve API - #966
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
Say the owner statement is recorded, not locked; state that the token file is not checked for mode or owner; mark log hygiene as not audited; soften the Destructive claim to what the threat model says; correct the resume route; note that a connection over the cap gets no response and that webhook routes have their own gate.
4 tasks
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
Adds
docs/desktop-design.md, the design note asked for in #949 (step 7 of #941), and links it from the README anddocs/epics.md.Why
The desktop client (#527) must work against a local and a remote
tole servethrough the same routes. Two questions in #949 are not decided (how a remote desktop reaches the server, and the local transport). The note lays out the contract, the gaps and every open decision with a recommended default. It does not decide anything: all of D1 to D11 are marked open for the owner.Changes
docs/desktop-design.md: routes a desktop needs and the gaps (feat(serve): list past sessions with a name, folder and last activity #572 past-session list, feat(serve): list the models a client may pick, set the session model and the thinking level #574 model and effort), screen-to-route readiness, the client contract, a local flow (loopback, token file, lifecycle, crash and restart, workspace), a remote flow without any vendor relay (the owner's own TLS proxy or private network; TLS is out of scope for tole), what the server already enforces, failure modes on a flaky link, threat-model rows, and the decision table. It quotes where the "private-reach" owner statement is recorded (epic: one assembly for every face (finish #525, the drift behind #536) #941 and docs(design): tole-desktop, local and remote over the same serve API #949; the exact phrase "no private reach" is not in the repo) and notes what it does not say.README.md,docs/epics.md: link to the note.Testing
POST /promptconnection does not cancel the turn (no code watches the socket; this is an absence, still without a test), and the token-file reader checks no mode or owner. It raised eight wording points, all applied in the second commit: "locked" decision became "recorded owner statement"; the token-file mode check is stated as a fact; "credentials are never logged" is marked not audited; "Destructive tools are unreachable through serve" is softened to what the threat model says;/resumeis corrected toPOST /sessions {"resume": id}; a connection over the cap gets no response; and the webhook routes have their own gate.Parent: #941. Issue: #949.