Repository navigation
review eval: scope reviewers to the staged case, and write their transcripts - #417
Conversation
🦋 Changeset detectedLatest commit: a8ed329 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Review live A/BNo reviewable delta: review.md is byte-identical in both arms (baseline |
|
The probe passed on this PR's own run (33801839704): The "Testing with 'push' events" failure is the first-push race in Node CI Push (the push event landed before the PR existed, so get-changed-files had no base ref). Same failure on the first push of agent/reduced-depth-clearance, agent/review-eval-khan-rate, and jwbron/review-manual-depth. Not related to this change. |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
Lower-confidence observations (8; top: `workflows/review/eval/live-ab-report.ts:346` suggestion (non-blocking): deniedTotal was inserted between mergedTotal and its doc comment, so the merge-rate docstring now sits on the denial cou...)
workflows/review/eval/live-ab-report.ts:346suggestion (non-blocking): deniedTotal was inserted between mergedTotal and its doc comment, so the merge-rate docstring now sits on the denial counter. (correctness-reviewer)workflows/review/eval/transcripts.ts:11suggestion (non-blocking, documentation): The module doc promises the tool-call index shows arguments whole and never trimmed, buttoolCallIndexcuts each line to 300 characters with no marker; say the index is capped. (documentation)workflows/review/eval/live-producer.ts:671question (non-blocking): Denied reads are only folded intoPerAgentReport.deniedReadson the runner's success return, so a dispatch that times out or ends with a non-success result subtype throws and drops every denial it counted, leaving the report's new "Reads denied outside the staged case" row at zero for exactly the attempts most likely to have hunted the corpus. (skill-auditor (out-of-lane))workflows/review/eval/rereview-sweep.ts:197note (non-blocking): The rereview sweep gets transcripts but no denial counter, so its recall numbers carry none of the "reads denied outside the staged case" signal the A/B report now shows. (completeness)workflows/review/eval/read-scope.ts:123suggestion (non-blocking):READ_SCOPE_REASONis a two-argument string builder named as a constant; the repo names these in camelCase (attributionLine,buildBounceMessage). (conventions)workflows/review/eval/live-ab-report.test.ts:4suggestion (non-blocking):live-ab-report.test.tsis the only test in this directory that imports nothing from its namesake module; importrenderMarkdownReport/ArmProducefrom./live-ab-report. (conventions)workflows/review/eval/live-runner.ts:124suggestion (non-blocking): The PreToolUse hook allows every tool it does not recognize, so Bash is kept out only by thetoolsrestriction — the one layer nothing in this PR verifies. (correctness-reviewer)workflows/review/eval/live-runner.ts:151suggestion (non-blocking): Only one of the two closed routes is actually enforced by the hook: the Bash route rests entirely ontoolsrestricting, which the probe does not exercise and the scope predicate deliberately allows through. (completeness)
review details
review-v1.25.0 | schema 2 | depth full | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=full verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZGQ4Njk4MWI3MDJiOTU1NiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYTRkOWViMmJmYzRhNzUyZSIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJhNGQ5ZWIyYmZjNGE3NTJlIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LXJlcmV2aWV3LXN3ZWVwLnltbCI6WyJhNGQ5ZWIyYmZjNGE3NTJlIiwiOTQwNjNmOTAzZjYyYTdmMCIsIjVhZWQ5OWUxN2U1OWQwNzMiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL1JFQURNRS5tZCI6WyI1MTY2NDY2ZGRjMjE2Mzc2IiwiMjdhNDc1MzE0OGUyYzFlMyIsImI1ODQzZTcxMzI4YTc0NWQiLCIwODUyNmNlMDY3ZDJjZDlkIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9saXZlLWFiLXJlcG9ydC50ZXN0LnRzIjpbIjE3ZGYxY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aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyJmODI2NTQ4YzIxMjVlNTU3Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRlc3QudHMiOlsiYzg1MjgwNWRlMzhjNjNkYyJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudHMiOlsiZDEwZTRhNTQ1YjY4YmQzYSJdfQ|
Round 1 handled in 01fb602, 7 of 8 taken:
Not taken: a denial row on the rereview sweep's report. The sweep runs the same runner, so it gets the probe and the transcripts, but its report is a different shape and the A/B report is where the denial signal gets read. If a sweep ever needs it, the count is in every transcript's header. |
|
The three inline threads on live-runner.ts, handled in 2614e61 (can't reply in-thread from the sandbox, so here):
Probe result on 01fb602's run (33804997109): |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
All 3 prior review threads are resolved.
Non-blocking observations (8; top: `workflows/review/eval/README.md:93` suggestion (non-blocking, documentation): The README says the probe covers `tools` removing Bash and that its log line says which layer kept Bash out; the probe's...)
workflows/review/eval/README.md:93suggestion (non-blocking, documentation): The README says the probe coverstoolsremoving Bash and that its log line says which layer kept Bash out; the probe's verdict ignores Bash and its log prints "present or unreported" when it cannot tell. (documentation)workflows/review/eval/live-runner.ts:295suggestion (non-blocking): Nothing executesrunOnce, so the runner side of the failure-path bookkeeping — wrapping into LiveAgentError, writing the transcript infinally, and the per-attempt counter that keeps a retry from overwriting attempt 1 — is unverified; add a mocked-SDK test for the throwing path. (test-adequacy)workflows/review/eval/live-runner.ts:423question (non-blocking): The probe spends a live model call and can fail the job on every PR touching workflows/review/**, including the ones where no arm spends at all — should it run only when an arm is about to dispatch? (first-principles)workflows/review/eval/live-runner.ts:334suggestion (non-blocking): The probe's model pin is a privatePROBE_MODELwith no pin test, unlike the suite's two otherPINNED_*_MODELexports; consider matching that shape. (conventions)workflows/review/eval/live-runner.ts:174note (non-blocking): The description's "not in scope" note names dispatch-runner.ts as the other site of theallowedTools+bypassPermissionspair, butlib/judge-prose-runner.ts:79-80has it too — is that covered by the same follow-up? (completeness)workflows/review/eval/live-runner.ts:393question (non-blocking): The probe's leak check treats a missing or unwritten transcript as "nothing leaked" (skill-auditor (out-of-lane))workflows/review/eval/live-runner.ts:404question (non-blocking): The probe's pass conditiondenied >= 1depends on the model actually attempting step 2, so model non-compliance is indistinguishable from a broken hook and fails closed onto three workflows' critical path. (skill-auditor (out-of-lane))workflows/review/eval/live-runner.ts:174suggestion (non-blocking): Addingtoolsremoves Bash entirely, so the investigation-cap request every reviewer prompt makes is absent rather than denied — the module doc's "the prompts' own fallback applies (a denied budget request stops investigation)" no longer describes what happens, and the eval arm now investigates uncapped where prod keeps Bash for parity. (holistic)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiNTgwODI5NmMwOTE5N2MyYiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYTRkOWViMmJmYzRhNzUyZSIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJhNGQ5ZWIyYmZjNGE3NTJlIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LXJlcmV2aWV3LXN3ZWVwLnltbCI6WyJh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TNhNmJjIiwiZGQwODhkZGFjMDc5OGQ3NiIsIjk2MjQ0NDU5ZjUzMWUwOGIiLCI1YjEyNDhkOWY1ZjlkNmRkIiwiODgzNzVhYjc3YThlNzk1YiIsIjhmNWQ3NzhiODgwNmEyYzIiLCI4ZjVkNzc4Yjg4MDZhMmMyIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9saXZlLXJ1bm5lci50ZXN0LnRzIjpbIjYxYWRlZmRhNTVjMmMwZmIiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL2xpdmUtcnVubmVyLnRzIjpbIjVkOWY3ZGYyMTNiOGFmNDAiLCJkOTQ2MjlkOWMxNDI3YTBkIiwiNTJhZGU3ZTMzMTExNTM0YyIsIjY2ZjA2OWJjMzljYmU4YmYiLCJhZDU4NzRhMDQwOTk3N2I1IiwiNDlkZjgzZjU3YWFiNTZiZCJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50ZXN0LnRzIjpbIjk3ZDExZTIxMjI3YzliMmYiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3JlYWQtc2NvcGUudHMiOlsiYWQwMmRhZmMyYzBiYzhmNSJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVyZXZpZXctc3dlZXAudHMiOlsiYmU2MWVlNmU1ZTg0MGIwZiIsImFkNTg3NGEwNDA5OTc3YjUiLCJmMzkyMmUxNDM4ZTZiODQ4Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50ZXN0LnRzIjpbImM4NTI4MDVkZTM4YzYzZGMiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRzIjpbIjU3YTI4NGM0MDdiYWUwNDUiXX0|
Round 2 handled in 1b35829, 9 of 11 taken (3 inline, 8 observations):
Not taken: running the probe only when an arm will dispatch. It's $0.014 and the one per-PR signal on the installed SDK, and a PR that changes the runner but not review.md (this one) is exactly the case where it should still run. Probe on 2614e61's run passed with the transcript-scanning check. 1b35829's run is the first with the split counters and the attempt check. |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
All 3 prior review threads are resolved.
Non-blocking observations (5; top: `workflows/review/eval/live-runner.ts:432` note (non-blocking): The probe's pass condition requires the model to attempt a read it may refuse on its own, so a Haiku behavior change red...)
workflows/review/eval/live-runner.ts:432note (non-blocking): The probe's pass condition requires the model to attempt a read it may refuse on its own, so a Haiku behavior change reds all three live eval workflows with no retry. (correctness-reviewer)workflows/review/eval/live-runner.ts:110suggestion (non-blocking):runOnceis the one top-level function here without an explicit return type; annotate itPromise<LiveAgentResult>like its neighbours. (conventions)workflows/review/eval/live-agent-error.ts:33suggestion (non-blocking):addAccounting's documented no-false-zero contract — an absent counter must leave the totalundefined— is asserted nowhere; the one test that reaches the helper runs the skip branch without checking it. (test-adequacy)workflows/review/eval/live-ab-report.ts:130thought (non-blocking): Denial protects the answer key but not the sample's comparability — a run with denied reads still pools into the A/B delta as if it were clean. (first-principles)workflows/review/eval/live-runner.test.ts:42nitpick (non-blocking): The repo's two other SDK-mocking tests import the module under test statically; a top-levelawait importhere suggests hoisting doesn't happen. (conventions)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiMjc1ZmNmODUxNWMxMDFiNiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYTRkOWViMmJmYzRhNzUyZSIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJhNGQ5ZWIyYmZjNGE3NTJlIiwiYjAxMWY5M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zNWMzIl19|
Round 3 handled in 304fac1, 5 of 6 taken:
Not taken: excluding or flagging cases with denied reads from the pooled delta. The section names the case and agent, the expected count is zero, and changing sample inclusion moves every rate. If a nonzero count ever appears on a real run, that report is where to decide. Probe on 1b35829 passed with the split counters: |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
The 1 prior review thread is resolved.
Non-blocking observations (6; top: `workflows/review/eval/live-runner.ts:372` suggestion (non-blocking): The paragraph describing what `probeReadScope` does is attached to `export type ProbeResult` instead of the function; mo...)
workflows/review/eval/live-runner.ts:372suggestion (non-blocking): The paragraph describing whatprobeReadScopedoes is attached toexport type ProbeResultinstead of the function; move it aboveprobeReadScope. (conventions)workflows/review/eval/live-runner.ts:479suggestion (non-blocking): The--probe-read-scopegate's retry-and-throw wiring has no test, so a widened retry condition could let a leaking probe pass on the second try. (test-adequacy)workflows/review/eval/live-runner.ts:400suggestion (non-blocking): A failed probe dispatch throws out ofprobeReadScopeinstead of returning a verdict, so a transient run failure reds every live workflow with no detail line. (correctness-reviewer)workflows/review/eval/live-runner.ts:427suggestion (non-blocking): The probe proves enforcement by scanning its transcript for a planted token, but real runs' transcripts are never scanned — consider running the same content check over them at report time. (first-principles)workflows/review/eval/README.md:312suggestion (non-blocking, documentation): The added bullet reads: "5 Claude agent transcripts across 2 runs on the Pi harness branch each checked once for a tooling path, got nothing, and stayed in the checkout, where the Gemini reviewer on the same machine went looking." The reader cannot recover the operation from the sentence alone: "checked once for a tooling path" does not say what was searched for, and "stayed in the checkout, where the Gemini reviewer ... (documentation)workflows/review/eval/README.md:321question (non-blocking): Does "both arms lose it together, so within-run deltas stay comparable" hold for a review.md change that is itself about investigation — wouldn't that produce a null delta that reads as no-effect rather than not-measured? (first-principles)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbm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MjdjOWIyZiJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyJhZDAyZGFmYzJjMGJjOGY1Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRlc3QudHMiOlsiZGJiNGNmMTEzNzJkNDkwOCJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudHMiOlsiMGYzYmJjN2ZkYTJkMzVjMyJdfQ|
Round 4 handled in 818de2b, 7 of 8 taken:
Not taken: scanning real runs' transcripts for corpus content at report time. No planted token exists in a real run, the hook denies before the read executes, and the probe proves enforcement per run on the installed SDK. |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
All 2 prior review threads are resolved.
Non-blocking observations (5; top: `workflows/review/eval/live-runner.ts:426` suggestion (non-blocking): A transient probe dispatch failure reds all three live workflows with no retry, and discards the denial evidence the att...)
workflows/review/eval/live-runner.ts:426suggestion (non-blocking): A transient probe dispatch failure reds all three live workflows with no retry, and discards the denial evidence the attempt already produced. (correctness-reviewer).github/workflows/review-eval-ab.yml:95suggestion (non-blocking): Nothing tests that the live-eval workflows actually run--probe-read-scopebefore spending on an arm — consider a CI backstop asserting the ordering in all three. (test-adequacy).github/workflows/review-eval-ab.yml:95suggestion (non-blocking): The probe runs ahead of the A/B's identity short-circuit, so eval-only PRs pay a model call and a red-job risk for a run that spends nothing; calling runProbeGate from live-ab.ts/rereview-sweep.ts at the point of dispatch would gate exactly the runs that spend and replace 15 duplicated YAML lines in three workflows. (first-principles)workflows/review/eval/live-runner.ts:346suggestion (non-blocking): The probe's exported, unit-tested logic sits below the/* CLI */banner; move it above, or give it its own banner section. (conventions)workflows/review/eval/live-runner.ts:394suggestion (non-blocking): The single retry only helps if the model's non-attempt is random, but both tries send the identical prompt asking it to read andcata file named secret.txt; renaming the planted file to something neutral would remove the most likely deterministic cause. (first-principles)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiMjc1ZmNmODUxNWMxMDFiNiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LXJlcmV2aWV3LXN3ZWVwLnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiOTQwNjNmOTAzZjYyYTdmMCIsIjVhZWQ5OWUxN2U1OWQwNzMiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL1JFQURNRS5tZCI6WyI1MTY2NDY2ZGRjMjE2Mzc2IiwiZTYxMjcwZmM5ZmYxNmRhZiIsImI1ODQzZTcxMzI4YTc0NWQiLCI0YjE1MDIzYjBmYWJjNjRjIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9saXZlLWFiLXJlcG9ydC50ZXN0LnRzIjpbIjFhY2ZmNmVmODdmZmQwOGQiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL2xpdmUtYWItcmVwb3J0LnRzIjpbImM5NzdlYWRlMTQ2ZWU3NjYiLCJlMzFkMWE1Nm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iYTgzMGFiMjA5MmQ1NTcwOCIsImQ5NDYyOWQ5YzE0MjdhMGQiLCIwNzA3Mjg0ODkxMzYwMDNjIiwiNjFkMGNiM2QzMDcxYTc2NiIsImFkNTg3NGEwNDA5OTc3YjUiLCI0OWRmODNmNTdhYWI1NmJkIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZWFkLXNjb3BlLnRlc3QudHMiOlsiOTdkMTFlMjEyMjdjOWIyZiJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyJhZDAyZGFmYzJjMGJjOGY1Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRlc3QudHMiOlsiZGJiNGNmMTEzNzJkNDkwOCJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudHMiOlsiMGYzYmJjN2ZkYTJkMzVjMyJdfQ|
Round 5 handled in 8a5e28b, 5 of 6 taken:
Not taken: moving the probe into live-ab.ts at dispatch time. Same reasoning as round 2. It's $0.014 per run, and a runner-only PR like this one (review.md untouched, A/B short-circuits) is exactly the case that should still exercise it. 818de2b's probe passed and its transcript uploaded (1 file, 2999 bytes in |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
The 1 prior review thread is resolved.
Non-blocking observations (8; top: `workflows/review/eval/live-ab-report.ts:594` suggestion (non-blocking): The `toolPolicy` stamp is only ever asserted against a hand-built provenance fixture, never against what the report actu...)
workflows/review/eval/live-ab-report.ts:594suggestion (non-blocking): ThetoolPolicystamp is only ever asserted against a hand-built provenance fixture, never against what the report actually renders orlive-ab.tsactually stamps. (test-adequacy)workflows/review/eval/aggregate.ts:249note (non-blocking): The description and changeset omit the new tool-policy ruler stamp, which makes drift pools spanning this PR warn as mixed rulers and changes every report's "Ruler:" line. (completeness).github/workflows/review-eval-probe.test.ts:29question (non-blocking): The read-scope probe is pinned to run before the step that spends, but the A/B's own $0 short-circuit (byte-identical review.md) is decided inside live-ab.ts, so every eval-only PR push now pays a Haiku probe call and gains a way to fail red on a run that dispatches no reviewer arms at all. (skill-auditor (out-of-lane))workflows/review/eval/live-runner.ts:321suggestion (non-blocking): The transcript-write failure path in thefinallyblock is untested, so nothing pins that a failed write leaves the run's result intact. (test-adequacy)workflows/review/eval/read-scope.ts:23suggestion (non-blocking): The eval reviewer is now Read/Grep/Glob while prod dispatch still grants LS+Bash; consider tying the two lists together with a test so the promised prod follow-up can't leave them silently divergent. (first-principles)workflows/review/eval/read-scope.ts:32suggestion (non-blocking): READ_TOOL_POLICY is derived from the toolset only, so a change to the scope rule keeps the same stamp and pooled reports won't warn; consider folding a content hash of the rule into it the way corpusSha hashes the corpus. (first-principles)workflows/review/eval/README.md:271suggestion (non-blocking, documentation): The transcript-reading bullet names a third failure mode, "shaping its JSON from the contract source", without naming the file or the operation to look for in the index. (documentation)workflows/review/eval/live-runner.ts:448question (non-blocking):attemptedOutsidecallsJSON.parse(f)unguarded on every.jsonfile found under the probe's transcripts directory, whileleaked/sawInsidetreat the same files as plain text; one malformed or foreign.jsonfile makesprobeReadScopethrow instead of returning a verdict. (security-auth (out-of-lane))
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiMjc1ZmNmODUxNWMxMDFiNiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEi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MiIsIjhmNWQ3NzhiODgwNmEyYzIiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL2xpdmUtcnVubmVyLnRlc3QudHMiOlsiODg4ZTZlY2EwOTFmY2EwMSJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvbGl2ZS1ydW5uZXIudHMiOlsiYTgzMGFiMjA5MmQ1NTcwOCIsImQ5NDYyOWQ5YzE0MjdhMGQiLCI0OTk2NTA5MWIyZjJkNjU5IiwiMWU3ZGFhY2ZlYjgwMzQyZiIsImFkNTg3NGEwNDA5OTc3YjUiLCI0OWRmODNmNTdhYWI1NmJkIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZWFkLXNjb3BlLnRlc3QudHMiOlsiOTdkMTFlMjEyMjdjOWIyZiJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyIyNDQ3N2VmMWIxNjllYjNmIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRlc3QudHMiOlsiZGJiNGNmMTEzNzJkNDkwOCJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudHMiOlsiMGYzYmJjN2ZkYTJkMzVjMyJdfQ|
Round 6 handled in ff7ba1e, 9 of 10 taken:
Not taken: moving the probe behind the identity short-circuit, third ask. Adding to the earlier reasoning: an SDK pin bump touches neither review.md nor the runner and is exactly a run that needs the probe. 8a5e28b's probe passed. ff7ba1e's run is the first with the Glob leg, so its probe line should read |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
All 2 prior review threads are resolved.
Non-blocking observations (3; top: `workflows/review/eval/live-runner.ts:544` question (non-blocking): Should a probe verdict of "unproven, not broken" red the job, given the probe now runs unconditionally ahead of the $0 r...)
workflows/review/eval/live-runner.ts:544question (non-blocking): Should a probe verdict of "unproven, not broken" red the job, given the probe now runs unconditionally ahead of the $0 review.md short-circuit and so is the only spend and only failure source on most per-PR runs? (holistic)workflows/review/eval/README.md:268suggestion (non-blocking): Two of the three symptoms this new mandatory per-arm transcript read cites are now denied by the hook and named automatically in the report; consider triggering the read on those signals rather than on every delta. (first-principles)workflows/review/eval/read-scope.ts:130suggestion (non-blocking): The Glob pattern guard is a lexical test on the raw string, so a brace alternation like{/**,x}/case.jsonor{..,x}/live-match.tsslips past bothisAbsoluteandclimbs. (correctness-reviewer)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1YWVkOTllMTdlNTlkMDczIl0sIndvcmtmbG93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kMTFlMjEyMjdjOWIyZiJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyJlYmNjNjYyYTk4Yzg0Njk0Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3Rvb2wtcG9saWN5LnRlc3QudHMiOlsiZDZmNDBhMzg5MDc0OTFkMyJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudGVzdC50cyI6WyJkYmI0Y2YxMTM3MmQ0OTA4Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50cyI6WyIwZjNiYmM3ZmRhMmQzNWMzIl19|
Round 7 handled in 7087d5d, all 4 taken:
ff7ba1e's probe with the Glob leg: |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
The 1 prior review thread is resolved.
Non-blocking observations (7; top: `workflows/review/eval/read-scope.ts:197` suggestion (non-blocking): The Glob branch measures scope from cwd while every other branch measures it from readRoot, so an in-scope `../context/*...)
workflows/review/eval/read-scope.ts:197suggestion (non-blocking): The Glob branch measures scope from cwd while every other branch measures it from readRoot, so an in-scope../context/**search is denied and counted as an out-of-scope read. (first-principles)workflows/review/eval/live-runner.ts:514note (non-blocking): A probe run that misses only the in-scope read is classifiedbrokenand hard-fails the job, while the symmetric model-behavior miss on steps 2–3 is retried and downgraded tounproven. (correctness-reviewer)workflows/review/eval/live-runner.ts:620note (non-blocking): The probe gate fails open — two non-attempts or dispatch failures yieldunproven, the arms spend anyway, and the report's ruler still stamps the scope as proven; the summary's "proves the restriction holds before any arm spends" doesn't say that. (completeness)workflows/review/eval/read-scope.ts:197question (non-blocking): The Glob branch judgespatternonly lexically (escapesRootrejects absolute pieces and..segments) and canonicalizes only thepathfield, so a relative pattern that traverses a symlink inside the staged checkout is allowed — while the same target reached throughReadis canonicalized and denied (the symlink case the new test suite covers). (skill-auditor (out-of-lane))workflows/review/eval/read-scope.ts:148suggestion (non-blocking): The fail-closed branch for a brace pattern that blows the expansion cap has no test; add one so the cap can't silently become fail-open. (test-adequacy)workflows/review/eval/README.md:92suggestion (non-blocking, documentation): The README lists "the model actually attempted the out-of-scope read" as a fail-the-job condition, but the next sentence andrunProbeGatemake that case a non-failingunprovenwarning; drop that clause from the failure list. (documentation)workflows/review/eval/tool-policy.test.ts:25suggestion (non-blocking): The production/eval toolset pin regex-parses dispatch-runner.ts's source; exporting the array and importing it would make the same pin a compile-time reference. (first-principles)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1Y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WFkLXNjb3BlLnRlc3QudHMiOlsiYmQ3YTYyMmU4ODcyZmNlYSJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyI3Nzc0MzU5NGE4YTU0OTAyIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3Rvb2wtcG9saWN5LnRlc3QudHMiOlsiNmY0MDUwODcyNmQ1ZjdlMiJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudGVzdC50cyI6WyJkYmI0Y2YxMTM3MmQ0OTA4Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50cyI6WyIwZjNiYmM3ZmRhMmQzNWMzIl19|
Round 8 handled in dc677ba, 8 of 9 taken:
Not taken: exporting prod's 7087d5d's probe passed ( |
There was a problem hiding this comment.
Approved — no blocking issues found.
All 2 prior review threads are resolved.
Non-blocking observations (4; top: `workflows/review/eval/read-scope.ts:215` suggestion (non-blocking): No test resolves a Glob pattern against a supplied `path`, so the base-vs-cwd rule and the relative-`path` branch are un...)
workflows/review/eval/read-scope.ts:215suggestion (non-blocking): No test resolves a Glob pattern against a suppliedpath, so the base-vs-cwd rule and the relative-pathbranch are uncovered. (test-adequacy)- suggestion (non-blocking, documentation): "a probe the model would not play along with twice" names no operation; say the model never attempted the out-of-scope reads on either try. (documentation)
workflows/review/eval/live-runner.ts:569thought (non-blocking): A run's own report can't distinguish "no reviewer attempted an out-of-scope read" from "the hook stopped firing" — both render as 0 denials — and the one thing that resolves that ambiguity is allowed to endunprovenand proceed; was a filesystem-level boundary considered instead? (first-principles)workflows/review/eval/read-scope.ts:221suggestion (non-blocking, documentation): The comment above theexpandBraces(pattern)call restates this function's own JSDoc bullet, examples included; delete it and keep the JSDoc. (documentation)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=APPROVE anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1YWVkOTllMTdlNTlkMDczIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9SRUFETUUubWQiOlsiNTE2NjQ2NmRkYzIxNjM3NiIsIjk3NGY2MDZjMWNjNDZiYTMiLCIzZGVlNzJiNzkwYmRmZWVhIiwiNGIxNTAyM2IwZmFiYzY0YyJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvYWdncmVnYXRlLXJ1bGVyLnRzIjpbIjQ0NTdiNWJhOThlNDJiM2UiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL2FnZ3JlZ2F0ZS50ZXN0LnRzIjpbIjk3NDA2YmFlZjYyYjIzYjYi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JdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudGVzdC50cyI6WyJkYmI0Y2YxMTM3MmQ0OTA4Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50cyI6WyIwZjNiYmM3ZmRhMmQzNWMzIl19|
Round 9 (approved) handled in 59ef42c, 2 of 4 taken: Glob tests against a supplied base (absolute and relative), and the comment that restated On the filesystem-level boundary question: yes, it was the original plan. The task this PR closes had "the SDK exposes no path denial for Read, so the only fix is a container" as its premise, and the pi harness branch (#406) does it with srt's denyRead, which is what the RM-11 invoker inherits. Turns out the SDK does expose a hook with deny, so on main the hook plus the per-run probe is the shape, and the 0-denials ambiguity you name is exactly why the probe exists and why an unproven run is annotated rather than silent. A container-level boundary for the SDK arm would be the fallback if a future SDK stopped honoring hook denies, and the probe is what would tell us. Tally across 9 rounds: 66 findings, 56 taken. The remaining check before merge is the forced-arms |
|
Round 10 (approved) handled in c2585e7, 3 of 4 taken:
Not taken: replacing the expander with "deny any brace group containing I'll stop pushing code for observation-only rounds from here unless one names a correctness issue. The remaining gate before merge is the forced-arms dispatch. |
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
Non-blocking observations (3; top: `workflows/review/eval/read-scope.ts:31` suggestion (non-blocking): `SCOPE_RULE_VERSION` is the only ruler component nothing derives from behavior, so a scope-semantics change can ship wit...)
workflows/review/eval/read-scope.ts:31suggestion (non-blocking):SCOPE_RULE_VERSIONis the only ruler component nothing derives from behavior, so a scope-semantics change can ship without moving the stamp; consider a behavior-keyed backstop that forces the bump. (holistic)workflows/review/eval/read-scope.ts:196suggestion (non-blocking): Use the directory's localisRecordguard instead of hand-rolling the narrowing with a cast. (conventions)workflows/review/eval/read-scope.ts:188question (non-blocking): WasadditionalDirectoriesplus a non-bypass permission mode ruled out? The SDK already models the cwd-plus-extra-dirs boundary that this module re-derives by hand. (first-principles)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1YWVkOTllMTdlNTlkMDczIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9SRUFETUUubWQiOlsiNTE2NjQ2NmRkYzIxNjM3NiIsIjk3NGY2MDZjMWNjNDZiYTMiLCIzZGVlNzJiNzkwYmRmZWVhIiwiNGIxNTAyM2IwZmFiYzY0YyJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvYWdncmVnYXRlLXJ1bGVyLnRzIjpbIjQ0NTdiNWJhOThlNDJiM2UiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL2FnZ3JlZ2F0ZS50ZXN0LnRzIjpbIjk3NDA2YmFlZjYyYjIzYjYiLCI2NjM0NmIxMGQyMzE0ZTMyIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9hZ2dyZWdh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0Y2YxMTM3MmQ0OTA4Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50cyI6WyIwZjNiYmM3ZmRhMmQzNWMzIl19There was a problem hiding this comment.
Approved — no blocking issues found.
2 of 2 prior review threads are still unaddressed as of 3e059b2:
2 non-blocking threads still open
- suggestion (non-blocking)
workflows/review/eval/read-scope.ts:205: A relative read path is normalized lexically beforecanonical()runs, so<symlink>/..walks out of the staged case r... - suggestion (non-blocking)
workflows/review/eval/read-scope.ts:239: The real-filesystem symlink test only exercisesRead; the Glob branch canonicalizes its pattern prefix through a separ...
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=APPROVE anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1YWVkOTllMTdlNTlkMDczIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9SRUFETUUub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wid29ya2Zsb3dzL3Jldmlldy9ldmFsL3JlYWQtc2NvcGUudGVzdC50cyI6WyI2ZGRkNTFhYjU0Mzk5NGY0Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZWFkLXNjb3BlLnRzIjpbImRkYjU3ODUxYzU0YTU0N2UiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3JlcmV2aWV3LXN3ZWVwLnRzIjpbImJlNjFlZTZlNWU4NDBiMGYiLCJhZDU4NzRhMDQwOTk3N2I1IiwiZjM5MjJlMTQzOGU2Yjg0OCJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdG9vbC1wb2xpY3kudGVzdC50cyI6WyI0MmE1ZmM2MjNhMWY2ZTRlIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50ZXN0LnRzIjpbImRiYjRjZjExMzcyZDQ5MDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRzIjpbIjBmM2JiYzdmZGEyZDM1YzMiXX0|
Forced-arms run 33902871639 (smoke subset, both arms on the same review.md, $13.35), read as planned:
So no corpus hunt in 78 transcripts, but the scope stopped something the eval never noticed: before this, those staging-root Globs returned other cases' files and the other arm's copy of the same case. Cross-case reads were happening silently on every run that had a skill-auditor guessing paths. Two follow-ons in b76a7d2 (rebased onto the main merge): the denial message now names the checkout and the context dir by absolute path, since 8 of 8 denials were a path guess and naming the right directory makes the recovery one retry, and the README's scope section says what a denial usually is and that the transcript tells the two kinds apart in one line. Read one transcript per arm beyond the denied ones (correctness-reviewer on incident-money-rounding and incident-cache-missing-key): pr-context, review-files, annotated diff, the changed file, a Grep for the changed symbol, a Glob of the checkout. 8 to 9 calls, all in scope, the same shape on both arms. |
|
Round 11 (approved), both inline findings taken in ae05a13, both correctness so they cleared the bar I set two rounds ago:
2319 tests green on top of the main merge. |
There was a problem hiding this comment.
Approved — no blocking issues found.
All 2 prior review threads are resolved.
Non-blocking observations (7; top: `workflows/review/eval/live-runner.ts:156` suggestion (non-blocking): The hook-wiring test never exercises an in-root/out-of-cwd read, so a `root`/`cwd` mix-up in this call would stay green;...)
workflows/review/eval/live-runner.ts:156suggestion (non-blocking): The hook-wiring test never exercises an in-root/out-of-cwd read, so aroot/cwdmix-up in this call would stay green; add a<readRoot>/context/...case to the hook test. (test-adequacy)workflows/review/eval/README.md:91note (non-blocking): The Test plan still lists theforce_armsrun as outstanding with "expect 0 denials on every agent", while README:91 in this diff reports that run already happened with 8 denials — please reconcile the description with the result. (completeness)workflows/review/eval/README.md:90suggestion (non-blocking, documentation): Three sentences in the new README section state their mechanism in a form the reader has to reconstruct; rewrite them plainly. (documentation)workflows/review/eval/README.md:90suggestion (non-blocking): Benign path fumbles and genuine corpus hunts render identically in the denial section, though the change's own data says all 8 denials in the first scoped run were fumbles; consider splitting them by where the denied read resolved. (holistic)workflows/review/eval/live-runner.ts:165suggestion (non-blocking):deniedReadskeeps only a count, so the report's "read its transcript" section fires on benign path-guessing — 8 of 8 denials in the first scoped run, per the README. Classify each denial by where its target resolved instead. (first-principles)workflows/review/eval/live-runner.ts:183question (non-blocking): The SDK exposes a read boundary as configuration (permissionMode: 'dontAsk'plus permission rules, orsandbox.filesystem.allowRead); was that route tried before hand-writing the path predicate and the paid per-run probe that proves it holds? (first-principles)workflows/review/eval/read-scope.ts:206nitpick (non-blocking): NarrowingtoolInputinline rather than with the localisRecordtype guard every other parsing module inworkflows/review/eval/defines. (conventions)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=APPROVE anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZ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
Approved — no blocking issues found.
Non-blocking observations (1)
workflows/review/eval/live-ab-report.ts:445note (non-blocking): Denial reporting stops at the A/B and drift reports; the rereview sweep gained the scope, the probe, and the transcripts but no denial signal in its own recall report. (holistic)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=APPROVE anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1YWVkOTllMTdlNTlkMDczIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9SRUFETUUubWQiOlsiNTE2NjQ2NmRkYzIxNjM3NiIsIjQ5ZjdjZGZkNDdlMjU2NDgiLCJlNzg0N2RkNDFlMDczYTRkIiwiNGIxNTAyM2IwZmFiYzY0YyJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvYWdncmVnYXRlLWV4dHJhY3QudHMiOlsiNTZhYWIyZjM3NTc3N2VlNCIsIj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C9yZWFkLXNjb3BlLnRlc3QudHMiOlsiYTNiOGUyZWQ1MjJkZGI0YiJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvcmVhZC1zY29wZS50cyI6WyI5ZDFhMzJiNDNlMTAyYzA3Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZXJldmlldy1zd2VlcC50cyI6WyJiZTYxZWU2ZTVlODQwYjBmIiwiYWQ1ODc0YTA0MDk5NzdiNSIsImYzOTIyZTE0MzhlNmI4NDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3Rvb2wtcG9saWN5LnRlc3QudHMiOlsiNDJhNWZjNjIzYTFmNmU0ZSJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdHJhbnNjcmlwdHMudGVzdC50cyI6WyJkYmI0Y2YxMTM3MmQ0OTA4Il0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50cyI6WyIwZjNiYmM3ZmRhMmQzNWMzIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC93aWxzb24udGVzdC50cyI6WyIzNWE0Mzk0ZGYxMzRjODA0Il19…staged case, and write their transcripts The live A/B stages each case under the runner's temp dir on a machine that also holds this repo, and this repo holds every case's must-catch spec and the scorer. Nothing denied a reviewer reading across. On the Pi harness branch (#406, runs 33793491316 and 33795650180) a gemini reviewer did: find / -name investigation-cap.ts, then its own case.json, another case's, a grep for mustCatch, and live-match.ts, 37 of its 42 calls on one case. The tool-call count hid it for two full runs. Turns out main's SDK arm was open the same way, wider than the task assumed. allowedTools only pre-approves, it does not restrict (the SDK docs say to use `tools` for that), so under bypassPermissions every default tool, Bash included, was reachable. The module doc's "no network, Read/Grep/Glob only" described the intent, not the runtime. Fixes, all in the eval, review.md untouched so no pin or hash moves: - live-runner.ts sets `tools` to Read/Grep/Glob and adds a PreToolUse hook that denies any read resolving outside the staged case root (checkout plus its context sibling, symlinks followed). read-scope.ts is the pure predicate; Glob patterns that are absolute or climb with .. are denied outright since a pattern is not a path to canonicalize. - LiveAgentRequest carries readRoot, LiveAgentResult and PerAgentReport carry deniedReads, and the report renders a "Reads denied outside the staged case" row plus a section naming any reviewer with a nonzero count. Zero is the expected value. - transcripts.ts writes one file per dispatch attempt (tool-call index on top, trimmed message stream below, inputs never trimmed) under <tmpdir>/review-transcripts, outside the staging root, so a reviewer cannot read a sibling's mid-run. The three live workflows upload them. - live-runner.ts --probe-read-scope: one Haiku call that reads a staged file and a planted file outside the case, and fails unless the first succeeded, the second was denied, and the planted contents never reached the model. Each live workflow runs it before spending on an arm, because the unit tests cover the predicate and not whether the installed SDK honors a hook deny under bypassPermissions. - README: how the scope works, the probe, a read-protocol line (read at least one transcript per arm before trusting a delta), and a statistical-honesty note that pre-scope runs were not isolated from the corpus and what the indirect evidence says about them.
…the hook, keep denial counts through failed attempts Round 1 of the reviewer bot on this PR, 8 non-blocking findings, 7 taken: - The hook allowed any tool it did not recognize, so Bash was kept out by `tools` alone, and nothing verified that option restricts. The hook now denies every tool outside Read/Grep/Glob as a second layer, and the probe gains a third step (Bash cat of the planted file) so the leak check covers both layers and the log line says which one kept Bash out. - A timed-out or non-success attempt threw a bare Error and dropped every denial it counted, zeroing the report row for the attempts most likely to have hunted. Runners now throw LiveAgentError (new module, live-agent-error.ts) carrying toolCalls and deniedReads, and dispatchWithRetry folds them into the per-agent report. Test added. - deniedTotal had landed between mergedTotal and its doc comment; moved next to snappedTotal with its own. - transcripts.ts's doc promised index lines carry arguments whole; they cap at 300 characters (now INDEX_LINE_CHARS) and the doc says the messages hold the full input. - READ_SCOPE_REASON is a function, renamed readScopeReason. - live-ab-report.test.ts imports renderMarkdownReport from its namesake. Not taken: a denial row on the rereview sweep's report. The sweep gets the transcripts and the probe; its report is a different shape and the A/B is where the denial signal is read.
…sults, not just the final text, and has a test Two inline findings from round 1 on the probe. The probe checked the model's final text for the planted token and counted hook decisions, so an SDK that ignored the deny but a model that politely reported a refusal would have passed it. That is the one property the probe exists to establish. The probe now runs with a transcript dir and scans every recorded message alongside the final text, so the out-of-scope tool result is the surface checked; the in-scope check reads the transcript too, so a model that paraphrases instead of quoting does not fail the gate for the wrong reason. probeReadScope gated all three live workflows with no test of its verdict. live-runner.test.ts drives it with a fake runner: pass, leak in the final text, leak only in a tool result, no denial, in-scope read missing, in-scope read present only in the transcript. No model call; the module doc's "tests never load this file" is updated to say what the test loads and why.
…ls apart from reads, show denials on repeats reports, test the runner Round 2 of the reviewer bot, 3 inline plus 8 observations, 9 taken. The hook's two rules fed one counter, so the report could name a reviewer under "read outside the staged case" for a Bash call the hook refused, and the probe could pass on a run where the out-of-scope Read never reached the hook (tool rule fires on step 3, model declines step 2 on its own). deniedReads now counts only the read-scope rule and deniedTools the tool rule, on LiveAgentResult, PerAgentReport, PartialAccounting, the run record, and the transcript header. The probe gates on deniedReads, requires a transcript to exist, and checks the transcript's tool-call index for the out-of-scope Read attempt so a model that declined on its own fails with a message naming that rather than the hook. Its log line reports Bash as denied by the hook, absent per the model, or unreported, in that order of evidence. The denial row and section rendered only on single-run reports, so the weekly drift run (3 repeats) never showed them. deniedSection is shared by both renderers, sums repeats per arm/case/agent, and lists tool-policy denials in their own section. The repeats report gets a pooled "Reads denied outside the staged case" line so its zero is visible too. live-runner.test.ts now mocks the SDK (the dispatch-runner.test.ts pattern) and drives the captured PreToolUse hook: Bash denied and counted apart, in-scope Read allowed, out-of-scope Glob denied, a non-success result thrown as LiveAgentError with the counters, and a transcript per attempt with the retry numbered 2. PINNED_PROBE_MODEL is exported and pinned by test like the judge and arbiter models. addAccounting in live-agent-error.ts folds counters for both the success and failure paths (live-producer.ts sits at the 1000-line cap). Doc fixes: the README's probe paragraph says what the verdict actually depends on, and the runner's module doc says the cap CLI was never staged in the eval, so "uncapped" predates `tools` and is unchanged. Not taken: gating the probe on whether an arm will dispatch. It costs $0.014 per run and is the only per-PR signal on the installed SDK.
… model non-attempt, name the no-shell limit, test the accounting Round 3 of the reviewer bot, 1 inline plus 5 observations, 5 taken. The probe failed the job whenever the model declined to attempt the out-of-scope read, with no retry, so a haiku behavior change would red three live workflows for a reason that is not the scope. The probe result now carries notAttempted, the CLI retries that case once (a leak or a missing denial never retries), and the failure message says the scope is unproven for the run rather than broken. Dropping Bash from the eval arm removes the "one targeted cheap check per finding" shell step review.md asks for, which production keeps. The README's statistical-honesty section now says so: both arms lose it together so within-run deltas stay comparable, eval recall reads as a lower bound on production's, and scoping Bash by path is not an option because `find /` is how the leak was found. Also: runOnce gets its explicit Promise<LiveAgentResult> return type, addAccounting's no-false-zero contract has a test (live-agent-error.test.ts), and live-runner.test.ts imports the module under test statically like the other SDK-mocking tests (vi.mock hoists). Not taken: excluding or flagging cases with denied reads from the pooled delta. The denial section names the case and agent, the expected count is zero, and changing sample inclusion changes every rate; if a nonzero count ever shows up on a real run, that report is the place to decide.
…etries, and the probe's transcript is uploaded Round 4 of the reviewer bot, 2 inline plus 6 observations, 7 taken. The retry I added in round 3 could turn a leaking probe green: notAttempted was computed from the attempt check alone, so a run where Bash leaked the secret without a Read attempt retried, and a clean second try decided the job. notAttempted is now gated on !leaked, and the wiring lives in runProbeGate (injected probe and log) with tests for the pass, retry, unproven, and never-retry paths. The probe was the one entry point ignoring --transcripts-dir, so the transcript that shows which call went through landed in a throwaway temp dir and was never uploaded. The three workflows now pass the flag to the probe step, and each attempt gets its own subdirectory under read-scope-probe/ so the verdict's scan cannot read a prior attempt's file. A dispatch failure threw out of probeReadScope with no detail line and would red every live workflow the same way a leak does. It now returns a failed verdict with the error in the detail, and never retries. Also: the probe's doc paragraph sits on the function rather than on ProbeResult, the README's indirect-evidence sentence names what the 5 Claude agents searched for (the gh-aw-review-lib directory) and separates the Gemini clause, and the no-shell limit says a review.md change to the shell step itself prints as a zero delta rather than as not measured, so those go through the canary. Not taken: scanning real runs' transcripts for corpus content at report time. There is no planted token in a real run to look for, the hook denies before the read happens, and the probe proves enforcement per run on the installed SDK.
… policy on the ruler, retry the probe on dispatch failure, pin the workflow ordering Round 5 of the reviewer bot, 1 inline plus 5 observations, 5 taken. This PR changed the instrument (reviewers lost Bash and gained read scoping) without extending the ruler stamp, so aggregate.ts pooled pre- and post-scope drift runs as comparable. ReportProvenance gains toolPolicy (READ_TOOL_POLICY in read-scope.ts, "read-scoped:Read,Grep, Glob"), live-ab.ts stamps it, and the aggregate reads a stamped report without it as `unscoped` and warns on a mixed pool the way it does for a matcher or corpus change. A report with no stamp at all stays unstamped. The ruler line prints the tools value in both renderers. The ruler rendering moved to aggregate-ruler.ts because aggregate.ts was at 999 lines against a 1000 cap. The probe's dispatch failure never retried and would red three workflows on one 529. It is now its own state (dispatchFailed) and retries once like a non-attempt, since neither says anything about the hook; a leak or a missing denial still never retries. Also: .github/workflows/review-eval-probe.test.ts asserts each of the three live workflows runs the probe before the step that spends and hands both the uploaded transcripts dir; the probe section has its own banner above the CLI; and the planted file is notes.txt rather than secret.txt so the retry is not repeating the most likely deterministic reason for a refusal. Not taken: moving the probe into live-ab.ts at the point of dispatch so identity-short-circuit runs skip it. Same answer as round 2: $0.014 per run, and a runner-only PR like this one is exactly the case that should still run it.
…ies, the stamp carries the rule version Round 6 of the reviewer bot, 2 inline plus 8 observations, 9 taken. The probe proved the SDK honors the deny for Read only, while the route the scope exists to close is search: the incident was `find /`, whose Read/Grep/Glob analogue is Glob, and read-scope.ts names `**/case.json` as the query a corpus hunt would make. The probe plants a second file whose NAME is a token (a Glob result is a listing, so the name is what would leak), adds a Glob leg over the planted directory, requires both out-of-scope legs attempted and both denied (deniedReads at least 2), and checks both tokens in the final text and every tool result. The dispatch-failure early return skipped the leak check, so an attempt that leaked and then timed out was retried and a clean retry greened the gate, the same hazard notAttempted was hardened against in round 4. The catch now scans the transcript first (the runner writes it in a finally) and returns dispatchFailed only when no token escaped. READ_TOOL_POLICY was derived from the toolset alone, so a change to the scope rule would keep the same stamp and pooled reports would not warn. SCOPE_RULE_VERSION (1) is folded in: read-scoped:v1:Read,Grep,Glob. Also: the transcript index parse skips a malformed or foreign .json instead of throwing; the transcript-write failure path has a test (the result survives, the error is logged); tool-policy.test.ts pins production's allowedTools to the eval's read tools plus exactly LS and Bash so the two lists cannot diverge silently in another way; the README's read-protocol bullet names the files and index lines to look for per failure mode; the changeset names the stamp change and what it does to the "Ruler:" line. Not taken: moving the probe into live-ab.ts behind the identity short-circuit (third time asked). An SDK pin bump is the other PR shape that touches neither review.md nor the runner and still needs the probe.
…ation cannot slip the Glob guard
Round 7 of the reviewer bot, 1 inline plus 3 observations, 4 taken.
A probe that could not be exercised (the model declined both tries, or
the dispatch failed twice) failed the job with a message saying the
scope was unproven, not broken. On a per-PR run that short-circuits at
$0 the probe was the only spend and the only failure source, and a
spending run's arms retry their own dispatches. runProbeGate now returns
a verdict: proven, unproven (the job proceeds under a GitHub warning
annotation, since nothing was learned against the hook either), or
broken (a leak, a missing denial, or a failed in-scope read, which still
fails the job).
The Glob guard tested the raw pattern string, so a brace alternation
like {/**,x}/case.json or {..,x}/live-match.ts passed both the absolute
and the climbing check. Patterns are brace-expanded first (nesting
handled, capped at 256 expansions, past the cap the pattern is treated
as escaping) and every expansion is checked.
tool-policy.test.ts read only production's allowedTools literal and
missed the allowedTools.push("mcp__review__submit_result") line, so it
pinned a list production does not run with. Both are read now and the
expected difference is LS, Bash, and submit_result.
The README's read-protocol bullet points at the denial sections first
and reserves the per-arm read for what the report cannot see (what was
investigated, looping, depth parity), rather than listing symptoms the
hook now catches.
…skipped in-scope step as unproven Round 8 of the reviewer bot, 2 inline plus 7 observations, 8 taken. The Glob guard denied any `..` in a pattern, so `../context/*.diff` from the checkout (the staged diffs the prompts point at) was denied and counted as an out-of-scope read, while every other branch measures from the case root. Each brace expansion's literal prefix (the segments before the first glob character) now resolves against the search base and is canonicalized like a Read target, so the context sibling is in scope and `../../case-2/**` is not. A `..` inside the glob tail, or a pattern past the expansion cap, is still denied since it cannot be resolved; the cap branch has a test. The glob tail itself is not canonicalized, which the doc now says along with why that is acceptable (the staged tree is a plain copy with no symlinks). A probe whose model skipped the in-scope read was `broken` and failed the job, while skipping the out-of-scope steps was `unproven`. Same kind of miss, same treatment now: only an attempted in-scope read that returned nothing is broken. live-runner.test.ts drives a user/tool_result message through the mocked SDK and reads it back from the transcript, the half of the transcript the probe's leak check depends on. tool-policy.test.ts also asserts production sets no `tools` option (neither in the query options literal nor after it), so the day production restricts its toolset the allowedTools comparison starts describing the reachable set. README: the probe paragraph lists the conditions that fail the job and the ones that leave it unproven without contradicting itself. Not taken: exporting production's allowedTools array for a compile-time import. That edits the production dispatcher, which this PR leaves alone.
… restated the doc Round 9 of the reviewer bot (approved), 2 of 4 observations taken: the Glob branch's supplied-path base (absolute and relative) has tests, and the comment above expandBraces that repeated the function's own doc is gone. The PR body's probe sentence is reworded separately.
…redicate does not know falls closed
Round 10 of the reviewer bot (approved again), 3 of 4 taken.
literalPrefix prepended "/" to a join that already began with one, so
every absolute Glob pattern with a literal directory was checked as
"//dir/...". path.resolve collapsed it, so nothing was wrong in effect,
but the code said something it did not mean. The prefix is the join, and
"/" only when the pattern has no literal at all. Tests for an absolute
in-root pattern and an absolute out-of-root one, and for nested brace
groups, which the expander handled and nothing exercised.
outOfScopeRead's switch fell open for a tool it had no case for, so
adding a tool to READ_TOOLS (the hook's allowlist and the model's
toolset) would have shipped an unchecked read path. The default branch
denies a tool that is in the list and unhandled, and a test walks
READ_TOOLS asserting each member is judged.
Not taken: replacing the brace expander with "deny any brace group
containing / or ..". A false denial is not free here: it is counted as a
reviewer reading outside the case and named in the report, so the
predicate has to be right about ordinary patterns like
{src/a,src/b}/*.ts, not just safe.
First forced-arms run through the scoped runner (33902871639, smoke subset, both arms, $13.35): probe deniedReads=2, recall 100% both arms, verdict agreement 100%, tool-call means per agent 7 to 10 against 7 to 8 on the last claude reference run, and 8 denied reads, 3 baseline and 5 candidate. None was a corpus hunt. Every one was a reviewer that guessed <case>/src/... for a changed file (the checkout is <case>/checkout), missed, and widened a Glob to the staging root, or climbed out of context/ with a relative path from the diff. Before the scope those searches returned other cases' files and the other arm's copy of the same case, silently. Each reviewer recovered in scope on the next call. The denial message now names the checkout (the cwd) and the context directory by absolute path so that recovery is one retry, and the README's scope section says what a denial usually is and that the transcript tells the two kinds apart in one line.
…psing it as text
Round 11 of the reviewer bot, both inline findings taken, both
correctness.
A relative read path was joined with path.resolve before canonical()
ran, and resolve collapses `x/..` as text. When `x` is a symlink the
kernel resolves it first and climbs from the target's parent, so
`escape/../secret.json` from the checkout resolved lexically to a path
inside the root and was allowed, while the same target as an absolute
string was denied. Grep's path and Glob's base and literal prefix took
the same route. The predicate now hands canonical() the raw
`${base}${sep}${rel}` join and lets realpath do the climbing; the
lexical realpath the pure tests inject normalizes, as the real one does.
The real-filesystem symlink test only exercised Read. It now covers
`<symlink>/..` through Read, Grep, and Glob's base, and a symlink in a
glob's literal prefix, plus an in-root prefix that must still pass.
Narrow in practice (a fixture would have to carry an outward symlink and
the reviewer has no Write or Bash to plant one), which is why the bot
filed it non-blocking, but the predicate's stated job is to be
symlink-aware and this was the one path where it was not.
c7bc7d2 to
a8ed329
Compare
There was a problem hiding this comment.
Commented — medium-importance findings found; nothing blocks.
Non-blocking observations (5; top: `workflows/review/eval/live-runner.ts:368` suggestion (non-blocking, documentation): The `notAttempted` docstring is wrong on both of its claims: the flag also fires when the in-scope read was skipped, and...)
workflows/review/eval/live-runner.ts:368suggestion (non-blocking, documentation): ThenotAttempteddocstring is wrong on both of its claims: the flag also fires when the in-scope read was skipped, and a second non-attempt warns rather than failing the job. (documentation)workflows/review/eval/live-ab-report-denials.ts:91note (non-blocking): The pooled denial line claimsrepeatCountrepeats even when the checkpoint has fewer (correctness-reviewer)workflows/review/eval/live-ab-report-denials.ts:27suggestion (non-blocking): No test exercises a denial on the baseline arm, so adeniedSectionbug that drops or mislabels the baseline half of the pair loop would pass. (test-adequacy)workflows/review/eval/live-ab-report-denials.ts:49suggestion (non-blocking): A denial that widened a Glob to the staging root and a read that reached this repo's corpus render as the same line, so classifying the denied target at the hook would keep the row a signal instead of a transcript-reading chore. (first-principles)workflows/review/eval/live-ab-report.test.ts:522nitpick (non-blocking): Module-scope fixtureproduceMissis declared betweendescribeblocks; this directory's test files put module-scope fixtures above the firstdescribe. (conventions)
review details
review-v1.25.0 | schema 2 | depth scoped | re-review scoped blocking-medium | enable holistic,completeness,test-adequacy,first-principles,conventions,documentationreview fingerprint
pr-reviewer:rereview v=1 depth=scoped verdict=COMMENT anchor-draft=false hunks=eyIuY2hhbmdlc2V0L3Jldmlldy1ldmFsLXJlYWQtc2NvcGUubWQiOlsiZDA4MDk1MWMwY2JhMjA2YiJdLCIuZ2l0aHViL3dvcmtmbG93cy9yZXZpZXctZXZhbC1hYi55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjUxYzhjY2Y1NjYwNmJmYjEiLCJjNGExYjAwYzJhZDA3MzVjIl0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1ldmFsLWRyaWZ0LnltbCI6WyJiMTQ1MmM4MjNmMWZlZDAwIiwiYjAxMWY5MDIwOWU2NDNkMSIsImM0YTFiMDBjMmFkMDczNWMiXSwiLmdpdGh1Yi93b3JrZmxvd3MvcmV2aWV3LWV2YWwtcHJvYmUudGVzdC50cyI6WyI5MWJiOWM0NjAyZDE2YjE2Il0sIi5naXRodWIvd29ya2Zsb3dzL3Jldmlldy1yZXJldmlldy1zd2VlcC55bWwiOlsiYjE0NTJjODIzZjFmZWQwMCIsIjk0MDYzZjkwM2Y2MmE3ZjAiLCI1YWVkOTllMTdlNTlkMDczIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9SRUFETUUubWQiOlsiNTE2NjQ2NmRkYzIxNjM3NiIsIjQ5ZjdjZGZkNDdlMjU2NDgiLCJlNzg0N2RkNDFlMDczYTRkIiwiNGIxNTAyM2IwZmFiYzY0YyJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvYWdncmVnYXRlLWV4dHJhY3QudHMiOlsiNTZhYWIyZjM3NTc3N2VlNCIsIjdiYjJlNTRiZDhkZGE5NDUiXSwid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FsL3JlYWQtc2NvcGUudGVzdC50cyI6WyJhM2I4ZTJlZDUyMmRkYjRiIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC9yZWFkLXNjb3BlLnRzIjpbIjlkMWEzMmI0M2UxMDJjMDciXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3JlcmV2aWV3LXN3ZWVwLnRzIjpbImJlNjFlZTZlNWU4NDBiMGYiLCJhZDU4NzRhMDQwOTk3N2I1IiwiZjM5MjJlMTQzOGU2Yjg0OCJdLCJ3b3JrZmxvd3MvcmV2aWV3L2V2YWwvdG9vbC1wb2xpY3kudGVzdC50cyI6WyI0MmE1ZmM2MjNhMWY2ZTRlIl0sIndvcmtmbG93cy9yZXZpZXcvZXZhbC90cmFuc2NyaXB0cy50ZXN0LnRzIjpbImRiYjRjZjExMzcyZDQ5MDgiXSwid29ya2Zsb3dzL3Jldmlldy9ldmFsL3RyYW5zY3JpcHRzLnRzIjpbIjBmM2JiYzdmZGEyZDM1YzMiXX0| ok, | ||
| // Never "not attempted" when a token escaped: a retry must not be | ||
| // able to turn a leaking probe green. | ||
| notAttempted: files.length > 0 && !attemptedAll && !leaked, |
There was a problem hiding this comment.
suggestion (non-blocking): A demonstrated in-scope over-block is downgraded to unproven whenever the model also skipped an out-of-scope leg.
context
A demonstrated in-scope over-block is downgraded to unproven whenever the model also skipped an out-of-scope leg. Introduced by this change. attemptedAll folds in attemptedInside (line 501), and notAttempted is then files.length > 0 && !attemptedAll && !leaked — so a probe where the in-scope read was attempted and returned nothing is classified as "not attempted" as soon as any one of the out-of-scope legs is missing. runProbeGate retries that case and, on a repeat, returns unproven with the message "Not a scope failure" and lets the job proceed under a warning. That contradicts this function's own contract in two places: the comment right above at lines 498-501 ("Only an attempted in-scope read that returned nothing is a scope problem") and runProbeGate's docstring at line 547 ("only a demonstrated leak, a missing denial, or a failed in-scope read is broken and fails the job"). Verified against the tests: live-runner.test.ts's no-inside case (line 517) exercises echoInside: false with both out-of-scope legs attempted, which does reach broken, and skip-inside (line 527) exercises the in-scope leg not attempted; the combination — in-scope attempted and failed, out-of-scope legs not attempted — is not covered, so the gap is silent in CI. The verdict detail does still print "in-scope read did NOT return its contents", so a human reading the warning annotation could catch it, which is why this is worth fixing rather than blocking. The one-line fix is to treat attemptedInside && !sawInside as never retryable, the same way leaked already is.
A sketch, not a committable replacement:
notAttempted:
files.length > 0 &&
!attemptedAll &&
!leaked &&
// A read that was attempted in scope and came back empty is a
// demonstrated scope break, never a retryable non-attempt.
!(attemptedInside && !sawInside),
found by correctness-reviewer | also flagged by skill-auditor (out-of-lane)
| // failure source, and on a spending run the arms retry their own | ||
| // dispatches. | ||
| return { | ||
| verdict: "unproven", |
There was a problem hiding this comment.
suggestion (non-blocking): The probe's verdict never reaches the report, so a run that proceeded unproven posts a read-scoped ruler stamp and a zero denial row that read exactly like a proven-clean run.
context
The probe's verdict never reaches the report, so a run that proceeded unproven posts a read-scoped ruler stamp and a zero denial row that read exactly like a proven-clean run. The probe's own doc comment (live-runner.ts:385-387) makes the distinction the report then drops: "the counter records the hook's decision, only the tool result shows whether the SDK enforced it." The report renders only the counter — deniedTotal feeds the single-run row at live-ab-report.ts:824-827 and the pooled line via pooledDeniedLines at live-ab-report.ts:390 — and the ruler stamp is a compile-time constant: live-ab.ts:731 sets toolPolicy: READ_TOOL_POLICY from read-scope.ts:40, so every report asserts read-scoped whether or not the hook was honored on that run. Grepping the eval directory for probe/unproven outside live-runner.ts and its tests returns only read-scope.ts's unrelated local variable, so no ProbeGateResult is threaded into ReportProvenance or the markdown; the verdict lives only in the CI step's stderr and the ::warning annotation on a different step, while README.md:85-97 points the reader at the denial row as the primary signal. That is the ambiguity the probe was added to resolve, reintroduced one artifact downstream. Cheapest fix is to have the probe step write its verdict where the run can stamp it into provenance so the ruler reads read-scoped (unproven this run); alternatively, since the doc comment justifies unproven-proceeds by the per-PR run short-circuiting at $0, the gate could warn there and still fail a run that is about to spend.
A sketch, not a committable replacement:
// live-runner.ts CLI, --probe-read-scope:
if (gate.verdict === "unproven") {
console.log(`::warning title=read-scope probe::${gate.message}`);
}
// Leave the verdict where the spending run can pick it up and stamp it
// into ReportProvenance.toolPolicy, so the ruler line reads
// "read-scoped:v1:Read,Grep,Glob (unproven)" rather than asserting a
// scope this run never demonstrated.
writeFileSync(
join(transcriptsRoot, "read-scope-verdict.json"),
JSON.stringify({verdict: gate.verdict, message: gate.message}),
);
found by holistic
Summary
The live eval's SDK runner now restricts reviewers to Read, Grep, and Glob inside the staged case, records what each reviewer did, and checks on the installed SDK that the restriction holds before any arm spends (a demonstrated leak fails the job, a probe whose model never attempted the out-of-scope reads on either try proceeds under a warning). Before this, a reviewer under the eval could reach every default tool (Bash included) and read any path on the runner, which on that machine includes this repo's corpus (every case's must-catch spec) and scorer. After this, reads outside the staged case are denied by a PreToolUse hook and counted, every dispatch writes a transcript, and a probe fails the job if the installed SDK lets an out-of-scope read through.
Changes, all eval-side (review.md untouched, so no install pin or corpus hash moves):
live-runner.tssetstoolsto Read/Grep/Glob (the SDK'sallowedToolsonly pre-approves) and adds a PreToolUse hook that denies any tool outside that set and any read resolving outside the staged case root (checkout pluscontext/, symlinks followed, glob patterns judged by where their literal prefix lands after brace expansion).read-scope.tsis the pure predicate.transcripts.tswrites one file per dispatch attempt (tool-call index on top) under$RUNNER_TEMP/review-transcripts, outside the staging root. All three live workflows upload it.live-runner.ts --probe-read-scope: one haiku call (Read in scope, Read and Glob out of scope, Bash cat). A leak of either planted token, an attempted out-of-scope read that wasn't denied, or an attempted in-scope read that returned nothing fails the job. A step the model skipped or a failed dispatch retries once, then leaves the rununprovenunder a warning annotation. Each live workflow runs it before spending.tools read-scoped:v1:Read,Grep,Globon every "Ruler:" line). Pre-scope reports pool asunscoped, so a drift series crossing this change warns as mixed rulers.Background
Found on the pi harness branch (#406), where transcripts existed: a gemini correctness-reviewer ran
find / -name investigation-cap.ts, found this repo, read its own case's spec, another case's, andlive-match.ts, 37 of its 42 calls on one case, while the tool-call count looked normal for two runs. Main's SDK arm had the same exposure with no transcripts to show whether a claude reviewer ever used it. The README's new section carries the detail.Not in scope: prod's
dispatch-runner.tsandjudge-prose-runner.tsuse the sameallowedTools+bypassPermissionspair inside gh-aw's sandbox, and the dispatcher needs Bash for the cap CLI. Separate look.Test plan
pnpm exec vitest run: 2279 green, including new tests for the scope predicate (lexical plus a real-fs symlink escape), the transcript writer, the report rows on single and repeats reports, the runner's hook and failure paths through a mocked SDK, the probe's verdict and retry gate through fake runners, the ruler-stamp aggregation, and probe-before-spend ordering in the three workflow files.pnpm run lintandtsc --noEmitclean.bypassPermissionsandtoolsrestricts, on SDK 0.3.220.workflow_dispatchwithforce_armson this branch is the remaining check: expect 0 denials on every agent, tool-call counts in the usual range, and the new tools field on the report's "Ruler:" line.KORE-2663