Repository navigation
improve(ui): remove browser-local Activity tool feed - #199168
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesRemoves Activity’s browser-local tool feed while retaining Current work, Sessions history, and the durable Run inspector. Example: Open /activity?view=live with “Check documentation links” queued and “Review release notes” running.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep this PR open: the maintainer-approved removal is coherent, but retained browser tests and benchmark scenarios still depend on the deleted feed. Priority: P2 Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI Activity page consumes Gateway session listings and audit inspection results, presenting active work, session history, and run evidence with conversation links. flowchart TD
A[Gateway session listings] --> B[Activity session owner]
B --> C[Current work]
B --> D[Sessions history]
C --> E[Chat conversation]
F[Gateway audit inspection] --> G[Run inspector]
Technical reviewBest possible solution: Complete the deletion by updating retained navigation tests and retiring obsolete feed tests and benchmark registrations while preserving Current work, Chat, and Run inspector coverage. Do we have a high-confidence way to reproduce the issue? Source inspection establishes deterministic waits for deleted elements in retained browser tests and benchmarks; no target code was executed during this read-only review. Is this the best way to solve the issue? Deleting the obsolete collector and renderer is the smallest coherent implementation of the accepted direction, but its remaining automation consumers must be cut over too. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bb905f76e55d. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource -1305, Tests -1417, Docs -7, Other -1. Total -2730 across 20 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 14, 2026, 3:30 PM ET / 20:30 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
Follow #199168's intentional removal of the browser-local Activity tool stream. Drop its orphaned source-preview case while preserving the imported Chat transcript assertions. The retained Run inspector and Sessions history do not expose raw tool output. Remove the obsolete Activity actions row from the floating-header table; keep the same centering, placement, menu and breakpoint assertions across all five remaining supported pages. Current work still proves tool entries are absent. Validation: both original files pass on #199168's parent and fail on its merge commit. The two corrected files and Current work pass under the pinned Bun fork and Node; reverting the correction fails both original cases again under both runtimes. Targeted lint, formatting and both UI E2E TypeScript graphs pass.
…one-shot runs (#199283) ## What Problem This Solves Fixes: one-shot runs cannot wait for a background command without polling. A hidden subagent or an isolated cron agent turn ends with its final reply, so "end the turn and let the exit wake you" does not work there: - A hidden subagent gets the exit only as a passive system event in its next turn, which never comes. Its running result therefore says "Automatic completion wake is unavailable … use poll with a timeout", and the agent calls `process poll` every 10–30 s for the whole wait. - An isolated cron run gets the same manual-collection guidance. When the run ends first, a queued exit still arrives later as an extra follow-up turn, which answers `NO_REPLY`. - `sessions_yield` only awaited child sessions. With a running command and no child, it said "No pending child completion … did not pause the turn". In a hidden subagent it refused outright ("Use process to poll and collect it before yielding"). ## User Impact User impact: a subagent or automation that waits for CI, a deploy or any long command starts one background command and calls `sessions_yield`. The command's exit resumes the same run with the exit result, and the run reports normally. No poll loop, fewer model round trips and tokens, and no spurious `NO_REPLY` turns after a cron run. Ordinary chat sessions are unchanged: their exit still wakes the conversation when the turn ends. ## Why This Change Was Made **Owners extended (no new tool, parameter, state or stored row):** - **Exec wake target capture** (`prepareExecExitNotification`): hidden subagent and cron-run commands now capture their own session as the wake target and record `exitWakeAfterYield`, but only when `sessions_yield` is callable in that run. The exec tool reads this from the run's final callable tool set, the same way it reads `process` availability. Collectors (which never get `sessions_yield`) and tool policies that remove it keep the previous manual-collection guidance. `hasExitWake` stays the single fact that the running result, idle `process poll` text and the Control UI waiting card read. For a one-shot run it also requires a deadline, so a wait is always bounded by the command's `timeoutSeconds`. A timeout already ends the command, and that exit resumes the run. `timeoutSeconds: 0` keeps manual-collection guidance. - **Running result text** (`describeExitWake`): one-shot runs read "This run resumes with its result when it exits, silent success included, if you call sessions_yield. If only waiting remains, call sessions_yield now; do not poll it or start another command for the same result." Ordinary sessions keep the step 2 text. - **Yield claim** (`createRequesterYieldCallback`): a wake-armed running command that the current run started (`originRunId`) is a completion claim, like a pending child. An accepted yield marks those commands (`resumesYieldedRun`). The step 2 refusal of a hidden-subagent yield with uncollected background work stays for commands whose exit cannot resume the run. - **Hidden subagent resume** (`maybeNotifyOnExit` + `prepareReplySubagentContinuation`): the exit of an awaited command is sent as the ordinary exec wake turn (same content as step 2: exit code, duration, 2,000-char tail) instead of a passive event. It carries the starting run as `sourceRunId`. Reply admission treats an `exec` wake exactly like a tool handoff result: it continues the paused task only when that run is the yielded one, so the subagent's final reply still goes to its requester through the registry. A hidden subagent that did not yield still gets only the passive notice. - **Cron run resume** (`executeCronRun`): the cron executor opens a per-run resume slot. A yield on the run's own commands returns `{ resumesInPlace: true }`; the embedded runner ends the turn but keeps the reply operation open, and the executor runs the next turn in the same operation with the exit text as the prompt. The resumed turn's reply is the run's result. A cron yield for children keeps the existing scheduler-owned behavior. A requested Stop or kill releases the wait without a turn. - **Text and docs**: `sessions_yield` and exec descriptions, the cron unattended preamble (the "will not resume after `sessions_yield`" sentence now applies only to child yields), `docs/tools/exec.md`, `docs/gateway/background-process.md`, `docs/tools/subagents/tool-reference.md`, `docs/concepts/subagent-yield-handoff.md`. Prompt snapshots regenerated. **Accepted edge cases** (named, no code): a command that exits in the instant between an accepted subagent yield and the pause being published runs as a separate follow-up turn instead of continuing the paused task (same window as the existing tool-handoff resume). The Control UI waiting card in a hidden subagent session now shows for wake-armed commands, because the exit can resume the run. An interactive session that calls `sessions_yield` on a wake-armed command gets `yielded`, which ends the turn exactly as ending it normally would. Production delta: +199/−49 lines in `src` (excluding tests). ## Evidence **Real agent, isolated source Gateway** (`ocx src`, pinned Bun fork, own state/port/HOME, `env -i`). Claude Opus through the shared Claude proxy, OpenClaw runtime, direct tool surface, `automations` denied. A fake CI flips to passed 240 s after the first status check. Fresh session per trial, 6 trials per arm, measured from the Gateway's own transcript store. base = `10159aefda9c` (`main` at branch time), fix = `bfd56dc84d66` (first head). The second head (`d51e737ba7da`, manual collection kept where `sessions_yield` is not callable) reran 3 hidden-subagent and 3 cron trials: 6/6 delivered, **0** polls, 5/5 background waiters resumed by their exit (1 cron trial waited in turn). | Scenario | Arm | Final result delivered | `process poll` calls | Exit resumed the run | Spurious `NO_REPLY` turns | Tokens / trial | |---|---|---|---|---|---|---| | (a) parent spawns a hidden subagent that waits for CI, parent reports | base | 6/6 | **76** (all in the subagent) | 0/6 | 0 | 594k | | | fix | 6/6 | **0** | 5/5 waiters (1 trial waited in turn) | 0 | 314k | | (b) isolated cron agent turn waits for CI | base | 6/6 | **61** (12 idle) | 0/6 (2 exits arrived after the run) | **3** | 477k | | | fix | 6/6 | **0** | 5/5 waiters (1 trial waited in turn) | 0 | 156k | | (c) ordinary dashboard session, S2 (`ci-status`) | base | 6/6 | 12 | 6/6 | 0 | 296k | | | fix | 6/6 | **0** | 6/6 | 0 | 198k | (a) parent: in every fix trial the parent yielded for the child and received the child's final summary through the existing subagent completion; in 5/6 the child's reply came from the exec-resumed turn. (b) base: the run polled until CI passed, answered, and the queued exit then started an extra follow-up turn in 3 trials. (c): the ordinary session's running-result text is unchanged. Claude calls `sessions_yield` after starting the waiter in 4/6 trials on base and 4/6 on this head. On base that returns `nothing_pending` and the agent then polls in 3 of those trials (12 polls); here the yield is accepted, the turn ends and the exit wakes the conversation. Two fix trials ran in a supplemental 2-trial arm, because a concurrent packaging step briefly rewrote `package.json` and broke two trial sends in the first arm. Redacted trace, hidden subagent, fix (P = parent, S = subagent): ```text P +13s sessions_spawn → accepted P +17s sessions_yield → {"status":"yielded"} S +22s exec {"yieldMs":120000,"timeoutSeconds":1500} 'cd pr-1 && …loop until ci-status passes…' S +142s -> Command still running (session delta-sage:…, pid …), times out in 23m. This run resumes with its result when it exits, silent success included, if you call sessions_yield. If only waiting remains, call sessions_yield now; do not poll it … S +145s sessions_yield → {"status":"yielded"} S +263s USER: Exec completed (delta-sa, code 0, 4m1s): … PR #4241: all 15 checks passed. Summary: build-1-… green S +266s write pr-1/RESULT.md S +269s reply: All 15 CI checks on PR #4241 have passed. … PR #4241: all 15 checks passed. Summary: build-1-… green P +270s USER: [Subagent Context] Every subagent in this batch has now settled … P +279s reply: The subagent says CI on PR #4241 passed. Its summary line is: PR #4241: all 15 checks passed … ``` Same scenario, base: the subagent's running result says "Automatic completion wake is unavailable after ending this turn … use poll with a timeout", then 14 `process poll timeout=30000` calls each return `PR #4241: 4 checks pending, 11 passed … Process still running.` until it exits. Cron, fix: `exec` → running result with the `sessions_yield` text → `sessions_yield` → `{"status":"yielded"}` → `Exec completed (tender-c, code 0, 4m1s): …` as the next turn of the same run → `ci-status > RESULT.md` → final reply `PR #4241: all 15 checks passed …`, recorded as the run summary. **Tests** (`vitest` from source): - `bash-tools.exec-background-followup.test.ts`: a hidden subagent's command resumes it only after `sessions_yield` awaits it (passive notice otherwise; wake turn with `source: "exec"`, `sourceRunId` and the step 2 content when yielded); a yielded cron run resumes in place with the exit text and sends no session event; cron running results carry the `sessions_yield` text. - `bash-tools.exec-background-followup.test.ts` also keeps the `main` behavior where `sessions_yield` is not callable: a hidden subagent gets manual-collection guidance and no wake promise, and a cron run is told to collect before ending the turn. - `openclaw-tools.requester-yield.test.ts`: a wake-armed command the run started is a yield claim only when it has a deadline; only an accepted yield arms the resume. - The two new tests fail on `main`, where the resume path does not exist; the updated cron assertions also fail there. The exec/process, descriptions, `sessions_yield` tool, requester yield, embedded runner yield orchestration, cron run lifecycle, model-switch retry and prompt-snapshot suites pass. `tsgo:core` passes. **Full tier**: `ocx build --dts` on the rebased head (`cace873cdf6c`), then a packed tarball install: tarball integrity, `openclaw --version` (`2026.11.3 (cace873)`) and `gateway --help` pass; the packed `bash-tools.exec-output` chunk carries the new guidance. **Limits:** - Claude only, direct tool surface; OpenAI and Code Mode were not measured for this step. - In one trial per fix arm (a) and (b), the agent waited in turn with a capped `yieldMs` block instead of backgrounding; it made no polls. - The cron harness has no chat channel, so every run (base and fix) records `completionStatus: failed` for delivery; the run summary is the agent's final reply in both arms. - Gateway restart mid-wait is out of scope (step 5). **CI:** rebased onto `main` `92016ce978f0` (picks up #199113, which only changed the exec-completion enqueue import; no conflict in the yield/wake path). Focused yield, exec, cron and embedded-runner suites and `tsgo:core` pass on the rebased head. If `checks-ui-e2e (1/2)` fails in `ui/src/e2e/chat-cli-history-redaction.e2e.test.ts` ("preserves tool source in Activity while bounding the visible preview", waiting for `.activity-empty`), that failure is on `main`: #199168 removed the Activity element, but this test still waits for it. Locally, `pnpm test:ui:e2e ui/src/e2e/chat-cli-history-redaction.e2e.test.ts` fails the same way on `main` `92016ce978f0` and on this head (1 failed, 1 passed in both). This PR touches no `ui/` file. Other PRs pass that shard because their changed files select only 6 UI test files that do not include this one; this PR's change set selects 19. Co-authored-by: Ayaan Zaidi <[email protected]>
* improve(ui): remove browser-local Activity tool feed Co-authored-by: vyctorbrzezowski <[email protected]> * test(ui): retain Activity inspector navigation coverage * test(ui): finish Activity feed removal across QA consumers * test(ui): retire Activity gallery-only coverage --------- Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Follow openclaw#199168's intentional removal of the browser-local Activity tool stream. Drop its orphaned source-preview case while preserving the imported Chat transcript assertions. The retained Run inspector and Sessions history do not expose raw tool output. Remove the obsolete Activity actions row from the floating-header table; keep the same centering, placement, menu and breakpoint assertions across all five remaining supported pages. Current work still proves tool entries are absent. Validation: both original files pass on openclaw#199168's parent and fail on its merge commit. The two corrected files and Current work pass under the pinned Bun fork and Node; reverting the correction fails both original cases again under both runtimes. Targeted lint, formatting and both UI E2E TypeScript graphs pass.
…one-shot runs (openclaw#199283) ## What Problem This Solves Fixes: one-shot runs cannot wait for a background command without polling. A hidden subagent or an isolated cron agent turn ends with its final reply, so "end the turn and let the exit wake you" does not work there: - A hidden subagent gets the exit only as a passive system event in its next turn, which never comes. Its running result therefore says "Automatic completion wake is unavailable … use poll with a timeout", and the agent calls `process poll` every 10–30 s for the whole wait. - An isolated cron run gets the same manual-collection guidance. When the run ends first, a queued exit still arrives later as an extra follow-up turn, which answers `NO_REPLY`. - `sessions_yield` only awaited child sessions. With a running command and no child, it said "No pending child completion … did not pause the turn". In a hidden subagent it refused outright ("Use process to poll and collect it before yielding"). ## User Impact User impact: a subagent or automation that waits for CI, a deploy or any long command starts one background command and calls `sessions_yield`. The command's exit resumes the same run with the exit result, and the run reports normally. No poll loop, fewer model round trips and tokens, and no spurious `NO_REPLY` turns after a cron run. Ordinary chat sessions are unchanged: their exit still wakes the conversation when the turn ends. ## Why This Change Was Made **Owners extended (no new tool, parameter, state or stored row):** - **Exec wake target capture** (`prepareExecExitNotification`): hidden subagent and cron-run commands now capture their own session as the wake target and record `exitWakeAfterYield`, but only when `sessions_yield` is callable in that run. The exec tool reads this from the run's final callable tool set, the same way it reads `process` availability. Collectors (which never get `sessions_yield`) and tool policies that remove it keep the previous manual-collection guidance. `hasExitWake` stays the single fact that the running result, idle `process poll` text and the Control UI waiting card read. For a one-shot run it also requires a deadline, so a wait is always bounded by the command's `timeoutSeconds`. A timeout already ends the command, and that exit resumes the run. `timeoutSeconds: 0` keeps manual-collection guidance. - **Running result text** (`describeExitWake`): one-shot runs read "This run resumes with its result when it exits, silent success included, if you call sessions_yield. If only waiting remains, call sessions_yield now; do not poll it or start another command for the same result." Ordinary sessions keep the step 2 text. - **Yield claim** (`createRequesterYieldCallback`): a wake-armed running command that the current run started (`originRunId`) is a completion claim, like a pending child. An accepted yield marks those commands (`resumesYieldedRun`). The step 2 refusal of a hidden-subagent yield with uncollected background work stays for commands whose exit cannot resume the run. - **Hidden subagent resume** (`maybeNotifyOnExit` + `prepareReplySubagentContinuation`): the exit of an awaited command is sent as the ordinary exec wake turn (same content as step 2: exit code, duration, 2,000-char tail) instead of a passive event. It carries the starting run as `sourceRunId`. Reply admission treats an `exec` wake exactly like a tool handoff result: it continues the paused task only when that run is the yielded one, so the subagent's final reply still goes to its requester through the registry. A hidden subagent that did not yield still gets only the passive notice. - **Cron run resume** (`executeCronRun`): the cron executor opens a per-run resume slot. A yield on the run's own commands returns `{ resumesInPlace: true }`; the embedded runner ends the turn but keeps the reply operation open, and the executor runs the next turn in the same operation with the exit text as the prompt. The resumed turn's reply is the run's result. A cron yield for children keeps the existing scheduler-owned behavior. A requested Stop or kill releases the wait without a turn. - **Text and docs**: `sessions_yield` and exec descriptions, the cron unattended preamble (the "will not resume after `sessions_yield`" sentence now applies only to child yields), `docs/tools/exec.md`, `docs/gateway/background-process.md`, `docs/tools/subagents/tool-reference.md`, `docs/concepts/subagent-yield-handoff.md`. Prompt snapshots regenerated. **Accepted edge cases** (named, no code): a command that exits in the instant between an accepted subagent yield and the pause being published runs as a separate follow-up turn instead of continuing the paused task (same window as the existing tool-handoff resume). The Control UI waiting card in a hidden subagent session now shows for wake-armed commands, because the exit can resume the run. An interactive session that calls `sessions_yield` on a wake-armed command gets `yielded`, which ends the turn exactly as ending it normally would. Production delta: +199/−49 lines in `src` (excluding tests). ## Evidence **Real agent, isolated source Gateway** (`ocx src`, pinned Bun fork, own state/port/HOME, `env -i`). Claude Opus through the shared Claude proxy, OpenClaw runtime, direct tool surface, `automations` denied. A fake CI flips to passed 240 s after the first status check. Fresh session per trial, 6 trials per arm, measured from the Gateway's own transcript store. base = `8ae26d8ad99d` (`main` at branch time), fix = `bfd56dc84d66` (first head). The second head (`d51e737ba7da`, manual collection kept where `sessions_yield` is not callable) reran 3 hidden-subagent and 3 cron trials: 6/6 delivered, **0** polls, 5/5 background waiters resumed by their exit (1 cron trial waited in turn). | Scenario | Arm | Final result delivered | `process poll` calls | Exit resumed the run | Spurious `NO_REPLY` turns | Tokens / trial | |---|---|---|---|---|---|---| | (a) parent spawns a hidden subagent that waits for CI, parent reports | base | 6/6 | **76** (all in the subagent) | 0/6 | 0 | 594k | | | fix | 6/6 | **0** | 5/5 waiters (1 trial waited in turn) | 0 | 314k | | (b) isolated cron agent turn waits for CI | base | 6/6 | **61** (12 idle) | 0/6 (2 exits arrived after the run) | **3** | 477k | | | fix | 6/6 | **0** | 5/5 waiters (1 trial waited in turn) | 0 | 156k | | (c) ordinary dashboard session, S2 (`ci-status`) | base | 6/6 | 12 | 6/6 | 0 | 296k | | | fix | 6/6 | **0** | 6/6 | 0 | 198k | (a) parent: in every fix trial the parent yielded for the child and received the child's final summary through the existing subagent completion; in 5/6 the child's reply came from the exec-resumed turn. (b) base: the run polled until CI passed, answered, and the queued exit then started an extra follow-up turn in 3 trials. (c): the ordinary session's running-result text is unchanged. Claude calls `sessions_yield` after starting the waiter in 4/6 trials on base and 4/6 on this head. On base that returns `nothing_pending` and the agent then polls in 3 of those trials (12 polls); here the yield is accepted, the turn ends and the exit wakes the conversation. Two fix trials ran in a supplemental 2-trial arm, because a concurrent packaging step briefly rewrote `package.json` and broke two trial sends in the first arm. Redacted trace, hidden subagent, fix (P = parent, S = subagent): ```text P +13s sessions_spawn → accepted P +17s sessions_yield → {"status":"yielded"} S +22s exec {"yieldMs":120000,"timeoutSeconds":1500} 'cd pr-1 && …loop until ci-status passes…' S +142s -> Command still running (session delta-sage:…, pid …), times out in 23m. This run resumes with its result when it exits, silent success included, if you call sessions_yield. If only waiting remains, call sessions_yield now; do not poll it … S +145s sessions_yield → {"status":"yielded"} S +263s USER: Exec completed (delta-sa, code 0, 4m1s): … PR openclaw#4241: all 15 checks passed. Summary: build-1-… green S +266s write pr-1/RESULT.md S +269s reply: All 15 CI checks on PR openclaw#4241 have passed. … PR openclaw#4241: all 15 checks passed. Summary: build-1-… green P +270s USER: [Subagent Context] Every subagent in this batch has now settled … P +279s reply: The subagent says CI on PR openclaw#4241 passed. Its summary line is: PR openclaw#4241: all 15 checks passed … ``` Same scenario, base: the subagent's running result says "Automatic completion wake is unavailable after ending this turn … use poll with a timeout", then 14 `process poll timeout=30000` calls each return `PR openclaw#4241: 4 checks pending, 11 passed … Process still running.` until it exits. Cron, fix: `exec` → running result with the `sessions_yield` text → `sessions_yield` → `{"status":"yielded"}` → `Exec completed (tender-c, code 0, 4m1s): …` as the next turn of the same run → `ci-status > RESULT.md` → final reply `PR openclaw#4241: all 15 checks passed …`, recorded as the run summary. **Tests** (`vitest` from source): - `bash-tools.exec-background-followup.test.ts`: a hidden subagent's command resumes it only after `sessions_yield` awaits it (passive notice otherwise; wake turn with `source: "exec"`, `sourceRunId` and the step 2 content when yielded); a yielded cron run resumes in place with the exit text and sends no session event; cron running results carry the `sessions_yield` text. - `bash-tools.exec-background-followup.test.ts` also keeps the `main` behavior where `sessions_yield` is not callable: a hidden subagent gets manual-collection guidance and no wake promise, and a cron run is told to collect before ending the turn. - `openclaw-tools.requester-yield.test.ts`: a wake-armed command the run started is a yield claim only when it has a deadline; only an accepted yield arms the resume. - The two new tests fail on `main`, where the resume path does not exist; the updated cron assertions also fail there. The exec/process, descriptions, `sessions_yield` tool, requester yield, embedded runner yield orchestration, cron run lifecycle, model-switch retry and prompt-snapshot suites pass. `tsgo:core` passes. **Full tier**: `ocx build --dts` on the rebased head (`cace873cdf6c`), then a packed tarball install: tarball integrity, `openclaw --version` (`2026.11.3 (cace873)`) and `gateway --help` pass; the packed `bash-tools.exec-output` chunk carries the new guidance. **Limits:** - Claude only, direct tool surface; OpenAI and Code Mode were not measured for this step. - In one trial per fix arm (a) and (b), the agent waited in turn with a capped `yieldMs` block instead of backgrounding; it made no polls. - The cron harness has no chat channel, so every run (base and fix) records `completionStatus: failed` for delivery; the run summary is the agent's final reply in both arms. - Gateway restart mid-wait is out of scope (step 5). **CI:** rebased onto `main` `d0193c2d8434` (picks up openclaw#199113, which only changed the exec-completion enqueue import; no conflict in the yield/wake path). Focused yield, exec, cron and embedded-runner suites and `tsgo:core` pass on the rebased head. If `checks-ui-e2e (1/2)` fails in `ui/src/e2e/chat-cli-history-redaction.e2e.test.ts` ("preserves tool source in Activity while bounding the visible preview", waiting for `.activity-empty`), that failure is on `main`: openclaw#199168 removed the Activity element, but this test still waits for it. Locally, `pnpm test:ui:e2e ui/src/e2e/chat-cli-history-redaction.e2e.test.ts` fails the same way on `main` `d0193c2d8434` and on this head (1 failed, 1 passed in both). This PR touches no `ui/` file. Other PRs pass that shard because their changed files select only 6 UI test files that do not include this one; this PR's change set selects 19. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Live activity maintains a second tool stream in the browser. It only records while the Activity page is open and the browser tab is visible, shows nothing from before that, resets on reload, keeps at most 100 entries and hides tool arguments. Its output previews are not secret-masked. It looks like a log but is not one, and filling it required subscribing to up to 100 sessions' full message streams.
User Impact
Remove that stream. Keep running/queued sessions as Current work, their conversation links, reconnect/error behavior, Sessions history and the durable Run inspector. Existing ?view=live links still open Current work.
Why This Change Was Made
Remove the stream renderer, collection/parser owners, controls, styles, copy and obsolete tests. Shared Chat tool events and sidebar narration are unchanged. Activity no longer requests full tool-message streams; the sidebar still legitimately requests narration.
What stays available to plugins and integrations
session.tooland tool events, and session message subscriptions are unchanged. Plugins, chats and loops that want tool activity should consume those events directly, which is what this feed did.Evidence
Actual application with synthetic Gateway data, dark theme, 1280×900.
Before
After
Requested by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by
Maintainer validation
Completed the removal across QA scenarios, taxonomy, CI watches and obsolete suppression entries. The integration preserves the already-merged gallery removal and pulse-chart clarification. Remaining gallery-only tests and image fixtures were removed; the desktop/mobile cases still verify loading, recap state, ordering, attribution, keyboard PR previews, error handling and overflow. Production behavior was not changed by these test corrections.
Passed: 75 focused QA/catalog/planner/suppression tests; 11 Current work and Run inspector browser cases on the integrated production tree; both retained Activity polish browser scenarios after cleanup; affected typechecks, lint and formatting. Independent P0–P2 review of the test cleanup was clean. CI is pending on the new head. Historical timing data, durable recaps and shared Chat events remain unchanged.