Skip to content

docs: framework feedback — stop hook false positive#2

Merged
kraulerson merged 1 commit intomainfrom
docs/framework-feedback
Apr 6, 2026
Merged

docs: framework feedback — stop hook false positive#2
kraulerson merged 1 commit intomainfrom
docs/framework-feedback

Conversation

@kraulerson
Copy link
Copy Markdown
Owner

Summary

  • Documents a false positive in the stop-checklist hook: it doesn't recognize .sh test files as regression tests, only Python test files

Test plan

  • Documentation only — no code changes

🤖 Generated with Claude Code

Merge commits (e.g., "Merge pull request #1 from user/fix/branch")
contain branch names with "fix" in the message but have no file list
in git log --name-only output. The hook matched "fix" in the message,
found no test files (because merge commits list none), and flagged a
false positive.

Fix: skip commits whose message starts with "Merge " when scanning
for untested bug fixes. Includes regression tests verifying the
detection logic for both real fix commits and merge commits.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kraulerson kraulerson force-pushed the docs/framework-feedback branch from 61c7b26 to 350367c Compare April 6, 2026 16:30
@kraulerson kraulerson merged commit 5da86db into main Apr 6, 2026
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant