Skip to content

fix(onboarding): valid OpenRouter API key is rejected with a route mismatch during setup - #173292

Merged
obviyus merged 3 commits into
openclaw:mainfrom
chandraveshchaudhari:fix/openrouter-route-label-canonical
Oct 15, 2026
Merged

obviyus merged 3 commits into
openclaw:mainfrom
chandraveshchaudhari:fix/openrouter-route-label-canonical

Conversation

@chandraveshchaudhari

@chandraveshchaudhari chandraveshchaudhari commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Related: #162798 (this PR narrows it to the onboarding bug itself)

What Problem This Solves

Fixes: the "Connect your AI → API Keys → OpenRouter API key" onboarding flow rejects a valid OpenRouter API key with "That key didn't work" / "The candidate route does not match the selected provider, model, and credential." when the default openrouter/auto model is used.

User Impact

User impact: entering a valid OpenRouter API key during onboarding connects and activates the default OpenRouter model instead of failing. No configuration change, migration or user action is needed, and no stored data format changes (the route label is a derived runtime value). Other providers are unaffected.

Why This Change Was Made

The configured-route resolver built modelLabel as ${provider}/${modelId}. OpenRouter's catalog id already carries its provider prefix, so the label became openrouter/openrouter/auto while the staged candidate and written config use the canonical openrouter/auto; activation compares the two and rejected the credential before testing it. The label is now resolved from the configured reference with the same canonical key the config write path uses — literal catalog namespaces such as openrouter/openrouter/fusion keep their spelling, and aliases resolve to their concrete model.

Scope is deliberately limited to the label resolution (3 source files + one regression test). The saved-credential replacement/activation changes that grew in #162798 are not part of this PR.

Evidence

  • Regression test fails on current main and passes with this change. src/system-agent/setup-inference-activate.openrouter-onboarding.test.ts on main @ 9bf8143d508: 2 failed / 5 passed (expected 'openrouter/openrouter/auto' to be 'openrouter/auto'); with this change: 7/7 pass (default route, non-default model, literal Fusion namespace, non-prefixing provider, bare alias, qualified alias, discovery = activation identity).

  • No regressions in the surrounding suites: vitest run src/system-agent src/agents/model-selection src/commands/onboard-inference → 72 files, 849 tests passed.

  • oxfmt --check and oxlint clean on the changed files.

  • Real behavior (first-run onboarding with a real OpenRouter key), captured for fix(onboarding): OpenRouter API-key setup rejects a valid key with a route mismatch #162798 on the same fix — connect succeeds, model check is ready, and the auto router answers:

    Connect succeeds
    First-run summary
    Model check ready
    Chat reply through openrouter/auto

    Keys are masked in all captures.

Maintainer E2E verification

Verified the shipped CLI → real isolated Gateway → OpenRouter onboarding activation path on macOS, using fresh secretless state for each revision. This does not use an internal helper or a mocked Gateway. The external provider boundary is a local HTTP server returning OpenRouter-compatible streaming chat completions; the supported models.providers.openrouter.baseUrl override is retained through the real API-key setup flow. No production state, real provider key, or local CLI credential was used.

  • Ownership check: no assignee or active maintainer/LOOP repair-or-landing claim in the PR discussion. Contributor merged-PR search returned zero. At intake, ClawSweeper was ready for the then-current head d96b2813140c84a7eb188dde92fcada6062a038e.
  • Security read: inspected the complete five-file contributor diff. It adds no network destinations, credential reads, package/lockfile changes, scripts, or build-configuration changes; it preserves the route/credential equality guard and inference verification.
  • Current main 372ff7cacef: reproduced. Calling openclaw gateway call openclaw.setup.activate with kind=api-key, authChoice=openrouter-api-key, a synthetic key, and native-session discovery disabled returned ok: false, status: unavailable, disposition: rejected-before-promotion, and “The candidate route does not match the selected provider, model, and credential.” The provider observed zero inference requests. This confirms the reported rejection occurs before remote authentication.
  • Contributor head d96b2813140c: fixed. The identical CLI/RPC operation returned ok: true, modelRef: openrouter/auto, latencyMs: 1147, and “Inference verified: openrouter/auto”. The local provider observed one real streamed POST /api/v1/chat/completions for openrouter/auto.
  • Simplified head 9d66858951754b4cf3b6b6d38db85fcdd3a3369f: fixed. Repeated from independent fresh state: ok: true, modelRef: openrouter/auto, latencyMs: 688, “Inference verified: openrouter/auto”. The provider observed one additional streamed completion request. The persisted primary was openrouter/auto@<setup-profile-redacted>, with the OpenRouter provider and API-key profile enabled.
  • Builds: fresh-main full build, exact contributor-head full build (including its matching lockfile install), and simplified runtime build passed.
  • Focused checks passed: setup-inference-activate.openrouter-onboarding.test.ts (final 9/9), onboard-inference.test.ts, setup-inference-activate.test.ts, and inference-route.test.ts; core typecheck; services, commands, and agents-root test-type lanes; scoped Oxlint/Oxfmt; timeout-race, mock-exports, and assertion-safety ratchets.

Boundary: this proves OpenClaw's onboarding route matching, real HTTP/SSE inference verification, and activation/persistence. It does not claim a live OpenRouter authentication/billing test or browser-UI coverage. All task-created Gateway/provider processes were stopped.

Maintainer simplification

Preserved the contributor's commits and added 9d668589517 on top:

  • Removed unused config/agent/plugin-metadata parameters and their caller-side spreads from the shared route-label owner; kept namespace, alias, and auth-profile behavior unchanged.
  • Removed the standalone Fusion discovery test already covered by the stronger discovery-to-activation table case, duplicate expected-value assertions, and repeated/inaccurate explanatory comments.
  • Removed config type-laundering casts, typed the embedded-run stub using the real dependency signature, and updated the stale Codex discovery dependency to the current hasCodexCliAuthFile contract.
  • Whole-change delta versus merge base: production +53/−3 (net +50), tests +224/−0 across five files. Reduction versus contributor head: production −28 net lines, tests −64 net lines. The remaining growth is the shared identity resolver and distinct route/discovery regressions.
  • No overlap with Pash/Sarah changes.

Revert remains a code-only rollback; no schema or credential-format change. Blast radius is setup discovery/activation identity for configured provider models and aliases; exact credential checks and live inference verification remain intact.

The configured-route resolver built the route label by raw
`${provider}/${modelId}` concatenation. OpenRouter catalog ids that carry
their own provider prefix (the onboarding default `openrouter/auto`) became
`openrouter/openrouter/auto`, while the staged candidate and the written
config use the canonical `openrouter/auto`, so activation rejected a valid
credential before testing it.

Resolve the label from the configured reference with the same canonical
key the config write path uses, preserving literal catalog namespaces
(`openrouter/openrouter/fusion`) and resolving aliases to their concrete
model.

Narrowed from openclaw#162798.

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

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

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

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added agents Agent runtime and tooling size: M labels Oct 15, 2026
@clawsweeper clawsweeper Bot added P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. 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. labels Oct 15, 2026
@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR makes onboarding discovery and activation use the same canonical model label while preserving aliases, literal catalog namespaces, and credential checks.

Example: A new user connects OpenRouter using the default openrouter/auto model.

  • Before: Activation constructs openrouter/openrouter/auto and rejects the candidate before checking the key.
  • After: Activation uses openrouter/auto, verifies inference, and saves the selected model and credential.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused, correct repair with shipped-entry-point evidence and regression coverage; derived runtime labels change without a stored-format migration.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Inspected screenshots show successful first-run setup, Ready model verification, and OpenRouter chat replies. The recorded exact-head macOS CLI/Gateway run exercises API-key activation through real HTTP/SSE inference and persistence using an isolated compatible endpoint; it does not claim live OpenRouter billing or authentication coverage.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: OpenRouter onboarding rejects a valid key before authentication because two representations of the selected model disagree.
Reason: Restores documented first-run behavior with a focused shared repair, supported by an area contributor's simplification and verification.

Merge readiness

✅ Ready for maintainer review

This PR fixes a current onboarding defect with a focused shared identity resolver; the earlier discovery mismatch is resolved, and no actionable introduced bug was found.

Priority: P0
Reviewed head: 9d66858951754b4cf3b6b6d38db85fcdd3a3369f

Before merge

None.

Findings

None.

Agent review details

How this fits together

Onboarding discovers or stages a provider/model selection, resolves its configured execution route, checks model and credential identity, then verifies inference before committing setup.

flowchart TD
  A[Onboarding selection] --> B[Configured model resolution]
  B --> C[Shared route label resolver]
  C --> D[Discovery candidate]
  C --> E[Activation identity check]
  D --> E
  E --> F[Inference verification]
  F --> G[Setup persistence]
Loading

Technical review

Best possible solution:

Land the shared route-label repair through the normal review and CI gates so OpenRouter setup succeeds without manual configuration recovery.

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

Yes: current-main source exposes the doubled-label rejection, and the supplied maintainer CLI/Gateway comparison records that failure before provider I/O; this read-only review ran no target code.

Is this the best way to solve the issue?

The shared resolver fixes the identity producer in both callers, preserves documented namespaces and concrete alias targets, and leaves exact credential validation intact.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 59d3a4a36cdb.

