From 32fb46f17d72ce181868bbc8b59bcdd77e7dd698 Mon Sep 17 00:00:00 2001 From: Branimir Georgiev <66906831+braboj@users.noreply.github.com> Date: Thu, 29 Oct 2026 13:12:29 +0200 Subject: [PATCH 1/2] feat(efficacy): give each trial a pen, and register round 5c 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 Claude-Session: https://claude.ai/code/session_01DpT5xPB8YTAMW2Msp4aPTX --- docs/architecture/05-building-block-view.md | 12 +- docs/architecture/06-runtime-view.md | 3 +- .../architecture/09-architecture-decisions.md | 1 + docs/architecture/12-glossary.md | 3 +- docs/primer.md | 4 +- docs/rounds/README.md | 6 +- docs/rounds/round-5c.md | 65 +++++++ tests/efficacy/harness.py | 161 ++++++++++++++---- tests/efficacy/report.py | 6 +- 9 files changed, 220 insertions(+), 41 deletions(-) create mode 100644 docs/rounds/round-5c.md diff --git a/docs/architecture/05-building-block-view.md b/docs/architecture/05-building-block-view.md index a82411d..1e5fedb 100644 --- a/docs/architecture/05-building-block-view.md +++ b/docs/architecture/05-building-block-view.md @@ -47,12 +47,18 @@ harness and `reuse.py`. | Path | Holds | | ---- | ----- | -| `-/` | A trial's workspace, such as `full-2/` | +| `-/` | A trial's pen, such as `full-2/`: everything the trial owns | +| `-/-/` | The trial's workspace, inside its pen | +| `-/tmp//` | The trial's own temporary directory, inside its pen | | `-.tar` | The frozen workspace, the only copy scoring reads | | `run-*.json` | One run record per invocation, rewritten after every trial | | `home/` | The scratch home: settings with the deny rules, the credential link, the transcripts | -| `tmp//` | Each trial's own temporary directory | -| `void/-