Repository navigation
Conversation
Signed-off-by: Eitan <eitan@securegion.com>
Signed-off-by: Eitan <eitan@securegion.com>
|
SOURCE ACCEPT — exact head The optional caller-owned UUID reaches the actual generated Seven affected mocked tests and eleven additional inert checks passed, including real protobuf assignment, invalid-ID refusal and partial-stream missing-terminal behavior. The unchanged full suite was reused rather than rerun. No real SDK/server/provider execution or installation occurred. This accepts request-ID forwarding source only. The separate durable terminal/read-only result contract is still absent; lost streams and |
Summary
request_idto the sandbox exec APIs and forward it unchanged toExecSandboxRequest.request_id.Evidence
uv run pytest tests/sandbox_test.py -q— 157 passed.uv run ruff check src/openshell/sandbox.py tests/sandbox_test.py— passed.uv run ruff format --check src/openshell/sandbox.py tests/sandbox_test.py— passed.Scope and remaining runtime dependency
This supplies the caller-owned admission ID to the existing protocol. It does not add a terminal result lookup or convert a lost stream into a confirmed result. The server currently returns
REQUEST_STREAM_UNAVAILABLEfor duplicate requests, so consumers must retain uncertain outcomes and must not retry with a new ID or claim native execution proof from this change alone. A separately reviewed server-side durable terminal/read-only result contract and consumer admission bindings remain required for RD154 EXEC04.Lessons and facts used
The protocol already defines
ExecSandboxRequest.request_idas an optional nonzero UUID for durable launch admission. The Python exec surfaces omitted it at the current owning source head. A caller-owned ID is preserved as received; it is not synthesized from a sandbox or observation ID. Source tests do not establish installed consumer behavior or a terminal original.