Repository navigation
fix(pr-verify): let the capture run control-claude-code's account values source - #13805
Conversation
drive's mask post-check runs control-claude-code's `## Mask` `values:` source, `cli/account.mjs`. The capture's outer leg runs under dontAsk with a Bash allowlist that did not name it, so the source never ran and every capture stayed not-checked. Allow exactly main's copy, by absolute path, with no arguments, and assert in workflow.test.mjs that it is present and is the only cli/ rule. Refs: #11364 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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: no findingsThis PR adds one exact Bash allow rule to the capture driver leg: What I checked
Verification: I read the code but ran nothing. The PR's "80 pass" from Scope: I left the security side of letting the outer leg print the signed-in account email and organization to the model to the security lane, since this repository runs one. There are no closing issues: the PR only says |
|
claude-security-review reviewed Security review: no security issues foundcritical-findings: 0 Scope. This was a complete review. I read every hunk of both changed files: What changed. The "Capture the change" step's Bash allowlist gains one exact rule, Trust-control check (Bash fence of a leg that runs PR head code):
Residual note (not a finding). If a later companion change makes The manifest and instruction-surface checks do not apply: the diff changes no plugin manifests and no standing instructions. Spend. None. The change adds one allowed command and no runs, turns or billing. |
Refs: #11364
session: App Driven PR Verify
Summary
The capture's outer leg runs Bash from an exact allowlist (
.github/workflows/pr-verify-capture.yml), andcli/account.mjs, control-claude-code's## Maskvalues:source, is not on it. Drive's mask post-check therefore cannot resolve values in CI, and every capture staysnot-checked. This PR adds exactly one rule:Bash(node ${{ github.workspace }}/.base/plugins/harness-ops/skills/control-claude-code/cli/account.mjs). The script runs from main's.basecopy, never from the head.Fix
.github/workflows/pr-verify-capture.yml: the one allow rule, and the Bash-fence comment..github/scripts/pr-verify/workflow.test.mjs:cli/rule, and that argument and relative-path forms are refused.Verification
node --test .github/scripts/pr-verify/workflow.test.mjs: 80 pass.account.mjsrunsclaude auth statusin the scrubbed outer leg, gets no login, and exits 1. Captures stay unpublished either way.Remaining
account.mjsask the driven session's holder.PR_VERIFY_CLAUDE_API_KEYcredit.Related
🤖 Generated with Claude Code