Skip to content

WIP: Add GitHub notification summary Cursor command#667

Draft
drbenvincent wants to merge 5 commits intomainfrom
feature/notification-summary-command
Draft

WIP: Add GitHub notification summary Cursor command#667
drbenvincent wants to merge 5 commits intomainfrom
feature/notification-summary-command

Conversation

@drbenvincent
Copy link
Collaborator

@drbenvincent drbenvincent commented Jan 15, 2026

Summary

Adds a Cursor command (/notification_summary) that provides a "morning briefing" for GitHub notifications.

Features

  • 🌐 Interactive web UI served locally
  • 📋 Tabbed view: PRs, Issues, Watching, Resolved
  • ✅ Mark Done buttons to archive notifications
  • 🔄 Refresh with real-time progress
  • 🤖 AI-generated summaries
  • 🏷️ Smart tagging (PR MERGED, CHANGES REQUESTED, etc.)
  • 🤫 Filters out bot noise (Codecov, pre-commit-ci)

Status

🚧 Work in Progress - Still iterating on features and testing.

Files

  • .cursor/commands/notification_summary.md - Command definition
  • .cursor/commands/fetch_notifications.py - GitHub API fetcher
  • .cursor/commands/generate_summaries.py - Summary generator
  • .cursor/commands/notification_server.py - Web server

📚 Documentation preview 📚: https://causalpy--667.org.readthedocs.build/en/667/

Features:
- Interactive web UI with tabbed categories (PRs, Issues, Watching, Resolved)
- 'Action Required' vs 'FYI' subheadings within each tab
- Mark Done buttons to archive notifications directly
- Refresh button with real-time progress updates (SSE)
- AI-generated comprehensive summaries for each notification
- Smart tagging (PR MERGED, CHANGES REQUESTED, CI FAILED, etc.)
- Bot comment filtering (ignores routine Codecov/pre-commit-ci activity)

Files:
- .cursor/commands/notification_summary.md - Command definition
- .cursor/commands/fetch_notifications.py - Fetch & enrich from GitHub API
- .cursor/commands/generate_summaries.py - Generate AI summaries
- .cursor/commands/notification_server.py - Local web server (port 8765)
- Add notification_config.py for centralized configuration
- Auto-detect org/repo from git remote origin
- Support optional .cursor/notification_config.json for customization
- Remove hardcoded pymc-labs/CausalPy references
- Update documentation with configuration section
@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.35%. Comparing base (b5de507) to head (33bb967).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #667      +/-   ##
==========================================
- Coverage   94.38%   94.35%   -0.03%     
==========================================
  Files          44       44              
  Lines        7517     7517              
  Branches      456      456              
==========================================
- Hits         7095     7093       -2     
- Misses        261      262       +1     
- Partials      161      162       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- Add notification_bots.yml with commented bot blacklist
- Rename 'bot_usernames' to 'bot_blacklist' for clarity
- Simple YAML parsing (no PyYAML dependency needed)
- Update documentation with clear blacklist explanation
@read-the-docs-community
Copy link

Documentation build overview

📚 causalpy | 🛠️ Build #31148749 | 📁 Comparing 33bb967 against latest (b5de507)


🔍 Preview build

Show files changed (1 files in total): 📝 1 modified | ➕ 0 added | ➖ 0 deleted
File Status
404.html 📝 modified

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