feat(sandbox): add structured direct execution - #636
Conversation
|
@16francej Maintainer review/merge authority is required for this upstream security boundary. Updated exact head: c0cbe06. The latest surgical commit closes the cancellation gap discovered during the downstream cloud gate: caller abort now identifies the exact active Sprites exec session with a per-request UUID, requires authenticated fail-closed kill-stream completion, cleans up all post-dispatch transport/protocol failures, and terminates the supervised process tree even while structured stdin is still open. Evidence on this exact head:
Upstream main has since advanced by four commits to 090f490. A read-only merge-tree simulation is conflict-free, producing tree c93ff2eed0416a945f932bb3417576860c664960; focused tests on that combined tree passed 67 runnable / 0 failed / 1 Linux-only skip, and TypeScript passed. Downstream Nzoa propagation, cloud deployment, Cloud Independence Gate, and replacement soak T0 remain blocked until this PR receives upstream acceptance. |
Summary
runDirectcontract with executable, argv, stdin, cwd, explicit environment, timeout, output limits, and cancellationSecurity properties
sh -c,bash -c,shell=true, eval, string command parsing, globbing, redirection, or automatic shell fallback insiderunDirectValidation
This is the upstream prerequisite for the Nzoa Employee incident remediation. It contains no credential values and does not start or restart any soak window.