Skip to content

Alert when another thread needs you, even if the window is focused #491

Closed

Description

@currentbits

What happens today

`shouldNotify` (`electron/notify.js`) returns false whenever any Solenta window is focused. Desktop notifications fire only for unfocused-app → done / failed / waiting (#87, #31).

If you are reading thread A and worker B hits a permission prompt, you get a sidebar badge and nothing else. No toast, no dock bounce, no sound. Orchestration makes this the common case: you watch the lead while a worker silently sits on `awaitingInput`.

#291 (approval inbox) and #345 (escalation state machine) are the heavy versions. This ticket is the one-line interrupt: "Auth worker needs permission."

Why it matters

The CLI does not have this bug — there is only one session in the TTY. A multi-thread GUI that only pages you when the app is in the background treats "looking at the wrong thread" as attention. It is not.

Scope

  1. When a thread you are not viewing transitions to `waiting` (or failed), show an in-app toast with the thread title and a click that selects it. Honor the global / per-thread mute from Desktop-notification preference: global toggle and per-thread mute #87.
  2. Optional: macOS dock badge = count of threads in `waiting` (not a full Menu-bar tray of running agents #384 tray).
  3. Do not desktop-notify for every worker `done` while focused — that is the noise Desktop-notification preference: global toggle and per-thread mute #87 killed. Waiting/failed only.
  4. Tests: focused + other thread → waiting → toast; focused + current thread → waiting → no toast; muted thread → no toast.

Related: #87 (mute), #291 (inbox), #345 (later escalation), #384 (tray), #478 (Esc on the thread you are on).

Round 25.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 18, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 20 intel: ChatGPT desktop added an Activity view (26.727): a sidebar view, toggled with Cmd/Ctrl+Opt+U, listing which chats you engaged with recently that now require attention. Notably it is a view you switch to, not just a badge: the whole sidebar re-sorts around "needs you". That is a stronger pattern than a per-thread dot for the moment you return to the machine with eight threads finished. Could compose with this issue: the alert pulls you in, the Activity-style view triages what landed while you were away (also see #323 morning digest).

  3. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  4. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Shipped in 0.24.0: an opt-in attention sound plays even when the window is focused, and the dock/taskbar badge counts threads that need you. Closing in the 2026-10-09 board cleanup (#1532).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions