From c651b198936aa2bca01eaeb9f3e3acc5c6be3b00 Mon Sep 17 00:00:00 2001 From: Julian lechner Date: Fri, 18 Sep 2026 09:32:14 +0200 Subject: [PATCH] test(build): update reviewer tool assertion for shell-specific tools (Bash) Mirror the PowerShell test's shell-specific reviewer tools assertion. Co-Authored-By: Claude Sonnet 5 --- scripts/test-shell-packages.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/test-shell-packages.sh b/scripts/test-shell-packages.sh index f964eb6..d0a3a6c 100755 --- a/scripts/test-shell-packages.sh +++ b/scripts/test-shell-packages.sh @@ -41,7 +41,9 @@ for shell in powershell bash; do done < "$root/adapters/rule-skills.tsv" fi test "$(find "$package/agents" -type f | wc -l)" -eq "$source_agent_count" - if [ "$client" = claude ]; then grep -q '^tools: Read,Diff,Search$' "$package/agents/reviewer.md"; fi + expected_reviewer_shell_tool=Bash + [ "$shell" != powershell ] || expected_reviewer_shell_tool=PowerShell + if [ "$client" = claude ]; then grep -q "^tools: Read,Grep,Glob,$expected_reviewer_shell_tool\$" "$package/agents/reviewer.md"; fi expected_skill_count=$source_skill_count [ "$client" != claude ] || expected_skill_count=$((source_skill_count + rule_skill_count)) test "$(find "$package/skills" -name SKILL.md | wc -l)" -eq "$expected_skill_count"