Push notifications
A paired phone can alert you when a session needs you. Notifications are the reason the companion app is worth having: an agent that stops for a permission prompt at 11pm is only useful to know about if something tells you.
The six categories
Section titled “The six categories”| Category | Notification title | Channel | Fires when |
|---|---|---|---|
input-required |
Agent has a question, Agent needs your approval, or Agent needs your input | Needs attention | The agent stopped and is waiting on you, including permission prompts. The title says which with Kangentic Mobile 1.4.0 and a v0.52.0 or later desktop, and otherwise reads Agent needs your input. Since v0.50.0 it also carries a running workflow task’s own notices: its agent is waiting on you, or the workflow stalled on it |
turn-complete |
Agent went idle | Completions | The agent went quiet and stayed quiet. Since v0.36.0 this waits for the session to settle rather than firing on every pause, because a conversational back-and-forth leaves gaps of tens of seconds and each one used to be its own notification. A task in a running workflow raises none, since v0.50.0; its step check sends input-required when it needs you |
plan-complete |
Plan complete | Completions | The agent finished planning |
session-failed |
Session stopped | Failures | The session exited with an error |
spawn-stalled |
Still preparing | Stalls | A spawn is taking too long waiting on its git worktree |
workflow-complete |
Workflow complete | Completions | Every task of a workflow reached Done. The body leads with the workflow’s name, and a tap opens that project’s Board. Needs Kangentic Mobile 1.2.0 |
Each category maps to a notification channel, so you can tune the channels independently in your phone’s system settings, and each has its own switch in the app’s Settings. Muting completions while leaving “needs attention” loud is the common setup.
A Command Terminal raises the same categories as a task’s agent. Since v0.46.0 its notification is titled with the terminal’s name, and a tap opens that terminal rather than a task. Whether the alert is for a terminal travels inside the encrypted envelope with the name, so the delivery network does not learn it.
Notify me pushes
Section titled “Notify me pushes”A desktop Notify me automation also pushes to every paired phone, as an input-required envelope, on a v0.52.0 or later desktop. With Kangentic Mobile 1.4.0 the push shows the row’s own title over its body, a tap opens the task, and it shows while the app is open. An older phone shows “Agent needs your input” over the task’s name and the body.
The row is your own choice to be told, so this push skips the rules below and the category switches. It goes to every registered device, connected or not, with no rate limit, and it never clears itself: the phone keeps it until you open the task.
When a push is not sent
Section titled “When a push is not sent”A phone that is already connected to the desktop does not get pushed to. It is watching the session live, so a notification about what it is already showing you is noise. Kangentic decides that per device: pair two phones, leave one connected and the other in your pocket, and only the pocket one is pinged.
“Connected” here means the tunnel is actually up, not that the phone once said hello. Before v0.41.0 the check read a lower-level flag that a phone dying silently - a dropped signal, a killed app, a flat battery - left set for the rest of the keepalive window, so pushes were suppressed for up to a minute after the phone stopped being able to receive them. It now reads the same connection state the app’s own status badge reports.
A rate limit sits behind that: one notification per category per session per device every 30 seconds, so an agent flipping in and out of a state cannot ring your phone repeatedly. A push that genuinely fails to send releases its slot immediately rather than spending the whole window on a notification that never arrived.
When a notification clears
Section titled “When a notification clears”An alert is only useful while its moment lasts. Once you answer the prompt at your desk or the task moves on, the alert left on the lock screen is noise, so Kangentic Mobile 1.2.0 clears alerts in two ways.
On the phone. On Android, a new alert for the same session and category replaces the one already showing instead of stacking another. Opening a session, a Command Terminal, or the Board clears the alerts about what it shows, and while the app runs it drops any alert the desktop has already answered. An alert the phone could not decrypt names nothing, so it waits longer: on Android it goes once the app has read every paired project again since it arrived, and on iOS once it is a day old.
From the desktop. Only the desktop sees the moment something resolves at the desk, so since v0.47.0 it tells the phone. An alert is resolved when:
input-required- the session leaves its prompt, or exitsturn-complete- the session starts working again or raises a promptplan-complete- the task finishes a turn that began after the plansession-failed- a new session of the task starts runningspawn-stalled- the task’s session starts running- any of those - the task changes column, is archived, or is deleted
A running workflow task’s own input-required alert is kept per task, not per session, so only the last of those clears it: the agent being paused after a stall, or exiting, leaves it on your phone.
A workflow-complete alert is never cleared this way; the phone clears it when you open the Board. A phone that is connected at that moment is skipped, since the app is running and clears its own alerts. For any other phone the desktop gathers the clears for five seconds and sends them as one message, sealed the same way a notification is:
- Android gets a data-only message at normal priority, which Android delivers when the phone leaves Doze, usually when you pick it up.
- iOS gets a background push with no alert, at most one per phone every 20 minutes. iOS delivers background pushes at its own discretion and never to an app you force-quit, so every pending clear also rides inside the next notification the phone receives, which applies it before it shows the new alert.
A clear removes only an alert no newer than the moment it covers, so a clear that arrives late cannot take down a fresh alert for the same session. Clears from the desktop need Kangentic Mobile 1.2.0 and a v0.47.0 or later desktop. The desktop keeps its record of what it sent in memory, so alerts sent before a desktop restart are left to the phone’s own cleanup.
Permissions
Section titled “Permissions”The app asks for notification permission at runtime rather than on first launch, so the request arrives when it makes sense. Declining leaves the rest of the app fully usable; you simply have to open it to see what changed. Unpairing a device clears its push registration.
What the delivery network sees
Section titled “What the delivery network sees”Push notifications travel through Expo’s push service and then the platform networks, which are Firebase Cloud Messaging on Android and APNs on iOS. That path is outside the encrypted tunnel your phone and desktop share, so Kangentic does not put anything meaningful in it.
The relay is not on this path at all. It forwards a live connection between two devices and has nowhere to hold a message for a phone that is not connected, which is exactly why the offline case is a push notification rather than something queued for later.
Every push carries the real content as an encrypted blob. What travels alongside it differs by platform, and since v0.36.0 the two are deliberately different:
- Android gets a data-only message: no title, no body, no channel id. Android renders an incoming notification payload itself before handing off to the app, so anything visible in the push was drawn a second time on top of the decrypted notification the app posts. Sending nothing visible is what stops the double render, and the channel is chosen on the device from the decrypted category anyway, which only the phone can know.
- iOS keeps a generic title,
Kangentic, and a static placeholder body for the category in transit, because APNs only hands a push to the app’s notification service extension when the push carries an alert. That extension decrypts the envelope on your phone and replaces the placeholder with the real title and task name before iOS shows the alert. If it cannot decrypt, the placeholder is what you see.
The blob is sealed with XChaCha20-Poly1305 under a key your device generated, and it is opened on your device. Expo, Google, and Apple see at most the placeholder, your device’s push token, and the delivery timing. They never see the task name, the agent output, or anything else from the session.
A clear travels the same path and is sealed the same way, so which alerts it removes stays on your devices. Two things about it are visible. Its data key marks it as a clear rather than a notification, because the phone has to tell the two apart before it decrypts anything. And its timing shows roughly when something resolved at your desk, as a notification’s timing already shows when something came up. On iOS a clear is a background push with no alert, not even the placeholder.
If a payload cannot be decrypted for any reason, the app shows the generic placeholder rather than ciphertext or a partial result.
Local notifications
Section titled “Local notifications”When the app is running in the background with a live connection, it can raise the same categories directly from the activity it is already watching, without a round trip through the push network. The titles and channels are shared with the push path so the two cannot drift apart.
See also
Section titled “See also”- Install Kangentic Mobile - get the app on iOS or Android
- Mobile security and encryption - how the tunnel and the push envelope are protected
- The hosted relay - why nothing waits for an offline phone
- Privacy Policy - what leaves your device and what does not
- Notifications - the desktop app’s own alerts
Kangentic is free and open source. A star helps other people find it.
Star on GitHub