Repository navigation
Conversation
[CCR-20261007-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:1Initial review — PR #196 (work item #177): APPROVEDReviewed head SummaryThe change does two things. Test modules that exercise worktree selection and executor dispatch now clear host variables ( Checked by reading the code and by running it:
Findings[REV-001] · low · open · - · blocks:no — Granting the whole Git common directory widens the Codex write sandboxPath: [REV-002] · low · open · - · blocks:no — The dispatch-level wiring has no testPath: Security triageThe deterministic rule ( Execution evidence (observed)
Not verified: a real Codex run confirming that the extra root lets a linked-worktree commit succeed (needs Codex credentials and network); the CI (
|
[CCR-20261007-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:1[CCT-20261007-001] · cheap_coder · openai/gpt-6-luna→? · high · triaged:370367eda574ed147009280ab608c1722363a196 · schema:1Resolution summary — PR #196 (work item #177): RESOLVEDResolved both valid findings. Fix commits: [REV-001] · low · resolved · valid · blocks:no — Granting the whole Git common directory widens the Codex write sandboxPath: [REV-002] · low · resolved · valid · blocks:no — The dispatch-level wiring has no testPath: Post-change review and security triage
VerificationAgent-reported results:
The local suite ran on Linux with Python 3.10.12 and Git 2.34.1, using temporary repositories and SQLite state. GitHub's Linux and Windows validation jobs also passed on the final head. Checks of pushed headHead:
An earlier intermediate head ( |
[CCR-20261007-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:1[CCT-20261007-001] · cheap_coder · openai/gpt-6-luna→? · high · triaged:370367eda574ed147009280ab608c1722363a196 · schema:1[CCR-20261007-002] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:1Rereview — PR #196 (work item #177): APPROVEDReviewed head What changed since the previous review
Previous findings[REV-001] · low · resolved · valid · blocks:no — Granting the whole Git common directory widens the Codex write sandboxPaths: [REV-002] · low · resolved · valid · blocks:no — The dispatch-level wiring has no testPaths: New findingsNone. Security triage and audit
Verification evidence (executed here, head
|
Issue: #177
Implementation route: profile
cheap_coder; requested modelopenai/gpt-6-luna; efforthigh; resolved model?.Diagnosis
The sandbox failures came from two causes. The original temporary-repository hypothesis was disproved: the tests already create temporary repositories. With
HERDR_ENV=1, workspace-selection tests inherited the host flag and invoked Herdr; a failing stub reproduced the resulting block. Separately, a writing Codex dispatch from a linked worktree had write access only to that worktree, while Git stores its common metadata under the main repository's.gitdirectory. The invariant is that tests behave independently of the invoking agent host, and a writing stage can update the Git metadata required by its linked worktree. The corrected cause is within this issue's scope.Related work checked: #176 is closed and confirms the unrelated validator failures are resolved. #182 tracks writable temporary directories for read-only review stages; that remains out of scope here. The widened search found no other related work addressed by this change.
Work units
WU-1scripts/run_cycle.py,scripts/executors.py,tests/test_support.py,tests/test_run_cycle.py,tests/test_executors.py,tests/test_installed_cycle.py,docs/verification.mdVerification
Agent-reported:
rtk python3 scripts/validate-package.py— passed.HERDR_ENV=1 PATH="/tmp/cc-herdr-stub:$PATH" rtk python3 -m unittest discover -s tests -q— 1,132 tests passed; theherdrstub exits 42 if invoked.env -u HERDR_ENV PATH="/tmp/cc-no-herdr-bin:$clean_path" /home/datacas/.local/bin/rtk python3 -m unittest discover -s tests -q— 1,132 tests passed; Herdr was verified absent fromPATH.HERDR_ENV=1 PATH="/tmp/cc-herdr-stub:$PATH" rtk python3 -m unittest tests.test_run_cycle.WorkspaceSelectionTests.test_herdr_environment_in_the_invoking_shell_is_neutralized— passed at the subprocess boundary.