In plain terms: the inbox is the single list of what Yukta wants you to know and what it needs from you. The bell, the Inbox page,
yukta-cli notify and a webhook are different ways to look at the same list.One record, many views
Only the outbound channels go through a delivery queue. Everything else reads the stored record, so a notification is never lost because a screen was closed.
Alerts and questions
- An alert (
INFO) is read or dismissed. It carries a severity (INFO,WARN,ERROR) and a category. - A question (
ACTION) is an input request. It staysACTIVEuntil it is answered, expires or is cancelled, then becomesRESOLVEDwith who ended it. A resolved question stays visible under Resolved until retention removes it. Reading or dismissing never answers a question: answering goes through the input endpoints and the same authorization rules as always.
input, run.failed, run.finished, run.held, delivery.failed and workflow (what a NOTIFY_TERMINAL with target: inbox or your own plugin raises).
Who sees what
Every notification has an audience, written as selectors:role:VIEWER, role:OPERATOR, role:ADMIN or key:<name>. The caller sees an item only if one selector matches and, for a key limited to some sessions, only items of those sessions. This holds for the list, the summary, the event stream, the CLI and MCP alike.
- Read state and preferences are kept per named API key. A server with no keys, or an unnamed key, shares one inbox,
local. - A question that a supervisor can answer reaches people only if it is still open after
yukta.notifications.action-grace(default 2 s), so a request a supervisor answers in milliseconds never flashes on a screen. - Titles and bodies are plain text, redacted with the same keys as input requests (
yukta.input.redact-keys). A desktop notification shows the title and the workflow, never the question’s context, and a per-device switch reduces it to “Yukta needs your input”. It has no answer buttons.
Your preferences
Per category you choose off, inbox or desktop (input cannot be turned off) and you can mute sessions. They are kept on the server, so the browser and yukta-cli notify agree. Whether this browser raises desktop notifications, and whether they show details, is a per-device switch in the browser.
What it does not do
- No push to a closed browser (no Web Push) and no tray application: use
yukta-cli notifyfor the desktop without a browser. - An outbound channel never receives an answer back through the notification; a receiver answers with the one-time token at the token-answer endpoint, so the answer is reviewed and audited like any other.
- Community keeps notifications in memory; they are lost on a restart. Plus keeps them in PostgreSQL.