openclaw - 💡(How to fix) Fix Control UI: Show task label + 'completed' instead of 'terminated' for finished subagent sessions [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#58961Fetched 2026-04-08 02:30:41
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Running OpenClaw v2026.3.28, local mode, Mac Studio. Subagent spawned with label: "seo-knowledge-engine-fix", completed successfully, but the UI showed a bare "terminated" badge.

Error Message

For non-technical users, "terminated" reads as an error. A task-aware status message gives confidence that the system is working as expected and provides useful context about what finished.

Root Cause

Running OpenClaw v2026.3.28, local mode, Mac Studio. Subagent spawned with label: "seo-knowledge-engine-fix", completed successfully, but the UI showed a bare "terminated" badge.

RAW_BUFFERClick to expand / collapse

Current Behaviour

When a subagent session finishes its task, the Control UI displays a "terminated" badge/popup. This looks alarming — like something went wrong — when in reality the task completed successfully.

Suggested Improvement

Replace the generic "terminated" label with something friendlier based on the task's actual state:

  • Completed successfully → Show the task label + ✅ completed (e.g. seo-knowledge-engine-fix — completed)
  • Failed/errored → Show the task label + ❌ failed
  • Killed by user → Show "cancelled" or "stopped"

The subagent already has a label field set at spawn time — this could be used directly in the UI.

Why It Matters

For non-technical users, "terminated" reads as an error. A task-aware status message gives confidence that the system is working as expected and provides useful context about what finished.

Context

Running OpenClaw v2026.3.28, local mode, Mac Studio. Subagent spawned with label: "seo-knowledge-engine-fix", completed successfully, but the UI showed a bare "terminated" badge.

extent analysis

TL;DR

Update the Control UI to display task-aware status messages based on the task's actual state, such as "completed" or "failed", instead of the generic "terminated" label.

Guidance

  • Review the subagent's label field and task state to determine the correct status message to display in the Control UI.
  • Consider adding conditional logic to display different status messages based on the task's outcome, such as "completed successfully", "failed", or "cancelled".
  • Use the existing label field to provide context about the task that finished, as suggested in the issue.
  • Test the updated UI with different task outcomes to ensure the correct status messages are displayed.

Example

// Pseudocode example of conditional logic for status messages
if (taskState === 'completed') {
  statusMessage = `${taskLabel} — completed`;
} else if (taskState === 'failed') {
  statusMessage = `${taskLabel} — failed`;
} else if (taskState === 'killed') {
  statusMessage = 'cancelled';
}

Notes

The exact implementation details may vary depending on the underlying technology stack and UI framework used in the Control UI.

Recommendation

Apply a workaround by updating the Control UI to display task-aware status messages, as this provides a more user-friendly and informative experience, especially for non-technical users.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING