ntfy notifier hard-codes the title "brain-capture audit degraded" for every alert #163

Closed
opened 2026-10-03 16:24:32 +00:00 by mathias · 0 comments
Owner

Found in the PR #160 review, 2026-10-03; predates it. audit.NewNtfyNotifier sends every message with the Title header "brain-capture audit degraded". It's now shared by governance-edit alerts and the symlink tripwire (#157), so a symlink-removal alert shows up on the phone under a capture-audit title.

Fix: let callers set a title (e.g. Notifier.NotifyTitled, or a per-instance title in the constructor) and have the tripwire use "brain symlink tripwire". Done when each alert source shows its own title, with a test asserting the header.


Created via git-mcp on behalf of @mathias

Found in the PR #160 review, 2026-10-03; predates it. `audit.NewNtfyNotifier` sends every message with the Title header "brain-capture audit degraded". It's now shared by governance-edit alerts and the symlink tripwire (#157), so a symlink-removal alert shows up on the phone under a capture-audit title. **Fix:** let callers set a title (e.g. `Notifier.NotifyTitled`, or a per-instance title in the constructor) and have the tripwire use "brain symlink tripwire". Done when each alert source shows its own title, with a test asserting the header. --- _Created via git-mcp on behalf of @mathias_
mathias added the risk/lowsize/xstype/fix labels 2026-10-03 16:24:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mathias/hyperguild#163