Repository navigation
Isolate direct Orca review dispatches - #24
Conversation
[CCR-20260922-006] · manual_reviewer · anthropic/claude-opus-5→? · high · schema:1Executive summaryCHANGES_REQUESTED. The change is the right shape: it closes the Orca half of The blocking problem is that the separation check is an equality check. A Reviewed scope
Findings[REV-001] · high · open · - · blocks:yes — The isolation check compares paths for equality, so a containing or nested workspace passes
Observed, with the adapter's own dispatch path and a stubbed runner: The worker is started with The fix is a containment test on the canonical paths in both directions, plus a Note that [REV-002] · medium · open · - · blocks:no —
|
| Command | Result |
|---|---|
python3 scripts/validate-package.py |
VALID: 12 skills (6 cycle, 6 supporting), shared sections in sync, cross-agent manifests aligned |
python3 -m unittest discover -s tests |
Ran 441 tests in 9.358s — OK |
python3 -m unittest tests.test_executors -v |
104 tests, all ok |
python3 -m compileall -q scripts/ |
clean |
git diff --check <merge-base> HEAD |
clean |
| Targeted repro of REV-001, REV-004, REV-005 | reproduced, output quoted in each finding |
The findings above were validated by execution, not by inspection alone: each
one was driven through OrcaAdapter.dispatch with a stubbed runner that records
the argv and cwd the worker would have received. Preflight succeeded —
Python 3.10.12, no service or database dependency, no port ownership involved.
Unverified items
- Real Orca behaviour. Every observation here uses a stubbed runner. That
orca-ide orchestration worker-start --worktree path:<...>actually confines
the worker to that directory is assumed from the CLI contract, never observed.
The adapter's docstring is candid that Orca "does not offer a trustworthy
read-only permission flag", so the isolation ultimately rests on the
workspace, which makes REV-001 the load-bearing check. - Whether
immutableanddisposablemean anything operationally. No
caller inscripts/constructs anOrcaReviewWorkspace, so the end-to-end
behaviour of a real review dispatch through Orca is exercised nowhere, by this
PR or by the suite. - Windows path semantics.
_canonical_pathwas exercised on Linux only. CI
runs the validator on Windows, but not this comparison.
CI and expected gates
All four check runs on the head commit passed; gh pr checks 24 reports
Passed: 4, Failed: 0, exit 0.
| Check | Workflow | State |
|---|---|---|
| Skills, manifests, and Bash installer | Validate package | SUCCESS |
| PowerShell installer | Validate package | SUCCESS |
.github/workflows/validate.yml defines exactly two jobs, validate and
powershell-installer, and both ran. No gate the repository defines is missing,
pending, cancelled or skipped on this PR.
Residual risks
- A review dispatched with a workspace that encloses or is nested inside the
implementer's tree is reported as isolated and is not (REV-001). Because the
artifacts recordreviewWorkspaceunconditionally, the audit trail will
assert an isolation that did not hold. enforces_read_onlyno longer distinguishes an OS-enforced sandbox from a
caller's declaration (REV-003), so the next adapter to set it may set it on
weaker grounds still.- The documentation states the pre-change boundary (REV-002), so the code and
its design document disagree about what is allowed.
Verdict
CHANGES_REQUESTED. REV-001 blocks: the containment gap means the PR does not
deliver the isolation guarantee it describes, and it is the guarantee issue #21
asks for. REV-002 through REV-005 are worth folding into the same pass while the
code is open, but none of them blocks on its own.
Review resolution updateAll five findings from the review are addressed in commit [REV-001] · high · resolved · valid · blocks:yes — Review workspace containment gap
[REV-002] · medium · resolved · valid · blocks:no — Documentation described the old Orca boundaryUpdated [REV-003] · medium · resolved · valid · blocks:no — Orca was presented as a read-only enforcerOrca no longer sets the class-level [REV-004] · low · resolved · valid · blocks:no — Review workspace was silently ignored for writing dispatchesWriting Orca dispatches carrying a review workspace now fail closed with [REV-005] · low · resolved · valid · blocks:no — Missing
|
[CCR-20260922-007] · manual_reviewer · anthropic/claude-opus-5→? · high · schema:1Executive summaryAPPROVED. All five findings from One new low finding (REV-006) is recorded. It does not block: it is reachable What changed since the previous reviewPrevious reviewed head
Status of every previous finding[REV-001] · high · resolved · valid · blocks:yes — The isolation check compares paths for equality, so a containing or nested workspace passesCorrected and verified by execution. Both previously-accepted arrangements are now refused, and the controls confirm [REV-002] · medium · resolved · valid · blocks:no —
|
| Command | Result |
|---|---|
python3 scripts/validate-package.py |
VALID: 12 skills (6 cycle, 6 supporting), shared sections in sync, cross-agent manifests aligned |
python3 -m unittest discover -s tests |
Ran 444 tests in 8.426s — OK (441 before, +3) |
python3 -m compileall -q scripts tests |
clean |
git diff --check <merge-base> HEAD |
clean |
| Re-run of the REV-001/003/004/005 reproductions | all now refused; output quoted per finding |
| Case-folding probe for REV-006 | reproduced, output quoted |
No previous finding was marked resolved from the diff alone. Each was closed by
re-executing the reproduction that opened it, through OrcaAdapter.dispatch
with a runner that records the argv and cwd the worker would have received.
Preflight succeeded: Python 3.10.12, no service, database or port dependency.
Unverified items
- Real Orca behaviour remains unobserved. Every result here uses a stubbed
runner. Thatorca-ide orchestration worker-start --worktree path:<...>
actually confines the worker to that directory is taken from the CLI contract.
The adapter is now explicit that it has no OS-level read-only permission, so
the isolation rests entirely on the workspace being genuinely separate — which
is exactly what REV-001 now enforces, and the reason REV-006 is worth closing
eventually. - No end-to-end Orca review exists. No caller in
scripts/constructs an
OrcaReviewWorkspace, so nothing exercises a real review dispatch through
Orca. Unchanged by this PR, and out of its scope. - macOS. Asserted from the mechanism, not observed. See REV-006.
CI
All four check runs on ab06eaa passed; gh pr checks 24 reports
Passed: 4, Failed: 0, exit 0. The run IDs differ from the previous review's,
confirming CI re-ran on the new head rather than reporting stale results.
| Check | Workflow | State |
|---|---|---|
| Skills, manifests, and Bash installer | Validate package | SUCCESS |
| PowerShell installer | Validate package | SUCCESS |
.github/workflows/validate.yml defines exactly two jobs, validate and
powershell-installer; both ran on this head. No gate the repository defines is
pending, failed, cancelled, skipped or missing.
Residual risk
- REV-006, scoped above: low, unsupported platform.
- The workspace is still trusted to exist and to be what it says. Nothing
checks that the path exists, is a git worktree, or is actually immutable or
disposable;isolationremains the caller's word. This was the second half of
REV-003, and resolving it by renaming the capability — rather than by adding
verification — is a legitimate choice: the claim is now accurate, which was
the finding. It is recorded here as the standing property of the design, not
as an unresolved finding. - Making
cwdmandatory for non-writing Orca dispatches is a breaking change
for any caller outside this repository. Nothing inscripts/constructs such a
dispatch today, so the blast radius is currently zero, andCHANGELOG.md
records it.
Verdict
APPROVED. The current head was rereviewed in full against the merge-base.
All five previous findings are corrected and verified by execution, every check
the repository defines passed on this head, and the one new finding is low and
non-blocking. REV-006 is worth a follow-up but should not hold this PR.
Closes #21. Adds an explicit Orca review workspace contract requiring an immutable or disposable workspace separate from the implementer tree. Direct and generic fallback dispatches fail closed without it and launch reviews in the isolated workspace. Tests: 441 unit tests, package validator, compileall, and git diff --check.