Repository navigation
fix(pr-verify): unblock the CI capture's run-e2e leg - #13825
Conversation
The control skill handed the driver a relative <skill-dir>, which no absolute-only Bash rule matches; it now names the absolute path in the folder holding the skill's .claude/. drive's Affected step gets its python3 -I rule, the sibling check waits past sibling-init's 90 s scan, and the font step skips apt when the font is present and bounds apt's network waits. Refs: #13710 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
…ts git on -C Capture runs 42278031678 and 42279069598 cd'd into the head first, as the prompt asked, so the ./ Read and Edit rules resolved under the head and the Write of capture-run/e2e-summary.json was refused. Every path rule is now absolute, the prompt asks for git -C and literal absolute paths, and the control skill names <plugin-dir> absolutely in the checkout under test. Refs: #13710 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
Refs: #13710 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-review reviewed Code review (incremental, blocking only): a765887..2cf8b5aThis lane already reviewed an earlier head, so the review was blocking only. I read every hunk of both files on the incremental list: What changed since the last review (checked by reading only; I ran no commands):
Both settled threads are marked Author-claimed and not verified by me: Findings: 0. There's no closing issue: |
|
claude-security-review reviewed Security review: PR #13825, incremental (a765887 → 2cf8b5a)No security issues in this push. I read the whole incremental diff for both files in scope: The earlier IMPORTANT finding is fixed. It was about the
Font step change, checked, no finding (L416-L424):
Other checks:
Spend (not a finding): the font step may now run critical-findings: 0 |
…nt by file The python3 -I affected_features.py rule let a head- or sandbox-planted symlink at affected.json redirect its --out write into a .base script the leg may run. The rule is dropped; Affected comes back blocked and run-e2e drives the scenario. The font step's skip now needs Symbols 2's own file, since an emoji font also has U+23F8. Refs: #13710 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z
Refs: #13710
Summary
After PR 13770 narrowed the CI capture's outer leg to named Bash commands, every capture ended with "run-e2e wrote no e2e-summary.json". The sealed transcripts of capture runs 42278031678 and 42279069598 list the refused calls:
python3 -I <ws>/.base/plugins/app-control/scripts/affected_features.py ...: drive's Affected step (plugins/app-control/skills/drive/SKILL.md:150). 13770's Q9 (c) allowlist did not include it.$Bshell-variable path, after the first refusal.git branch --show-currentandgit status --porcelain, andcd <ws>/head && git branch --show-current. The rules allow onlygit -C <ws>/head ....<ws>/capture-run/affected/report.mdand<ws>/capture-run/e2e-summary.json, althoughEdit(./capture-run/**)was allowed. The leg's first call wascd <ws>/head && pwd, prompted by "run the skill from there". The docs resolve a./pathrule against the current directory (permissions). The./rules following thatcdis the likely mechanism, UNVERIFIED: the init event'scwdstayed at the workspace.Neither transcript holds a
driver.mjscall: both runs stopped before Launch.Fix
/${{ github.workspace }}/..., which renders as//home/...). They no longer depend on the current directory.affected_features.pystays refused. Its--outwrite follows a symlink that the head or the sandbox can plant ataffected.json, into a.basescript these rules run (claude-security-review, resolved). Affected comes backblocked, and run-e2e drives what the scenario names.rev-parse --verify(context/e2e.md:39) is allowed.git show '<sha>:...'stays refused, since a wildcard there would also match option text. A refusal there takes the skill's no-entry path (e2e.md:42).git -C <ws>/head, and write every script or driver path as a literal absolute path with no shell variable..claude/skills/control-claude-code-plugins/SKILL.mdgives<skill-dir>and<plugin-dir>as absolute literal paths. From a PR's checkout, a relative<skill-dir>would match no rule, or would run that checkout's copy of the driver.sibling-init.sh's 90 s socket scan; run 42272768360 timed out at 60 s. The step timeout is 6 min, and on no report it prints the probe directory and asibling.logtail.Verification
node --test .github/scripts/pr-verify/workflow.test.mjs: 79 passed. The tests pin the new rules, the commands refused (everyaffected_features.pyform, a relative path, bare git), and the absolute file-rule lists.scripts/check-affected.sh --tests: 11 passed, 74 skipped..base, so it does not exercise the fix. One capture after the merge grades fix(pr-verify): route the capture's outer leg through the key proxy and narrow its Bash #13710 done-when 3 and sets perf(pr-verify): set the capture key proxy's token-cap from a full measured capture #13724's cap.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01RMa441b9qec43NvaTyiY2Z