Skip to content

feat(efficacy): give each trial a pen, and register round 5c - #79

Merged
braboj merged 2 commits into
mainfrom
feat/trial-pens
Oct 29, 2026
Merged

braboj merged 2 commits into
mainfrom
feat/trial-pens

Conversation

@braboj

@braboj braboj commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

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

Trial What it did Cost of the void
Round 5, none-1 r5-main/tariff_venv_test, smoke tests in r5-main/tmp 20 min, $3.36
Round 5b, inline-1 r5b-main/_clean_venv_test 46 min, $13.64

Neither read another trial.

The layout, before and after

before                     after
run root/                  run root/
  none-1/   workspace        none-1/                pen
  tmp/none-1-<time>/           none-1/              workspace
  none-1.tar                   tmp/none-1-<time>/
                             none-1.tar

What changed where

File Change
harness.py trial_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 layout
harness.py self-test pen_checks: venv beside the workspace allowed; root, another pen, a relative climb from any depth (cd into the pen, then ../short-1) flagged; void takes the pen
report.py Round 5's arms read against round-5c.md
rounds/round-5c.md New registration: round 5b at 5068f26 whole, plus the pen
rounds/README.md Round 5b marked stopped; round 5c rows
ch 5.3, 6.1.1, 9, 12, primer Layout table, isolation row, decision row, glossary "Pen"

Run roots from before keep working: a workspace straight in the root is its own pen.

Checks

  • harness self-test 137/137
  • report 147/147, score 63/63, judge 35/35, archive 19/19, reuse 9/9, security 29/29, control PASS
  • pyflakes clean
  • dry run 75/75 PASS, workspaces at <root>/none-1/none-1
  • Start round 5c at block 1 in a fresh run root, after merge

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX

braboj and others added 2 commits October 29, 2026 13:12
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
@braboj
braboj merged commit 07d1641 into main Oct 29, 2026
2 checks passed
@braboj
braboj deleted the feat/trial-pens branch October 29, 2026 11:34
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