Model hidden sandbox as a persistent agent#2137
Draft
xeophon wants to merge 2 commits into
Draft
Conversation
xeophon
force-pushed
the
agent/hidden-sandbox-agent
branch
from
July 27, 2026 13:27
bd6c005 to
b7c8862
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Model iterative hidden-sandbox evaluation as a pair of long-lived agents. The solver and hidden judge now alternate through the existing interaction lifecycle, so ACP-backed harness continuation, runtime ownership, limits, traces, and teardown are shared with the multi-agent framework.
Details
sandbox-judgeenvironment with independent solver and judgeAgentConfigroles.Example
A private judge image can contain the hidden tests and grader while the solver uses its own long-lived workspace:
Run it with
uv run eval @ sandbox-judge.toml. The solver produces a submission in its persistent workspace; the environment copies the bounded artifact into the judge agent's persistent private runtime; the judge returns validated score and feedback; and the solver resumes through the same harness session.Note
Add
SandboxJudgeEnvto evaluate solver submissions via a hidden judge agentverifiers/v1/envs/sandbox_judge/env.pywith a two-agent loop where the solver submits work and a hidden judge iterates verdicts, with early stopping on score threshold or submission cap._snapshot), then validates and installs them into the judge runtime (_install) before each evaluation round.SubprocessConfig, and the judge runtime must be aNetworkPolicyConfigwith an empty allow list.respect_task_stops=Falsesupport toAgent.interactionandRolloutRunso the solver's task stop markers are ignored during the multi-turn loop.ScoreConfigweights (task, judge) now reject non-finite values, which is a breaking validation change.Macroscope summarized bd6c005. (Automatic summaries will resume when PR exits draft mode or review begins).