Skip to content

improve: use OpenClaw consistently as the app name - #199226

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/plaid-prawn-5
Nov 15, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/plaid-prawn-5

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #199209

What Problem This Solves

The same app is called OpenClaw, Control UI, and dashboard, making navigation and recovery instructions ambiguous with the actual dashboards feature.

User Impact

User impact: English app labels and recovery guidance consistently name OpenClaw, with “web app” when distinguishing the browser interface and “the OpenClaw app” in channel replies.

The dashboards feature, openclaw dashboard, /controlui, configuration keys, routes, and protocol identifiers are unchanged. No migration or user action is required.

Why This Change Was Made

Apply the reviewed, context-specific naming plan across the web app, channel replies, settings/Gateway messages, and macOS, iOS, Android, and Linux app copy. This covers 301 reviewed definitions in this repository plus three matching definitions found on current main. The 27 Windows definitions live in a separate repository and are not included; CLI help, agent instructions, and a documentation-wide rename remain outside this scope.

Preserve recognition of older CLI recovery footers and saved update notices so the wording change does not expose boilerplate or lose replay detection. Regenerate the native English source baseline; leave translation catalogs to the normal post-merge pipeline.

Naming direction and approval: @vyctorbrzezowski.

Work sessions

Linked for team reference; these sessions aren’t public.

Evidence

Real built web app in Chromium, with synthetic Gateway responses rather than live user data. Both runs exercise protocol mismatch → one automatic reload → manual recovery → Refresh page → connected app. Baseline: afeadf1c4fe0d18e3c7e4137578ac19c649c1213.

Before

Before: dashboard wording in the recovery screen

After

After: OpenClaw and web app wording in the recovery screen

  • Web build, UI typecheck, scoped lint, UI/native i18n verification, and config baseline freshness checks passed.
  • Focused Chromium checks passed for protocol-mismatch recovery and the startup fallback.
  • Focused UI, agent, channel, Gateway, update-notice, and Linux recovery tests passed. Validation exposed stale expected wording in a few tests and a QA scenario; those were updated and the failing cases passed on rerun. No full-suite or CI pass is claimed.
  • Verified the preserved openclaw dashboard, /controlui, gateway.controlUi, and protocol mismatch occurrences across changed files. Older stored update notices and CLI recovery footers remain recognized.

Native platform builds and live provider/channel calls were not run. Existing CSS/chat-boot budget warnings were present in both baseline and changed web builds; no limits were changed.

Worked on by

Maintainer verification

Updated the directly affected copy assertions without removing authority, rejection, no-side-effect or recovery checks. Regenerated the plugin inventory and formatted the touched Rust files with the CI-matching Rust 1.100.0 formatter. The correction does not change production behavior.

On the resulting candidate, 33 selected Node tests, five UI tests and two browser flows passed, along with scoped lint/format, inventory, test-line and diff checks. Independent P0–P2 review found no actionable issue. Rust runtime tests were not rerun locally. The published correction is d28596711751f327619f439b76a7f88394684716; its complete tree matches the locally tested correction.

CI run 43660294442, attempt 1 finished all 124 jobs. Two E2E jobs and the aggregate remain red: cached-footer geometry, upward-history reading, video-preview readiness, and a 20-minute step deadline. I compared the fixtures, relevant renderers/styles and dependency inputs against the tested baseline; those paths are unchanged by this naming change. This is a scoped attribution to unrelated failures, not a claim that they were fixed or that CI passed. I did not run a matched dynamic baseline replay. Security and dependency review passed.

roboclaw-bot and others added 2 commits November 14, 2026 21:30
Preserve dashboard features, commands, identifiers, protocol matching, and recognition of older recovery notices while applying the approved app-naming plan.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: bbdf0729-0cd1-8c4c-bfdd-0bbd84f7dd9a
@clawsweeper

clawsweeper Bot commented Nov 14, 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 channel: telegram Channel integration: telegram app: android App: android app: ios App: ios app: macos App: macos app: web-ui App: web-ui gateway Gateway runtime extensions: memory-core Extension: memory-core cli CLI command changes scripts Repository scripts agents Agent runtime and tooling extensions: qa-lab extensions: codex app: linux plugin: team-reports plugin: skill-workshop size: L labels Nov 14, 2026
@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: d28596711751f327619f439b76a7f88394684716
  • Maintainer: @roboclaw-bot
  • Repository role: maintain

These security sensitive changes were made:

  • src/gateway/provider-browser-auth.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server-methods/device-scope-upgrade.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server/ws-connection/auth-messages.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server/ws-connection/authenticated-request-dispatch.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server/ws-connection/connect-admission.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server/ws-connection/connect-auth.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server/ws-connection/connect-device-pairing.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/gateway/server/ws-connection/message-handler.ts: Controls Gateway authentication, pairing, or caller permissions. Check identity validation, scope checks, and revocation.
  • src/infra/exec-approval-reply.ts: Controls sandbox containment or tool execution authority. Check filesystem and network isolation, approval scope, and command allowlists.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature 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: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 14, 2026
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

Uses OpenClaw and context-specific web app wording across English app labels and recovery messages while preserving technical identifiers.

Example: A browser encounters a Gateway protocol mismatch.

  • Before: Recovery says “Reopen the dashboard.”
  • After: Recovery says “Reopen OpenClaw,” while retaining the openclaw dashboard command.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Representative browser proof is clear, but confirmed consumer and generated-output failures prevent readiness.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots show the built browser app’s protocol-mismatch recovery copy in Chromium with synthetic Gateway responses; native builds and live channel/provider calls are explicitly unclaimed.
Patch quality 🦪 silver shellfish (2/6) 3 actionable review findings remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Users encounter three names for the same app, while dashboards also names a separate feature.
Reason: Maintainer authorship establishes direction, and the linked issue supplies a coherent bounded naming contract.

Merge readiness

⛔ Needs changes before merge - 3 items remain

Keep this maintainer-authored PR open: the approved naming cleanup is useful, but missed test consumers, stale generated documentation, and CI-reported bundle growth need repair.

Priority: P3
Reviewed head: 2949872992bb3b712c00fefd0b1fe9972470eef6

Before merge

  • [P2] Update the remaining consumers of the renamed messages (P2) - The copy changes leave existing tests expecting the old text. Exact-head CI confirms failures in failover-classification.corpus.test.ts:133, agent-runner-execution-terminal-failures.test.ts:495, users-personal-file.test.ts:314/324, server.plugin-http-auth.test.ts:96/111, and ui/src/lib/board/widgets/website.test.ts:74. Update these expectations together while preserving their classification, authorization, response-status, and embedding assertions; the current patch leaves several required test lanes failing.
  • [P2] Regenerate the plugin documentation after changing its manifest (P2) - The Team Reports manifest description feeds the generated inventory and reference page, but both retain “served in the Control UI.” The generator compares those files with manifest-derived output and throws on a mismatch, matching the failed Check plugin inventory step. Run pnpm plugins:inventory:gen and include its affected generated documentation.
  • [P2] Resolve the bundle growth reported against the base (P2) - The exact-head control-ui-performance annotations distinguish existing over-budget assets from new growth: new-session boot JS, chat boot JS, and largest JS exceed the allowed 64-byte build variance against the base. The body’s statement that budget warnings existed before does not account for these growth failures. Reduce the changed copy’s bundle cost within the existing owners and rerun the comparison without raising the committed limits.

Findings

  • [P2] [P2] Update the remaining consumers of the renamed messages — src/agents/failover/user-copy.ts:399-400
  • [P2] [P2] Regenerate the plugin documentation after changing its manifest — extensions/team-reports/openclaw.plugin.json:12
  • [P2] [P2] Resolve the bundle growth reported against the base — ui/src/i18n/locales/en.ts:357-358
Agent review details

How this fits together

Native apps, the browser interface, and channel replies display copy supplied by existing localization and recovery-message owners.

flowchart TD
  Gateway[Gateway responses] --> Copy[Existing message owners]
  Catalogs[English localization catalogs] --> Browser[Browser app]
  Copy --> Browser
  Copy --> Channels[Channel replies]
  Copy --> Native[Native apps]
Loading

Technical review

Best possible solution:

Keep the copy changes in their existing owners, preserve older recovery recognition, and complete the mechanical consumer and generated-output repairs.

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

Current main contains the inconsistent naming, and the supplied baseline screenshot shows it in browser recovery.

Is this the best way to solve the issue?

Direct edits to existing copy owners are appropriate; the two small recognition changes protect earlier recovery contracts without adding another owner.

Full review comments:

  • [P2] [P2] Update the remaining consumers of the renamed messages — src/agents/failover/user-copy.ts:399-400
    The copy changes leave existing tests expecting the old text. Exact-head CI confirms failures in failover-classification.corpus.test.ts:133, agent-runner-execution-terminal-failures.test.ts:495, users-personal-file.test.ts:314/324, server.plugin-http-auth.test.ts:96/111, and ui/src/lib/board/widgets/website.test.ts:74. Update these expectations together while preserving their classification, authorization, response-status, and embedding assertions; the current patch leaves several required test lanes failing.
    Confidence: 1
  • [P2] [P2] Regenerate the plugin documentation after changing its manifest — extensions/team-reports/openclaw.plugin.json:12
    The Team Reports manifest description feeds the generated inventory and reference page, but both retain “served in the Control UI.” The generator compares those files with manifest-derived output and throws on a mismatch, matching the failed Check plugin inventory step. Run pnpm plugins:inventory:gen and include its affected generated documentation.
    Confidence: 1
  • [P2] [P2] Resolve the bundle growth reported against the base — ui/src/i18n/locales/en.ts:357-358
    The exact-head control-ui-performance annotations distinguish existing over-budget assets from new growth: new-session boot JS, chat boot JS, and largest JS exceed the allowed 64-byte build variance against the base. The body’s statement that budget warnings existed before does not account for these growth failures. Reduce the changed copy’s bundle cost within the existing owners and rerun the comparison without raising the committed limits.
    Confidence: 0.94

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6ee07a446e00.

Provenance checked

  • English app naming changes intended behavior with a stated reason (unknown: Historical recovery and feature work used Control UI and dashboard terminology; the linked issue explicitly authorizes replacing that terminology, while some older blob history is unavailable.)
  • Stored update completion recognition keeps the original intent (aaef17e: Replay admitted terminal notice bytes and settle delivery exactly once, as described in fix(gateway): settle update notices once #179806.)
  • Native CLI diagnostic summaries keeps the original intent (98e49a9: Show the primary failure instead of a CLI help footer, as described in fix(macos): finish bundled Gateway repair during update recovery #171508.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/agents/failover/failover-classification.corpus.test.ts src/auto-reply/reply/agent-runner-execution-terminal-failures.test.ts src/gateway/server-methods/users-personal-file.test.ts src/gateway/server.plugin-http-auth.test.ts
  • pnpm --dir ui test src/lib/board/widgets/website.test.ts
  • pnpm plugins:inventory:check
  • cargo fmt --manifest-path apps/linux/src-tauri/Cargo.toml --all -- --check
  • Verify the repaired head’s control-ui-performance comparison against its base without increasing budget limits.

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 76cb418 adds apps/macos/Sources/OpenClaw/TextSummarySupport.swift:15 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 76cb418b6f2c; files: apps/macos/Sources/OpenClaw/TextSummarySupport.swift)
  • Dallin Romney: Raw commit 98e49a9 adds apps/macos/Sources/OpenClaw/TextSummarySupport.swift:43 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 98e49a9280bc; files: apps/macos/Sources/OpenClaw/TextSummarySupport.swift)

PR surface

PR surface statistics unavailable: the file list is incomplete.

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.

Root-cause cluster

Relationship: same_root_cause
Canonical: #199209
Summary: This PR implements the linked issue’s agreed English app-naming scope.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

  • add P3: This is an approved naming and recovery-copy cleanup with limited user impact.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is an approved naming and recovery-copy cleanup with limited user impact.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • 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 14, 2026, 4:49 PM ET / 21:49 UTC.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 15, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 8fc58f8 into main Nov 15, 2026
198 of 202 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/plaid-prawn-5 branch November 15, 2026 01:48
@vyctorbrzezowski

Copy link
Copy Markdown
Member

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

roboclaw-bot added a commit that referenced this pull request Nov 15, 2026
* test(sessions): align storage failure footer with app naming

Update the independent expected log footer to match the OpenClaw app name
introduced in #199226.

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

* test(sessions): align storage failure footer with app naming

Worked on by:
- @obviyus
- @steipete

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: fc107def-7185-8cbf-9f25-dfe4d297cb7a

---------

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
* improve: use OpenClaw consistently as the app name

Preserve dashboard features, commands, identifiers, protocol matching, and recognition of older recovery notices while applying the approved app-naming plan.

Co-authored-by: vyctorbrzezowski <[email protected]>

* improve: use OpenClaw consistently as the app name

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: bbdf0729-0cd1-8c4c-bfdd-0bbd84f7dd9a

* test: align consumers with OpenClaw naming

---------

Co-authored-by: vyctorbrzezowski <[email protected]>
Co-authored-by: Vyctor H. Brzezowski <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 15, 2026
…w#199408)

* test(sessions): align storage failure footer with app naming

Update the independent expected log footer to match the OpenClaw app name
introduced in openclaw#199226.

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

* test(sessions): align storage failure footer with app naming

Worked on by:
- @obviyus
- @steipete

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: fc107def-7185-8cbf-9f25-dfe4d297cb7a

---------

Co-authored-by: obviyus <[email protected]>
Co-authored-by: steipete <[email protected]>
RomneyDa pushed a commit that referenced this pull request Nov 17, 2026
…ns start at once (#192534)

## What Problem This Solves

Fixes: a Gateway using the Claude CLI runtime can push its host into memory exhaustion when several conversations start new Claude processes close together.

On an 8 GB Linux VM without swap, several Slack/Teams turns arrived within about 3 minutes. The Gateway went from 3 to 7 warm Claude CLI processes, available memory fell from ~3.8 GB to ~250 MB and stayed there, and the VM thrashed (no OOM kill, CPU ~5%) until a reboot about 2 hours later. The only limit on warm processes was a fixed count of 16; idle warm processes were kept even while the host ran out of memory.

## User Impact

User impact: when host memory is low, a new Claude CLI conversation first closes idle warm processes (least recently used first). If memory is still low and every warm process is busy, that turn fails over instead of starting another process, and a channel reply says: "⚠️ This host is low on memory, so it could not start another session. Try again after active conversations finish." (Before, any such failure would have shown the generic "AI service needs a short break" rate-limit copy.) Hosts with enough free memory behave as before; turns that reuse their own warm process are unaffected; busy turns are never closed.

## Why This Change Was Made

Before a turn starts a new warm process, the live-session registry reads host free memory through the existing `readHostFreeMemoryBytes()` helper (`os.freemem()`, which is `MemAvailable` on Linux; `process.availableMemory()` on macOS). It walks the warm processes once in least-recently-used order: while memory is below 1 GiB, it closes each idle process and waits for it to exit before the next reading. If memory is still below the floor after that pass, the turn fails over with the `rate_limit` category the 16-session cap already uses, plus a distinct `cli_live_session_host_memory` code. The existing failover-code copy (`renderFailoverCodeUserCopy`) owns its user text, and the rate-limit reply renderer now returns a host-authored code's copy before generic rate-limit text (auth-profile cooldown keeps its expiry-aware copy). The registry map is now kept in least-recently-used order, so both the memory path and the existing count cap close the conversation that has waited longest.

The 1 GiB floor comes from measurements of one warm session:

| Measurement | RSS |
| --- | --- |
| Claude Code 2.1.314, Linux arm64 container, stream-json, idle after start | ~180 MiB |
| Same, after one Haiku turn / three concurrent Sonnet turns | ~195–198 MiB each |
| Full warm session under a Gateway (macOS): Claude Code + two Node supervisor helpers | ~490 MiB (264 + 138 + 87) |

1 GiB leaves room for about two more warm sessions before the kernel has to reclaim. The 16-session cap stays as the upper bound. No config key is added.

## Evidence

- Two `executePluginOwnedProcess` tests (an entry point on both `main` and this branch), with host memory simulated at `readHostFreeMemoryBytes`:
  - Low memory, new conversation: the least recently used idle process closes; the busy one and the recently used one stay. On `main` this fails on behavior (`recent.close` not called).
  - Low memory, only a busy process: the turn rejects with `rate_limit` / `cli_live_session_host_memory` before the plugin runs, the busy process stays, and `resolveReplyFailureSummary` returns the host-memory copy. On `main` this fails on behavior (the turn runs: `reason: "exit"`).
- `src/agents/cli-runner/`, `extensions/anthropic`, and the CLI attempt-execution tests: 1479 passed on the candidate; the registry and `execute-plugin` tests pass on the exact head (108). One failure, `extensions/anthropic/session-catalog.test.ts` ("reports the discovery frontier…"), also fails alone on this host and does not touch the changed files.
- Real path on the previous head `a646b6b8` (the repair batch after it adds the failover code and copy and makes eviction one bounded pass; the tests above cover both): isolated Gateway (own state, config and Claude config dir, test API key from env only), `anthropic/claude-haiku-4-5` with `agentRuntime.id: "claude-cli"`, turns sent with `openclaw agent`. Memory pressure was simulated at the same seam the code reads (`os.freemem` / `process.availableMemory`), with each live Claude process under the Gateway counted as 700 MiB, so closing a process really raises the reading.
  - Real memory: 4 concurrent sessions start (`activeSessions=1…4`), no closures.
  - Low memory, new 5th session: `free-memory read: live claude processes=4 reported=424MiB` → `memory pressure: closing idle session activeSessions=4` → `processes=3 reported=1124MiB` → `cli live session start … activeSessions=4`; the turn replied.
  - Low memory, existing session: reused its warm process, no memory read, no closure; replied.
  - Low memory, all four warm sessions busy with long turns, new session: failed over in 54 ms (`Host memory is too low for another CLI live session.`); all four busy turns completed.

## Limits

- Admission only. A warm process that grows during a long turn after it started is not limited here.
- `readHostFreeMemoryBytes()` reads host memory on Linux, not a container cgroup limit; that helper is shared and unchanged.
- Turns that start at the same instant can each read the same free-memory value before any process exists; the floor's headroom covers a small burst, and the 16-session cap still holds.
- The failover category stays `rate_limit`, as the existing count cap uses; the distinct code carries the cause.
- The live check ran on macOS with a simulated reading; the Linux numbers come from an isolated Claude Code container run.

## Merge danger

Two-way door: a revert restores the previous behavior. No config, schema, stored state or published contract changes.

Blast radius: Gateways using a CLI runtime with warm live sessions (today Claude CLI). If the floor is wrong for a host, the effect is more closed idle sessions (a cold start on the next turn) or a failover when memory is below 1 GiB and every warm session is busy. Other runtimes and channels are not affected.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit de07e00)

Release adaptation: revalidate the existing current-run authority between awaited idle-process cleanup and before capability creation; use the abort-race lazy factory so an already-aborted request starts no close. Preserve baseline cleanup-finally repair. Add one execution-boundary regression for revoked requester authority; no unrelated follow-ups.

# #192534 companion dispositions

Signed baseline e13cf15; audit bd692e9. Working base 8b3ca5d lacks the memory floor and activation LRU refresh; 16-count limit exists. Mechanical probe: clean, six touched files. Exact merged source de07e00.

Later same-path commits, each reviewed in saved relevant-followups.patch / other-followups.patch:
- 30e9d3e #200073: not-applicable, listed model chat rejection code/copy independent of host memory.
- 3a3eed8 #199591: not-applicable, tool loop policy refactor independent of memory admission.
- 8fc58f8 #199226: not-applicable, app naming copy independent of memory.
- 8ccba17 #198426: not-applicable to this admission change, warm callback async-context repair independent; do not silently absorb. Existing requestToolPermission is bound; no callback change required by memory.
- 2110db5 #198288: not-applicable, model chat eligibility and code/copy independent.
- 4527846 #198324: not-applicable, provider rate-limit reset deadlines; host-local memory refusal has no provider deadline.
- 4f8df80 #198224: present-equivalent, baseline registry remove already uses finally and releases retired map after failed cleanup.
- 8cd7d87 #197655: not-applicable, main test allocation pruning; retain this release allocation.
- 5dc6683 #197163: present-equivalent, buildHarnessHostRequester used in baseline; separate tool hook metadata.
- 7786960 #197051: not-applicable, managed WebSearch availability, independent tool policy.
- ac7e941 #196677: not-applicable, expired API-key copy independent of host admission.
- 4d6205c #194439: not-applicable, provider failure/tool warning handling independent of pre-execution host refusal.
- 4845a0f #193508: not-applicable, native credential removal propagation; no new credentials accessed by memory policy. Existing live assertion retained/rechecked.
- 6f69195 #193250: not-applicable, exhausted upstream credit failover category independent of local resource refusal.
No later #192534 mentions.

Prerequisites: readHostFreeMemoryBytes exists unchanged in baseline; @openclaw/retry abort race accepts lazy factory; createCliFailoverError preserves explicit code; FailoverError carries code; existing rate-limit reply renderer consumes it; registry closeRecord joins process exit and owned cleanup. These are present-equivalent.

Neighbor tests: cli-live-session-registry.test.ts, execute-plugin.test.ts, execute-plugin.policy.test.ts, execute-plugin.steering.test.ts, failover/user-copy.test.ts are existing consumers, not missing implementation companions. execute-plugin.warm-context.test.ts exists only after the independent #198426 change and is not applicable to this baseline or memory fix. Run focused registry/execution/copy siblings. Selected-file references: broad generic filename inventory is mostly incidental error/execute references; traced actual owners/imports above. Docs and allocation are non-runtime references; no generated exports or workflow changes needed.

Focused proof: baseline 2 failed/36 passed (LRU eviction missing; busy-only admission incorrectly exits successfully). Green 135 passed across five existing owner/consumer files, including host-memory failure copy and revoked-requester preservation. Format and diff checks clean. Type-aware lint blocked by the established shared TypeScript declaration-confinement boundary; no bypass/install. Parent owns integration and broad release qualification.

Co-authored-by: RomneyDa <[email protected]>

Parent qualification: corrected the authority regression's required braces and matching test allocation (102 lines); no production change from worker. Combined 145/145 tests across seven files passed; post-braces changed suite 39/39 passed. Supported parent type-aware lint and formatting passed six files, executable syntax and diff checks passed. Worker dependency-layout lint limitation resolved. Parent self-review and source/companion comparison recorded in cli-resources-parent-review.md. Full stable/FRV remains pending; publication held.
ivankuznetsov added a commit to ivankuznetsov/openclaw that referenced this pull request Nov 20, 2026
Conflicts: src/agents/failover/{request-error-facts,user-copy,user-copy.test}.ts
and src/auto-reply/reply/agent-runner-error-handler.ts. Kept upstream's
changes (openclaw#196677 expired-key copy, openclaw#199226 "OpenClaw app" naming) plus this
branch's provider-aware sign-in copy.

Upstream's user-copy.ts sits at 699 of its 700-line limit, so the
provider-aware helpers move to src/agents/failover/provider-auth-user-copy.ts,
which wraps the generic copy owner; user-copy.ts and its test are unchanged
from upstream. The branch's new user-facing strings and button labels follow
upstream's naming ("the OpenClaw app", "Open OpenClaw").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
amittell added a commit to amittell/openclaw that referenced this pull request Nov 25, 2026
Main's openclaw#199226 (8fc58f8) renamed "Control UI" to "OpenClaw app" in the
connection-failure copy. The fix is unchanged; only the expected text moves.
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: android App: android app: ios App: ios app: linux app: macos App: macos app: web-ui App: web-ui channel: telegram Channel integration: telegram cli CLI command changes docs Improvements or additions to documentation extensions: codex extensions: memory-core Extension: memory-core extensions: qa-lab gateway Gateway runtime P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. plugin: skill-workshop plugin: team-reports proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts security-sensitive-changed size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants