Skip to content

[Feature] Run sandbox Trials with owned resources - #2385

Open
jayhenry wants to merge 1 commit into
feat/mini-agent-observabilityfrom
feat/mini-agent-trial-runtime
Open

jayhenry wants to merge 1 commit into
feat/mini-agent-observabilityfrom
feat/mini-agent-trial-runtime

Conversation

@jayhenry

@jayhenry jayhenry commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Layer 5 of 10 in the Mini-Agent stack. Base feat/mini-agent-observability. Head feat/mini-agent-trial-runtime.

Review scope

Add named sandbox Trials, platform clients, the native process monitor and adaptive admission. Review resource ownership, bounded queue and process waits, cancellation of the original CPU Ray task and cleanup before evidence is returned.

Validation

The working tree and Python compilation were checked at this layer. The Agent import-boundary check and the python -S protocol import passed. The relevant CPU cases passed in pt29_glm2 with CUDA_VISIBLE_DEVICES='' as part of the combined python -B -m pytest -ra runs.

tests/rl/test_attempt_ray.py tests/rl/test_trial_context.py tests/rl/test_process_monitor_recovery.py tests/rl/test_sandbox_runtime_v3.py tests/rl/test_sandbox_cleanup_protocol.py

Add declarative named resources, command and cleanup receipts, OpenSandbox and EnvGateway clients, and an adaptive quota gate. Run Trials under an owned local or CPU Ray task with one deadline and no replay.
@jayhenry
jayhenry added this pull request to stack #2391 December 4, 2026 15:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant