File: internal/tool/diff_scan.go L36 + L40/L62.
Executed proofs: (1) \bprint( applies to all file types - 'logger.print(x)' in a .go file yields a 'debug-stmt' finding as if it were a Python debug print; (2) 'binding.pry' appears in BOTH debugStmtPatterns and debuggerPatterns, so one added line produces two findings (debugger warning + debug-stmt info).
Impact: Low - noisy false positives on non-Python code.
Fix: language-gate the Python patterns by file extension; remove binding.pry from one list.
Verified by independent re-review with executed ScanStagedDiffForIssues repro.
File: internal/tool/diff_scan.go L36 + L40/L62.
Executed proofs: (1) \bprint( applies to all file types - 'logger.print(x)' in a .go file yields a 'debug-stmt' finding as if it were a Python debug print; (2) 'binding.pry' appears in BOTH debugStmtPatterns and debuggerPatterns, so one added line produces two findings (debugger warning + debug-stmt info).
Impact: Low - noisy false positives on non-Python code.
Fix: language-gate the Python patterns by file extension; remove binding.pry from one list.
Verified by independent re-review with executed ScanStagedDiffForIssues repro.