feat(notifications): bell alerts for assigned leads and web sign-ups

InvitationWiringTest registers StaffNotifier and asserts it is wired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 19:54:57 +08:00
1 parent 66e2e488d9
commit e3f08bc6cf
12 files changed
+495 -8

No files matched your search

@@ -12,7 +12,7 @@ Design: `design.md` and `docs/superpowers/specs/2026-12-02-lead-notifications-de
## 2. Triggers
- [ ] 2.1 services-counter `StaffNotifier` (after commit, 2 s timeout, never throws, ids-only logs).
- [x] 2.1 services-counter `StaffNotifier` (after commit, 2 s timeout, never throws, ids-only logs).
- Lead assigned at capture and on update, not on self-assignment or clearing.
- Web sign-up to the salesperson, else the event's sales team; one notification when assigned at capture.
- [ ] 2.2 services-counter daily follow-up summary job (08:00 Asia/Kuala_Lumpur, cron property), one per salesperson with open leads due today or overdue.