Skip to content

fix: show workspaces as active immediately on new instance startup#164

Merged
andyrewlee merged 1 commit intomainfrom
startup
Feb 5, 2026
Merged

fix: show workspaces as active immediately on new instance startup#164
andyrewlee merged 1 commit intomainfrom
startup

Conversation

@andyrewlee
Copy link
Copy Markdown
Owner

@andyrewlee andyrewlee commented Feb 5, 2026

Two issues prevented workspaces with running agents from showing the active color when a new amux instance started:

  1. CapturePaneTail used exactTarget() ("=" prefix) for capture-pane, but capture-pane expects a pane target where "=" is not recognized (tmux 3.6+), causing every capture to fail silently.

  2. Hysteresis initialized new sessions at score=0, requiring multiple scan cycles before reaching the active threshold. Now sessions start at the threshold so they appear active on first detection.


Open with Devin

Two issues prevented workspaces with running agents from showing the
active color when a new amux instance started:

1. CapturePaneTail used exactTarget() ("=" prefix) for capture-pane,
   but capture-pane expects a pane target where "=" is not recognized
   (tmux 3.6+), causing every capture to fail silently.

2. Hysteresis initialized new sessions at score=0, requiring multiple
   scan cycles before reaching the active threshold. Now sessions start
   at the threshold so they appear active on first detection.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

@andyrewlee andyrewlee merged commit 80f217e into main Feb 5, 2026
2 checks passed
@andyrewlee andyrewlee deleted the startup branch February 5, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant