Repository navigation
feat(efficacy): give each trial a pen, and register round 5c - #79
Merged
Merged
Conversation
An agent checking a clean install puts its virtualenv beside the workspace, out of the repository. With the workspace straight in the run root, that read as a reach and voided two of the first four trials of rounds 5 and 5b, though neither read another trial. Each workspace now sits in a pen of its own, with the trial's temporary directory: what the agent puts in the pen is the trial's, the root and the other pens are still reaches, a voided trial takes its whole pen, and processes started from the pen are stopped. Round 5b's registration is fixed now that it has trials, so the change is registered as round 5c, which takes round 5b whole, and the report reads round 5's arms against it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
Review of #79: the scan required two levels up, assuming a command stays in the workspace, so cd into the pen and ../short-1/... read another trial unflagged. A relative path naming an entry of the run root is flagged from any depth again; the pen's own entries are not the root's, so a virtualenv beside the workspace stays the trial's. The self-test plants the case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX
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.
A virtualenv the agent put beside its workspace read as a reach and voided 2 of the first 4 trials of rounds 5 and 5b. Each trial now gets a pen of its own in the run root, and the change is registered as round 5c, since 5b's registration is fixed.
What voided them
none-1r5-main/tariff_venv_test, smoke tests inr5-main/tmpinline-1r5b-main/_clean_venv_testNeither read another trial.
The layout, before and after
What changed where
harness.pytrial_workspace,pen_of; workspace and temp in the pen; reach treats the pen as the trial's; void moves the whole pen; processes from the pen are stopped; recovery reads either layoutharness.pyself-testpen_checks: venv beside the workspace allowed; root, another pen, a relative climb from any depth (cdinto the pen, then../short-1) flagged; void takes the penreport.pyround-5c.mdrounds/round-5c.md5068f26whole, plus the penrounds/README.mdRun roots from before keep working: a workspace straight in the root is its own pen.
Checks
<root>/none-1/none-1🤖 Generated with Claude Code
https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX