Skip to content

WIP: Add GitHub notification summary Cursor command#667

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

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

Conversation

@drbenvincent
Copy link
Copy Markdown
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
Copy Markdown

codecov bot commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.48%. Comparing base (eec45f7) to head (1db20e6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #667   +/-   ##
=======================================
  Coverage   93.48%   93.48%           
=======================================
  Files          75       75           
  Lines       11272    11272           
  Branches      658      658           
=======================================
  Hits        10538    10538           
  Misses        544      544           
  Partials      190      190           

☔ 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
Copy Markdown

read-the-docs-community bot commented Jan 26, 2026

Documentation build overview

📚 causalpy | 🛠️ Build #32078476 | 📁 Comparing 1db20e6 against latest (55256f5)

  🔍 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