You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add [IDLE] status to worktree-list and idle mode to worktree-clean #178
just wt-list only shows [RUNNING] or [STOPPED]. When an agent finishes its task but the tmux session remains open (waiting for a new prompt), there's no way to distinguish an actively working agent from an idle one.
just wt-clean only supports cleaning stopped worktrees or all worktrees — no way to also clean idle ones while preserving actively running agents.
Solution
worktree-list
Check #{window_activity} tmux variable to detect when a session's last output was > N minutes ago (default: 5 min, configurable via WT_IDLE_MINUTES)
Show [IDLE] status for sessions with no recent activity
worktree-clean
Default (no args): clean stopped worktrees only (unchanged)
idle: clean stopped + idle worktrees
all: clean everything including running (unchanged)
Acceptance criteria
just wt-list shows [IDLE] for sessions idle > threshold
just wt-clean default still cleans only stopped
just wt-clean idle cleans stopped + idle, skips running
Built on the worktree pipeline migrated in #625 (#626 paths, #627 CLI swap). Verify idle mode still works once the pipeline is driven by claude. Coordinate — not superseded.
Closing as part of an agreed backlog cleanup (with @gerchowl) — valid but dormant, no work in progress since the Nix migration. Reopen or refile fresh if picked up.
Activity
c-vigo commentedon Jun 23, 2026
Built on the worktree pipeline migrated in #625 (#626 paths, #627 CLI swap). Verify idle mode still works once the pipeline is driven by
claude. Coordinate — not superseded.c-vigo commentedon Jul 8, 2026
Closing as part of an agreed backlog cleanup (with @gerchowl) — valid but dormant, no work in progress since the Nix migration. Reopen or refile fresh if picked up.