Listing Sessions
View all active sessions:- Session ID (
fe-1) - Last activity (
2m ago) - Branch name (
feat/add-login) - Status (
working,pr_open,review_pending) - PR URL (if created)
Filter by Project
List sessions for a specific project:Session Status Codes
Comprehensive Status View
Get detailed status with PR, CI, and review info:- PR: PR number or
-if not created - CI:
✓passing,✗failing,⋯pending,-no checks - Rev:
✓approved,✗changes requested,△pending - Thr: Number of unresolved comment threads
- Activity:
active,ready,idle,waiting_input,blocked,exited - Age: Time since last activity
Activity States
JSON Output
Get machine-readable output for scripting:Attaching to Sessions
Attach to a session’s terminal to watch the agent work:open command:
Ctrl+B, then D
Open Multiple Sessions
Open all sessions for a project:Open in New Window
iterm2) to create terminal tabs/windows.
Sending Messages
Send instructions to a running agent:How It Works
1
Wait for idle
The command waits for the agent to become idle before sending (default: 600s timeout)
2
Clear partial input
Sends
Ctrl+U to clear any partial command3
Send message
Injects the message into the tmux session
4
Press Enter
Automatically submits the message
5
Verify delivery
Checks that the agent received and is processing the message
Send Without Waiting
Skip the idle wait:Send from File
Send long instructions from a file:instructions.txt:
Custom Timeout
Change the idle wait timeout:Delivery Confirmation
The command verifies delivery:Killing Sessions
Terminate a session and remove its worktree:- Kills the tmux session
- Removes the git worktree
- Updates session status to
killed - Preserves metadata for audit trail
When to Kill Sessions
✅ Good reasons to kill:- PR merged, work is complete
- Agent is stuck and unrecoverable
- Duplicate session for the same issue
- Issue was closed/canceled
- Agent is just slow (give it time)
- CI is failing (let auto-reactions handle it)
- You just want to pause (detach instead)
Automatic Cleanup
Remove completed sessions automatically:- PR is merged
- Issue is closed (in tracker)
- Runtime is no longer alive
Cleanup Criteria
A session is cleaned if:- PR Merged
- Issue Closed
- Runtime Dead
The PR associated with the session has been merged to the default branch.Detected via SCM plugin:
Restoring Sessions
Restore a crashed or terminated session in-place:- Verifies the worktree still exists
- Checks that the session is restorable (not merged)
- Creates a new tmux session
- Relaunches the agent in the same workspace
- Updates metadata with restore timestamp
- tmux session crashed but worktree is intact
- Agent exited unexpectedly
- You manually killed tmux but want to resume
Session Metadata
Each session stores metadata in flat files:- Flat key=value format (backwards compatible)
- Human-readable (edit with any text editor)
- Tracked in event log (full audit trail)
Scripting Examples
Kill all merged sessions
Send message to all sessions
Monitor session status
Next Steps
Auto-Reactions
Automate CI failure handling and review responses
Multi-Project Setup
Manage multiple repositories simultaneously
