Repository navigation
ci(evals): install shfmt for plugins whose guard reads Bash through it - #18727
Conversation
The pinned shfmt install ran only for plugins/guardrails. repo-hygiene's destructive-command guard also denies every command it reads when shfmt is missing (plugins/repo-hygiene/prerequisites.json), and bash-format's setup checks for it, so widen both install steps to those plugins. Refs: #18655 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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: PR #18727 (incremental since
|
|
claude-review reviewed Code review: PR #18727 (incremental, blocking only)This was an incremental review of the push since The earlier finding is fixed. Both "Install pinned shfmt for shell-reading plugins" steps now also check No new blocking findings. Advisory: the PR description's Fix section still lists only Closing issue: the PR says Loosened checks: the prompt had no Spend: eval runs that stage I didn't run the workflow or any tests. The author's verification is their own claim and I haven't checked it. Verifier dropped 0 of 0 candidates. |
source-control's prerequisites.json marks shfmt required: without it pr-body-linkage-gate.sh and worktree-add-containment-gate.sh deny the commands they read. It is the fourth and last plugin whose prerequisites.json lists shfmt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs: #18655
Summary
pr-run-plugin-evals.ymlinstalled the pinned shfmt only whenplugins/guardrailswas staged.repo-hygiene's destructive-command guard also denies every command it reads when shfmt is missing
(
plugins/repo-hygiene/prerequisites.json,the shfmt
degradeline), and the baseline run's captured replies show it blocking every Bash callin 9 repo-hygiene cases. bash-format's
su-apply-repeat-already-configuredalso reportedshfmt is missing. The owner decision is option (A) ofowner-decisions.md#L393.
Fix
Both install steps (the suite leg and its twin) now run when
plugins/guardrails,plugins/repo-hygieneorplugins/bash-formatis staged, and are renamed "Install pinned shfmtfor shell-reading plugins". The pin stays in the
setup-pinned-shfmtaction.Verification
node --test --test-concurrency=4 .github/scripts/plugin-eval/workflow.test.mjs: 17 pass, 0 fail.No test asserts these conditions; no other tracked file names the old step.
scripts/check-affected.sh: 18 passed, 6 skipped.Related
🤖 Generated with Claude Code