Skip to content

revert(ui): drop the composer waiting card; Details lists processes - #199456

Merged
obviyus merged 1 commit into
mainfrom
revert/drop-composer-waiting-card
Nov 15, 2026
Merged

obviyus merged 1 commit into
mainfrom
revert/drop-composer-waiting-card

Conversation

@obviyus

@obviyus obviyus commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The composer Waiting on <command> card added in #198891 shows the same running commands that the session Details panel already lists under Processes, next to View all processes and Subagents. Two places now report the same background work.

User Impact

The card above the composer is gone. The running background command still appears in Details → Processes, where it opens its output and Stop is available. Exec completion wakes are unchanged: the agent still continues the chat when the command exits.

Why This Change Was Made

  • Removes the card component, its test, its lazy mount in the composer, its selectors in composer-progress.css, its three English strings and its docs sentences (docs/web/control-ui/chat.md, docs/gateway/background-process.md, including the adopted-process mention added later in fix(exec): adopted durable commands claim no exit wake after a Gateway restart #199222).
  • Removes the optional wakesSession field from sessions.processes.list rows. Only the card read it: no other reference exists in ui, apps/macos, apps/ios, apps/android, extensions or src, and the Swift and Kotlin protocol models never included it. It is not in any release: git tag --contains a519dcf lists no v* tag (v2026.11.5-beta.3 does not contain it). Main and beta are not shipped contracts.
  • Keeps hasExitWake: exec notifications, process poll guidance and durable adoption use it.
  • protocol:gen, ui:validators:gen, protocol:gen:swift and protocol:gen:kotlin produce no diff.

Net change: 11 insertions, 358 deletions, 12 files.

Evidence

Real isolated Gateway from source with its own port and state, real agent (gpt-6-astra through the OpenAI Responses API). The agent itself started sh wait-for-deploy.sh as a background exec whose exit wakes the chat, then ended its turn. Before: main at 5fbdf6989130. After: this branch. Desktop 1440×900, dark theme. The avatar is blurred.

State Before (main) After (this branch)
Idle, waiting on the command Before: Waiting on sh wait-for-deploy.sh card above the composer, desktop dark After: no card above the composer, desktop dark
Details open Before: Details lists sh wait-for-deploy.sh while the composer card repeats it, desktop dark After: Details lists sh wait-for-deploy.sh and View all processes; no composer card, desktop dark
  • Before: .chat-waiters count 1. After: count 0.
  • Details → Processes lists sh wait-for-deploy.sh and View all processes on both sides.
  • sessions.processes.list on the same running command: before {status: "running", wakesSession: true, …}; after {status: "running", …} with no wakesSession.
  • After the command exited on the branch Gateway, the wake turn ran and the agent replied: "The script completed successfully and reported that deployment finished: v2 is live."

Checks:

  • ocx test: bash-process-observation.test.ts, chat-composer-content.test.tsx, chat-composer-status.test.tsx, chat-pane-side-panels.test.ts, chat-processes-panel.test.ts pass.
  • tsgo:ui, tsgo:core, scoped oxlint and oxfmt, lint:ui:styles (stylelint), check:control-ui-controllers, ui:i18n:verify pass.
  • Control UI budget, ui:check-performance --base-dist against the 5fbdf6989130 build:
    • chat boot CSS gzip −112 B (139439 → 139327); total CSS −112 B gzip / −871 B raw.
    • chat boot JS: control-ui-boot-chat is 506 B smaller raw, but its hash-normalized gzip is +81 B, so chat boot JS reads +54 B gzip (1310823 → 1310877), inside the 64 B build-variance allowance. gzip -9 of the same chunk is −127 B. Startup JS −21 B, New Session JS −21 B.
  • ocx build --dts passes; the packed tarball integrity check, openclaw --version and openclaw gateway --help from the packed tarball pass.

The composer "Waiting on <command>" card from #198891 repeats what the
session Details sidebar already shows: running processes with Stop and
View all processes, plus subagents. Remove the card, its lazy mount,
styles, strings and docs, and the wakesSession row field that only the
card read. hasExitWake stays for exec and process guidance.

Co-authored-by: obviyus <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime agents Agent runtime and tooling size: M labels Nov 15, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 15, 2026
@clawsweeper

clawsweeper Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes the composer’s background-process waiting card and its unused response metadata while retaining Details process controls and completion wakes.

Example: An idle chat has sh wait-for-deploy.sh running in the background.

  • Before: The command appears above the composer and in Details → Processes.
  • After: The composer card is absent, and Details → Processes still lists the command.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Focused, complete removal with directly inspected visual proof and no actionable findings; CI attribution remains unresolved.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots exercise the production Control UI on an isolated real-agent Gateway: the card disappears and Details retains sh wait-for-deploy.sh; the body additionally records successful completion wake and sibling checks.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: A running background command is presented both above the composer and in Details.
Reason: The maintainer-authored direction accepts removing the prominent wake-specific indication in favor of the existing Details view, with no new configuration or competing owner.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored PR open: the focused removal has convincing visual proof and no actionable code findings; the failed Swift gate remains unattributed.

Priority: P3
Reviewed head: 10b7b0d77083acfd752bbbbf344376cf9e223f7f

Before merge

None.

Findings

None.

Agent review details

How this fits together

The process registry supplies session-scoped observations through Gateway RPCs; the Control UI presents them in Details and Processes, while the execution owner separately delivers completion wakes.

flowchart LR
  A[Background process registry] --> B[Process observation]
  B --> C[Gateway process list]
  C --> D[Shared UI observation]
  D --> E[Details and Processes]
  A --> F[Completion wake owner]
  F --> G[Conversation continuation]
Loading

Technical review

Best possible solution:

Use Details and Processes as the existing presentation path, removing the card and its exclusive metadata without changing execution or wake ownership.

Do we have a high-confidence way to reproduce the issue?

This is a presentation preference rather than a broken contract; current-main source and inspected captures establish the two process displays.

Is this the best way to solve the issue?

The diff is the smallest coherent removal: it deletes the retired renderer and exclusive metadata together, preserves existing owners, and removes only tests for the retired behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 37d977fd28b0.

Provenance checked

  • Waiting-card rendering, response metadata, styles and strings changes intended behavior with a stated reason (a519dcf: Make pending background work visible when an idle conversation would otherwise appear finished.)
  • Adopted durable-process documentation keeps the original intent (d8d6216: Report adopted commands’ existing completion wake accurately after restart; the diff preserves polling guidance and runtime preparation while removing the retired UI reference.)
  • Background completion documentation keeps the original intent (00636f0: Silent successful commands also resume the conversation; removing the card paragraph leaves that completion behavior intact.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit d8d6216 adds docs/gateway/background-process.md:205 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d8d62169bb6a; files: docs/gateway/background-process.md)
  • Peter Steinberger: Raw commit 100f8b6 adds src/agents/bash-process-observation.ts:43 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 100f8b674c2f; files: src/agents/bash-process-observation.ts)
  • Vyctor H. Brzezowski: Raw commit 294cce9 adds ui/src/i18n/locales/en-processes.ts:13 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 294cce90a1e4; files: ui/src/i18n/locales/en-processes.ts)

PR surface

Source -256, Tests -89, Docs -2. Total -347 across 12 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 8 6 262 -256
Tests 2 0 89 -89
Docs 2 5 7 -2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 12 11 358 -347

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is an approved UI simplification; process execution, controls and completion delivery remain available.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is an approved UI simplification; process execution, controls and completion delivery remain available.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 15, 2026, 12:06 AM ET / 05:06 UTC.

@obviyus
obviyus merged commit 648924a into main Nov 15, 2026
160 of 161 checks passed
@obviyus
obviyus deleted the revert/drop-composer-waiting-card branch November 15, 2026 05:35
@obviyus

obviyus commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator Author

Landed as 648924a. The composer waiting card and the wakesSession field are gone; running background commands stay visible in Details -> Processes. Rendered check on an isolated Gateway with a real agent: no card, process still listed, exit wake still delivered.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 16, 2026
…penclaw#199456)

## What Problem This Solves

The composer **Waiting on `<command>`** card added in openclaw#198891 shows the same running commands that the session **Details** panel already lists under **Processes**, next to **View all processes** and **Subagents**. Two places now report the same background work.

## User Impact

The card above the composer is gone. The running background command still appears in **Details → Processes**, where it opens its output and **Stop** is available. Exec completion wakes are unchanged: the agent still continues the chat when the command exits.

## Why This Change Was Made

- Removes the card component, its test, its lazy mount in the composer, its selectors in `composer-progress.css`, its three English strings and its docs sentences (`docs/web/control-ui/chat.md`, `docs/gateway/background-process.md`, including the adopted-process mention added later in openclaw#199222).
- Removes the optional `wakesSession` field from `sessions.processes.list` rows. Only the card read it: no other reference exists in `ui`, `apps/macos`, `apps/ios`, `apps/android`, `extensions` or `src`, and the Swift and Kotlin protocol models never included it. It is not in any release: `git tag --contains 7f84512` lists no `v*` tag (`v2026.11.5-beta.3` does not contain it). Main and beta are not shipped contracts.
- Keeps `hasExitWake`: exec notifications, `process poll` guidance and durable adoption use it.
- `protocol:gen`, `ui:validators:gen`, `protocol:gen:swift` and `protocol:gen:kotlin` produce no diff.

Net change: 11 insertions, 358 deletions, 12 files.

## Evidence

Real isolated Gateway from source with its own port and state, real agent (`gpt-6-astra` through the OpenAI Responses API). The agent itself started `sh wait-for-deploy.sh` as a background exec whose exit wakes the chat, then ended its turn. Before: `main` at `66e7ae55558c`. After: this branch. Desktop 1440×900, dark theme. The avatar is blurred.

| State | Before (`main`) | After (this branch) |
| --- | --- | --- |
| Idle, waiting on the command | ![Before: Waiting on sh wait-for-deploy.sh card above the composer, desktop dark](https://github.com/user-attachments/assets/87b78165-ebf2-4c44-8ce2-9b69ef12bd00) | ![After: no card above the composer, desktop dark](https://github.com/user-attachments/assets/9763ee4f-475d-4bb0-84b5-87a09e94db3f) |
| Details open | ![Before: Details lists sh wait-for-deploy.sh while the composer card repeats it, desktop dark](https://github.com/user-attachments/assets/ea2e334b-0c78-4fc5-aac4-e2be8d2a17dc) | ![After: Details lists sh wait-for-deploy.sh and View all processes; no composer card, desktop dark](https://github.com/user-attachments/assets/521d2c17-c0a5-4838-8a0d-36efe67a7977) |

- Before: `.chat-waiters` count 1. After: count 0.
- Details → Processes lists `sh wait-for-deploy.sh` and **View all processes** on both sides.
- `sessions.processes.list` on the same running command: before `{status: "running", wakesSession: true, …}`; after `{status: "running", …}` with no `wakesSession`.
- After the command exited on the branch Gateway, the wake turn ran and the agent replied: "The script completed successfully and reported that deployment finished: v2 is live."

Checks:

- `ocx test`: `bash-process-observation.test.ts`, `chat-composer-content.test.tsx`, `chat-composer-status.test.tsx`, `chat-pane-side-panels.test.ts`, `chat-processes-panel.test.ts` pass.
- `tsgo:ui`, `tsgo:core`, scoped oxlint and oxfmt, `lint:ui:styles` (stylelint), `check:control-ui-controllers`, `ui:i18n:verify` pass.
- Control UI budget, `ui:check-performance --base-dist` against the `66e7ae55558c` build:
  - chat boot CSS gzip −112 B (139439 → 139327); total CSS −112 B gzip / −871 B raw.
  - chat boot JS: `control-ui-boot-chat` is 506 B smaller raw, but its hash-normalized gzip is +81 B, so chat boot JS reads +54 B gzip (1310823 → 1310877), inside the 64 B build-variance allowance. `gzip -9` of the same chunk is −127 B. Startup JS −21 B, New Session JS −21 B.
- `ocx build --dts` passes; the packed tarball integrity check, `openclaw --version` and `openclaw gateway --help` from the packed tarball pass.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant