Docs: web-push design (slice 0)
The build reference for background notifications: RFC 8030 Web Push + VAPID,
Mastodon's model on Klonkt conventions. Decisions: web-push dependency
(lazy import, boot-safe), VAPID keys env-wins-else-storage/.vapid (never
regenerate), minimal payloads, subscriptions tied to the logged-in owner,
S2S-inbox triggers (follow/reply/like/boost/DM). FEP-3ab2 (SSE) noted as the
live-while-open counterpart that doesn't fit cookie-less Klonkt.
New file:
docs/webpush-design.md
- decisions, data model, flow, trigger points, caveats, slices
-robo
Co-Authored-By: Claude Opus 4.8 <noreply@…>