Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端
Shell
fix(p0): keep scope hard gates non-bypassable on bash
jhuang-tw0c83d1d69d99
diff --git a/skills/scripts/case-guard.sh b/skills/scripts/case-guard.shindex 8a6e050..b873b78 100755--- a/skills/scripts/case-guard.sh+++ b/skills/scripts/case-guard.sh@@ -2,7 +2,7 @@# Lightweight scope gate before ACT. Exit 0=ok, 2=not ready, 1=usage/error.# Usage:# bash skills/scripts/case-guard.sh --case-root work/my-case-# bash skills/scripts/case-guard.sh --case-root work/my-case --force+# bash skills/scripts/case-guard.sh --case-root work/my-case --force # compatibility flag; never bypasses scope hard gatesset -euo pipefailCASE_ROOT=""@@ -120,9 +120,8 @@ echo "CASE-GUARD NOT READY: $CASE_ROOT"for i in "${ISSUES[@]}"; do echo " - $i"; doneif [[ $FORCE -eq 1 ]]; then- echo "CASE-GUARD: --force set; continuing with warnings only."- exit 0+ echo "CASE-GUARD: --force does not bypass scope hard gates."fi-echo "Fix scope (or re-run case-init with --auth-granted --target-url ...) or pass --force."+echo "Fix scope (or re-run case-init with --auth-granted --target-url ...)."exit 2