aboutsummaryrefslogtreecommitdiff
path: root/playwright-skill/lib
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-21 09:26:18 -0500
committerCraig Jennings <c@cjennings.net>2026-04-21 09:26:18 -0500
commit36af850dcb4a2edcf9b219c8d00c9e9ba5a06287 (patch)
tree103caa36f463fff9f6fd0026a64fced0015a795b /playwright-skill/lib
parentc90683ed477c891e54034de595c97f149c420c17 (diff)
downloadrulesets-36af850dcb4a2edcf9b219c8d00c9e9ba5a06287.tar.gz
rulesets-36af850dcb4a2edcf9b219c8d00c9e9ba5a06287.zip
hooks: git-commit-confirm becomes silent-unless-suspiciousHEADmain
The hook used to emit a confirmation modal on every git commit. That produced too many benign interruptions — the modal fired even on clean, well-formed, attribution-free commits. Now it only emits a modal when one of these safety checks fires: - AI-attribution patterns in the commit message (Co-Authored-By: Claude, robot emoji, Generated-with-AI footers, etc.) — the primary leak - Message not parseable from command line (editor would open, which silently blocks Claude) - No files staged (the commit would fail anyway) - Git author unusable (user.name / user.email not configured) Clean commits pass through silent. The AI-attribution scan is unchanged; the always-on review is gone. README updated to describe the new behavior.
Diffstat (limited to 'playwright-skill/lib')
0 files changed, 0 insertions, 0 deletions