Repository navigation
Description
Summary
In the org review lane (melodic-software/ci-workflows reusable claude-review.yml v0.24.0, plugin-command: /review:code-review, plugins: review@melodic-software), the model reported that invoking /review:code-review errored out on two attempts and fell back to reviewing the diff by hand. The lane concluded green. The fallback happened to post findings this time, so the evidence guard passed, but the skill the lane is built around did not run.
Evidence
Run https://github.com/melodic-software/dotfiles/actions/runs/35561439976 (job review / review, PR melodic-software/dotfiles#800, head 8c90b68).
The lane's own summary comment (https://github.com/melodic-software/dotfiles/pull/800#issuecomment-5755452286, posted by claude[bot]) reads:
Note on process: the
review:code-reviewskill invocation errored out (returnedExecute skill: review:code-reviewwith no further content, on two attempts with differentargsshapes). I fell back to performing the review directly against the diff (git diff origin/main...HEAD), applying the same bar ... Ifreview:code-reviewis expected to run standalone in this lane, its failure here may be worth a look separately.
The job log shows the lane took the dual path (ci-workflows#258): plugin_marketplaces: https://github.com/melodic-software/claude-code-plugins.git, REVIEW_BODY: Invoke /review:code-review now and follow its instructions exactly for this pull request.
Why it matters
The manual fallback is a different, weaker review than the skill (no fan-out, no adversarial verification), and nothing downstream distinguishes the two. #4124 and #4093 cover the case where the lane posts nothing; this is the adjacent case where the skill itself fails to load and the lane silently substitutes.
To check
- Whether
Skillreturning onlyExecute skill: review:code-reviewmeans the plugin did not install in the lane (marketplace fetch,pluginsresolution) or the skill body failed to render. - Whether the lane should fail, or at least post a distinct verdict, when the configured plugin command does not run.
Activity
kyle-sexton commentedon Sep 23, 2026
This was generated by AI during triage.
Human-gated. Open decision: whether to fix the shared
melodic-software/ci-workflowsreusable's Skill-tool grant (owned by a different repo) or migrate other consumer repos to ADR 0037's seat-based model insteadfeat(claude-review): opt-in status check that goes red on a failed re…
kyle-sexton commentedon Sep 24, 2026
Heads-up: #4435 restores the code-review lane on every push, so this will recur on every reviewed head. The restored guard
scripts/verify-claude-review-skill.shreads only review bodies (pulls/{pr}/reviews) and matches "Skill invocation errored" or "errored out in this environment" paired with a fallback phrase. The confession quoted here was an issue comment with the wording "skill invocation errored out", so the guard would not catch it and the lane would stay green.feat(ci): restore the Claude review lanes on every push (#4435)
kyle-sexton commentedon Sep 25, 2026
Root cause found; it still reproduces on ci-workflows v0.29.0 (
6567856). The fix belongs inmelodic-software/ci-workflows, which is being changed tonight, so the patch is below and has not been applied.Root cause
The reusable lanes never grant the
Skilltool.claude-review.ymlandclaude-security-review.ymlpass--allowedTools "Bash(gh pr diff:*)"by default and append onlymcp__github_inline_comment__create_inline_comment. The action runs headless, so the model'sSkillcall forreview:code-reviewgets a permission denial. The denial reaches the model as the tool resultExecute skill: review:code-reviewwithis_error: true, which is the "no further content" the lane reported. The model then reviews the diff by hand.The plugin and marketplace install work (
✔ Successfully installed plugin: review@melodic-software). The skill's frontmatter is fine (disable-model-invocation: false, nocontext: fork).Evidence
permission_denials_countgreater than zero, and their SDKallowedToolslist has noSkill: dotfiles run 36096736792 (3), standards run 36093531859 (7), github-iac run 36097226463 (15).claude -p --setting-sources project --plugin-dir plugins/reviewand the lane's--allowedTools: the tool result isExecute skill: review:code-review(is_error: true), andpermission_denialscontains{"tool_name":"Skill","tool_input":{"skill":"review:code-review"}}.--allowedTools "Skill(review:code-review)"added returnsLaunching skill: review:code-review, the skill body loads, andpermission_denialsis[].Patch for ci-workflows (apply to both
claude-review.ymlandclaude-security-review.yml)The grant goes in the compose step, next to the inline-comment grant, so a caller that replaces
claude-argscannot drop it. It is scoped to the configured command's skill and nothing else.- name: Compose Claude CLI arguments id: compose-args env: BASE_ARGS: ${{ inputs.claude-args }} + PLUGIN_COMMAND: ${{ inputs.plugin-command }} run: | - args="$BASE_ARGS --allowedTools mcp__github_inline_comment__create_inline_comment" + skill="${PLUGIN_COMMAND#/}" + skill="${skill%% *}" + args="$BASE_ARGS --allowedTools mcp__github_inline_comment__create_inline_comment --allowedTools \"Skill($skill)\""Also update the comment above the step so it names both appended grants. Once a release carries this, bump the consumer pins. The issue stays open until then.
kyle-sexton commentedon Sep 25, 2026
Fix shipped in melodic-software/ci-workflows#625 (v0.29.1). Both lanes' compose step now appends
--allowedTools "Skill(<plugin-command>)", built from theplugin-commandinput after the caller'sclaude-args, so a caller cannot drop it. I checked the quoting against claude-code-action'sparseSdkOptionsat the pinned cfc3eb2: the composed default parses to["Bash(gh pr diff:*)", "mcp__github_inline_comment__create_inline_comment", "Skill(review:code-review)"]. Tests cover the default command and an overridden one.The new code has run on ci-workflows#625's own lanes, which call it through
./.Skill(review:code-review)andSkill(review:security-review)are in the args. The code-review lane ran under/review:code-review, and the security lane ticked "Invoke/review:security-review" and exited through the skill's skip gate. Denials were 8 and 3.The fleet is re-pinned (melodic-software/standards#624 and its sync cascade, plus #4492). I'm leaving this open until a released v0.29.1 run on an ordinary PR confirms the skill loads.
kyle-sexton commentedon Sep 29, 2026
An abandoned Cursor attempt branch
cursor/4306-review-empty-skill-37e9at commit9f94d275d5d02b530e6fb899b4e4b11fac988dadis being deleted in a repository cleanup. It never opened a PR, and this issue stays open to be redone. Summary: 1 commit(s) beyondmain, tip "9f94d275d docs: park the empty claude-review skill return"; 1 file changed, 31 insertions(+).To restore it:
git push origin 9f94d275d5d02b530e6fb899b4e4b11fac988dad:refs/heads/cursor/4306-review-empty-skill-37e9kyle-sexton commentedon Sep 29, 2026
This was generated by AI during triage.
Health check: the fix shipped in ci-workflows v0.29.1 and the fleet is re-pinned. Title narrowed to the one remaining step: confirm on an ordinary-PR run under v0.29.1 that
/review:code-reviewloads (the run log showsSkill(review:code-review)in the args and no Skill entry inpermission_denials), then close.[-]claude-review lane: /review:code-review invocation returns no content, lane falls back to a manual pass[/-][+]claude-review lane: confirm /review:code-review loads on an ordinary PR under ci-workflows v0.29.1[/+]kyle-sexton commentedon Sep 29, 2026
Owner decision (2026-09-29): An agent checks one recent review-lane run's log on an ordinary PR under ci-workflows v0.29.1 or later, and closes this issue if the log is clean (
Skill(review:code-review)in the args, no Skill entry inpermission_denials, the skill body loads). Owner note: none.Next: this issue moves to agent-ready. The agent inspects the run's stream JSON, posts what it finds here, and closes as completed if clean. If a Skill denial or a manual-fallback statement shows up, it stays open with the evidence posted.
kyle-sexton commentedon Sep 29, 2026
This was generated by an agent following the Owner decision (2026-09-29).
Checked two recent successful review-lane runs on ordinary PRs under ci-workflows v0.30.1 (
35880dcbb2f174aac90159e276dc7eddf1bc20b9, pinned atclaude-review-hosted.yml:78). The log is not enough to close, so this issue stays open.permission_denials_countFive other runs from the same window logged counts of 4, 8, 5, 6 and 11 (36608045771, 36607884700, 36607614580, 36607598231, 36607137517).
Results per check:
--allowedTools Skill(review:code-review)inclaude_argsand in the initallowedToolslist.Launching skill: review:code-reviewline (not verifiable): the run logs hold only the init and result JSON, with no per-tool stream and no uploaded artifacts. A grep forLaunching skillandExecute skillfinds nothing.permission_denialscontents (not verifiable): only the count is logged, not thetool_nameentries. Each run has a count of at least 1, so a Skill entry can be neither ruled in nor out.Nothing shows a Skill denial or a fallback, and nothing proves the skill body loaded or that the denials were not Skill entries. Closing on that would be closing without the evidence the Owner decision names.
To settle it, one of these is needed: the lane uploads the stream JSON (or logs
permission_denialsentries) so a run can be inspected, or someone re-runs the lane on an ordinary PR with output capture. The lane lives inmelodic-software/ci-workflows, so that change is outside this repo.kyle-sexton commentedon Sep 30, 2026
Owner decision (2026-09-30): Settle it with a local reproduction, since the CI logs of runs 36607643248 and 36608140584 record only
permission_denials_count(1 each), never the tool names.claude -p --output-format stream-json --verbose --setting-sources project --plugin-dir plugins/review --allowedTools "Bash(gh pr diff:*)" --allowedTools mcp__github_inline_comment__create_inline_comment --allowedTools "Skill(review:code-review)"with the prompt "Invoke /review:code-review now and follow its instructions exactly for this pull request." Use the claude-code-action version pinned by ci-workflows v0.30.1 if easy to match. Run it against a small ordinary PR diff or a read-only stub.permission_denialsentry with tool_name Skill. If denials appear, list their tool names..github/workflows/claude-review-hosted.yml:78on origin/main and confirm the pinned ci-workflows SHA is 35880dcb (v0.30.1) or newer. Readclaude-review.yml:153at that tag and confirm it still appendsSkill($skill).Optional, not needed to close: file a ci-workflows issue asking claude-lane-outcome to log the tool_name of each
permission_denialsentry. No credentials, elevation or deletion are involved.Approved by the owner with all consensus recommendations on 2026-09-30 (three read-only researchers, majority or judge).
Next: the issue is agent-ready. An agent runs steps 1-3, then posts the result here and closes or keeps it open per steps 4-5.
kyle-sexton commentedon Sep 30, 2026
Evidence per the Owner decision (2026-09-30). This is a local reproduction with the lane's composed args plus the CI args check. It is not the CI stream, and the CI log cannot show denial tool names (it records only
permission_denials_count).CI pin and args check
.github/workflows/claude-review-hosted.yml:78on origin/main:uses: melodic-software/ci-workflows/.github/workflows/claude-review.yml@35880dcbb2f174aac90159e276dc7eddf1bc20b9 # v0.30.1claude-review.yml:153at that SHA:args="$BASE_ARGS --allowedTools mcp__github_inline_comment__create_inline_comment --allowedTools \"Skill($skill)\""Local reproduction (
claude -p --output-format stream-json --verbose --setting-sources project --plugin-dir plugins/review --allowedTools "Bash(gh pr diff:*)" --allowedTools mcp__github_inline_comment__create_inline_comment --allowedTools "Skill(review:code-review)", prompt "Invoke /review:code-review now and follow its instructions exactly for this pull request.", against PR 5557; nothing posted to any PR)Launching skill: review:code-review,is_errornull (no error; the result event hasis_error: false).permission_denialstool names:Bash,Bash. NoSkillentry. The two denials weregh pr view 5557 ...andgit -C ... log ..., neither covered by the composed args (onlygh pr diffis granted).The Skill grant is present in the composed args and the skill loads without a Skill denial, so closing as completed. Optional and not needed to close: a ci-workflows issue asking claude-lane-outcome to log each denial's
tool_name.