Skip to content

[Feature] Integrate TrialAgentLoop with training and evaluation - #2388

Open
jayhenry wants to merge 1 commit into
feat/mini-agent-tito-exportfrom
feat/mini-agent-sampling-loop
Open

jayhenry wants to merge 1 commit into
feat/mini-agent-tito-exportfrom
feat/mini-agent-sampling-loop

Conversation

@jayhenry

@jayhenry jayhenry commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Layer 8 of 10 in the Mini-Agent stack. Base feat/mini-agent-tito-export. Head feat/mini-agent-sampling-loop.

Review scope

Integrate TrialAgentLoop into training and evaluation. Review independent Attempts, group filtering, trajectory handoff, training pack limits, adaptive admission and evaluation behavior.

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_sandbox_agent_loop_v3.py tests/rl/test_adaptive_sandbox_concurrency.py tests/rl/test_sandbox_rollout_error_handling.py tests/rl/test_sample_ownership.py tests/rl/test_segmented_agent_loop.py tests/rl/test_timeout_eval_loop.py

Admit independent attempts, preserve trace ownership through packing and cleanup, enforce bounded production progress, and carry observations from sampling through training. Document the native task and harness entry points.
@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