feat: notification tags + triage dedup check#2
Open
al-munazzim wants to merge 3 commits into
Open
Conversation
feat: smart notification filtering with reasons, own-PR detection, pagination
- Add 'tags' column to notifications table (comma-separated) - argus notif tag <id> <tag> — add tags like triaged, hostile, follow-up - argus notif untag <id> <tag> — remove tags - argus notif check-prior <url> — check if URL was previously triaged (exit 0 = prior found, exit 1 = first touch) - Show tags in notif list output with 🏷 prefix - Add processing + tags columns to migration function - Bump version to 0.5.0 Motivation: postmortem/2026-03-26-duplicate-triage-2504.md Prevents duplicate triage comments by providing a fast local dedup check before hitting the GitHub API.
5952409 to
fc46b52
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds tagging system to notifications and a
check-priorcommand to prevent duplicate triage comments.New commands
argus notif tag <id> <tag>— add tags (e.g.triaged,hostile,follow-up)argus notif untag <id> <tag>— remove tagsargus notif check-prior <url>— check if URL was previously triaged/acted on (exit 0 = prior found, exit 1 = first touch)Changes
tagsTEXT column on notifications table (comma-separated)processing+tagsadded to migration functionnotif listoutput with 🏷 prefixWhy
Postmortem: duplicate triage on specter-desktop#2504. Root cause was no memory of prior engagement. This provides a fast local gate before posting any triage comment.
Testing