Skip to content

docs(evals): prevent answer-key leakage in skill comparison trials - #323

Merged
drevendev merged 3 commits into
masterfrom
beautifulrepo/eval-answer-key-isolation-20261109
Nov 9, 2026
Merged

drevendev merged 3 commits into
masterfrom
beautifulrepo/eval-answer-key-isolation-20261109

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Test-design gap

The three-arm comparison protocol currently asks for blinded grading but does not tell trial operators to keep the fixture answer key, grader files, credentials and transcripts outside the agent's actual filesystem permission boundary. A model with shell access can potentially read evaluation expectations instead of solving the task. This matters directly to #74/#257 and the owner's before / ordinary prompt / installed skill experiment.

Bounded reader-facing fix

  • Add an executable POSIX staging recipe for two byte-identical disposable fixture copies plus a separately held evaluator marker.
  • Distinguish a working directory from a real sandbox, require a permission probe under the host's actual policy and mark the isolation state explicitly rather than claim blinding.
  • Link this preflight from the evals entry point. Keep actual host PASS unclaimed.

Source reviewed 2026-11-09: OpenAI, Harness-aware evaluation of plugins (2026-09-23), especially its discussion of answer-key and credential exposure to an agent with shell access.

Evidence and limits

Both source files and target fixture paths were checked before writing. These documentation-only changes do not execute Claude/Codex, install a plugin or spend model budget. Repository CI and later-run acceptance are required on this PR's exact head. Link-checker behavior and provider CI are not claimed green at creation. Related: #74, #257, #258.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exact-head review of a013d70763e2542dc0440d7de36481ae88ef8638 — documentation improvement is directionally sound, but the repository change contract is not yet satisfied.

Required before acceptance — missing changelog receipt. AGENTS.md says “Every change gets a changelog entry” under the appropriate ## [Unreleased] category. This PR changes only evals/README.md and evals/three-arm-comparison.md; CHANGELOG.md is unchanged. Please add one concise Changed or Security entry describing the evaluator-only isolation preflight and explicitly noting that no real Claude Code/Codex isolation or model run has been verified. The six hosted Quality checks passed at this head, but they do not replace this documented review requirement.

Scope judgement: The new recipe copies the same synthetic fixture into B/C targets, and importantly does not claim that cd, mktemp or an operator-side cmp creates a sandbox. The sibling $LAB/evaluator directory is not protected from an unrestricted agent running as the same filesystem user; the guide correctly requires an agent-equivalent access/permission probe and an isolation unverified outcome otherwise. Keep that caveat prominent. The added relative link and heading anchor agree, and the fixture README exists at this head. I did not perform a real-host permission probe or model evaluation.

This is a same-actor content review only (drevendev authored the PR and is the authenticated reviewer), not independent approval of #74/#257/#258 or the release gate.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exact-head follow-up review — 85930bb46d83328bda2fd60d2df9df305290fbe5 (base da4ab071577002d5e00b67de3fc98e3008c27d65).

Content judgement: previous documentation-contract blocker resolved; no further blocker found in this bounded patch. The new CHANGELOG.md entry is under ## [Unreleased] → ### Changed, describes the evaluator-only grading-data isolation preflight, and explicitly states that no real Claude Code/Codex isolation or model execution has been verified. This satisfies the missing receipt identified in my review of a013d70763e2542dc0440d7de36481ae88ef8638.

The cross-link in evals/README.md resolves to the new heading in evals/three-arm-comparison.md. The staging snippet uses two independent copies of the existing synthetic README fixture; it is only staging/equality evidence, not proof of sandbox isolation. The text appropriately requires an agent-equivalent permission probe, excludes evaluator keys/credentials/results from model-readable paths, and prescribes isolation unverified when effective host permissions cannot be established. The protocol still does not claim any model PASS or authorise model spending.

Exact-head hosted evidence: Quality checks run #42653521749 completed successfully with six jobs (Python 3.11, 3.14, 3.14 Windows, Ubuntu/Windows Action self-tests, Lint). I inspected reported job steps, not a self-executed checkout or real agent permission/model test. Host acceptance under #74/#257/#258 remains open and is not satisfied by this documentation-only change.

Review authority: drevendev is both PR author and authenticated reviewing actor. This is a same-actor COMMENT conveying an exact-head content judgement, not independent approval or release-gate acceptance.

@drevendev
drevendev merged commit 9e30685 into master Nov 9, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/eval-answer-key-isolation-20261109 branch November 9, 2026 17:27
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