Skip to content

Commit ddf07cc

Browse files
tend-agentclaude
andcommitted
skills(review-reviewers): inline jq vars in corruption-scan recipe
gh api has no --arg flag and its built-in --jq doesn't accept jq variables, so the original filter referenced undefined $BOT/$WIN and aborted. Inline the shell vars into the filter, matching the pattern at line 79. Co-Authored-By: Claude Opus 4.7 <[email protected]>
1 parent 313ec30 commit ddf07cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • plugins/tend-ci-runner/skills/review-reviewers

‎plugins/tend-ci-runner/skills/review-reviewers/SKILL.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ Use `Agent` with `model: "haiku"` and a prompt like:
235235
> mkdir -p /tmp/bot-output && : > /tmp/bot-output/all.txt
236236
> for n in <pr-numbers>; do
237237
> gh api "repos/$ARGUMENTS/issues/$n/comments?per_page=100" \
238-
> --jq '.[] | select(.user.login == $BOT and .created_at > $WIN) | "=== #'$n' \(.id) ===\n\(.body)\n"' \
239-
> --arg BOT "$BOT_LOGIN" --arg WIN "<window-start>" >> /tmp/bot-output/all.txt
238+
> --jq ".[] | select(.user.login == \"$BOT_LOGIN\" and .created_at > \"<window-start>\") | \"=== #$n \(.id) ===\n\(.body)\n\"" \
239+
> >> /tmp/bot-output/all.txt
240240
> done
241241
> grep -nF '${' /tmp/bot-output/all.txt # literal ${...} interpolation failure
242242
> grep -nP '\\!' /tmp/bot-output/all.txt # backslash-bang corruption

0 commit comments

Comments
 (0)