M21: push relay #33

Closed
opened 2026-10-02 01:51:18 +00:00 by jhgaylor · 1 comment
Owner

Depends on: #29

From PLAN.md, "Control track → M21: push relay".


  • Today: each home daemon holds VAPID keys, and each phone subscribes to each daemon.
  • With control:
    • control holds one VAPID key pair;
    • devices subscribe once;
    • daemons send notifications through control, addressed to the user's devices.
  • Payloads are encrypted for each device's push subscription (RFC 8291), so control and the browser's push service see neither the title nor the body. Control sees only "daemon X notified user Y".
  • Per-user rules come from M12: needs-input goes to editors who opted in, and approvals go to whoever is asked.
  • Done when:
    • a phone that never connected to a Mac gets "needs input" from an agent there, through control;
    • tapping it opens that pane over the relay;
    • control's logs show no notification text.
**Depends on:** #29 _From PLAN.md, "Control track → M21: push relay"._ --- - **Today:** each home daemon holds VAPID keys, and each phone subscribes to each daemon. - **With control:** - control holds one VAPID key pair; - devices subscribe once; - daemons send notifications through control, addressed to the user's devices. - **Payloads are encrypted** for each device's push subscription (RFC 8291), so control and the browser's push service see neither the title nor the body. Control sees only "daemon X notified user Y". - **Per-user rules** come from M12: `needs-input` goes to editors who opted in, and approvals go to whoever is asked. - **Done when:** - a phone that never connected to a Mac gets "needs input" from an agent there, through control; - tapping it opens that pane over the relay; - control's logs show no notification text.
Author
Owner

Done: merged to main in 216b864 (Merge M21: push through control). PLAN.md marks it done 2026-10-02.

Done: merged to main in 216b864 (Merge M21: push through control). PLAN.md marks it done 2026-10-02.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
jhgaylor/illogical#33
No description provided.