summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/hooks/diffstate.py
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-11 00:12:42 +0000
committerClaude <noreply@anthropic.com>2026-11-11 00:12:42 +0000
commitdd8045d9111fd00eb6af95f556d49e71c2e64afe (patch)
tree5e26561430626b6bb6298994c24e046888f22531 /plugins/security-guidance/hooks/diffstate.py
parentf699b405631107dd0658f74178381f8500d43408 (diff)
parent97a623ab987f54e967e903aba9d57c94e4e9d026 (diff)
Merge branch 'mhegazy/sg-powershell-commit-hooks' into mhegazy/sg2020batchmhegazy/sg2020batch
Co-authored-by: mhegazy <mhegazy@anthropic.com>
Diffstat (limited to 'plugins/security-guidance/hooks/diffstate.py')
-rw-r--r--plugins/security-guidance/hooks/diffstate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/security-guidance/hooks/diffstate.py b/plugins/security-guidance/hooks/diffstate.py
index 6df7a5c6..255fdcce 100644
--- a/plugins/security-guidance/hooks/diffstate.py
+++ b/plugins/security-guidance/hooks/diffstate.py
@@ -726,8 +726,8 @@ def _append_reviewed_shas(repo_root, shas, vulns_found=0):
# ─── commits of a turn, count only ──────────────────────────────────────────
#
-# A commit review starts from a hook on the Bash tool. A commit made another
-# way (the PowerShell tool, a script, the user's own terminal) starts none.
+# A commit review starts from a hook on the Bash or PowerShell tool. A commit
+# made another way (a script, the user's own terminal) starts none.
# The Stop row says how many commits a turn made and how many of them no
# commit hook saw. Nothing reads these to decide whether a review runs.
#