Repository navigation
fix(app-control): let the mask post-check pass where the shell runs only listed commands - #17041
Conversation
…nly listed commands A capture stopped its driven session before resolving the Mask values, then ran the values command with an argument and a scanner script it wrote. Both were refused, so the post-check failed closed and no public report was publishable. Refs: #16387 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Codex Review Summary: ✅ CompletedThis 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. |
|
claude-security-review reviewed Security review: no security issues foundI read all three changed files in full. All of them are prose: a changelog fragment, Instruction-surface lens. The diff adds wording to the drive skill's Mask post-check and its cleanup rule. It deletes, narrows or softens no standing rule.
No secret or token is exposed, no token's scope grows, no actor gains trust, and no untrusted text gets a new route into a lane. The protected-class register was not needed because nothing is removed. There is no manifest change. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsThis PR changes only documentation in the
Path-scoped rules. Closing issue. None. The PR only references #16387 ( Embedded text. None found in the PR context. Verification. The capture rerun on the new wording is author-stated as left out: it can only run after merge. I ran nothing. Loosened check. Neither change makes the post-check accept more: step 2 narrows how the command may run, and step 3 changes the scanning tool, not what counts as a hit. The wrapper gave no verdict or patterns lines, so I used the defaults. Loosened-check verdict: fail (default; no wrapper line); patterns: 0 Verifier dropped 0 of 0 candidates. |
Refs: #16387
Summary
A pull request capture of the review feature ran and counted the
review:finding-proverAgent calls, but published nothing:publishablestayed empty, so the count never left the runner. The drive skill's Mask post-check text let the driver take three steps the capture's shell refuses. This change words the post-check so a run whose shell runs only listed commands can pass it.Fix
drive/SKILL.md, cleanup rule: when a## Maskvalues:source reads from the running instance, resolve the values before stopping it.drive/reference/evidence.md, step 2: run acli/command exactly as thevalues:line writes it, with no added argument, while the instance it reads from still runs.drive/reference/evidence.md, step 3: where the run's shell runs only listed commands, scan with the file tools; a scanner script written during the run cannot run there.Verification
--session(turn 80, refused), and left every capturenot-checked(turn 81)..github/workflows/pr-verify-capture.ymllistsBash(node .../cli/account.mjs), and.github/scripts/pr-verify/workflow.test.mjsasserts the--session s1form is not allowed.Related
Remaining
/review:fanoutunderreproduce_findings: label, with the count of Agent tool calls whosesubagent_typeisreview:finding-prover, linked from Let the review fan-out label or require findings a run reproduced, under one shared rule for running reviewed code #15833.🤖 Generated with Claude Code