Token-expiry Notifications delivered to ntfy #153
Notifications
Due Date
No due date set.
Blocks
Depends on
#155 Job sweep
bobby/hapi
#156 Notify on failed or expired Jobs
bobby/hapi
#157 Notify on due and overdue Tasks
bobby/hapi
#158 Notify on Household budget overspend
bobby/hapi
#159 Break-glass database access
bobby/hapi
#82 Token expiry and `--no-expiry` for Bots
bobby/hapi
#88 Household grants and Scopes for Bots
bobby/hapi
Reference: bobby/hapi#153
Reference in new issue
Block a user
Part of #73 (spec: #72)
What to build
The Notification record arrives (recipient Person or Household,
kind,dedupe_keyunique withkind, title, body, priority, link, delivered state; visible like Personal or Household data; no API). The built-in tokenlessschedulerBot, created by migration, can receive Household grants.hapi notify tokenswrites Notifications 30 and 7 days before a Token expires (to the Token's Person, or the Owner for Bot Tokens).hapi notify deliverpublishes pending Notifications oldest first tohapi-p-<person-id>orhapi-household, using the Notification id as ntfy's sequence id.Acceptance criteria
notify tokenswrites one Notification per threshold, and re-running doesn't duplicate itnotify deliveragainst a fake ntfy publishes with the right topic, priority, and sequence id, then marks the Notification deliveredschedulerBot can't hold a Token