Provenance checked

  • Configured-route model label changes intended behavior with a stated reason (96f0983: Gateway-owned setup must resolve and verify the exact selected inference route before onboarding proceeds.)
  • Existing-model discovery identity keeps the original intent (4481c62: Discovery names the concrete configured model so selection and activation bind to an executable target rather than a mutable alias.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +50, Tests +224. Total +274 across 5 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 4 53 3 +50
Tests 1 224 0 +224
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 277 3 +274

Review metrics

Metric Value Why it matters
Production versus regression coverage Production +53/-3; tests +224/-0 The shared identity resolver serves two production callers; regression coverage protects aliases, namespaces, profile suffixes, and discovery-to-activation agreement.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove proof: 📸 screenshot: Current real behavior proof evidence kind is live_output.

Label justifications:

  • P0: A first-time user entering a valid OpenRouter key is blocked during provider setup by a misleading credential failure, with no in-product repair for the route mismatch.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-15T17:01:40.329Z sha 71eeb9d :: needs changes before merge. :: [P1] Update existing-model discovery alongside the activation label
  • reviewed 2026-10-15T17:46:57.847Z sha d96b281 :: needs maintainer review before merge. :: none

Reviewed October 15, 2026, 4:10 PM ET / 20:10 UTC (Revision 3).

…ion checks

detectInferenceBackends built the "Current model" candidate as
`${provider}/${model}`, so a saved `openrouter/auto` (or
`openrouter/auto@openrouter:default`) was advertised as
`openrouter/openrouter/auto` while the configured route label is now the
canonical `openrouter/auto`; selecting it failed with "The configured default
model changed" before inference. Discovery now uses the same
resolveConfiguredRouteModelLabel helper as activation (literal namespaces such
as `openrouter/openrouter/fusion` keep their spelling).

Adds discovery -> existing-model activation regressions for openrouter/auto,
the auth-profile suffix form, and Fusion.

Co-authored-by: Copilot <[email protected]>
@chandraveshchaudhari

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Addressed the P1 finding in d96b2813140:

  • Discovery now uses the same label helper as activation. detectInferenceBackends builds the "Current model" candidate with resolveConfiguredRouteModelLabel (dropping the separated auth-profile suffix) instead of ${provider}/${model}, so a saved openrouter/auto / openrouter/auto@openrouter:default is advertised as openrouter/auto — the same label the existing-model activation compares at setup-inference-activate.ts:137. Literal namespaces (openrouter/openrouter/fusion) keep their spelling.
  • Discovery → existing-model activation regressions (setup-inference-activate.openrouter-onboarding.test.ts), for openrouter/auto, openrouter/auto@openrouter:default and Fusion: the discovered candidate equals the route label, and activateSetupInference({ kind: "existing-model", modelRef: <discovered> }) passes the identity check and reaches inference verification (no "configured default model changed"). With the discovery change reverted, the new cases fail (expected 'openrouter/openrouter/auto' to be 'openrouter/auto'), so they guard this exact regression.

Acceptance checks from the review, on this head:

  • pnpm test src/system-agent/setup-inference-activate.openrouter-onboarding.test.ts --maxWorkers=1 → 10/10 passed
  • pnpm test src/commands/onboard-inference.test.ts src/system-agent/setup-inference-activate.test.ts src/system-agent/inference-route.test.ts → 14 + 34 + 13 passed
  • git diff --check clean; oxfmt clean. node scripts/check-changed.mjs is left to CI (my local clone is partial, so it fetches history blob-by-blob).

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added the commands Command implementations label Oct 15, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 15, 2026
@obviyus

obviyus commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. labels Oct 15, 2026
@obviyus
obviyus merged commit 9c5e42e into openclaw:main Oct 15, 2026
138 of 140 checks passed
@obviyus

obviyus commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Landed in 9c5e42e. Thanks @chandraveshchaudhari! A valid OpenRouter API key no longer fails setup with a route mismatch. Verified end to end through real Model Setup activation against an OpenRouter-compatible local endpoint: rejected on main, activates with this change.

RomneyDa pushed a commit that referenced this pull request Oct 16, 2026
…smatch during setup (#173292)

Related: #162798 (this PR narrows it to the onboarding bug itself)

## What Problem This Solves

Fixes: the "Connect your AI → API Keys → OpenRouter API key" onboarding flow rejects a valid OpenRouter API key with "That key didn't work" / "The candidate route does not match the selected provider, model, and credential." when the default `openrouter/auto` model is used.

## User Impact

User impact: entering a valid OpenRouter API key during onboarding connects and activates the default OpenRouter model instead of failing. No configuration change, migration or user action is needed, and no stored data format changes (the route label is a derived runtime value). Other providers are unaffected.

## Why This Change Was Made

The configured-route resolver built `modelLabel` as `${provider}/${modelId}`. OpenRouter's catalog id already carries its provider prefix, so the label became `openrouter/openrouter/auto` while the staged candidate and written config use the canonical `openrouter/auto`; activation compares the two and rejected the credential before testing it. The label is now resolved from the configured reference with the same canonical key the config write path uses — literal catalog namespaces such as `openrouter/openrouter/fusion` keep their spelling, and aliases resolve to their concrete model.

Scope is deliberately limited to the label resolution (3 source files + one regression test). The saved-credential replacement/activation changes that grew in #162798 are not part of this PR.

## Evidence

- **Regression test fails on current `main` and passes with this change.** `src/system-agent/setup-inference-activate.openrouter-onboarding.test.ts` on `main` @ `9bf8143d508`: 2 failed / 5 passed (`expected 'openrouter/openrouter/auto' to be 'openrouter/auto'`); with this change: 7/7 pass (default route, non-default model, literal Fusion namespace, non-prefixing provider, bare alias, qualified alias, discovery = activation identity).
- **No regressions in the surrounding suites:** `vitest run src/system-agent src/agents/model-selection src/commands/onboard-inference` → 72 files, 849 tests passed.
- `oxfmt --check` and `oxlint` clean on the changed files.
- **Real behavior (first-run onboarding with a real OpenRouter key)**, captured for #162798 on the same fix — connect succeeds, model check is ready, and the auto router answers:

  ![Connect succeeds](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/01-connect-success.png)
  ![First-run summary](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/02-first-run-summary.png)
  ![Model check ready](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/10-model-check-ready.png)
  ![Chat reply through openrouter/auto](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/08-chat-auto-router-proof.png)

  Keys are masked in all captures.

## Maintainer E2E verification

Verified the shipped CLI → real isolated Gateway → OpenRouter onboarding activation path on macOS, using fresh secretless state for each revision. This does **not** use an internal helper or a mocked Gateway. The external provider boundary is a local HTTP server returning OpenRouter-compatible streaming chat completions; the supported `models.providers.openrouter.baseUrl` override is retained through the real API-key setup flow. No production state, real provider key, or local CLI credential was used.

- Ownership check: no assignee or active maintainer/LOOP repair-or-landing claim in the PR discussion. Contributor merged-PR search returned zero. At intake, ClawSweeper was `ready` for the then-current head `d96b2813140c84a7eb188dde92fcada6062a038e`.
- Security read: inspected the complete five-file contributor diff. It adds no network destinations, credential reads, package/lockfile changes, scripts, or build-configuration changes; it preserves the route/credential equality guard and inference verification.
- **Current main `372ff7cacef`: reproduced.** Calling `openclaw gateway call openclaw.setup.activate` with `kind=api-key`, `authChoice=openrouter-api-key`, a synthetic key, and native-session discovery disabled returned `ok: false`, `status: unavailable`, `disposition: rejected-before-promotion`, and “The candidate route does not match the selected provider, model, and credential.” The provider observed **zero inference requests**. This confirms the reported rejection occurs before remote authentication.
- **Contributor head `d96b2813140c`: fixed.** The identical CLI/RPC operation returned `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 1147`, and “Inference verified: openrouter/auto”. The local provider observed one real streamed `POST /api/v1/chat/completions` for `openrouter/auto`.
- **Simplified head `9d66858951754b4cf3b6b6d38db85fcdd3a3369f`: fixed.** Repeated from independent fresh state: `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 688`, “Inference verified: openrouter/auto”. The provider observed one additional streamed completion request. The persisted primary was `openrouter/auto@<setup-profile-redacted>`, with the OpenRouter provider and API-key profile enabled.
- Builds: fresh-main full build, exact contributor-head full build (including its matching lockfile install), and simplified runtime build passed.
- Focused checks passed: `setup-inference-activate.openrouter-onboarding.test.ts` (final 9/9), `onboard-inference.test.ts`, `setup-inference-activate.test.ts`, and `inference-route.test.ts`; core typecheck; services, commands, and agents-root test-type lanes; scoped Oxlint/Oxfmt; timeout-race, mock-exports, and assertion-safety ratchets.

Boundary: this proves OpenClaw's onboarding route matching, real HTTP/SSE inference verification, and activation/persistence. It does not claim a live OpenRouter authentication/billing test or browser-UI coverage. All task-created Gateway/provider processes were stopped.

## Maintainer simplification

Preserved the contributor's commits and added `9d668589517` on top:

- Removed unused config/agent/plugin-metadata parameters and their caller-side spreads from the shared route-label owner; kept namespace, alias, and auth-profile behavior unchanged.
- Removed the standalone Fusion discovery test already covered by the stronger discovery-to-activation table case, duplicate expected-value assertions, and repeated/inaccurate explanatory comments.
- Removed config type-laundering casts, typed the embedded-run stub using the real dependency signature, and updated the stale Codex discovery dependency to the current `hasCodexCliAuthFile` contract.
- Whole-change delta versus merge base: **production +53/−3 (net +50), tests +224/−0** across five files. Reduction versus contributor head: **production −28 net lines, tests −64 net lines**. The remaining growth is the shared identity resolver and distinct route/discovery regressions.
- No overlap with Pash/Sarah changes.

Revert remains a code-only rollback; no schema or credential-format change. Blast radius is setup discovery/activation identity for configured provider models and aliases; exact credential checks and live inference verification remain intact.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 9c5e42e)
RomneyDa pushed a commit that referenced this pull request Oct 16, 2026
…smatch during setup (#173292)

Related: #162798 (this PR narrows it to the onboarding bug itself)

## What Problem This Solves

Fixes: the "Connect your AI → API Keys → OpenRouter API key" onboarding flow rejects a valid OpenRouter API key with "That key didn't work" / "The candidate route does not match the selected provider, model, and credential." when the default `openrouter/auto` model is used.

## User Impact

User impact: entering a valid OpenRouter API key during onboarding connects and activates the default OpenRouter model instead of failing. No configuration change, migration or user action is needed, and no stored data format changes (the route label is a derived runtime value). Other providers are unaffected.

## Why This Change Was Made

The configured-route resolver built `modelLabel` as `${provider}/${modelId}`. OpenRouter's catalog id already carries its provider prefix, so the label became `openrouter/openrouter/auto` while the staged candidate and written config use the canonical `openrouter/auto`; activation compares the two and rejected the credential before testing it. The label is now resolved from the configured reference with the same canonical key the config write path uses — literal catalog namespaces such as `openrouter/openrouter/fusion` keep their spelling, and aliases resolve to their concrete model.

Scope is deliberately limited to the label resolution (3 source files + one regression test). The saved-credential replacement/activation changes that grew in #162798 are not part of this PR.

## Evidence

- **Regression test fails on current `main` and passes with this change.** `src/system-agent/setup-inference-activate.openrouter-onboarding.test.ts` on `main` @ `9bf8143d508`: 2 failed / 5 passed (`expected 'openrouter/openrouter/auto' to be 'openrouter/auto'`); with this change: 7/7 pass (default route, non-default model, literal Fusion namespace, non-prefixing provider, bare alias, qualified alias, discovery = activation identity).
- **No regressions in the surrounding suites:** `vitest run src/system-agent src/agents/model-selection src/commands/onboard-inference` → 72 files, 849 tests passed.
- `oxfmt --check` and `oxlint` clean on the changed files.
- **Real behavior (first-run onboarding with a real OpenRouter key)**, captured for #162798 on the same fix — connect succeeds, model check is ready, and the auto router answers:

  ![Connect succeeds](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/01-connect-success.png)
  ![First-run summary](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/02-first-run-summary.png)
  ![Model check ready](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/10-model-check-ready.png)
  ![Chat reply through openrouter/auto](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/08-chat-auto-router-proof.png)

  Keys are masked in all captures.

## Maintainer E2E verification

Verified the shipped CLI → real isolated Gateway → OpenRouter onboarding activation path on macOS, using fresh secretless state for each revision. This does **not** use an internal helper or a mocked Gateway. The external provider boundary is a local HTTP server returning OpenRouter-compatible streaming chat completions; the supported `models.providers.openrouter.baseUrl` override is retained through the real API-key setup flow. No production state, real provider key, or local CLI credential was used.

- Ownership check: no assignee or active maintainer/LOOP repair-or-landing claim in the PR discussion. Contributor merged-PR search returned zero. At intake, ClawSweeper was `ready` for the then-current head `d96b2813140c84a7eb188dde92fcada6062a038e`.
- Security read: inspected the complete five-file contributor diff. It adds no network destinations, credential reads, package/lockfile changes, scripts, or build-configuration changes; it preserves the route/credential equality guard and inference verification.
- **Current main `372ff7cacef`: reproduced.** Calling `openclaw gateway call openclaw.setup.activate` with `kind=api-key`, `authChoice=openrouter-api-key`, a synthetic key, and native-session discovery disabled returned `ok: false`, `status: unavailable`, `disposition: rejected-before-promotion`, and “The candidate route does not match the selected provider, model, and credential.” The provider observed **zero inference requests**. This confirms the reported rejection occurs before remote authentication.
- **Contributor head `d96b2813140c`: fixed.** The identical CLI/RPC operation returned `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 1147`, and “Inference verified: openrouter/auto”. The local provider observed one real streamed `POST /api/v1/chat/completions` for `openrouter/auto`.
- **Simplified head `9d66858951754b4cf3b6b6d38db85fcdd3a3369f`: fixed.** Repeated from independent fresh state: `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 688`, “Inference verified: openrouter/auto”. The provider observed one additional streamed completion request. The persisted primary was `openrouter/auto@<setup-profile-redacted>`, with the OpenRouter provider and API-key profile enabled.
- Builds: fresh-main full build, exact contributor-head full build (including its matching lockfile install), and simplified runtime build passed.
- Focused checks passed: `setup-inference-activate.openrouter-onboarding.test.ts` (final 9/9), `onboard-inference.test.ts`, `setup-inference-activate.test.ts`, and `inference-route.test.ts`; core typecheck; services, commands, and agents-root test-type lanes; scoped Oxlint/Oxfmt; timeout-race, mock-exports, and assertion-safety ratchets.

Boundary: this proves OpenClaw's onboarding route matching, real HTTP/SSE inference verification, and activation/persistence. It does not claim a live OpenRouter authentication/billing test or browser-UI coverage. All task-created Gateway/provider processes were stopped.

## Maintainer simplification

Preserved the contributor's commits and added `9d668589517` on top:

- Removed unused config/agent/plugin-metadata parameters and their caller-side spreads from the shared route-label owner; kept namespace, alias, and auth-profile behavior unchanged.
- Removed the standalone Fusion discovery test already covered by the stronger discovery-to-activation table case, duplicate expected-value assertions, and repeated/inaccurate explanatory comments.
- Removed config type-laundering casts, typed the embedded-run stub using the real dependency signature, and updated the stale Codex discovery dependency to the current `hasCodexCliAuthFile` contract.
- Whole-change delta versus merge base: **production +53/−3 (net +50), tests +224/−0** across five files. Reduction versus contributor head: **production −28 net lines, tests −64 net lines**. The remaining growth is the shared identity resolver and distinct route/discovery regressions.
- No overlap with Pash/Sarah changes.

Revert remains a code-only rollback; no schema or credential-format change. Blast radius is setup discovery/activation identity for configured provider models and aliases; exact credential checks and live inference verification remain intact.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 9c5e42e)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 16, 2026
…smatch during setup (openclaw#173292)

Related: openclaw#162798 (this PR narrows it to the onboarding bug itself)

## What Problem This Solves

Fixes: the "Connect your AI → API Keys → OpenRouter API key" onboarding flow rejects a valid OpenRouter API key with "That key didn't work" / "The candidate route does not match the selected provider, model, and credential." when the default `openrouter/auto` model is used.

## User Impact

User impact: entering a valid OpenRouter API key during onboarding connects and activates the default OpenRouter model instead of failing. No configuration change, migration or user action is needed, and no stored data format changes (the route label is a derived runtime value). Other providers are unaffected.

## Why This Change Was Made

The configured-route resolver built `modelLabel` as `${provider}/${modelId}`. OpenRouter's catalog id already carries its provider prefix, so the label became `openrouter/openrouter/auto` while the staged candidate and written config use the canonical `openrouter/auto`; activation compares the two and rejected the credential before testing it. The label is now resolved from the configured reference with the same canonical key the config write path uses — literal catalog namespaces such as `openrouter/openrouter/fusion` keep their spelling, and aliases resolve to their concrete model.

Scope is deliberately limited to the label resolution (3 source files + one regression test). The saved-credential replacement/activation changes that grew in openclaw#162798 are not part of this PR.

## Evidence

- **Regression test fails on current `main` and passes with this change.** `src/system-agent/setup-inference-activate.openrouter-onboarding.test.ts` on `main` @ `62212738afb`: 2 failed / 5 passed (`expected 'openrouter/openrouter/auto' to be 'openrouter/auto'`); with this change: 7/7 pass (default route, non-default model, literal Fusion namespace, non-prefixing provider, bare alias, qualified alias, discovery = activation identity).
- **No regressions in the surrounding suites:** `vitest run src/system-agent src/agents/model-selection src/commands/onboard-inference` → 72 files, 849 tests passed.
- `oxfmt --check` and `oxlint` clean on the changed files.
- **Real behavior (first-run onboarding with a real OpenRouter key)**, captured for openclaw#162798 on the same fix — connect succeeds, model check is ready, and the auto router answers:

  ![Connect succeeds](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/01-connect-success.png)
  ![First-run summary](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/02-first-run-summary.png)
  ![Model check ready](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/10-model-check-ready.png)
  ![Chat reply through openrouter/auto](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/08-chat-auto-router-proof.png)

  Keys are masked in all captures.

## Maintainer E2E verification

Verified the shipped CLI → real isolated Gateway → OpenRouter onboarding activation path on macOS, using fresh secretless state for each revision. This does **not** use an internal helper or a mocked Gateway. The external provider boundary is a local HTTP server returning OpenRouter-compatible streaming chat completions; the supported `models.providers.openrouter.baseUrl` override is retained through the real API-key setup flow. No production state, real provider key, or local CLI credential was used.

- Ownership check: no assignee or active maintainer/LOOP repair-or-landing claim in the PR discussion. Contributor merged-PR search returned zero. At intake, ClawSweeper was `ready` for the then-current head `d96b2813140c84a7eb188dde92fcada6062a038e`.
- Security read: inspected the complete five-file contributor diff. It adds no network destinations, credential reads, package/lockfile changes, scripts, or build-configuration changes; it preserves the route/credential equality guard and inference verification.
- **Current main `0af05d521e4`: reproduced.** Calling `openclaw gateway call openclaw.setup.activate` with `kind=api-key`, `authChoice=openrouter-api-key`, a synthetic key, and native-session discovery disabled returned `ok: false`, `status: unavailable`, `disposition: rejected-before-promotion`, and “The candidate route does not match the selected provider, model, and credential.” The provider observed **zero inference requests**. This confirms the reported rejection occurs before remote authentication.
- **Contributor head `d96b2813140c`: fixed.** The identical CLI/RPC operation returned `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 1147`, and “Inference verified: openrouter/auto”. The local provider observed one real streamed `POST /api/v1/chat/completions` for `openrouter/auto`.
- **Simplified head `9d66858951754b4cf3b6b6d38db85fcdd3a3369f`: fixed.** Repeated from independent fresh state: `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 688`, “Inference verified: openrouter/auto”. The provider observed one additional streamed completion request. The persisted primary was `openrouter/auto@<setup-profile-redacted>`, with the OpenRouter provider and API-key profile enabled.
- Builds: fresh-main full build, exact contributor-head full build (including its matching lockfile install), and simplified runtime build passed.
- Focused checks passed: `setup-inference-activate.openrouter-onboarding.test.ts` (final 9/9), `onboard-inference.test.ts`, `setup-inference-activate.test.ts`, and `inference-route.test.ts`; core typecheck; services, commands, and agents-root test-type lanes; scoped Oxlint/Oxfmt; timeout-race, mock-exports, and assertion-safety ratchets.

Boundary: this proves OpenClaw's onboarding route matching, real HTTP/SSE inference verification, and activation/persistence. It does not claim a live OpenRouter authentication/billing test or browser-UI coverage. All task-created Gateway/provider processes were stopped.

## Maintainer simplification

Preserved the contributor's commits and added `9d668589517` on top:

- Removed unused config/agent/plugin-metadata parameters and their caller-side spreads from the shared route-label owner; kept namespace, alias, and auth-profile behavior unchanged.
- Removed the standalone Fusion discovery test already covered by the stronger discovery-to-activation table case, duplicate expected-value assertions, and repeated/inaccurate explanatory comments.
- Removed config type-laundering casts, typed the embedded-run stub using the real dependency signature, and updated the stale Codex discovery dependency to the current `hasCodexCliAuthFile` contract.
- Whole-change delta versus merge base: **production +53/−3 (net +50), tests +224/−0** across five files. Reduction versus contributor head: **production −28 net lines, tests −64 net lines**. The remaining growth is the shared identity resolver and distinct route/discovery regressions.
- No overlap with Pash/Sarah changes.

Revert remains a code-only rollback; no schema or credential-format change. Blast radius is setup discovery/activation identity for configured provider models and aliases; exact credential checks and live inference verification remain intact.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
@chandraveshchaudhari
chandraveshchaudhari deleted the fix/openrouter-route-label-canonical branch October 16, 2026 13:47
RomneyDa added a commit that referenced this pull request Oct 22, 2026
…smatch during setup (#173292)

Related: #162798 (this PR narrows it to the onboarding bug itself)

## What Problem This Solves

Fixes: the "Connect your AI → API Keys → OpenRouter API key" onboarding flow rejects a valid OpenRouter API key with "That key didn't work" / "The candidate route does not match the selected provider, model, and credential." when the default `openrouter/auto` model is used.

## User Impact

User impact: entering a valid OpenRouter API key during onboarding connects and activates the default OpenRouter model instead of failing. No configuration change, migration or user action is needed, and no stored data format changes (the route label is a derived runtime value). Other providers are unaffected.

## Why This Change Was Made

The configured-route resolver built `modelLabel` as `${provider}/${modelId}`. OpenRouter's catalog id already carries its provider prefix, so the label became `openrouter/openrouter/auto` while the staged candidate and written config use the canonical `openrouter/auto`; activation compares the two and rejected the credential before testing it. The label is now resolved from the configured reference with the same canonical key the config write path uses — literal catalog namespaces such as `openrouter/openrouter/fusion` keep their spelling, and aliases resolve to their concrete model.

Scope is deliberately limited to the label resolution (3 source files + one regression test). The saved-credential replacement/activation changes that grew in #162798 are not part of this PR.

## Evidence

- **Regression test fails on current `main` and passes with this change.** `src/system-agent/setup-inference-activate.openrouter-onboarding.test.ts` on `main` @ `9bf8143d508`: 2 failed / 5 passed (`expected 'openrouter/openrouter/auto' to be 'openrouter/auto'`); with this change: 7/7 pass (default route, non-default model, literal Fusion namespace, non-prefixing provider, bare alias, qualified alias, discovery = activation identity).
- **No regressions in the surrounding suites:** `vitest run src/system-agent src/agents/model-selection src/commands/onboard-inference` → 72 files, 849 tests passed.
- `oxfmt --check` and `oxlint` clean on the changed files.
- **Real behavior (first-run onboarding with a real OpenRouter key)**, captured for #162798 on the same fix — connect succeeds, model check is ready, and the auto router answers:

  ![Connect succeeds](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/01-connect-success.png)
  ![First-run summary](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-08/02-first-run-summary.png)
  ![Model check ready](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/10-model-check-ready.png)
  ![Chat reply through openrouter/auto](https://github.com/chandraveshchaudhari/openclaw/raw/fix/openrouter-onboarding-route-label/docs/assets/pr-evidence/openrouter-onboarding-2026-10-10/08-chat-auto-router-proof.png)

  Keys are masked in all captures.

## Maintainer E2E verification

Verified the shipped CLI → real isolated Gateway → OpenRouter onboarding activation path on macOS, using fresh secretless state for each revision. This does **not** use an internal helper or a mocked Gateway. The external provider boundary is a local HTTP server returning OpenRouter-compatible streaming chat completions; the supported `models.providers.openrouter.baseUrl` override is retained through the real API-key setup flow. No production state, real provider key, or local CLI credential was used.

- Ownership check: no assignee or active maintainer/LOOP repair-or-landing claim in the PR discussion. Contributor merged-PR search returned zero. At intake, ClawSweeper was `ready` for the then-current head `d96b2813140c84a7eb188dde92fcada6062a038e`.
- Security read: inspected the complete five-file contributor diff. It adds no network destinations, credential reads, package/lockfile changes, scripts, or build-configuration changes; it preserves the route/credential equality guard and inference verification.
- **Current main `372ff7cacef`: reproduced.** Calling `openclaw gateway call openclaw.setup.activate` with `kind=api-key`, `authChoice=openrouter-api-key`, a synthetic key, and native-session discovery disabled returned `ok: false`, `status: unavailable`, `disposition: rejected-before-promotion`, and “The candidate route does not match the selected provider, model, and credential.” The provider observed **zero inference requests**. This confirms the reported rejection occurs before remote authentication.
- **Contributor head `d96b2813140c`: fixed.** The identical CLI/RPC operation returned `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 1147`, and “Inference verified: openrouter/auto”. The local provider observed one real streamed `POST /api/v1/chat/completions` for `openrouter/auto`.
- **Simplified head `9d66858951754b4cf3b6b6d38db85fcdd3a3369f`: fixed.** Repeated from independent fresh state: `ok: true`, `modelRef: openrouter/auto`, `latencyMs: 688`, “Inference verified: openrouter/auto”. The provider observed one additional streamed completion request. The persisted primary was `openrouter/auto@<setup-profile-redacted>`, with the OpenRouter provider and API-key profile enabled.
- Builds: fresh-main full build, exact contributor-head full build (including its matching lockfile install), and simplified runtime build passed.
- Focused checks passed: `setup-inference-activate.openrouter-onboarding.test.ts` (final 9/9), `onboard-inference.test.ts`, `setup-inference-activate.test.ts`, and `inference-route.test.ts`; core typecheck; services, commands, and agents-root test-type lanes; scoped Oxlint/Oxfmt; timeout-race, mock-exports, and assertion-safety ratchets.

Boundary: this proves OpenClaw's onboarding route matching, real HTTP/SSE inference verification, and activation/persistence. It does not claim a live OpenRouter authentication/billing test or browser-UI coverage. All task-created Gateway/provider processes were stopped.

## Maintainer simplification

Preserved the contributor's commits and added `9d668589517` on top:

- Removed unused config/agent/plugin-metadata parameters and their caller-side spreads from the shared route-label owner; kept namespace, alias, and auth-profile behavior unchanged.
- Removed the standalone Fusion discovery test already covered by the stronger discovery-to-activation table case, duplicate expected-value assertions, and repeated/inaccurate explanatory comments.
- Removed config type-laundering casts, typed the embedded-run stub using the real dependency signature, and updated the stale Codex discovery dependency to the current `hasCodexCliAuthFile` contract.
- Whole-change delta versus merge base: **production +53/−3 (net +50), tests +224/−0** across five files. Reduction versus contributor head: **production −28 net lines, tests −64 net lines**. The remaining growth is the shared identity resolver and distinct route/discovery regressions.
- No overlap with Pash/Sarah changes.

Revert remains a code-only rollback; no schema or credential-format change. Blast radius is setup discovery/activation identity for configured provider models and aliases; exact credential checks and live inference verification remain intact.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 9c5e42e)
Co-authored-by: RomneyDa <[email protected]>
eleboucher pushed a commit to eleboucher/homelab that referenced this pull request Oct 25, 2026
…026.10.7) (#2447)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/openclaw/openclaw](https://openclaw.ai) ([source](https://github.com/openclaw/openclaw)) | patch | `2026.10.6` → `2026.10.7` |

---

### Release Notes

<details>
<summary>openclaw/openclaw (ghcr.io/openclaw/openclaw)</summary>

### [`v2026.10.7`](https://github.com/openclaw/openclaw/releases/tag/v2026.10.7): openclaw 2026.10.7

[Compare Source](openclaw/openclaw@v2026.10.6...v2026.10.7)

##### 2026.10.7

##### Highlights

- **Replay-safe session recovery:** interrupted sessions now retain recovery provenance and unfinished tool outcomes, stopped conversations retire terminal recovery residue before accepting the next message, rejected Claude CLI drafts stay out of final replies, large child-completion batches stay within requester context, and Codex previews no longer block replies after a context refresh. ([#&#8203;153728](openclaw/openclaw#153728), [#&#8203;168764](openclaw/openclaw#168764), [#&#8203;172068](openclaw/openclaw#172068), [#&#8203;177716](openclaw/openclaw#177716), [#&#8203;176682](openclaw/openclaw#176682), [#&#8203;176783](openclaw/openclaw#176783), [#&#8203;176675](openclaw/openclaw#176675), [#&#8203;159715](openclaw/openclaw#159715), [#&#8203;181801](openclaw/openclaw#181801)) Thanks [@&#8203;zhangguiping-xydt](https://github.com/zhangguiping-xydt), [@&#8203;ruel225](https://github.com/ruel225), [@&#8203;Oliver4Spot](https://github.com/Oliver4Spot), [@&#8203;jjjhenriksen](https://github.com/jjjhenriksen), [@&#8203;enki](https://github.com/enki), [@&#8203;PennyVibe](https://github.com/PennyVibe), [@&#8203;mbelinky](https://github.com/mbelinky), [@&#8203;RomneyDa](https://github.com/RomneyDa), and [@&#8203;krjcolby-svg](https://github.com/krjcolby-svg).
- **Safer update activation and recovery:** verified activations remain successful through later maintenance or ledger errors, interrupted package updates resume safely, post-activation Doctor waits are bounded, stale receipts cannot veto a valid repair, and Windows deep or 8.3 state paths no longer abort onboarding or migration. ([#&#8203;181166](openclaw/openclaw#181166), [#&#8203;181307](openclaw/openclaw#181307), [#&#8203;173862](openclaw/openclaw#173862), [#&#8203;167459](openclaw/openclaw#167459), [#&#8203;172768](openclaw/openclaw#172768), [#&#8203;172769](openclaw/openclaw#172769), [#&#8203;181389](openclaw/openclaw#181389)) Thanks [@&#8203;najef1979-code](https://github.com/najef1979-code), [@&#8203;agroman1993](https://github.com/agroman1993), [@&#8203;shanselman](https://github.com/shanselman), [@&#8203;RomneyDa](https://github.com/RomneyDa), [@&#8203;dor-sr](https://github.com/dor-sr), [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666), and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **Database and worker continuity:** maintenance refusals preserve peer readers and borrowers, incompatible retained agent databases stay isolated, empty transcript deletions skip unnecessary archive materialization, Bun admission deadlines remain thread-local, and worker shutdown completes after inventory retirement. ([#&#8203;175987](openclaw/openclaw#175987), [#&#8203;179320](openclaw/openclaw#179320), [#&#8203;170122](openclaw/openclaw#170122), [#&#8203;171372](openclaw/openclaw#171372), [#&#8203;172756](openclaw/openclaw#172756), [#&#8203;168862](openclaw/openclaw#168862)) Thanks [@&#8203;LifeViwer](https://github.com/LifeViwer), [@&#8203;Captain69G](https://github.com/Captain69G), [@&#8203;RomneyDa](https://github.com/RomneyDa), [@&#8203;shanselman](https://github.com/shanselman), [@&#8203;dor-sr](https://github.com/dor-sr), [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666), and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **Backup and state durability:** snapshots retain supported legacy exec-approval policies, interrupted R2 verification and restores resume safely, config observation keeps the last-known-good snapshot during truncated writes, failed multi-file patches preserve earlier files, and Memory Wiki re-imports preserve human-authored notes. ([#&#8203;164297](openclaw/openclaw#164297), [#&#8203;171292](openclaw/openclaw#171292), [#&#8203;152565](openclaw/openclaw#152565), [#&#8203;160409](openclaw/openclaw#160409), [#&#8203;175707](openclaw/openclaw#175707)) Thanks [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666), [@&#8203;davidcittadini](https://github.com/davidcittadini), [@&#8203;LiuwqGit](https://github.com/LiuwqGit), [@&#8203;yetval](https://github.com/yetval), [@&#8203;masatohoshino](https://github.com/masatohoshino), [@&#8203;YangManBOBO](https://github.com/YangManBOBO), [@&#8203;RomneyDa](https://github.com/RomneyDa), [@&#8203;shanselman](https://github.com/shanselman), [@&#8203;dor-sr](https://github.com/dor-sr), [@&#8203;cristianoc](https://github.com/cristianoc), and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **Operator control continuity:** native computer control recovers after session expiry, late-attached GitHub operators can publish PRs, synchronous node output is not duplicated as a completion wake, cron announcements preserve CLI chats, and history maintenance reads identities before payloads. ([#&#8203;169385](openclaw/openclaw#169385), [#&#8203;169400](openclaw/openclaw#169400), [#&#8203;164511](openclaw/openclaw#164511), [#&#8203;176218](openclaw/openclaw#176218), [#&#8203;174530](openclaw/openclaw#174530)) Thanks [@&#8203;stackingrockss](https://github.com/stackingrockss), [@&#8203;Gigaxel](https://github.com/Gigaxel), [@&#8203;holgergruenhagen](https://github.com/holgergruenhagen), [@&#8203;eliavb43](https://github.com/eliavb43), [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666), [@&#8203;asikorskiy](https://github.com/asikorskiy), and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **Provider and plugin continuity:** model refresh, configured-account readiness, GPT-5.6 tool turns, OpenRouter onboarding, incremental plugin loading, and faster external TypeScript plugin startup retain current state instead of rejecting valid setup or discarding providers. ([#&#8203;176709](openclaw/openclaw#176709), [#&#8203;178522](openclaw/openclaw#178522), [#&#8203;173366](openclaw/openclaw#173366), [#&#8203;173292](openclaw/openclaw#173292), [#&#8203;162226](openclaw/openclaw#162226), [#&#8203;161267](openclaw/openclaw#161267), [#&#8203;168391](openclaw/openclaw#168391)) Thanks [@&#8203;ericcaiwx-star](https://github.com/ericcaiwx-star), [@&#8203;eduardonunesfreire-rgb](https://github.com/eduardonunesfreire-rgb), [@&#8203;chandraveshchaudhari](https://github.com/chandraveshchaudhari), [@&#8203;netcrazed](https://github.com/netcrazed), [@&#8203;obviyus](https://github.com/obviyus), [@&#8203;jakeaadams](https://github.com/jakeaadams), and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **Managed integration reliability:** saved Linux Gateway dashboards preserve pairing across restarts, slow macOS Talk runs retain their replies, app upgrades converge official plugins, Copilot setup verifies SDK-backed agents correctly, Claude CLI cache prefixes stay stable after child completion and retain context when caller-only tools appear or disappear, and passkey prompts no longer block headless browser clicks. ([#&#8203;158908](openclaw/openclaw#158908), [#&#8203;164485](openclaw/openclaw#164485), [#&#8203;174257](openclaw/openclaw#174257), [#&#8203;163578](openclaw/openclaw#163578), [#&#8203;172026](openclaw/openclaw#172026), [#&#8203;178955](openclaw/openclaw#178955), [#&#8203;170857](openclaw/openclaw#170857)) Thanks [@&#8203;dor-sr](https://github.com/dor-sr), [@&#8203;PollyBot13](https://github.com/PollyBot13), [@&#8203;kazuyuki-eguchi](https://github.com/kazuyuki-eguchi), [@&#8203;lifuyue](https://github.com/lifuyue), [@&#8203;Marvinthebored](https://github.com/Marvinthebored), [@&#8203;VACInc](https://github.com/VACInc), [@&#8203;trukhinyuri](https://github.com/trukhinyuri), [@&#8203;Peetiegonzalez](https://github.com/Peetiegonzalez), [@&#8203;RomneyDa](https://github.com/RomneyDa), [@&#8203;shanselman](https://github.com/shanselman), [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666), [@&#8203;brucemccurdy](https://github.com/brucemccurdy), and [@&#8203;rsaeks](https://github.com/rsaeks).
- **Cross-platform app-managed upgrades:** native state repair, recovery snapshots, Gateway runtime admission, and post-upgrade service recovery now converge without losing agent access across macOS and Windows. ([#&#8203;171508](openclaw/openclaw#171508), [#&#8203;174297](openclaw/openclaw#174297), [#&#8203;175007](openclaw/openclaw#175007), [#&#8203;176174](openclaw/openclaw#176174), [#&#8203;178155](openclaw/openclaw#178155), [#&#8203;178779](openclaw/openclaw#178779), [#&#8203;180010](openclaw/openclaw#180010), [#&#8203;180576](openclaw/openclaw#180576), [#&#8203;180769](openclaw/openclaw#180769)) Thanks [@&#8203;tjarrau-dev](https://github.com/tjarrau-dev), [@&#8203;DonnieFi](https://github.com/DonnieFi), [@&#8203;jayzhou2309](https://github.com/jayzhou2309), [@&#8203;lostsock1](https://github.com/lostsock1), [@&#8203;sglion777](https://github.com/sglion777), [@&#8203;Almost-Certified-ops](https://github.com/Almost-Certified-ops), [@&#8203;billpang1-sketch](https://github.com/billpang1-sketch), and [@&#8203;RomneyDa](https://github.com/RomneyDa).

##### Changes

- **Google models:** add Gemini 4 Argon support. ([#&#8203;171852](openclaw/openclaw#171852)) Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).

##### Fixes

- **Update guidance:** avoid irrelevant database-repair advice when a package manager is missing, and remove superseded warnings after a successful update. ([#&#8203;173293](openclaw/openclaw#173293), [#&#8203;173395](openclaw/openclaw#173395)) Thanks [@&#8203;DonnieFi](https://github.com/DonnieFi), [@&#8203;RomneyDa](https://github.com/RomneyDa), [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666), [@&#8203;sunlit-deng](https://github.com/sunlit-deng), and [@&#8203;bhedanikhilkumar-code](https://github.com/bhedanikhilkumar-code).
- **macOS onboarding:** allow fresh profiles to start the Gateway and complete automatic setup. ([#&#8203;173246](openclaw/openclaw#173246)) Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **Gateway logging:** prevent a deleted or stale temporary log directory from wedging the Gateway at full CPU during date rollover. ([#&#8203;160433](openclaw/openclaw#160433)) Fixes [#&#8203;130807](openclaw/openclaw#130807) Thanks [@&#8203;masatohoshino](https://github.com/masatohoshino), [@&#8203;WadeOwenWatts](https://github.com/WadeOwenWatts), and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **Control UI queue state:** clear slash-steer chips after the queued command is consumed. ([#&#8203;180024](openclaw/openclaw#180024)) Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).

##### Complete contribution record

This audited record covers the complete v2026.10.6..[`5c4a797`](openclaw/openclaw@5c4a797) history: 49 in-range PRs + 21 retained seed-only PRs = 70 unique PRs. The generation manifest also supplies direct commits as editorial input; the grouped notes above prioritize user impact.

##### Pull requests

- **PR [#&#8203;181867](openclaw/openclaw#181867 Backports [#&#8203;181801](openclaw/openclaw#181801). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;181487](openclaw/openclaw#181487 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;181801](openclaw/openclaw#181801 Related [#&#8203;181770](openclaw/openclaw#181770). Thanks [@&#8203;najef1979-code](https://github.com/najef1979-code) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;173293](openclaw/openclaw#173293 Related [#&#8203;173084](openclaw/openclaw#173084). Thanks [@&#8203;DonnieFi](https://github.com/DonnieFi) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;sunlit-deng](https://github.com/sunlit-deng).
- **PR [#&#8203;173395](openclaw/openclaw#173395 Related [#&#8203;173089](openclaw/openclaw#173089). Thanks [@&#8203;DonnieFi](https://github.com/DonnieFi) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;bhedanikhilkumar-code](https://github.com/bhedanikhilkumar-code).
- **PR [#&#8203;178155](openclaw/openclaw#178155 Related [#&#8203;177697](openclaw/openclaw#177697). Thanks [@&#8203;DonnieFi](https://github.com/DonnieFi) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;175707](openclaw/openclaw#175707 Related [#&#8203;175700](openclaw/openclaw#175700). Thanks [@&#8203;YangManBOBO](https://github.com/YangManBOBO) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;180024](openclaw/openclaw#180024 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;180010](openclaw/openclaw#180010 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;178779](openclaw/openclaw#178779 Related [#&#8203;167385](openclaw/openclaw#167385). Thanks [@&#8203;jayzhou2309](https://github.com/jayzhou2309) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;lostsock1](https://github.com/lostsock1).
- **PR [#&#8203;180576](openclaw/openclaw#180576 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;176675](openclaw/openclaw#176675 Thanks [@&#8203;enki](https://github.com/enki) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;176682](openclaw/openclaw#176682 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;enki](https://github.com/enki).
- **PR [#&#8203;172026](openclaw/openclaw#172026 Thanks [@&#8203;Marvinthebored](https://github.com/Marvinthebored) and [@&#8203;VACInc](https://github.com/VACInc) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;Peetiegonzalez](https://github.com/Peetiegonzalez).
- **PR [#&#8203;170122](openclaw/openclaw#170122
- **PR [#&#8203;178955](openclaw/openclaw#178955 Thanks [@&#8203;Marvinthebored](https://github.com/Marvinthebored).
- **PR [#&#8203;179933](openclaw/openclaw#179933
- **PR [#&#8203;179951](openclaw/openclaw#179951
- **PR [#&#8203;182030](openclaw/openclaw#182030
- **PR [#&#8203;176892](openclaw/openclaw#176892 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;159715](openclaw/openclaw#159715 Thanks [@&#8203;mbelinky](https://github.com/mbelinky) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;162226](openclaw/openclaw#162226 Thanks [@&#8203;netcrazed](https://github.com/netcrazed) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;161267](openclaw/openclaw#161267 Thanks [@&#8203;obviyus](https://github.com/obviyus) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;171852](openclaw/openclaw#171852 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;176709](openclaw/openclaw#176709 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;180769](openclaw/openclaw#180769 Related [#&#8203;180636](openclaw/openclaw#180636), [#&#8203;180701](openclaw/openclaw#180701), [#&#8203;180707](openclaw/openclaw#180707). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;sglion777](https://github.com/sglion777) and [@&#8203;Almost-Certified-ops](https://github.com/Almost-Certified-ops) and [@&#8203;billpang1-sketch](https://github.com/billpang1-sketch).
- **PR [#&#8203;178522](openclaw/openclaw#178522 Related [#&#8203;178502](openclaw/openclaw#178502). Thanks [@&#8203;ericcaiwx-star](https://github.com/ericcaiwx-star) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;eduardonunesfreire-rgb](https://github.com/eduardonunesfreire-rgb).
- **PR [#&#8203;152565](openclaw/openclaw#152565 Related [#&#8203;152509](openclaw/openclaw#152509). Thanks [@&#8203;LiuwqGit](https://github.com/LiuwqGit) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;yetval](https://github.com/yetval).
- **PR [#&#8203;160409](openclaw/openclaw#160409 Thanks [@&#8203;masatohoshino](https://github.com/masatohoshino) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;163578](openclaw/openclaw#163578 Thanks [@&#8203;lifuyue](https://github.com/lifuyue) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;180482](openclaw/openclaw#180482 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;180989](openclaw/openclaw#180989 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;164297](openclaw/openclaw#164297 Related [#&#8203;164146](openclaw/openclaw#164146), [#&#8203;156945](openclaw/openclaw#156945). Thanks [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;shanselman](https://github.com/shanselman) and [@&#8203;dor-sr](https://github.com/dor-sr) and [@&#8203;cristianoc](https://github.com/cristianoc) and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **PR [#&#8203;158908](openclaw/openclaw#158908 Related [#&#8203;156945](openclaw/openclaw#156945). Thanks [@&#8203;dor-sr](https://github.com/dor-sr) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;shanselman](https://github.com/shanselman) and [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **PR [#&#8203;175987](openclaw/openclaw#175987 Related [#&#8203;156945](openclaw/openclaw#156945). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;shanselman](https://github.com/shanselman) and [@&#8203;dor-sr](https://github.com/dor-sr) and [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **PR [#&#8203;179320](openclaw/openclaw#179320 Related [#&#8203;156945](openclaw/openclaw#156945). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;shanselman](https://github.com/shanselman) and [@&#8203;dor-sr](https://github.com/dor-sr) and [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **PR [#&#8203;181389](openclaw/openclaw#181389 Related [#&#8203;156945](openclaw/openclaw#156945). Thanks [@&#8203;shanselman](https://github.com/shanselman) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;dor-sr](https://github.com/dor-sr) and [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **PR [#&#8203;167459](openclaw/openclaw#167459 Related [#&#8203;167441](openclaw/openclaw#167441), [#&#8203;156945](openclaw/openclaw#156945). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;shanselman](https://github.com/shanselman) and [@&#8203;dor-sr](https://github.com/dor-sr) and [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;brucemccurdy](https://github.com/brucemccurdy).
- **PR [#&#8203;153728](openclaw/openclaw#153728 Related [#&#8203;144842](openclaw/openclaw#144842). Thanks [@&#8203;zhangguiping-xydt](https://github.com/zhangguiping-xydt) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;krjcolby-svg](https://github.com/krjcolby-svg).
- **PR [#&#8203;164485](openclaw/openclaw#164485 Related [#&#8203;153145](openclaw/openclaw#153145). Thanks [@&#8203;PollyBot13](https://github.com/PollyBot13) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;rsaeks](https://github.com/rsaeks).
- **PR [#&#8203;168391](openclaw/openclaw#168391 Related [#&#8203;168130](openclaw/openclaw#168130). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;jakeaadams](https://github.com/jakeaadams).
- **PR [#&#8203;168629](openclaw/openclaw#168629 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;168764](openclaw/openclaw#168764 Related [#&#8203;168676](openclaw/openclaw#168676). Thanks [@&#8203;ruel225](https://github.com/ruel225) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;Oliver4Spot](https://github.com/Oliver4Spot).
- **PR [#&#8203;168862](openclaw/openclaw#168862 Related [#&#8203;158126](openclaw/openclaw#158126). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;Captain69G](https://github.com/Captain69G).
- **PR [#&#8203;169385](openclaw/openclaw#169385 Related [#&#8203;169353](openclaw/openclaw#169353). Thanks [@&#8203;stackingrockss](https://github.com/stackingrockss) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;169400](openclaw/openclaw#169400 Related [#&#8203;169377](openclaw/openclaw#169377). Thanks [@&#8203;Gigaxel](https://github.com/Gigaxel) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;171292](openclaw/openclaw#171292 Related [#&#8203;171165](openclaw/openclaw#171165). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;davidcittadini](https://github.com/davidcittadini).
- **PR [#&#8203;171372](openclaw/openclaw#171372 Related [#&#8203;171348](openclaw/openclaw#171348). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;LifeViwer](https://github.com/LifeViwer).
- **PR [#&#8203;172068](openclaw/openclaw#172068 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;164511](openclaw/openclaw#164511 Thanks [@&#8203;holgergruenhagen](https://github.com/holgergruenhagen) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;172756](openclaw/openclaw#172756 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;172768](openclaw/openclaw#172768 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;172769](openclaw/openclaw#172769 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;173862](openclaw/openclaw#173862 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;176218](openclaw/openclaw#176218 Related [#&#8203;176208](openclaw/openclaw#176208). Thanks [@&#8203;eliavb43](https://github.com/eliavb43) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;177716](openclaw/openclaw#177716 Thanks [@&#8203;jjjhenriksen](https://github.com/jjjhenriksen) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;174530](openclaw/openclaw#174530 Related [#&#8203;174078](openclaw/openclaw#174078). Thanks [@&#8203;wangmiao0668000666](https://github.com/wangmiao0668000666) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;asikorskiy](https://github.com/asikorskiy).
- **PR [#&#8203;181166](openclaw/openclaw#181166 Related [#&#8203;181020](https://github.com/openclaw/openclaw/issues/181020). Thanks [@&#8203;najef1979-code](https://github.com/najef1979-code).
- **PR [#&#8203;181307](openclaw/openclaw#181307 Related [#&#8203;181235](https://github.com/openclaw/openclaw/issues/181235). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;agroman1993](https://github.com/agroman1993).
- **PR [#&#8203;176783](openclaw/openclaw#176783 Related [#&#8203;176669](https://github.com/openclaw/openclaw/issues/176669). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;PennyVibe](https://github.com/PennyVibe).
- **PR [#&#8203;173366](openclaw/openclaw#173366 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;173292](openclaw/openclaw#173292 Thanks [@&#8203;chandraveshchaudhari](https://github.com/chandraveshchaudhari) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;174257](openclaw/openclaw#174257 Related [#&#8203;174120](https://github.com/openclaw/openclaw/issues/174120). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;kazuyuki-eguchi](https://github.com/kazuyuki-eguchi).
- **PR [#&#8203;170857](openclaw/openclaw#170857 Thanks [@&#8203;trukhinyuri](https://github.com/trukhinyuri) and [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;171508](openclaw/openclaw#171508 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;174297](openclaw/openclaw#174297 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;175007](openclaw/openclaw#175007 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;176174](openclaw/openclaw#176174 Related [#&#8203;176163](https://github.com/openclaw/openclaw/issues/176163). Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;tjarrau-dev](https://github.com/tjarrau-dev).
- **PR [#&#8203;173246](openclaw/openclaw#173246 Thanks [@&#8203;RomneyDa](https://github.com/RomneyDa).
- **PR [#&#8203;160433](openclaw/openclaw#160433 Related [#&#8203;130807](openclaw/openclaw#130807). Thanks [@&#8203;masatohoshino](https://github.com/masatohoshino) and [@&#8203;RomneyDa](https://github.com/RomneyDa) and [@&#8203;WadeOwenWatts](https://github.com/WadeOwenWatts).

##### Release verification

- npm package: <https://www.npmjs.com/package/openclaw/v/2026.10.7>
- registry tarball: <https://registry.npmjs.org/openclaw/-/openclaw-2026.10.7.tgz>
- integrity: `sha512-iiZO+kFFBgQvxm17wn3Sc/MSC/GQu01PubAFVNA2Nn736HOHUbR0ra7a9NeW9wpjq3kDkSJ1RB7dTP+qVJFXig==`
- release SHA: `157d8c2bc3ea2fa183afdc11088e69690bf8e64e`
- full release CI report: <https://github.com/openclaw/releases/blob/main/evidence/2026.10.7/release-evidence.md>
- release publish: <https://github.com/openclaw/openclaw/actions/runs/40081926023>
- npm preflight: <https://github.com/openclaw/openclaw/actions/runs/40055378381>
- full release validation: <https://github.com/openclaw/openclaw/actions/runs/40054950351>
- plugin npm publish: <https://github.com/openclaw/openclaw/actions/runs/40082487401>
- plugin ClawHub submission: <https://github.com/openclaw/openclaw/actions/runs/40082490562>; public finalization and exact artifact verification follow terminal release-parent completion
- plugin ClawHub bootstrap: not needed
- OpenClaw npm publish: <https://github.com/openclaw/openclaw/actions/runs/40073183916/attempts/1>
- npm Telegram beta E2E: not supplied
- Android APK: skipped — apps/android/version.json is 2026.8.2, release train is 2026.10.7; run pnpm android:version:pin -- --from-gateway before the next tag.

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNzUuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE3NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/2447
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants