Skip to content

fix: recover stuck Control UI chat runs - #42258

Closed
siewcapital wants to merge 1 commit into
openclaw:mainfrom
siewcapital:codex/chat-run-watchdog
Closed

siewcapital wants to merge 1 commit into
openclaw:mainfrom
siewcapital:codex/chat-run-watchdog

Conversation

@siewcapital

Copy link
Copy Markdown

Summary

  • Problem: the Control UI chat can stay stuck in a busy state after a long-running run if the terminal chat event is missed.
  • Why it matters: the next user message gets queued in the UI and does not flush automatically, so the session looks stalled until the user pokes it again.
  • What changed: added a small client-side watchdog that probes agent.wait after chat inactivity and recovers the UI when the gateway already considers the run finished.
  • What did NOT change (scope boundary): this PR does not change backend chat protocol, queue semantics, or model rate-limit retry behavior.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs
  • Security hardening
  • Chore/infra

Scope

  • Gateway / orchestration
  • Skills / tool execution
  • Auth / tokens
  • Memory / storage
  • Integrations
  • API / contracts
  • UI / DX
  • CI/CD / infra

Linked Issue/PR

User-visible / Behavior Changes

  • Stale Control UI chat runs can recover automatically instead of blocking the next queued message forever.
  • If agent.wait still reports the run as active, the UI keeps waiting and does not flush the queue early.

Security Impact

  • New permissions/capabilities? No
  • Secrets/tokens handling changed? No
  • New/changed network calls? No
  • Command/tool execution surface changed? No
  • Data access scope changed? No
  • If any Yes, explain risk + mitigation:

Repro + Verification

Environment

  • OS: local macOS dev environment
  • Runtime/container: Node.js dev environment
  • Model/provider: not required for the regression tests
  • Integration/channel (if any): Control UI chat
  • Relevant config (redacted): not required

Steps

  1. Start a long-running Control UI chat run.
  2. Let the UI miss the terminal chat event and keep chatRunId active.
  3. Queue another user message behind that stale run.

Expected

  • The UI should probe agent.wait after inactivity.
  • If the run is already finished, the busy state should clear and the queued message should flush.

Actual

  • Before this change, the queued message could remain blocked behind a stale UI run until the user sent another prompt.

Evidence

  • Failing test/log before + passing after
  • Trace/log snippets
  • Screenshot/recording
  • Perf numbers (if relevant)

Human Verification

What you personally verified (not just CI), and how:

  • Verified scenarios: pnpm vitest run ui/src/ui/controllers/chat.test.ts, pnpm exec oxlint ui/src/ui/app-chat.ts ui/src/ui/app-lifecycle.ts ui/src/ui/app-gateway.ts ui/src/ui/app.ts ui/src/ui/controllers/chat.ts ui/src/ui/controllers/chat.test.ts, pnpm build
  • Edge cases checked: stale finished run recovery, still-active run timeout path, watchdog reset before firing
  • What you did not verify: a live end-to-end reproduction against a real gateway/browser session after this patch

Review Conversations

  • I replied to or resolved every bot review conversation I addressed in this PR.
  • I left unresolved only the conversations that still need reviewer or maintainer judgment.

Compatibility / Migration

  • Backward compatible? Yes
  • Config/env changes? No
  • Migration needed? No
  • If yes, exact upgrade steps:

Failure Recovery (if this breaks)

  • How to disable/revert this change quickly: revert this PR or remove the chat watchdog helpers in ui/src/ui/app-chat.ts
  • Files/config to restore: ui/src/ui/app-chat.ts, ui/src/ui/app-gateway.ts, ui/src/ui/app-lifecycle.ts, ui/src/ui/controllers/chat.ts
  • Known bad symptoms reviewers should watch for: queued messages flushing while a run is still genuinely active

Risks and Mitigations

  • Risk: the UI now probes agent.wait after inactivity and could recover too aggressively if the inactivity threshold is wrong
    • Mitigation: the watchdog only recovers when agent.wait reports terminal status, and keeps waiting when the run still reports timeout

@greptile-apps

greptile-apps Bot commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR introduces a client-side watchdog in the Control UI chat to detect and recover stuck chat runs when the terminal gateway event is missed. After 15 seconds of inactivity on an active run, the watchdog probes agent.wait with a minimal 50 ms timeout; if the gateway reports the run as finished ("ok" or "error"), the UI clears the busy state, reloads history, and flushes any queued message. If the run is still active ("timeout"), it backs off and retries in 5 seconds.

Key observations:

  • Race conditions are properly handled via the host.chatRunId !== runId guard evaluated after each await inside runChatRunWatchdog.
  • Connection teardown paths (onHello, onClose, handleDisconnected) all cancel the watchdog correctly.
  • The watchdog is bootstrapped via a handleUpdated hook in app-lifecycle.ts (for runs started via sendChatMessage) and via handleChatGatewayEvent (for runs driven by incoming events); both paths are harmlessly idempotent.
  • Three test cases cover the main scenarios: stale-run recovery, still-active retry loop, and pre-fire cancellation.
  • Network exceptions caught during the background agent.wait probe are written to host.lastError, which may surface as a user-visible error banner even when the primary connection is healthy — consider suppressing or rate-limiting these.
  • chatRunLastActivityAt is stamped redundantly for delta events in both handleChatEvent (controllers layer) and noteChatRunActivity (gateway layer); the two writes are functionally equivalent and either could be removed without behavioural change.

Confidence Score: 4/5

  • Safe to merge with minor style concerns; no logic errors or correctness issues found.
  • The watchdog logic is correct and well-tested. Race conditions are guarded. All lifecycle teardown paths cancel the watchdog. The only non-trivial concern is that background probe exceptions propagate to host.lastError, potentially showing spurious error messages to users; this is a UX polish issue rather than a correctness bug. A small amount of redundant state mutation (chatRunLastActivityAt written twice for delta events) and double-scheduling across the lifecycle and gateway layers are harmless but add minor complexity.
  • ui/src/ui/app-chat.ts — specifically the catch block in runChatRunWatchdog that sets host.lastError on probe failures.

Last reviewed commit: 3fe0756

Comment thread ui/src/ui/app-chat.ts
Comment on lines +97 to +99
} catch (err) {
host.lastError = String(err);
} finally {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Background probe failures bleed into lastError

When agent.wait throws a network exception, host.lastError = String(err) will surface that as a visible error banner to the user. Because this probe fires silently in the background (after 15 s of inactivity), a transient connection blip will show the user an unexpected error even when the primary run was not actually affected. The error persists until loadChatHistory clears it on the next successful probe cycle.

Consider suppressing this assignment (or routing it to a dedicated, non-visible field) and only escalating to lastError after a configurable number of consecutive failures:

Suggested change
} catch (err) {
host.lastError = String(err);
} finally {
} catch {
// Swallow transient probe failures; the watchdog will retry automatically.
} finally {
Prompt To Fix With AI
This is a comment left during a code review.
Path: ui/src/ui/app-chat.ts
Line: 97-99

Comment:
**Background probe failures bleed into `lastError`**

When `agent.wait` throws a network exception, `host.lastError = String(err)` will surface that as a visible error banner to the user. Because this probe fires silently in the background (after 15 s of inactivity), a transient connection blip will show the user an unexpected error even when the primary run was not actually affected. The error persists until `loadChatHistory` clears it on the next successful probe cycle.

Consider suppressing this assignment (or routing it to a dedicated, non-visible field) and only escalating to `lastError` after a configurable number of consecutive failures:

```suggestion
  } catch {
    // Swallow transient probe failures; the watchdog will retry automatically.
  } finally {
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +94 to +100
if (changed.has("chatRunId")) {
if (host.chatRunId) {
scheduleChatRunWatchdog(host as unknown as Parameters<typeof scheduleChatRunWatchdog>[0]);
} else {
resetChatRunWatchdog(host as unknown as Parameters<typeof resetChatRunWatchdog>[0]);
}
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watchdog double-scheduled on every LitElement update cycle

handleUpdated calls scheduleChatRunWatchdog / resetChatRunWatchdog whenever chatRunId changes in the reactive property system. handleChatGatewayEvent in app-gateway.ts independently calls the same helpers for every incoming chat event. While scheduleChatRunWatchdog is idempotent (it cancels the previous timer before scheduling a new one), these two code paths both fire when a run starts or ends and the order depends on the LitElement microtask flush, which can make the effective idle timer slightly shorter than CHAT_RUN_WATCHDOG_IDLE_MS.

Specifically, when the first delta event arrives, noteChatRunActivity reschedules the timer and then — after the next LitElement flush — handleUpdated might reschedule it again from a slightly different Date.now(). This is harmless in practice but makes the scheduling logic harder to reason about. Adding a comment here explaining that this is the "start the watchdog for new sends initiated outside the gateway event path" case would help future readers distinguish the two scheduling sites.

Prompt To Fix With AI
This is a comment left during a code review.
Path: ui/src/ui/app-lifecycle.ts
Line: 94-100

Comment:
**Watchdog double-scheduled on every LitElement update cycle**

`handleUpdated` calls `scheduleChatRunWatchdog` / `resetChatRunWatchdog` whenever `chatRunId` changes in the reactive property system. `handleChatGatewayEvent` in `app-gateway.ts` independently calls the same helpers for every incoming chat event. While `scheduleChatRunWatchdog` is idempotent (it cancels the previous timer before scheduling a new one), these two code paths both fire when a run starts or ends and the order depends on the LitElement microtask flush, which can make the effective idle timer slightly shorter than `CHAT_RUN_WATCHDOG_IDLE_MS`.

Specifically, when the first `delta` event arrives, `noteChatRunActivity` reschedules the timer and then — after the next LitElement flush — `handleUpdated` might reschedule it again from a slightly different `Date.now()`. This is harmless in practice but makes the scheduling logic harder to reason about. Adding a comment here explaining that this is the "start the watchdog for new sends initiated outside the gateway event path" case would help future readers distinguish the two scheduling sites.

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines +286 to +288
if (payload.runId && state.chatRunId && payload.runId === state.chatRunId) {
state.chatRunLastActivityAt = Date.now();
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant chatRunLastActivityAt write for delta events

handleChatEvent stamps state.chatRunLastActivityAt = Date.now() here for every matching event. For delta events the caller (handleChatGatewayEvent) then immediately calls noteChatRunActivity, which writes host.chatRunLastActivityAt a second time and reschedules the watchdog timer. The first write is harmless but creates noise when tracing state mutations.

For terminal events (final, aborted, error) handleChatEvent already clears chatRunId before returning, so handleChatGatewayEvent will call resetChatRunWatchdog which nulls out chatRunLastActivityAt anyway, making this write a no-op for those paths too.

Moving the activity stamp solely into noteChatRunActivity / the gateway layer (or keeping it here but removing the redundant call from handleChatGatewayEvent) would eliminate the duplication.

Prompt To Fix With AI
This is a comment left during a code review.
Path: ui/src/ui/controllers/chat.ts
Line: 286-288

Comment:
**Redundant `chatRunLastActivityAt` write for delta events**

`handleChatEvent` stamps `state.chatRunLastActivityAt = Date.now()` here for every matching event. For `delta` events the caller (`handleChatGatewayEvent`) then immediately calls `noteChatRunActivity`, which writes `host.chatRunLastActivityAt` a second time and reschedules the watchdog timer. The first write is harmless but creates noise when tracing state mutations.

For terminal events (`final`, `aborted`, `error`) `handleChatEvent` already clears `chatRunId` before returning, so `handleChatGatewayEvent` will call `resetChatRunWatchdog` which nulls out `chatRunLastActivityAt` anyway, making this write a no-op for those paths too.

Moving the activity stamp solely into `noteChatRunActivity` / the gateway layer (or keeping it here but removing the redundant call from `handleChatGatewayEvent`) would eliminate the duplication.

How can I resolve this? If you propose a fix, please make it concise.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Apr 27, 2026
@clawsweeper

clawsweeper Bot commented Apr 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

Workflow note: Future ClawSweeper reviews update this same comment in place.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Summary
The PR adds a Control UI client-side chat watchdog that probes agent.wait after inactivity, clears stale local run state, reloads history, and flushes queued chat messages when the gateway reports the run finished.

Reproducibility: yes. at source level. Leave chatRunId non-null after a missed terminal chat event, submit another message, and current main queues it while flushChatQueue returns because isChatBusy remains true.

PR rating
Overall: 🧂 unranked krab
Proof: 🧂 unranked krab
Patch quality: 🧂 unranked krab
Summary: Useful targeted code exists, but missing real behavior proof, merge conflicts, and a blocking watchdog status bug leave the PR not quality-ready for merge.

Rank-up moves:

  • Add redacted after-fix real browser/gateway proof showing stale run recovery and queued-message flush.
  • Rebase over current main and resolve the Control UI run-lifecycle/session reconciliation conflicts.
  • Fix terminal timeout metadata handling and suppress visible errors from transient background probe failures.
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Real behavior proof
Needs real behavior proof before merge: The PR body provides tests/lint/build only and explicitly says no live browser/gateway session was verified; redacted after-fix browser/gateway proof is needed before merge, and screenshots, recordings, terminal output, linked artifacts, or logs are acceptable when they show the changed behavior. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Mantis proof suggestion
A real browser/gateway visual proof would materially help verify that the UI clears stale busy state and flushes exactly one queued message after watchdog recovery. A maintainer can ask Mantis to capture proof by posting a new PR comment that starts with the OpenClaw Mantis account mention, followed by:

visual task: verify Control UI recovers a stale completed chat run, clears busy state, and flushes exactly one queued message.

Risk before merge

  • The branch is merge-conflicting and predates newer current-main Control UI run-lifecycle/session reconciliation, so merging it directly could regress recently landed stale-run cleanup.
  • The watchdog drains queued messages from a timer path; incorrect terminal-status detection can either leave messages blocked or flush them while a prior run is still active.
  • The proposed agent.wait handling treats terminal timeout snapshots as active, which can preserve the exact stuck-queue behavior the PR is meant to repair.
  • The PR body provides tests/lint/build only and explicitly says no live browser/gateway session was verified after the patch.

Maintainer options:

  1. Rebase and repair watchdog semantics (recommended)
    Rebase onto current main, integrate with the current run-lifecycle/session reconciliation path, handle terminal timeout snapshots, suppress transient probe errors, and require real browser/gateway proof before merge.
  2. Replace with a current-main follow-up
    If the branch is too stale to repair cleanly, keep the linked issue open and replace this PR with an equivalent current-main watchdog implementation that carries over the useful test coverage.

Next step before merge
Contributor proof, a rebase, and focused author fixes are needed before merge; automation should not queue a repair while the external real-behavior proof gate is missing.

Security
Cleared: The diff is limited to same-gateway Control UI RPC probing and tests, with no dependency, workflow, secret, install, or supply-chain surface changed.

Review findings

  • [P2] Treat terminal timeout snapshots as finished — ui/src/ui/app-chat.ts:84
  • [P3] Suppress transient watchdog probe errors — ui/src/ui/app-chat.ts:97-99
Review details

Best possible solution:

Land a rebased Control UI recovery path that preserves current session reconciliation, uses the full agent.wait terminal snapshot contract, suppresses transient background probe noise, and includes redacted real browser/gateway proof.

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

Yes, at source level. Leave chatRunId non-null after a missed terminal chat event, submit another message, and current main queues it while flushChatQueue returns because isChatBusy remains true.

Is this the best way to solve the issue?

No, not as currently patched. A UI-side agent.wait recovery probe is a reasonable narrow direction, but this branch needs rebase, current wait-contract handling, transient-error cleanup, and real behavior proof before merge.

Label justifications:

  • P2: The PR targets a normal-priority Control UI reliability bug with limited blast radius but real stuck-session and queued-message impact.
  • merge-risk: 🚨 session-state: The patch changes timer-driven clearing of chatRunId, chat stream state, and run lifecycle cleanup, so a bad merge could leave stale or incorrect local session state.
  • merge-risk: 🚨 message-delivery: The patch drains queued user messages after watchdog recovery, so incorrect active-run detection could leave messages blocked or flush them at the wrong time.
  • rating: 🧂 unranked krab: Current PR rating is 🧂 unranked krab because proof is 🧂 unranked krab, patch quality is 🧂 unranked krab, and Useful targeted code exists, but missing real behavior proof, merge conflicts, and a blocking watchdog status bug leave the PR not quality-ready for merge.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body provides tests/lint/build only and explicitly says no live browser/gateway session was verified; redacted after-fix browser/gateway proof is needed before merge, and screenshots, recordings, terminal output, linked artifacts, or logs are acceptable when they show the changed behavior. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Full review comments:

  • [P2] Treat terminal timeout snapshots as finished — ui/src/ui/app-chat.ts:84
    agent.wait can return a terminal snapshot with status: "timeout" plus fields such as endedAt, stopReason, livenessState, or yielded. This branch treats every timeout as still active, so a timed-out completed run can keep retrying forever and leave the queued message blocked.
    Confidence: 0.9
  • [P3] Suppress transient watchdog probe errors — ui/src/ui/app-chat.ts:97-99
    The watchdog is a silent 50 ms background recovery probe that retries automatically. Writing a thrown probe error into host.lastError can show a visible error banner even when the main gateway connection and run are otherwise healthy.
    Confidence: 0.82

Overall correctness: patch is incorrect
Overall confidence: 0.9

Acceptance criteria:

  • node scripts/run-vitest.mjs ui/src/ui/app-chat.test.ts ui/src/ui/app-gateway.sessions.node.test.ts ui/src/ui/controllers/chat.test.ts
  • real browser/gateway proof of stale run recovery and queued-message flush

What I checked:

  • Live PR state: GitHub reports the external PR open at head 3fe0756, mergeable CONFLICTING / mergeStateStatus DIRTY, with a closing reference to [Bug]: Control UI chat can stay stuck busy and stop flushing queued messages after a long run #42213 and a PR body that explicitly says no live browser/gateway session was verified after the patch. (3fe07567e3a3)
  • Current main busy gate: Current main still treats any non-null chatRunId as busy, so a missed terminal event can keep the UI busy latch set. (ui/src/ui/app-chat.ts:98, b8e9ab9385c0)
  • Current main queue blockage: flushChatQueue returns immediately while the host is busy, so queued user messages can remain blocked behind stale local run state. (ui/src/ui/app-chat.ts:466, b8e9ab9385c0)
  • Current main source reproduction: handleSendChat enqueues a normal message when isChatBusy(host) is true, matching the linked issue's source-level reproduction path. (ui/src/ui/app-chat.ts:619, b8e9ab9385c0)
  • No current-main watchdog: A targeted search found no current-main Control UI chatRunWatchdog, chatRunLastActivity, or CHAT_RUN_WATCHDOG recovery path, so the PR's core watchdog mechanism is not already present. (ui/src/ui, b8e9ab9385c0)
  • Overlapping main implementation: Current main has newer session-row reconciliation that clears stale local run state when session patches or session refreshes show the active session is terminal, so this PR must be rebased onto that lifecycle path rather than merged as-is. (ui/src/ui/controllers/sessions.ts:403, b8e9ab9385c0)

Likely related people:

  • BunsDev: Recent merged Control UI work added shared run lifecycle cleanup, session-state reconciliation, and adjacent chat/session refresh behavior in the same stale-run area. (role: recent Control UI run-lifecycle contributor; confidence: high; commits: 4935e24c7a7f, 38456f5f03b1, 4532e5d85803; files: ui/src/ui/app-chat.ts, ui/src/ui/chat/run-lifecycle.ts, ui/src/ui/controllers/sessions.ts)
  • jesse-merhi: Authored the merged terminal session patch recovery that clears local WebChat run state from session reconciliation and overlaps the current PR's stale-run cleanup surface. (role: recent adjacent fix author; confidence: high; commits: a901396ad199; files: ui/src/ui/app-gateway.ts, ui/src/ui/controllers/sessions.ts, ui/src/ui/app-gateway.sessions.node.test.ts)
  • dutifulbob: Introduced the gateway-side agent.wait bridge and dedupe behavior for chat.send runs that this UI watchdog depends on. (role: introduced dependency behavior; confidence: medium; commits: 61f7cea48bd7; files: src/gateway/server-methods/agent.ts, src/gateway/server-methods/agent-wait-dedupe.ts, src/gateway/server.chat.gateway-server-chat.test.ts)
  • steipete: Recent commits touched Control UI chat queue behavior and gateway wait/dedupe internals adjacent to stale run state and queued-message flushing. (role: recent adjacent contributor; confidence: medium; commits: cb088c81601e, 7188e4f4ad87, c8898034f975; files: ui/src/ui/app-chat.ts, src/gateway/server-methods/agent-wait-dedupe.ts)

Codex review notes: model gpt-5.5, reasoning high; reviewed against b8e9ab9385c0.

@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Apr 28, 2026
@clawsweeper clawsweeper Bot added the P2 Normal backlog priority with limited blast radius. label May 16, 2026
@openclaw-barnacle openclaw-barnacle Bot added the triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. label May 16, 2026
@clawsweeper clawsweeper Bot added impact:message-loss Channel message delivery can be lost, duplicated, or misrouted. impact:session-state Session, memory, transcript, context, or agent state can drift or corrupt. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. and removed impact:session-state Session, memory, transcript, context, or agent state can drift or corrupt. impact:message-loss Channel message delivery can be lost, duplicated, or misrouted. labels May 17, 2026
@clawsweeper

clawsweeper Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper PR egg

🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat.

Where did the egg go?
  • The egg game starts only after the PR passes the real-behavior proof check.
  • Before that, no creature or rarity is rolled. The treat waits for real proof.
  • This is still just collectible flavor: proof affects review readiness, not creature quality.

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Jun 5, 2026
@clawsweeper

clawsweeper Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper 🐠 reef update

Thanks for the work on this. ClawSweeper did not have permission to update this branch directly, so it opened a narrow replacement PR instead. that's a branch access thing, not a knock on the contribution.

Why replacement: ClawSweeper could not update the source PR branch directly; GitHub did not grant sufficient push rights to the bot for that branch.
Replacement PR: #90618
Why close: this run explicitly closes the superseded source PR after the credited replacement PR is open, so review continues in one place.
Closing this source PR because this run explicitly enabled source-PR closeout.
The replacement PR carries the original credit trail forward.
Co-author credit kept:

fish notes: model gpt-5.5, reasoning high; reviewed against ae868b7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M stale Marked as stale due to inactivity status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Control UI chat can stay stuck busy and stop flushing queued messages after a long run

1 participant