Conversation
…input alerts - Fixed NotebookEdit always reporting as failed due to empty error field - Changed error detection to only trigger on non-empty error values - Added debug logging to track notification triggers - Improved input_needed logic to only fire for actual permission requests - Added keyword filtering to reduce false positive notifications Closes #7
|
Claude finished @Helmi's task —— View job Code Review for PR #9Excellent work on fixing the false notification issues! This PR addresses real problems with clear, well-targeted solutions. Todo List
✅ Overall Assessment: APPROVEThis PR implements targeted, well-reasoned fixes that address the specific issues described in #7 without introducing breaking changes. Key Improvements1. NotebookEdit Error Detection Fix (
|
Summary
Closes #7
Changes
NotebookEdit False Failures Fix
src/ccnotify/notify.py(lines 922-925)"error": "") no longer trigger error notificationsInput Needed False Positives Fix
Technical Details
The main issue was in the error detection logic:
For input_needed notifications, added filtering for permission-related keywords:
Testing
uvx hatch builduvx blackEdge Cases Considered