Repository navigation
Description
User Story
I use OpenShell on Windows with the MXC driver (process_container and isolation_session) and need sandbox exec and sandbox start to work there like they do on Linux
Problem Statement
On MXC, sandbox exec fails (the supervisor's SSH server isn't started on Windows) and sandbox start after stop returns Unimplemented.
Impact / Why This Matters
Users can't run commands in a running Windows sandbox or restart a stopped one, and the smoke, lifecycle and conformance scenarios can't pass on Windows
Proposed Design
No CLI changes. sandbox exec runs the command in the sandbox and returns its output and exit code; plain commands and cmd.exe syntax both work. sandbox start brings a stopped sandbox back to Ready with its workspace intact. Interactive connect is out of scope.
Acceptance Criteria
-
sandbox execworks on both MXC backends -
sandbox startrestarts a stopped MXC sandbox; the workspace persists - Linux behavior unchanged
Alternatives Considered
Putting every command in the startup command and recreating the sandbox to run anything else; that loses ad-hoc commands and stop/start. OpenShell's extension points (middleware, interceptors, providers) handle network traffic and credentials, not running processes, so they don't apply.
Agent Investigation
Implementation: getrou/OpenShell user/getrou/mxc-windows-exec (PR #5427). Tested on process_container: exec, and stop/start (start relaunches the sandbox from its spec; the workspace persists). 7/10 pre-restructure conformance scenarios pass; the rest are file transfer. The same exec and stop/start flows also worked on isolation_session with session container support turned on.
Checklist
- I've reviewed existing issues and the published docs
- This is a design proposal, not a "please build this" request
Activity