Repository navigation
docs(proposals): remote-compute state modes (store-owned and snapshot-owned) - #391
Draft
waldemort-auto[bot] wants to merge 5 commits into
Draft
waldemort-auto[bot] wants to merge 5 commits into
waldemort-auto[bot] wants to merge 5 commits into
Conversation
… sandboxes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ot-owned modes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…se brief style (rev 3) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…mote-compute-state-modes.md (rev 4) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
Summary
Adds a provider-neutral design proposal (
docs/proposals/remote-compute-state-modes.md) defining two supported state modes for PilotSwarm sessions when the trusted worker (orchestration, CMS, facts, artifacts, model API keys) is separated from an untrusted remote sandbox (Copilot CLI, shell, file tools).Two state modes on one shared remote-compute foundation
statePolicy: "store-owned", universal default): Extends PilotSwarm'sstore-winsdurability model (docs/proposals/snapshot-store-wins.md) to separated remote compute providers. The remote sandbox acts as a disposable warm cache; at turn end, the guest stops the CLI and streams a bounded (<= 16 MiB) opaque compressed archive ofcli-home/session-state/<sessionId>over the authenticated channel. The worker hashes and commits the opaque bytes viastore-winsCAS without ever extracting them on the worker, writing{ turnKey, result }(<= 64 KiB) to a separate worker-owned trusted record. Delivers immediate cross-sandbox and worker-restart failover across any remote compute provider.statePolicy: "managed", opt-in full-disk tier): Lets a snapshot-capable compute provider own both CLI conversation files and workspace disk state inside provider snapshots while PilotSwarm's control plane stores a conditional JSON reference head (~2 KiB). RequirestranscriptEpoch: 1(without regeneration metadata), write-ahead CAS phases (sdk.managed-state,<= 4 KiB), 3-valued publication, and separates checkpoint acceptance fromrestoreQualification("unproven"in Phase 1) until provider snapshot retention and physical fencing are qualified.Prototype & live verification status
Scope
docs/proposals/remote-compute-state-modes.md, +180 lines).npm run check:privacypassed on commitb2384bdd2(3,346 indexed files, 0 findings).