anomalyco / anomalyco/opencode

Ghost sub-agent delegations stuck as 'running' in sidebar after completion/restart

Open
#40,190 1 comment 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 2, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

Background sub-agent delegations that complete (or time out) continue to appear as "running" in the sidebar TUI even after:

  1. Restarting the app
  2. Killing all opencode processes (kill -9)
  3. Full macOS restart

Suggestion: Manual Dismissal

Since the sidebar already supports mouse interaction, add the ability to manually close/dismiss a delegation entry from the sidebar:

  • Right-click context menu → "Close"
  • Hover + (X) button
  • Keyboard shortcut (Ctrl+W, Delete)

This would serve as both a workaround for ghost entries and a general UX improvement.

Environment

  • Opencode 1.18.11 (Homebrew)
  • macOS Apple Silicon
  • Delegations affected: jd-judge-a, jd-judge-b (completed/timeout, hours stuck as "running")

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.