Harden channel status detection #5

Open
opened 2026-07-15 12:21:40 +01:00 by pedromcaraujo · 0 comments

The channel status dot (hollow / dim / glowing-green) is inferred by pattern-matching Claude's terminal output. _classify() in web/tmux_ctl.py:182 looks for things like a \$ cost string or "Try `" text in the captured pane.

This breaks silently if Claude's UI/output format changes — the dot just stops reflecting reality with no error.

Goal: make status detection more robust and/or degrade gracefully — e.g. configurable match patterns, a coarser "session alive vs idle" signal that doesn't depend on Claude-specific strings, or a documented fallback.

The channel status dot (hollow / dim / glowing-green) is inferred by pattern-matching Claude's terminal output. `_classify()` in `web/tmux_ctl.py:182` looks for things like a `\$` cost string or "Try \`" text in the captured pane. This breaks silently if Claude's UI/output format changes — the dot just stops reflecting reality with no error. **Goal:** make status detection more robust and/or degrade gracefully — e.g. configurable match patterns, a coarser "session alive vs idle" signal that doesn't depend on Claude-specific strings, or a documented fallback.
Sign in to join this conversation.
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
pedromcaraujo/forge#5
No description provided.