RFC 0020: OpenShell Worker Provider and Credential-Brokered Session Sandboxes - #55
RFC 0020: OpenShell Worker Provider and Credential-Brokered Session Sandboxes#55sallyom wants to merge 1 commit into
Conversation
Signed-off-by: sallyom <somalley@redhat.com>
|
Codex review: needs real behavior proof before merge. Reviewed August 2, 2026, 1:06 PM ET / 17:06 UTC. ClawSweeper reviewWhat this changesThe draft RFC proposes an optional OpenShell WorkerProvider that runs explicitly selected cloud sessions in credential-brokered child sandboxes. Merge readinessKeep this draft RFC open: it proposes a new optional worker-runtime and credential-boundary model that requires maintainer product and security-direction review, and its required Priority: P3 Review scores
Verification
How this fits togetherOpenClaw’s Gateway currently owns session placement, recovery, transcripts, and agent execution. The proposed OpenShell provider would move explicitly selected Cloud/OpenShell session runtimes into disposable child sandboxes while the Gateway retains session ownership and OpenShell brokers provider credentials. flowchart LR
Request[Cloud session request] --> Gateway[OpenClaw Gateway]
Gateway --> Placement[Explicit OpenShell placement]
Placement --> Delegation[Parent-bound delegation]
Delegation --> Worker[Disposable worker sandbox]
Worker --> Broker[OpenShell inference route]
Worker --> Runtime[Session runtime and tools]
Gateway --> Recovery[Transcript and recovery ownership]
Decision needed
Why: The RFC adds a new session-placement mode and explicitly leaves the final delegated API and authorization model unresolved. Choosing the permanent authority boundary, credential exposure guarantees, and compatibility contract requires maintainer intent. Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the RFC draft open, set Do we have a high-confidence way to reproduce the issue? Not applicable: this is a design RFC, not a report of broken existing behavior. It supplies a future smoke-test outline rather than a current-main defect reproduction. Is this the best way to solve the issue? Unclear: a dedicated OpenShell WorkerProvider may be a viable direction, but the RFC deliberately leaves its permanent delegation API and authorization model unresolved, so acceptance requires maintainer confirmation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against af708f0ddb6f. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (9 earlier review cycles; latest 8 shown)
|
Summary
Proposes an optional OpenShell WorkerProvider for Cloud Worker sessions. Each explicitly selected Cloud/OpenShell session receives a disposable child sandbox while OpenClaw retains placement, recovery, transcripts, and session ownership.
Motivation
The existing OpenShell SandboxBackend isolates selected tools but leaves the session agent loop in the Gateway. This RFC defines the narrower delegated control path required to isolate a selected session's complete worker runtime without exposing OpenShell client mTLS, the supervisor JWT, or model-provider credentials.
Scope
openshellWorkerProvider.inference.local.Implementation status
The accompanying OpenClaw and OpenShell branches implement the proposal. The OpenClaw branch has been rebased on current
origin/main; OpenShell restricts delegated child shape to the parent-owned template and permits read-only inference-route metadata.Validation
Follow-up
An OpenShell issue will be opened to track the delegated worker capability and cross-repository implementation work.