tmux/claude: Matrix ping for long-running/blocked sessions when away #9

Open
opened 2026-06-03 18:19:36 +00:00 by jmz · 0 comments
Owner

Context

A matrix-bridge MCP / bridge room already exists (matrix.ziefle.org). For
long-running or blocked sessions while away from the desk, a tab marker and a
local desktop notification aren't enough.

Proposal

Opt-in: when a session is prompt/idle and has been so for N minutes (i.e.
you're likely away), ping the bridge room with the session name and state.

Implementation sketch

  • Extend the notification path (see the desktop-notification issue) with a
    time-since-state threshold; on crossing it, post to the default bridge room.
  • Gate behind an env/opt-in flag so it's silent by default and never noisy.
  • Reuse the existing matrix-bridge send path; include the /rename session name
    and a link/hint to which host+window.

Effort

Small once the desktop-notification hook exists (this layers on top). Opt-in.

## Context A matrix-bridge MCP / bridge room already exists (`matrix.ziefle.org`). For long-running or blocked sessions while away from the desk, a tab marker and a local desktop notification aren't enough. ## Proposal Opt-in: when a session is `prompt`/`idle` and has been so for N minutes (i.e. you're likely away), ping the bridge room with the session name and state. ## Implementation sketch - Extend the notification path (see the desktop-notification issue) with a time-since-state threshold; on crossing it, post to the default bridge room. - Gate behind an env/opt-in flag so it's silent by default and never noisy. - Reuse the existing matrix-bridge send path; include the `/rename` session name and a link/hint to which host+window. ## Effort Small once the desktop-notification hook exists (this layers on top). Opt-in.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jmz/dotfiles-public#9
No description provided.