Skip to content

fix(update): a pnpm update no longer fails after activating when the updater itself was installed by an update - #203458

Merged
fuller-stack-dev merged 3 commits into
openclaw:mainfrom
fuller-stack-dev:fix/update-retained-runtime-detached-workers
Nov 22, 2026
Merged

fuller-stack-dev merged 3 commits into
openclaw:mainfrom
fuller-stack-dev:fix/update-retained-runtime-detached-workers

Conversation

@fuller-stack-dev

@fuller-stack-dev fuller-stack-dev commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: on a pnpm install, the second update between two releases that both contain this fix-line ends update-recovery-pending (exit 1), even though the new version is installed and the Gateway serves it. Afterwards, every further update is refused with "Update has unfinished recovery; reconcile it before starting another update."

User Impact

User impact: once the updater running the update contains this change, pnpm updates between OpenClaw versions end ok, and the run is recorded succeeded. npm installs were not affected and are unchanged.

What changes nothing: a pnpm install whose updater is already a release without this change still hits the failure on its own next update, because the installed updater cannot be patched. Users who already hit it on an unfixed build stay blocked, and this PR does not change that. In a real cell, after the failed B → C, every later openclaw update (to F1, then F2) was refused within 2 s with "Update has unfinished recovery … It belongs to the installation at ". openclaw update repair exits 1 with "Plugin cohort recovery belongs to a different installation." Settling that stranded record is a separate follow-up at the recovery-admission owner; it is described under "Not proven".

Why This Change Was Made

Root cause, proven in a real cell with a resolve/spawn trace.

  • A pnpm package that an earlier OpenClaw update installed lives in its group's project-local virtual store: global/v11/<group>/node_modules/.pnpm/openclaw@…. Activating the next version moves that group into the transaction backup, so the running updater's own dist disappears.
  • Work started inside the update loads workers through the retained-runtime generation, an AsyncLocalStorage binding to a retained copy. Two process-wide owners start workers from detached or earlier async contexts and still resolved them from the installed package:
    • the state lease heartbeat carrier (runInDetachedAsyncContext);
    • the file-log worker pool, whose URL was resolved at startup.
  • The trace shows new Worker(…/dist/state/openclaw-state-lease-heartbeat.worker.js) and …/dist/logging/logger-file.worker.js from the removed store, then ERR_MODULE_NOT_FOUND. The plugin lifecycle lease was lost ("First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost … Cannot find module"). The command then unwound with the run's own unfinished recovery record.

Which installs it hits.

  • First update after the user's own pnpm add -g: passes. That package lives in pnpm's shared store/v11/links, which activation does not move.
  • Every later pnpm update: fails, on pnpm 12 and on 11.28.
  • npm: passes, because the new package lands at the same path. Those detached workers then silently load the new version's worker files; with this change they load the retained copy, so the code matches.

Not the cause. completeUpdateCommandRun and assertNoPendingUpdateRecovery are not where it fails. CLI runs never get completionOwner: "gateway-restart". The own-record refusal is the unwind's response to a genuine mid-activation failure; it is a consequence, not the cause. The recovery admission rule is unchanged, so an earlier run's unfinished recovery is still refused as today.

Fix. While the retained-runtime generation is bound, it also registers a process-wide resolver. createCpuTrackedWorker, through which every tracked worker spawn passes, applies it. An async-context binding still takes precedence, and outside an update that retained its runtime nothing changes. A URL the generation has already produced is final, so a worker captured in scope and then spawned is resolved once. The first CI run had shown a Bun-shard timeout in the heartbeat generation test, whose wrapping resolver imported itself when applied twice; the second commit fixes that, with a regression test that fails without it. WorkerCpuHandle and WorkerMemoryMessage move to worker-cpu-types.ts to keep worker-cpu.ts within its line cap. No stored field, config or schema changes.

Evidence

Real cells used current-main builds A (2026.11.20-beta.1), B and C, built from e17201c (which includes a577911), plus fixed builds F1 and F2 built from this change. Each build has its own version; nothing was relabelled. The Gateway ran as a managed service under a busy 256 MiB write load.

Cell Second update (driven by an updater a previous update installed) Run recorded Raw logs
Red, pnpm 12.21: A → B → C (base) B → C exit 1 update-recovery-pending; Gateway serves beta.3 running / verifying, recovery set "ambiguous" log 1; trace: log 1, log 2
Green, pnpm 12.21: A → F1 → F2 F1 → F2 exit 0 ok; Gateway serves beta.5 succeeded log 1, log 2, log 3
Green, pnpm 11.28.13: A → F1 → F2 F1 → F2 exit 0 ok succeeded log 1, log 2, log 3
npm, unchanged: A → F1 → F2 exit 0 ok succeeded log 1, log 2, log 3
Base npm control: A → B → C exit 0 ok succeeded log 1, log 2

Unit regression at the owner, in src/infra/runtime-worker-generation.test.ts:

  • Setup: a process owner created before the generation starts a real worker from its own async context after the installed script was deleted.
  • Green: it loads the retained copy.
  • Red: without the change it fails with the same "Cannot find module".
  • Negative control: after the generation settles, the same owner loads the installed path again.

Other checks: the touched and adjacent tests pass (worker-cpu, worker-store generation, the Gateway owner heartbeat, state lease acquisition, update-restart module outcome, eager import closure). So do pnpm tsgo:core and tsgo:core:test, both cycle checks and the baseline ratchets.

Recordings (cell log live, then a summary from the raw files):

Green, pnpm 12, A → F1 → F2:

f-pnpm12-a-f1-f2.mp4

The base failure with the resolve/spawn trace:

a-pnpm12-diag-main-e17201c-trace.mp4

Base B → C, then the blocked later updates:

f-pnpm12-heal-a-b-c-f1-f2.mp4

The raw cell logs are posted as PR comments and linked in the table above. Each comment holds the harness log and the full stderr and JSON stdout of the second update. The red cell adds openclaw update status after the failure, and the other cells add the final openclaw update status --json run record. The trace cell adds the resolve/spawn trace showing both missing worker paths and ERR_MODULE_NOT_FOUND. No lines were cut; no line matched the host-identity scan.

Cherry-pick for the release lines

On release/2026.11.7 (#203401) and release/2026.11.10 (#201740) the same change applies as two commits (7413c6d plus d499c95 on 2026.11.7; 1d30fa2 plus 66e2acd on 2026.11.10), without the type move, because worker-cpu.ts is under its cap there. The tests and tsgo:core pass on both.

Not proven

  • Bun installs and Windows.
  • Not fixed: an install already stuck by an unfixed build. Its stranded record (running/verifying with a successful recorded verification, recovery set "ambiguous", owned by a removed store path) refuses every later update, and openclaw update repair refuses it as "a different installation". Clearing it automatically needs the recovery-admission and reconciliation owner to settle a run whose driver is gone, whose installation root no longer exists and whose verification succeeded. That changes an admission rule, so it is left for a decision. The manual way out is not verified yet.
  • autoreview does not run on this machine.

… after activation

A pnpm updater that a previous OpenClaw update installed runs from its
group's project-local virtual store. Activating the next version moves
that group into the transaction backup, so the running updater's own
`dist` disappears. Work started inside the update loads workers through
the retained-runtime generation, but process-wide owners that start
workers from detached or earlier async contexts (the state lease
heartbeat carrier, the file-log worker pool) still resolved them from the
installed package. Their spawns failed with `Cannot find module`, the
plugin lifecycle lease was lost, and the update unwound as
`update-recovery-pending` while the new Gateway was already serving.

The retained-runtime generation now also registers a process-wide
resolver for as long as it is bound, and `createCpuTrackedWorker`, which
every tracked worker spawn goes through, applies it. Async-context
bindings keep precedence; nothing changes outside an update that
retained its runtime. `WorkerCpuHandle` and `WorkerMemoryMessage` move to
`worker-cpu-types.ts` to keep `worker-cpu.ts` within its line cap.
@clawsweeper

clawsweeper Bot commented Nov 22, 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 scripts Repository scripts size: S labels Nov 22, 2026
fuller-stack-dev added a commit to fuller-stack-dev/openclaw that referenced this pull request Nov 22, 2026
… after activation

A pnpm updater that a previous OpenClaw update installed runs from its
group's project-local virtual store. Activating the next version moves
that group into the transaction backup, so the running updater's own
`dist` disappears. Work started inside the update loads workers through
the retained-runtime generation, but process-wide owners that start
workers from detached or earlier async contexts (the state lease
heartbeat carrier, the file-log worker pool) still resolved them from the
installed package. Their spawns failed with `Cannot find module`, the
plugin lifecycle lease was lost, and the update unwound as
`update-recovery-pending` while the new Gateway was already serving.

The retained-runtime generation now also registers a process-wide
resolver for as long as it is bound, and `createCpuTrackedWorker`, which
every tracked worker spawn goes through, applies it. Async-context
bindings keep precedence; nothing changes outside an update that
retained its runtime.

Release-line form of openclaw#203458; this line needs no type move.
fuller-stack-dev added a commit to fuller-stack-dev/openclaw that referenced this pull request Nov 22, 2026
… after activation

A pnpm updater that a previous OpenClaw update installed runs from its
group's project-local virtual store. Activating the next version moves
that group into the transaction backup, so the running updater's own
`dist` disappears. Work started inside the update loads workers through
the retained-runtime generation, but process-wide owners that start
workers from detached or earlier async contexts (the state lease
heartbeat carrier, the file-log worker pool) still resolved them from the
installed package. Their spawns failed with `Cannot find module`, the
plugin lifecycle lease was lost, and the update unwound as
`update-recovery-pending` while the new Gateway was already serving.

The retained-runtime generation now also registers a process-wide
resolver for as long as it is bound, and `createCpuTrackedWorker`, which
every tracked worker spawn goes through, applies it. Async-context
bindings keep precedence; nothing changes outside an update that
retained its runtime.

Release-line form of openclaw#203458; this line needs no type move.
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. P1 High-priority user-facing bug, regression, or broken workflow. 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:bug Preliminary submission classification; full source review pending. labels Nov 22, 2026
@clawsweeper

clawsweeper Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR redirects detached worker launches to the updater’s retained runtime while package replacement is in progress.

Example: A pnpm 12.21 installation updates from A to F1, then from F1 to F2.

  • Before: The second update starts workers from the removed package directory and ends with update-recovery-pending.
  • After: Detached workers load retained code, allowing the second update to finish with ok and a succeeded run.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Useful and focused production repair, with a specific diff-caused CI failure and incomplete required upgrade coverage.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A second pnpm update can report failure after installing the new version and then refuse every later update.
Reason: The maintainer-authored direction repairs the worker-code lifetime invariant; recovery of installations already stranded by older updaters is explicitly separate.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this PR: it addresses a current pnpm update failure, but its spawn-time resolver breaks an existing heartbeat fixture and causes the failed CI check.

Priority: P1
Reviewed head: 6c0c8800005f292adccab41bc6682112fa6ecfcc

Before merge

  • Make the heartbeat generation fixture safe for repeated resolution (P2) - The new spawn-time resolution also receives URLs already resolved by captureRuntimeWorkerSource. In gateway-state-owner.heartbeat.test.ts, the resolver at lines 152–163 always writes retained.js importing its input URL. The second call overwrites that file with an import of itself, so the selected-generation test hangs and its unresolved process resolver contaminates subsequent tests after temporary-directory cleanup. This matches the timeout and retained.js ENOENT failures in checks-node-changed-2. Update that existing fixture to leave its retained URL unchanged, matching production relocation, and rerun the heartbeat suite without relaxing its retirement assertions.

Findings

  • [P2] Make the heartbeat generation fixture safe for repeated resolution — src/infra/worker-cpu.ts:92

Tests

  • Missing end-to-end proof: The supplied main-line update cells start from beta builds; a latest-stable-to-fixed-updater-to-next-update run preserving settings and data is not shown.
Agent review details

How this fits together

The updater retains its running package before activation; worker creation consumes script paths and starts native threads that renew leases, write logs, and perform background work.

flowchart TD
  A[Update command] --> B[Retained runtime generation]
  B --> C[Process worker resolver]
  D[Detached lease and logging owners] --> E[Tracked worker creation]
  C --> E
  E --> F[Retained worker scripts]
Loading

Technical review

Best possible solution:

Keep the shared spawn-time relocation and make the existing heartbeat fixture leave already-retained URLs unchanged.

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

Source confirms detached lease launches bypass the async-local generation, matching the author’s reported missing-module trace after package activation; no target code was executed during this review.

Is this the best way to solve the issue?

Resolving at the shared worker creation boundary covers both affected process owners without duplicating their policy; the small dependency module avoids importing the generation lifecycle into worker telemetry, and the type extraction is mechanical.

Full review comments:

  • [P2] Make the heartbeat generation fixture safe for repeated resolution — src/infra/worker-cpu.ts:92
    The new spawn-time resolution also receives URLs already resolved by captureRuntimeWorkerSource. In gateway-state-owner.heartbeat.test.ts, the resolver at lines 152–163 always writes retained.js importing its input URL. The second call overwrites that file with an import of itself, so the selected-generation test hangs and its unresolved process resolver contaminates subsequent tests after temporary-directory cleanup. This matches the timeout and retained.js ENOENT failures in checks-node-changed-2. Update that existing fixture to leave its retained URL unchanged, matching production relocation, and rerun the heartbeat suite without relaxing its retirement assertions.
    Confidence: 0.99

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 c8a643b6259b.

Provenance checked

  • Updater worker generation keeps the original intent (dd7d596: Retain the running updater’s worker code through package replacement and cleanup rather than loading replacement code with a different protocol.)
  • Worker lifetime settlement keeps the original intent (5f8e15a: One generation finalizer settles retained workers and releases the runtime on controlled exit paths.)
  • Worker telemetry types and construction keeps the original intent (b9036d4: Keep final telemetry drain ownership in worker-cpu; this PR moves type declarations without changing that behavior.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test src/infra/gateway-state-owner.heartbeat.test.ts src/infra/runtime-worker-generation.test.ts src/infra/worker-cpu.test.ts --maxWorkers=1
  • pnpm tsgo:core:test
  • git diff --check

What I checked:

  • Current-main gap and focused fix: Current main constructs tracked workers directly from the supplied filename; this PR adds retained-runtime resolution at that shared creation boundary. (src/infra/worker-cpu.ts:92, 6c0c8800005f)
  • Concrete detached caller: The state lease carrier starts its tracked worker inside runInDetachedAsyncContext, confirming why the existing async-local generation does not cover this launch. (src/state/openclaw-state-lease-heartbeat.ts:549, 6c0c8800005f)
  • Diff-caused CI failure: checks-node-changed-2 fails in the selected-heartbeat-generation test and subsequent cases; annotations trace the stale retained.js resolver through the newly changed worker creation line. The fixture rewrites the same retained script on its second resolution, producing a self-import. (src/infra/gateway-state-owner.heartbeat.test.ts:152, 6c0c8800005f)
  • Production relocation differs from the failing fixture: The production resolver relocates source-root paths and leaves unmatched retained paths unchanged; the heartbeat fixture instead writes a wrapper for every incoming URL. (src/infra/update-runtime-relocation.ts:136, 6c0c8800005f)
  • Supplied update evidence and inspection limit: The author reports red and green second-update cells on pnpm 12, green pnpm 11 cells, and npm controls with recorded run outcomes. The downloaded-video manifest reports ffprobe ENOENT; browser fallback also failed because scratch writes returned EROFS and Chromium failed Crashpad initialization. This is a reviewer infrastructure limit, not evidence that the supplied recordings are defective. (6c0c8800005f)
  • Original retained-generation contract: The original implementation retained running updater code until work and cleanup settled; the linked PR explicitly preserved selected target-runtime work. (src/infra/runtime-worker-generation.ts:7, dd7d596ed3ea)

Likely related people:

  • Peter Steinberger: Raw commit dd7d596 adds src/infra/runtime-worker-generation.ts:18 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: dd7d596ed3ea; files: src/infra/runtime-worker-generation.ts)
  • Vyctor H. Brzezowski: Raw commit c4d5fdd adds src/infra/runtime-worker-generation.ts:19 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: c4d5fddda138; files: src/infra/runtime-worker-generation.ts)

PR surface

Source +42, Tests +48, Other +1. Total +91 across 6 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 64 22 +42
Tests 1 48 0 +48
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 1 0 +1
Total 6 113 22 +91

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: canonical
Canonical: #203458
Summary: The release-line PRs explicitly carry this same detached-worker fix alongside their broader pnpm update repairs.

Members:

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

Labels

Label changes:

  • add P1: Repeated pnpm updates can fail after activation and leave recovery state that blocks subsequent updates.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp 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:

  • P1: Repeated pnpm updates can fail after activation and leave recovery state that blocks subsequent updates.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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 22, 2026, 4:47 AM ET / 09:47 UTC.

…nly once

A worker captured inside the generation was resolved again by the
process-wide resolver at spawn time. The retained-runtime mapping is
idempotent, but a generation's resolver need not be: the heartbeat
generation test's wrapping resolver then imported itself and the worker
never started (Bun shard timeout). A URL the generation already produced
is now final.
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Red — pnpm 12.21, base

Cell a-pnpm12-main-e17201c. Builds: A 795efe2 (2026.11.20-beta.1) → B 4f4f386 (beta.2) → C 84269f3 (beta.3), all built from main e17201c. Exit code of the second update: 1. Container paths are from the test container (/home/appuser).

harness log
Reusing Docker image: openclaw-docker-e2e-bare:local
[2026-11-22T08:19:06.445Z] cell-start {"path":"stable","trigger":"cli","load":"busy","dbMiB":256,"rateKiB":1024,"installed":"2026.11.20-beta.1","candidateVersion":"2026.11.20-beta.2","distTags":"","channel":"","devTarget":"","repeat":false}
[2026-11-22T08:19:06.447Z] install-start {}
pnpm-version: exit=0 signal= 1301ms
install: exit=0 signal= 4973ms
[2026-11-22T08:19:12.722Z] install-done {}
candidate-extract: exit=0 signal= 1926ms
candidate-pack: exit=0 signal= 6658ms
shim: exit=0 signal= 43ms
gateway-install: exit=0 signal= 3041ms
session-create: exit=0 signal= 913ms
session-inject: exit=0 signal= 612ms
[2026-11-22T08:19:34.457Z] gateway-ready {}
[2026-11-22T08:19:35.468Z] load-ready {}
before-observe-static: exit=0 signal= 5ms
before-version: exit=0 signal= 30ms
before-probe: exit=0 signal= 1358ms
before-update-status: exit=0 signal= 1813ms
before-service: exit=0 signal= 15ms
before-launcher: exit=0 signal= 79ms
[2026-11-22T08:19:53.793Z] update-start {}
update: exit=0 signal= 115466ms
[2026-11-22T08:21:49.260Z] update-end {"exitCode":0,"durationMs":115466}
[2026-11-22T08:21:49.263Z] after-settle {}
after-version: exit=0 signal= 24ms
after-probe: exit=0 signal= 1300ms
after-update-status: exit=0 signal= 1652ms
after-service: exit=0 signal= 17ms
after-launcher: exit=0 signal= 81ms
after-observe-static: exit=0 signal= 3ms
[2026-11-22T08:21:52.346Z] after-commands-start {}
cmd-1-version: exit=0 signal= 26ms
cmd-2-update-status: exit=0 signal= 1677ms
cmd-3-update-to-c: exit=1 signal= 118932ms
cmd-4-wait: exit=0 signal= 1686ms
cmd-5-version: exit=0 signal= 27ms
cmd-6-update-status: exit=0 signal= 1751ms
cmd-7-gateway-status: exit=0 signal= 1652ms
[2026-11-22T08:23:58.103Z] after-commands-end {}
after-commands-version: exit=0 signal= 25ms
after-commands-probe: exit=0 signal= 1285ms
after-commands-update-status: exit=0 signal= 1684ms
after-commands-service: exit=0 signal= 18ms
after-commands-launcher: exit=0 signal= 81ms
after-commands-observe-static: exit=0 signal= 4ms
stop-service: exit=0 signal= 492ms

B → C: `openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-m-c.tgz` — stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-SrOgu4: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[update/retained-runtime] Runtime retention attempt 1/1: preparing the running updater
[update/retained-runtime] runtime retention attempt 1/1: dependency inventory
[update/retained-runtime] runtime retention attempt 1/1: materializing 47844 entries (693133312 estimated bytes) after 5012ms inventory
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299999ms. Last observation: resolving the previous Gateway port and installed version
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299988ms. Last observation: checking service and listener identity on port 45009
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299722ms. Last observation: checking Gateway HTTP healthz and readyz endpoints
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299705ms. Last observation: checking service command ownership of the previous installation
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: contributions (10s elapsed)
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
┌  OpenClaw doctor
/home/appuser/.openclaw/state/openclaw.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
│
◇  Startup optimization ────────────────────────────────────────────────╮
│                                                                       │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on  │
│    small hosts (Raspberry Pi/VM).                                     │
│  - NODE_DISABLE_COMPILE_CACHE is set; startup compile cache is        │
│    disabled.                                                          │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it when you want routine  │
│    gateway restarts to stay in-process instead of handing off to a    │
│    managed supervisor.                                                │
│  - Suggested env for low-power hosts:                                 │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache          │
│    mkdir -p /var/tmp/openclaw-compile-cache                           │
│    export OPENCLAW_NO_RESPAWN=1                                       │
│    unset NODE_DISABLE_COMPILE_CACHE                                   │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯
│
◇  Update history ─────────────────────────────────────────────────────────╮
│                                                                          │
│  Recorded warnings from update f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3 (a   │
│  later repair may have resolved them):                                   │
│  Model retirement deferred until configured plugin installation          │
│  converges.                                                              │
│  Automation Memory Dreaming Promotion                                    │
│  (e6a3c08a-0dc0-4379-accc-4205fb50679c): inference account was not       │
│  migrated: No route-compatible authentication source is configured for   │
│  openai. Inspect available accounts with openclaw models auth list       │
│  --agent main, then explicitly adopt the intended stored account with    │
│  openclaw automations edit e6a3c08a-0dc0-4379-accc-4205fb50679c --model  │
│  'openai/gpt-6-astra@<profileId>'.                                       │
│  core/doctor/security: WARNING: openclaw.json contains plaintext         │
│  secret-bearing config fields.                                           │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
[state/agent-db] agent database clean-close receipt: written; agent=main
│
◇  Updater runtimes ───────────────────────────────────────────────────────╮
│                                                                          │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-3fb2X9: the creating       │
│  update (PID 8060) is still running                                      │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-SrOgu4: Could not inspect  │
│  OpenClaw processes: Error: Host process visibility cannot be            │
│  established from this container. Run Doctor on the host after stopping  │
│  OpenClaw containers that share its temporary directory.                 │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  Doctor complete.
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state write admission
Doctor: stale update runs
Doctor: state migrations import
Doctor: state dir migrations
Doctor: legacy config migration
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: state schema
Doctor: retired state repair
Doctor: session entry state
Doctor: plugin plan import
Doctor: plugin plan
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: cron repair import
Doctor: cron repair
Doctor: cron policy scan
Doctor: legacy state migrations
Doctor: retired a2ui widgets
Doctor: relative session store
Doctor: Config repairs
Doctor: contributions
Doctor: Write config migrations
Doctor: Auth profile migration
Doctor: Chat history
Doctor: Codex session routes
Doctor: Write config
Doctor: Final config validation
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-3fb2X9: the creating update (PID 8060) is still running
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-SrOgu4: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
Doctor: maintenance finish
Doctor: maintenance release
[openclaw] log file append failed; records dropped; check that the path is a writable regular file; file=openclaw-2026-11-22.log
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=13419; listener=free; listener PIDs=none; health=unverified
Update recovery remains pending (update-recovery-pending). Retained state and artifacts were left for the owning updater to reconcile; automatic restart and repair were not attempted.
Update f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3 has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-3fb2X9: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix

B → C: same command — stdout (JSON result)
{
  "status": "error",
  "mode": "pnpm",
  "root": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
  "reason": "update-recovery-pending",
  "before": {
    "version": "2026.11.20-beta.2",
    "buildId": "2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z"
  },
  "after": {
    "version": "2026.11.20-beta.3",
    "buildId": "2026.11.20-beta.3-84269f3b5ee9-2026-11-22T08-03-55.145Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 11793,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":47844,\"estimatedBytes\":693133312,\"inventoryMs\":5012,\"materializationMs\":5735,\"linked\":41510,\"copied\":1755}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2028,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.",
        "/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 629430413b0b45f99aae80d9a1062ebbdb78f857376a87016db8ad1fb3618e4f",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 54d961c2625f4794ede9dbb0618375f13070f8647689b6a4ba382410538658c4",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 ad6afe036b7442cb32c90f7f7000b296c8668272803f208a53e9db2e26dbe875",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 a036c28ef692486f3a0a12ba497b166712d477d3d3afa0b6ffb94e923ee04e7b"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "pnpm add -g --allow-build=openclaw openclaw@file:/tmp/um-input/extra/openclaw-m-c.tgz --config.global-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ --config.global-bin-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ.bin-CdRV0h",
      "durationMs": 2541,
      "exitCode": 0,
      "stdoutTail": ".../v11/21a7-18ea5054de85ff69-0          | Progress: resolved 0, reused 1, downloaded 0, added 0\nPackages are hard linked from the content-addressable store to the virtual store.\n  Content-addressable store is at: /home/appuser/um/pnpm-home/store/v11\n  Virtual store is at:             home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/21a7-18ea5054de85ff69-0/node_modules/.pnpm\n[WARN] 1 deprecated subdependencies found: [email protected]\nDownloading file:../../../../../../../tmp/um-input/extra/openclaw-m-c.tgz: 0.00 B/116.78 MB\n.../v11/21a7-18ea5054de85ff69-0          | Progress: resolved 359, reused 361, downloaded 1, added 359\n.../v11/21a7-18ea5054de85ff69-0          | Progress: resolved 359, reused 361, downloaded 1, added 359, done\nIgnored build scripts: @google/[email protected], [email protected], openclaw@file:../../../../../../../tmp/um-input/extra/openclaw-m-c.tgz, [email protected].\nRun \"pnpm approve-builds\" to pick which dependencies should be allowed to run scripts.\n\ndependencies:\n+ openclaw 2026.11.20-beta.3\n\nDone in 2.5s using pnpm v12.21.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ"
    },
    {
      "name": "pnpm-package-preinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/preinstall-package-manager-warning.mjs",
      "durationMs": 20,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "pnpm-package-postinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/postinstall-bundled-plugins.mjs",
      "durationMs": 200,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 816,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/pnpm-home/.openclaw-update-native-cuQUoZ/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw -> /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "cwd": "/home/appuser/um/pnpm-home",
      "durationMs": 39475,
      "exitCode": 0,
      "stdoutTail": "replaced openclaw; published by an atomic exchange (perl)",
      "stderrTail": null
    },
    {
      "name": "openclaw doctor",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "durationMs": 25682,
      "exitCode": 0,
      "stdoutTail": "…essful backup is recorded.                                    │\n│  Create one now with openclaw backup create.                          │\n│  Schedule versioned backups with openclaw backup enable --repository  │\n│  <dir>.                                                               │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Doctor warnings ────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Automation Memory Dreaming Promotion                                    │\n│  (e6a3c08a-0dc0-4379-accc-4205fb50679c): inference account was not       │\n│  migrated: No route-compatible authentication source is configured for   │\n│  openai. Inspect available accounts with openclaw models auth list       │\n│  --agent main, then explicitly adopt the intended stored account with    │\n│  openclaw automations edit e6a3c08a-0dc0-4379-accc-4205fb50679c --model  │\n│  'openai/gpt-6-astra@<profileId>'.                                       │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Host desktop ────────────────────────────────────────────────────╮\n│                                                                   │\n│  disabled; enable the Desktop lab with desktop.host.enabled=true  │\n│                                                                   │\n├───────────────────────────────────────────────────────────────────╯\n│\n◇  Gateway ─────────────────────────────────────────────╮\n│                                                       │\n│  Gateway health will be checked after Doctor repair.  │\n│                                                       │\n├───────────────────────────────────────────────────────╯\n│\n◇  Security ─────────────────────────────────────────────────────────────╮\n│                                                                        │\n│  - WARNING: openclaw.json contains plaintext secret-bearing config     │\n│    fields.                                                             │\n│    Migrate them to SecretRefs with openclaw secrets configure or       │\n│    openclaw secrets apply, then verify with openclaw secrets audit     │\n│    --check.                                                            │\n│    Paths: gateway.auth.token                                           │\n│    Agents or workspace tools that can read config files may see these  │\n│    API keys/tokens.                                                    │\n│  - Run: openclaw security audit --deep                                 │\n│                                                                        │\n├────────────────────────────────────────────────────────────────────────╯\n│\n◇  Skills ─────────────────────────────────────────────────────────────────╮\n│                                                                          │\n│  32 allowed skills are not usable in this environment (missing           │\n│  binaries, env vars, or config).                                         │\n│  - 1password, blogwatcher, blucli, camsnap, coding-agent, eightctl,      │\n│    gemini, gh-issues, gifgrep, github, gog, goplaces, himalaya,          │\n│    mcporter, model-usage, nano-pdf, notion, obsidian, openai-whisper,    │\n│    openai-whisper-api, openhue, oracle, ordercli, sag, sherpa-onnx-tts,  │\n│    songsee, sonoscli, spotify-player, summarize, tmux, trello, xurl      │\n│  Missing local binaries may exist on paired nodes; these skills remain   │\n│  enabled.                                                                │\n│  Disable unused skills: openclaw doctor --fix                            │\n│  Inspect details: openclaw skills check --agent <id> or openclaw skills  │\n│  info <name> --agent <id>                                                │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Remember across conversations is effectively enabled for agent \"main\",  │\n│  but the Active Memory plugin is disabled. Set                           │\n│  plugins.entries.active-memory.enabled=true, or set                      │\n│  memory.search.rememberAcrossConversations to false.                     │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Memory search provider is set to \"openai\" but no API key was found.     │\n│  Without working primary or fallback embeddings, memory sync stops for   │\n│  explicitly configured providers or existing vector indexes; new and     │\n│  changed memory files are not indexed.                                   │\n│                                                                          │\n│                                                                          │\n│  Fix (pick one):                                                         │\n│  - Set OPENAI_API_KEY in your environment                                │\n│  - Configure credentials: openclaw configure --section model             │\n│  - For keyword-only recall without a key, set memory.search.provider to  │\n│    \"none\" for this agent (including any agent override), then run        │\n│    openclaw memory index --force --agent main                            │\n│                                                                          │\n│  Then rerun: openclaw doctor                                             │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ─────────────────────────────────╮\n│                                                 │\n│  Dreaming: enabled (cadence 0 3 * * *).         │\n│  Last recorded dreaming run: none recorded.     │\n│  Next scheduled run: 2026-11-23T03:00:00.000Z.  │\n│                                                 │\n├─────────────────────────────────────────────────╯\nDeferred advisory inspections until the restarted Gateway is ready: core/doctor/database-engine, core/doctor/claude-cli, core/doctor/command-owner, core/doctor/default-account-routing, core/doctor/oauth-tls, core/doctor/hooks-model, core/doctor/legacy-output-cap, core/doctor/model-references, core/doctor/acp-agent-model, core/doctor/provider-catalog-projection, core/doctor/local-audio-acceleration, core/doctor/runtime-tool-schemas, core/doctor/whatsapp-responsiveness. The updater runs their `openclaw doctor --lint` checks after restart.\n│\n◇  Updater runtimes ───────────────────────────────────────────────────────╮\n│                                                                          │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-3fb2X9: the creating       │\n│  update (PID 8060) is still running                                      │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-SrOgu4: Could not inspect  │\n│  OpenClaw processes: Error: Host process visibility cannot be            │\n│  established from this container. Run Doctor on the host after stopping  │\n│  OpenClaw containers that share its temporary directory.                 │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n└  Doctor complete.",
      "stderrTail": "Doctor: Update schema admission\nDoctor: startup\nDoctor: maintenance begin\nDoctor: Preserve original state\nDoctor: schema admission\nDoctor: state database repair\nDoctor: database migrations\nDoctor: heartbeat migration backups\nDoctor: state schema\nDoctor: Agent deletion journal\nDoctor: UI protocol\nDoctor: Source install\nDoctor: CLI launcher\nDoctor: Plugin runtime links\nDoctor: config flow\nDoctor: state write admission\nDoctor: stale update runs\nDoctor: state migrations import\nDoctor: state dir migrations\nDoctor: legacy config migration\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: state schema\nDoctor: retired state repair\nDoctor: session entry state\nDoctor: plugin plan import\nDoctor: plugin plan\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: cron repair import\nDoctor: cron repair\nDoctor: cron policy scan\nDoctor: legacy state migrations\nDoctor: retired a2ui widgets\nDoctor: relative session store\nDoctor: Config repairs\nDoctor: contributions\nDoctor: Write config migrations\nDoctor: Agent database admission\nDoctor: core/doctor/agent-database-admission: check\nDoctor: Native helpers and child pipes\nDoctor: core/doctor/appcontainer-spawn: check\nDoctor: core/doctor/native-status: check\nDoctor: Node runtime\nDoctor: Runtime capabilities\nDoctor: Gateway config\nDoctor: Auth profile migration\nDoctor: Gateway auth\nDoctor: Node hosting preconditions\nDoctor: core/doctor/node-hosting-preconditions: check\nDoctor: Legacy state\nDoctor: core/doctor/removed-workspaces-state: check\nDoctor: core/doctor/session-archive-read-cache: check\nDoctor: Chat history\nDoctor: Agent memory schema\nDoctor: Legacy plugin manifests\nDoctor: Legacy plugin dependencies\nDoctor: Stale plugin runtime symlinks\nDoctor: Configured plugin repair\nDoctor: Plugin registry\nDoctor: Legacy plugin captures\nDoctor: Updater runtimes\nDoctor: UI protocol freshness\nDoctor: Stale runtime build\nDoctor: core/doctor/stale-runtime-build: check\nDoctor: Disk space\nDoctor: State integrity\nDoctor: Codex session routes\nDoctor: Telegram General-topic conversations\nDoctor: core/doctor/telegram-general-topic-conversations: check\nDoctor: Chat history headers\nDoctor: Chat history labels\nDoctor: Config audit\nDoctor: Legacy cron\nDoctor: Sandbox\nDoctor: Gateway services\nDoctor: Host desktop\nDoctor: Channel package-state capabilities\nDoctor: core/doctor/channel-package-state-capabilities: check\nDoctor: Startup channel maintenance\nDoctor: Browser\nDoctor: systemd linger\nDoctor: Workspace alias\nDoctor: Memory provenance\nDoctor: Heartbeat cadence migration\nDoctor: Heartbeat scratch migration\nDoctor: TOOLS.md migration\nDoctor: Heartbeat task cron migration\nDoctor: Shell completion\nDoctor: Gateway health\nDoctor: Device pairing\nDoctor: Gateway daemon\nDoctor: Auth profiles\nDoctor: Gmail Gog\nDoctor: core/doctor/gmail-gog: check\nDoctor: Plugin health inspection and repair\nDoctor: openai/daybreak-alias-retirement: check\nDoctor: skill-workshop/tool-policy: check\nDoctor: Channel ingress dead letters\nDoctor: Session snapshots\nDoctor: Security\nDoctor: Web fetch proxy\nDoctor: Bundle LSP environment\nDoctor: Skill Workshop tool policy\nDoctor: Workspace status\nDoctor: Skills\nDoctor: Memory search\nDoctor: contributions (10s elapsed)\nDoctor: Write config\nDoctor: Final config validation\nDoctor: external config\nDoctor: maintenance ready\nDoctor: sqlite reclamation\nDoctor: retained runtimes\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-3fb2X9: the creating update (PID 8060) is still running\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-SrOgu4: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.\nDoctor: maintenance finish\nDoctor: maintenance release\nModel retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (e6a3c08a-0dc0-4379-accc-4205fb50679c): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit e6a3c08a-0dc0-4379-accc-4205fb50679c --model 'openai/gpt-6-astra@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.\nPost-install doctor reported a recoverable update-time repair warning after the package install was verified; continuing with post-core plugin convergence.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.6 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.7 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.2 s, legacy-cron.execution-context 0.4 s, contributions 10.6 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.3 s, workspace-status 1.0 s, plugin-registry 0.7 s"
      ],
      "deferredInspectionCheckIds": [
        "core/doctor/database-engine",
        "core/doctor/claude-cli",
        "core/doctor/command-owner",
        "core/doctor/default-account-routing",
        "core/doctor/oauth-tls",
        "core/doctor/hooks-model",
        "core/doctor/legacy-output-cap",
        "core/doctor/model-references",
        "core/doctor/acp-agent-model",
        "core/doctor/provider-catalog-projection",
        "core/doctor/local-audio-acceleration",
        "core/doctor/runtime-tool-schemas",
        "core/doctor/whatsapp-responsiveness"
      ],
      "warnings": [
        "Model retirement deferred until configured plugin installation converges.",
        "Automation Memory Dreaming Promotion (e6a3c08a-0dc0-4379-accc-4205fb50679c): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit e6a3c08a-0dc0-4379-accc-4205fb50679c --model 'openai/gpt-6-astra@<profileId>'.",
        "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      ],
      "advisory": {
        "kind": "package-post-install-doctor",
        "message": "Model retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (e6a3c08a-0dc0-4379-accc-4205fb50679c): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit e6a3c08a-0dc0-4379-accc-4205fb50679c --model 'openai/gpt-6-astra@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.\nPost-install doctor reported a recoverable update-time repair warning after the package install was verified; continuing with post-core plugin convergence.\nRun openclaw doctor --fix to finish deferred repairs."
      }
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases; from SHA-256 f7f7abf21c30318c64d8c4c1346bff8c261b22cf5c0e037ef615bf7677738806 to SHA-256 1c0d65719cd3964c9436e82e9cd70c1e420ba387540d2afaff4f0a0bb35d2808.",
        "Post-migration write inventory: 4 databases; SHA-256 1c0d65719cd3964c9436e82e9cd70c1e420ba387540d2afaff4f0a0bb35d2808. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 7031f4215e62fa948498736fcf782773a83ad9e6ca5eafce5f6981a8bfa695ef",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 7d4f4d9d5eb365370d8fa142dcf476d2a69894a75c97298b97c27c677462fbe0",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 9418fd7e0a2803dd77cb19ab88c91d12262bc013cf91ed21d750ede526163f05",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; f219a898be2858a77314348b711537d5620ca7c6efa20873f4df7b62bcda68e1"
      ]
    },
    {
      "name": "post-stop-checks",
      "command": "recheck schemas, published artifacts and candidate configuration",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 181,
      "exitCode": 0
    },
    {
      "name": "post-plugin doctor",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 18294,
      "exitCode": 0,
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.7 s, contributions 3.6 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.5 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      ],
      "deferredInspectionCheckIds": []
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases; from SHA-256 58f4d968f6c952001c4a5931fccee4944fcb7f67f22b4d7e2042375498521da5 to SHA-256 061681b4cef0611373fc68d76b52076ef725e47c097149aaa9f1105962bdb9fb.",
        "Post-migration write inventory: 4 databases; SHA-256 061681b4cef0611373fc68d76b52076ef725e47c097149aaa9f1105962bdb9fb. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 7031f4215e62fa948498736fcf782773a83ad9e6ca5eafce5f6981a8bfa695ef",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 7d4f4d9d5eb365370d8fa142dcf476d2a69894a75c97298b97c27c677462fbe0",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 9418fd7e0a2803dd77cb19ab88c91d12262bc013cf91ed21d750ede526163f05",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 14e74c0a8ce3df8b574344a72585e785406a1bcaa350e7d894918cc4067ca9e9"
      ]
    },
    {
      "name": "update",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": null,
      "failureFacts": [
        {
          "check": "update",
          "code": "Error",
          "message": "Update f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3 has unfinished recovery; reconcile it before starting another update.",
          "errorName": "Error",
          "location": "dist/update-run-recovery-C0k9Jfth.mjs:9:1333"
        }
      ]
    }
  ],
  "recovery": {
    "serviceRestartSafe": false,
    "reason": "runtime-verification-failed"
  },
  "localOverrides": {
    "status": "none",
    "added": 0,
    "modified": 0,
    "deleted": 0,
    "applied": 0,
    "conflicts": [],
    "warnings": []
  },
  "durationMs": 75316,
  "runId": "f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3",
  "reportPath": "/home/appuser/um/tmp/openclaw-update-report-mQwanL/f606f2c1-132f-45b2-9df2-5ca2100d7132.md"
}

after B → C: `openclaw update status`
OpenClaw update status

┌──────────┬───────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Item     │ Value                                                                                                     │
├──────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Install  │ pnpm                                                                                                      │
│ Channel  │ beta (installed version)                                                                                  │
│ Update   │ needs attention · see run details below                                                                   │
└──────────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Abandoned update detected; the Gateway will reconcile its recorded outcome. Stop the Gateway first (openclaw gateway stop --force), then run openclaw update repair to reconcile it now.
Update target: 2026.11.20-beta.3
Update safety checks ran in the candidate updater (2026.11.20-beta.3).
Admission checks: config: ok, database-schema: ok, node-runtime: ok, plugin-availability: ok.
Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.
~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 629430413b0b45f99aae80d9a1062ebbdb78f857376a87016db8ad1fb3618e4f
~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 54d961c2625f4794ede9dbb0618375f13070f8647689b6a4ba382410538658c4
~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 ad6afe036b7442cb32c90f7f7000b296c8668272803f208a53e9db2e26dbe875
~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 a036c28ef692486f3a0a12ba497b166712d477d3d3afa0b6ffb94e923ee04e7b
Doctor interval openclaw doctor; backup ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases; from SHA-256 f7f7abf21c30318c64d8c4c1346bff8c261b22cf5c0e037ef615bf7677738806 to SHA-256 1c0d65719cd3964c9436e82e9cd70c1e420ba387540d2afaff4f0a0bb35d2808.
Post-migration write inventory: 4 databases; SHA-256 1c0d65719cd3964c9436e82e9cd70c1e420ba387540d2afaff4f0a0bb35d2808. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-8060-1795335750775.databases.
Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 7031f4215e62fa948498736fcf782773a83ad9e6ca5eafce5f6981a8bfa695ef
Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 7d4f4d9d5eb365370d8fa142dcf476d2a69894a75c97298b97c27c677462fbe0
Database write fingerprint: ~/.openclaw/control/services.sqlite; 9418fd7e0a2803dd77cb19ab88c91d12262bc013cf91ed21d750ede526163f05
Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; f219a898be2858a77314348b711537d5620ca7c6efa20873f4df7b62bcda68e1
Phases: requested (14.44s) → staging (11ms) → validating (24s) → activating (63.7s) → restarting (4.85s) → verifying
Warning: Automation Memory Dreaming Promotion (e6a3c08a-0dc0-4379-accc-4205fb50679c): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit e6a3c08a-0dc0-4379-accc-4205fb50679c --model 'openai/gpt-6-astra@<profileId>'.
Warning: core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.
Warning: Deferred model retirement repair completed after plugin convergence.
Warning: WARNING: openclaw.json contains plaintext secret-bearing config fields.
Warning: Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-d9188dc9-d3f2-4d5a-8950-f7f8545cc171.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-d9188dc9-d3f2-4d5a-8950-f7f8545cc171.receipt.bak
Warning: Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint.
Recorded verification: service running (2026.11.20-beta.3); version verified; channels ready; HTTP ready; core ready.
Check progress with openclaw update status.

Update recovery set f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3: ambiguous
/home/appuser/.openclaw.update-captures/f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3/manifest.json
Update recovery set /home/appuser/.openclaw.update-captures/f9b3f5bd-baf7-4c56-bb2d-67fe6b52c5c3/manifest.json: update run is running. Automatic restoration is refused; inspect with `openclaw update cleanup --dry-run`. Resolve the recorded outcome before attempting recovery.
Next action: openclaw update cleanup --dry-run


@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Red trace — pnpm 12.21, base, same builds, B → C run with a resolve/spawn trace preload

Cell a-pnpm12-diag-main-e17201c-trace. Builds: same A/B/C builds from main e17201c. Exit code of the second update: 1. Container paths are from the test container (/home/appuser).

harness log
Reusing Docker image: openclaw-docker-e2e-bare:local
[2026-11-22T08:40:16.468Z] cell-start {"path":"stable","trigger":"cli","load":"busy","dbMiB":256,"rateKiB":1024,"installed":"2026.11.20-beta.1","candidateVersion":"2026.11.20-beta.2","distTags":"","channel":"","devTarget":"","repeat":false}
[2026-11-22T08:40:16.470Z] install-start {}
pnpm-version: exit=0 signal= 976ms
install: exit=0 signal= 4643ms
[2026-11-22T08:40:22.090Z] install-done {}
candidate-extract: exit=0 signal= 1824ms
candidate-pack: exit=0 signal= 6446ms
shim: exit=0 signal= 46ms
gateway-install: exit=0 signal= 2979ms
session-create: exit=0 signal= 902ms
session-inject: exit=0 signal= 591ms
[2026-11-22T08:40:42.899Z] gateway-ready {}
[2026-11-22T08:40:43.906Z] load-ready {}
before-observe-static: exit=0 signal= 6ms
before-version: exit=0 signal= 25ms
before-probe: exit=0 signal= 1268ms
before-update-status: exit=0 signal= 1749ms
before-service: exit=0 signal= 18ms
before-launcher: exit=0 signal= 80ms
[2026-11-22T08:41:02.075Z] update-start {}
update: exit=0 signal= 116010ms
[2026-11-22T08:42:58.087Z] update-end {"exitCode":0,"durationMs":116010}
[2026-11-22T08:42:58.089Z] after-settle {}
after-version: exit=0 signal= 26ms
after-probe: exit=0 signal= 1295ms
after-update-status: exit=0 signal= 1664ms
after-service: exit=0 signal= 16ms
after-launcher: exit=0 signal= 80ms
after-observe-static: exit=0 signal= 5ms
[2026-11-22T08:43:01.183Z] after-commands-start {}
cmd-1-version: exit=0 signal= 25ms
cmd-3-update-to-c: exit=1 signal= 121840ms
cmd-3b-trace: exit=0 signal= 2ms
cmd-4-wait: exit=0 signal= 1698ms
cmd-5-version: exit=0 signal= 25ms
cmd-8-run-json: exit=0 signal= 1685ms
cmd-9-failure-json: exit=1 signal= 3ms
cmd-10-stacks: exit=0 signal= 2ms
cmd-11-log-files: exit=0 signal= 2ms
[2026-11-22T08:45:06.469Z] after-commands-end {}
after-commands-version: exit=0 signal= 23ms
after-commands-probe: exit=0 signal= 1313ms
after-commands-update-status: exit=0 signal= 1703ms
after-commands-service: exit=0 signal= 18ms
after-commands-launcher: exit=0 signal= 87ms
after-commands-observe-static: exit=0 signal= 4ms
stop-service: exit=0 signal= 484ms

resolve/spawn trace (`/tmp/um-trace.log`) during B → C
[7924] resolve failed ./dist/warning-filter.js from file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/openclaw.mjs ERR_MODULE_NOT_FOUND
[7924] resolve failed ./dist/warning-filter.mjs from file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/openclaw.mjs ERR_MODULE_NOT_FOUND
[7933] resolve failed ./dist/warning-filter.js from file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/openclaw.mjs ERR_MODULE_NOT_FOUND
[7933] resolve failed ./dist/warning-filter.mjs from file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/openclaw.mjs ERR_MODULE_NOT_FOUND
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/state/openclaw-state-lease-heartbeat.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/openclaw-state-lease-heartbeat-CJXsKr4R.mjs:7:8970
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at runInDetachedAsyncContext (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/detached-async-context-DwscbavR.mjs:3:369)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/openclaw-state-lease-heartbeat-CJXsKr4R.mjs:7:8931)
    at acquireLeaseHeartbeatCarrier (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/openclaw-state-lease-heartbeat-CJXsKr4R.mjs:3:222)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/openclaw-state-lease-heartbeat-CJXsKr4R.mjs:7:8840
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] resolve failed file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js from ? ERR_MODULE_NOT_FOUND
[7933] uncaught Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js' imported from /home/appuser/
    at finalizeResolution (node:internal/modules/esm/resolve:272:11)
    at moduleResolve (node:internal/modules/esm/resolve:879:10)
    at defaultResolve (node:internal/modules/esm/resolve:1006:11)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at resolve (data:text/javascript,%0Aimport%20fs%20from%20%22node%3Afs%22%3B%0Aexport%20async%20function%20resolve(specifier%2C%20context%2C%20next)%20%7B%0A%20%20try%20%7B%20return%20await%20next(specifier%2C%20context)%3B%20%7D%0A%20%20catch%20(error)%20%7B%0A%20%20%20%20try%20%7B%20fs.appendFileSync(%22%2Ftmp%2Fum-trace.log%22%2C%20%22%5B%22%20%2B%20process.pid%20%2B%20%22%5D%20resolve%20failed%20%22%20%2B%20specifier%20%2B%20%22%20from%20%22%20%2B%20(context.parentURL%20%3F%3F%20%22%3F%22)%20%2B%20%22%20%22%20%2B%20(error%3F.code%20%3F%3F%20%22%22)%20%2B%20%22%5Cn%22)%3B%20%7D%20catch%20%7B%7D%0A%20%20%20%20throw%20error%3B%0A%20%20%7D%0A%7D:4:22)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at AsyncLoaderHooksOnLoaderHookWorker.resolve (node:internal/modules/esm/hooks:269:30)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:251:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:869:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] resolve failed file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js from ? ERR_MODULE_NOT_FOUND
[7933] uncaught Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js' imported from /home/appuser/
    at finalizeResolution (node:internal/modules/esm/resolve:272:11)
    at moduleResolve (node:internal/modules/esm/resolve:879:10)
    at defaultResolve (node:internal/modules/esm/resolve:1006:11)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at resolve (data:text/javascript,%0Aimport%20fs%20from%20%22node%3Afs%22%3B%0Aexport%20async%20function%20resolve(specifier%2C%20context%2C%20next)%20%7B%0A%20%20try%20%7B%20return%20await%20next(specifier%2C%20context)%3B%20%7D%0A%20%20catch%20(error)%20%7B%0A%20%20%20%20try%20%7B%20fs.appendFileSync(%22%2Ftmp%2Fum-trace.log%22%2C%20%22%5B%22%20%2B%20process.pid%20%2B%20%22%5D%20resolve%20failed%20%22%20%2B%20specifier%20%2B%20%22%20from%20%22%20%2B%20(context.parentURL%20%3F%3F%20%22%3F%22)%20%2B%20%22%20%22%20%2B%20(error%3F.code%20%3F%3F%20%22%22)%20%2B%20%22%5Cn%22)%3B%20%7D%20catch%20%7B%7D%0A%20%20%20%20throw%20error%3B%0A%20%20%7D%0A%7D:4:22)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at AsyncLoaderHooksOnLoaderHookWorker.resolve (node:internal/modules/esm/hooks:269:30)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:251:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:869:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] resolve failed file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js from ? ERR_MODULE_NOT_FOUND
[7933] uncaught Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js' imported from /home/appuser/
    at finalizeResolution (node:internal/modules/esm/resolve:272:11)
    at moduleResolve (node:internal/modules/esm/resolve:879:10)
    at defaultResolve (node:internal/modules/esm/resolve:1006:11)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at resolve (data:text/javascript,%0Aimport%20fs%20from%20%22node%3Afs%22%3B%0Aexport%20async%20function%20resolve(specifier%2C%20context%2C%20next)%20%7B%0A%20%20try%20%7B%20return%20await%20next(specifier%2C%20context)%3B%20%7D%0A%20%20catch%20(error)%20%7B%0A%20%20%20%20try%20%7B%20fs.appendFileSync(%22%2Ftmp%2Fum-trace.log%22%2C%20%22%5B%22%20%2B%20process.pid%20%2B%20%22%5D%20resolve%20failed%20%22%20%2B%20specifier%20%2B%20%22%20from%20%22%20%2B%20(context.parentURL%20%3F%3F%20%22%3F%22)%20%2B%20%22%20%22%20%2B%20(error%3F.code%20%3F%3F%20%22%22)%20%2B%20%22%5Cn%22)%3B%20%7D%20catch%20%7B%7D%0A%20%20%20%20throw%20error%3B%0A%20%20%7D%0A%7D:4:22)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at AsyncLoaderHooksOnLoaderHookWorker.resolve (node:internal/modules/esm/hooks:269:30)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:251:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:869:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
[7933] Worker from missing /home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js
Error: trace
    at new wt.Worker (file:///app/scripts/e2e/lib/upgrade-survivor/um-trace.mjs:38:51)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:727
    at runWithMainThreadTask (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/main-thread-stall-w_XA1-5x.mjs:3:408)
    at createCpuTrackedWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-cpu-DyCKPmTe.mjs:7:661)
    at Object.createWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/worker-task-pool-BqIr2ahl.mjs:5:1591)
    at file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:1320
    at Object.<anonymous> (node:internal/async_local_storage/async_context_frame:46:52)
    at AsyncResource.runInAsyncScope (node:async_hooks:227:14)
    at Object.bound [as runInContext] (node:async_hooks:258:16)
    at createWorkerTaskPoolWorker (file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/src-DkTCr3HK.mjs:23:917)
[7933] resolve failed file:///home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js from ? ERR_MODULE_NOT_FOUND
[7933] uncaught Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/appuser/um/pnpm-home/global/v11/7b4-18ea515e13c127ce-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw/dist/logging/logger-file.worker.js' imported from /home/appuser/
    at finalizeResolution (node:internal/modules/esm/resolve:272:11)
    at moduleResolve (node:internal/modules/esm/resolve:879:10)
    at defaultResolve (node:internal/modules/esm/resolve:1006:11)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at resolve (data:text/javascript,%0Aimport%20fs%20from%20%22node%3Afs%22%3B%0Aexport%20async%20function%20resolve(specifier%2C%20context%2C%20next)%20%7B%0A%20%20try%20%7B%20return%20await%20next(specifier%2C%20context)%3B%20%7D%0A%20%20catch%20(error)%20%7B%0A%20%20%20%20try%20%7B%20fs.appendFileSync(%22%2Ftmp%2Fum-trace.log%22%2C%20%22%5B%22%20%2B%20process.pid%20%2B%20%22%5D%20resolve%20failed%20%22%20%2B%20specifier%20%2B%20%22%20from%20%22%20%2B%20(context.parentURL%20%3F%3F%20%22%3F%22)%20%2B%20%22%20%22%20%2B%20(error%3F.code%20%3F%3F%20%22%22)%20%2B%20%22%5Cn%22)%3B%20%7D%20catch%20%7B%7D%0A%20%20%20%20throw%20error%3B%0A%20%20%7D%0A%7D:4:22)
    at nextResolve (node:internal/modules/esm/hooks:785:28)
    at AsyncLoaderHooksOnLoaderHookWorker.resolve (node:internal/modules/esm/hooks:269:30)
    at MessagePort.handleMessage (node:internal/modules/esm/worker:251:24)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:869:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)

B → C: `NODE_OPTIONS=--import= openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-m-c.tgz` — stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-N83Yb0: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[update/retained-runtime] Runtime retention attempt 1/1: preparing the running updater
[update/retained-runtime] runtime retention attempt 1/1: dependency inventory
[update/retained-runtime] runtime retention attempt 1/1: materializing 47844 entries (693133312 estimated bytes) after 5208ms inventory
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299998ms. Last observation: resolving the previous Gateway port and installed version
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299986ms. Last observation: checking service and listener identity on port 39317
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299705ms. Last observation: checking Gateway HTTP healthz and readyz endpoints
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299686ms. Last observation: checking service command ownership of the previous installation
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: contributions (10s elapsed)
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
┌  OpenClaw doctor
/home/appuser/.openclaw/state/openclaw.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
│
◇  Startup optimization ────────────────────────────────────────────────╮
│                                                                       │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on  │
│    small hosts (Raspberry Pi/VM).                                     │
│  - NODE_DISABLE_COMPILE_CACHE is set; startup compile cache is        │
│    disabled.                                                          │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it when you want routine  │
│    gateway restarts to stay in-process instead of handing off to a    │
│    managed supervisor.                                                │
│  - Suggested env for low-power hosts:                                 │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache          │
│    mkdir -p /var/tmp/openclaw-compile-cache                           │
│    export OPENCLAW_NO_RESPAWN=1                                       │
│    unset NODE_DISABLE_COMPILE_CACHE                                   │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯
│
◇  Update history ─────────────────────────────────────────────────────────╮
│                                                                          │
│  Recorded warnings from update 4620542f-7df2-4fc8-b706-458a868d68dc (a   │
│  later repair may have resolved them):                                   │
│  Model retirement deferred until configured plugin installation          │
│  converges.                                                              │
│  Automation Memory Dreaming Promotion                                    │
│  (d3308c2e-dada-47a4-86a3-9025be7bcda0): inference account was not       │
│  migrated: No route-compatible authentication source is configured for   │
│  openai. Inspect available accounts with openclaw models auth list       │
│  --agent main, then explicitly adopt the intended stored account with    │
│  openclaw automations edit d3308c2e-dada-47a4-86a3-9025be7bcda0 --model  │
│  'openai/gpt-6-astra@<profileId>'.                                       │
│  core/doctor/security: WARNING: openclaw.json contains plaintext         │
│  secret-bearing config fields.                                           │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
[state/agent-db] agent database clean-close receipt: written; agent=main
│
◇  Updater runtimes ───────────────────────────────────────────────────────╮
│                                                                          │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-N83Yb0: Could not inspect  │
│  OpenClaw processes: Error: Host process visibility cannot be            │
│  established from this container. Run Doctor on the host after stopping  │
│  OpenClaw containers that share its temporary directory.                 │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-eqqdEr: the creating       │
│  update (PID 7933) is still running                                      │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  Doctor complete.
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state write admission
Doctor: stale update runs
Doctor: state migrations import
Doctor: state dir migrations
Doctor: legacy config migration
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: state schema
Doctor: retired state repair
Doctor: session entry state
Doctor: plugin plan import
Doctor: plugin plan
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: cron repair import
Doctor: cron repair
Doctor: cron policy scan
Doctor: legacy state migrations
Doctor: retired a2ui widgets
Doctor: relative session store
Doctor: Config repairs
Doctor: contributions
Doctor: Write config migrations
Doctor: Auth profile migration
Doctor: Chat history
Doctor: Codex session routes
Doctor: Write config
Doctor: Final config validation
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-N83Yb0: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-eqqdEr: the creating update (PID 7933) is still running
Doctor: maintenance finish
Doctor: maintenance release
[openclaw] log file append failed; records dropped; check that the path is a writable regular file; file=openclaw-2026-11-22.log
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=13312; listener=free; listener PIDs=none; health=unverified
Update recovery remains pending (update-recovery-pending). Retained state and artifacts were left for the owning updater to reconcile; automatic restart and repair were not attempted.
Update 4620542f-7df2-4fc8-b706-458a868d68dc has unfinished recovery; reconcile it before starting another update.
First failure: plugin lifecycle lease core:plugin-lifecycle/global was lost; retry the operation | OPENCLAW_STATE_LEASE_LOST | Cannot find module [redacted-path]
Run `openclaw update repair` to finish this recovery.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-eqqdEr: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): Red trace — pnpm 12.21, base, same builds, B → C run with a resolve/spawn trace preload

after B → C: `openclaw update status --json` (final run record)
{
  "update": {
    "root": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
    "installKind": "package",
    "packageManager": "pnpm",
    "deps": {
      "manager": "pnpm",
      "lockfilePath": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/pnpm-lock.yaml",
      "markerPath": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/node_modules/.modules.yaml",
      "status": "unknown",
      "reason": "lockfile missing"
    },
    "registry": {
      "latestVersion": "2026.11.10-beta.1",
      "tag": "beta"
    }
  },
  "channel": {
    "value": "beta",
    "source": "installed-version",
    "label": "beta (installed version)",
    "config": null
  },
  "availability": {
    "available": false,
    "hasGitUpdate": false,
    "hasRegistryUpdate": false,
    "latestVersion": null,
    "gitBehind": null
  },
  "serviceDefinition": {
    "drift": [],
    "warnings": []
  },
  "activeRun": {
    "runId": "4620542f-7df2-4fc8-b706-458a868d68dc",
    "createdAtMs": 1795336985889,
    "updatedAtMs": 1795337100287,
    "trigger": "cli",
    "phase": "verifying",
    "status": "running",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.3",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.3",
          "installedVersion": "2026.11.20-beta.2",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "499514b45f2b",
        "pid": 7933,
        "startIdentity": "82215106"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings."
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-m-c.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.3"
    },
    "before": {
      "version": "2026.11.20-beta.2"
    },
    "after": {},
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795336985889,
        "endedAtMs": 1795337000648
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795336985926
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349697064 bytes) needed; 349 GiB (374857826304 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 606 MiB (635828384 bytes) needed; 349 GiB (374857826304 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795337000648,
        "endedAtMs": 1795337000659
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795337000646,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795337000659,
        "endedAtMs": 1795337024833
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795337002266,
        "endedAtMs": 1795337002287,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795337002723,
        "endedAtMs": 1795337002924,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795337005904,
        "endedAtMs": 1795337017825,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795337005904,
        "endedAtMs": 1795337017825,
        "detail": "{\"entries\":47844,\"estimatedBytes\":693133312,\"inventoryMs\":5208,\"materializationMs\":5648,\"linked\":41510,\"copied\":1755}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795337019177,
        "endedAtMs": 1795337020001,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795337021807,
        "endedAtMs": 1795337022322,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/4620542f-7df2-4fc8-b706-458a868d68dc."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795337024833,
        "endedAtMs": 1795337088802
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795337026167,
        "endedAtMs": 1795337026736
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795337026892,
        "endedAtMs": 1795337027080,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795337080451,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 6c1b0b55f85919dd445c27c92f381f482d8b658acc2e5d11f2c68129bb2394e1"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 095ee6c191c7a6a1ccaf9f15b991993628ead30364386eb096784fd5b90c8606"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 fd96fbd57b19407a36aee45180c8a8b79233df7ab9e1e82d0f8e864974f9fa2a"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 9c39019783caf5ddc7bf49972419a1fac960f922a739504cbf45cced775df5ff"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Doctor interval openclaw doctor; backup ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases; from SHA-256 51188419e4064ed3468b9dd71d0bfdba58f703999ac54048da720d61871a7e51 to SHA-256 61d505dd1816962beae2a81f4096b27edff62f9a2702b32dcc38a560034a82b1."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 61d505dd1816962beae2a81f4096b27edff62f9a2702b32dcc38a560034a82b1. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 919b42a7050f7617a6d73daf13c57b1a4e58e010c154f0d64239029d9724a886"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 3c796cd9fc66979139c69c81d1a56f7ab8cc365d1ce94505f7c9d3a611e36bf3"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 6e894ae960d59c95195f57062776f187f9e7239524d3762a7c154f4c976bebdb"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 2f7565fbd463d59f0b3e4fde08c0187ebfa040c9401d6bef2a2945b06901d174"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "Automation Memory Dreaming Promotion (d3308c2e-dada-47a4-86a3-9025be7bcda0): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit d3308c2e-dada-47a4-86a3-9025be7bcda0 --model 'openai/gpt-6-astra@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.7 s, database-migrations 3.8 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.6 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.3 s, legacy-cron.execution-context 0.4 s, contributions 10.9 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.1 s, memory-search 1.4 s, workspace-status 1.1 s, plugin-registry 0.8 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795337061867,
        "endedAtMs": 1795337088398
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795337088802,
        "endedAtMs": 1795337093676
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795337088813,
        "endedAtMs": 1795337089081,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795337089091,
        "endedAtMs": 1795337093629,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795337093641,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795337093652,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-1092b439-0215-4222-8ec5-980a1cade1c6.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-1092b439-0215-4222-8ec5-980a1cade1c6.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795337093663,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "in_progress",
        "startedAtMs": 1795337093676
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795337100272
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795337100172,
        "endedAtMs": 1795337100284,
        "exitCode": 0
      }
    ],
    "verification": {
      "runningVersion": "2026.11.20-beta.3",
      "runningBuildId": "2026.11.20-beta.3-84269f3b5ee9-2026-11-22T08-03-55.145Z",
      "serviceRunning": true,
      "pid": 13312,
      "port": 39317,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795337100272,
    "finishedAtMs": null,
    "downtimeMs": null,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.3",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "lastRun": {
    "runId": "4620542f-7df2-4fc8-b706-458a868d68dc",
    "createdAtMs": 1795336985889,
    "updatedAtMs": 1795337100287,
    "trigger": "cli",
    "phase": "verifying",
    "status": "running",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.3",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.3",
          "installedVersion": "2026.11.20-beta.2",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "499514b45f2b",
        "pid": 7933,
        "startIdentity": "82215106"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings."
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-m-c.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.3"
    },
    "before": {
      "version": "2026.11.20-beta.2"
    },
    "after": {},
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795336985889,
        "endedAtMs": 1795337000648
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795336985926
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349697064 bytes) needed; 349 GiB (374857826304 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 606 MiB (635828384 bytes) needed; 349 GiB (374857826304 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795337000648,
        "endedAtMs": 1795337000659
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795337000646,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795337000659,
        "endedAtMs": 1795337024833
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795337002266,
        "endedAtMs": 1795337002287,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795337002723,
        "endedAtMs": 1795337002924,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795337005904,
        "endedAtMs": 1795337017825,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795337005904,
        "endedAtMs": 1795337017825,
        "detail": "{\"entries\":47844,\"estimatedBytes\":693133312,\"inventoryMs\":5208,\"materializationMs\":5648,\"linked\":41510,\"copied\":1755}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795337019177,
        "endedAtMs": 1795337020001,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795337021807,
        "endedAtMs": 1795337022322,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/4620542f-7df2-4fc8-b706-458a868d68dc."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795337024833,
        "endedAtMs": 1795337088802
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795337026167,
        "endedAtMs": 1795337026736
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795337026892,
        "endedAtMs": 1795337027080,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795337080451,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 6c1b0b55f85919dd445c27c92f381f482d8b658acc2e5d11f2c68129bb2394e1"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 095ee6c191c7a6a1ccaf9f15b991993628ead30364386eb096784fd5b90c8606"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 fd96fbd57b19407a36aee45180c8a8b79233df7ab9e1e82d0f8e864974f9fa2a"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795337027552,
        "endedAtMs": 1795337029505,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 9c39019783caf5ddc7bf49972419a1fac960f922a739504cbf45cced775df5ff"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Doctor interval openclaw doctor; backup ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases; from SHA-256 51188419e4064ed3468b9dd71d0bfdba58f703999ac54048da720d61871a7e51 to SHA-256 61d505dd1816962beae2a81f4096b27edff62f9a2702b32dcc38a560034a82b1."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 61d505dd1816962beae2a81f4096b27edff62f9a2702b32dcc38a560034a82b1. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-7933-1795337020237.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 919b42a7050f7617a6d73daf13c57b1a4e58e010c154f0d64239029d9724a886"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 3c796cd9fc66979139c69c81d1a56f7ab8cc365d1ce94505f7c9d3a611e36bf3"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 6e894ae960d59c95195f57062776f187f9e7239524d3762a7c154f4c976bebdb"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795337059871,
        "endedAtMs": 1795337059871,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 2f7565fbd463d59f0b3e4fde08c0187ebfa040c9401d6bef2a2945b06901d174"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "Automation Memory Dreaming Promotion (d3308c2e-dada-47a4-86a3-9025be7bcda0): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit d3308c2e-dada-47a4-86a3-9025be7bcda0 --model 'openai/gpt-6-astra@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795337033766,
        "endedAtMs": 1795337059872,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.7 s, database-migrations 3.8 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.6 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.3 s, legacy-cron.execution-context 0.4 s, contributions 10.9 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.1 s, memory-search 1.4 s, workspace-status 1.1 s, plugin-registry 0.8 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795337061867,
        "endedAtMs": 1795337088398
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795337088802,
        "endedAtMs": 1795337093676
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795337088813,
        "endedAtMs": 1795337089081,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795337089091,
        "endedAtMs": 1795337093629,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795337093641,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795337093652,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-1092b439-0215-4222-8ec5-980a1cade1c6.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-1092b439-0215-4222-8ec5-980a1cade1c6.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795337093663,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "in_progress",
        "startedAtMs": 1795337093676
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795337100272
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795337100172,
        "endedAtMs": 1795337100284,
        "exitCode": 0
      }
    ],
    "verification": {
      "runningVersion": "2026.11.20-beta.3",
      "runningBuildId": "2026.11.20-beta.3-84269f3b5ee9-2026-11-22T08-03-55.145Z",
      "serviceRunning": true,
      "pid": 13312,
      "port": 39317,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795337100272,
    "finishedAtMs": null,
    "downtimeMs": null,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.3",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "abandonedRun": {
    "runId": "4620542f-7df2-4fc8-b706-458a868d68dc",
    "rule": "inactive-driver-dead",
    "nextAction": "Run `openclaw update repair` before retrying the update."
  },
  "recoverySets": [
    {
      "runId": "4620542f-7df2-4fc8-b706-458a868d68dc",
      "manifestPath": "/home/appuser/.openclaw.update-captures/4620542f-7df2-4fc8-b706-458a868d68dc/manifest.json",
      "status": "ambiguous",
      "message": "Update recovery set /home/appuser/.openclaw.update-captures/4620542f-7df2-4fc8-b706-458a868d68dc/manifest.json: update run is running. Automatic restoration is refused; inspect with `openclaw update cleanup --dry-run`. Resolve the recorded outcome before attempting recovery.",
      "nextAction": "openclaw update cleanup --dry-run"
    }
  ]
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Green — pnpm 12.21, fixed

Cell f-pnpm12-a-f1-f2. Builds: A 795efe2 (beta.1, base) → F1 ad1e4d4 (beta.4) → F2 286a3c1 (beta.5); F1/F2 = fix 7da5940 + version bump. Exit code of the second update: 0. Container paths are from the test container (/home/appuser).

harness log
Reusing Docker image: openclaw-docker-e2e-bare:local
[2026-11-22T08:57:16.836Z] cell-start {"path":"stable","trigger":"cli","load":"busy","dbMiB":256,"rateKiB":1024,"installed":"2026.11.20-beta.1","candidateVersion":"2026.11.20-beta.4","distTags":"","channel":"","devTarget":"","repeat":false}
[2026-11-22T08:57:16.839Z] install-start {}
pnpm-version: exit=0 signal= 916ms
install: exit=0 signal= 4571ms
[2026-11-22T08:57:22.328Z] install-done {}
candidate-extract: exit=0 signal= 1886ms
candidate-pack: exit=0 signal= 6693ms
shim: exit=0 signal= 40ms
gateway-install: exit=0 signal= 3132ms
session-create: exit=0 signal= 929ms
session-inject: exit=0 signal= 659ms
[2026-11-22T08:57:44.837Z] gateway-ready {}
[2026-11-22T08:57:45.848Z] load-ready {}
before-observe-static: exit=0 signal= 6ms
before-version: exit=0 signal= 27ms
before-probe: exit=0 signal= 1388ms
before-update-status: exit=0 signal= 1899ms
before-service: exit=0 signal= 20ms
before-launcher: exit=0 signal= 89ms
[2026-11-22T08:58:04.300Z] update-start {}
update: exit=0 signal= 134004ms
[2026-11-22T09:00:18.306Z] update-end {"exitCode":0,"durationMs":134004}
[2026-11-22T09:00:18.308Z] after-settle {}
after-version: exit=0 signal= 28ms
after-probe: exit=0 signal= 1414ms
after-update-status: exit=0 signal= 1821ms
after-service: exit=0 signal= 19ms
after-launcher: exit=0 signal= 87ms
after-observe-static: exit=0 signal= 4ms
[2026-11-22T09:00:21.693Z] after-commands-start {}
cmd-3-update-to-f2: exit=0 signal= 148361ms
cmd-4-wait: exit=0 signal= 1693ms
cmd-v: exit=0 signal= 28ms
cmd-st: exit=0 signal= 1818ms
cmd-sj: exit=0 signal= 1721ms
cmd-gs: exit=0 signal= 1702ms
[2026-11-22T09:02:57.020Z] after-commands-end {}
after-commands-version: exit=0 signal= 26ms
after-commands-probe: exit=0 signal= 1316ms
after-commands-update-status: exit=0 signal= 1691ms
after-commands-service: exit=0 signal= 17ms
after-commands-launcher: exit=0 signal= 82ms
after-commands-observe-static: exit=0 signal= 4ms
stop-service: exit=0 signal= 603ms

F1 → F2: `openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-f2.tgz` — stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-tIhl5b: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[update/retained-runtime] Runtime retention attempt 1/1: preparing the running updater
[update/retained-runtime] runtime retention attempt 1/1: dependency inventory
[update/retained-runtime] runtime retention attempt 1/1: materializing 47845 entries (693272576 estimated bytes) after 5740ms inventory
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299998ms. Last observation: resolving the previous Gateway port and installed version
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299985ms. Last observation: checking service and listener identity on port 44675
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299691ms. Last observation: checking Gateway HTTP healthz and readyz endpoints
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299673ms. Last observation: checking service command ownership of the previous installation
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: contributions (10s elapsed)
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
┌  OpenClaw doctor
/home/appuser/.openclaw/state/openclaw.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
│
◇  Startup optimization ────────────────────────────────────────────────╮
│                                                                       │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on  │
│    small hosts (Raspberry Pi/VM).                                     │
│  - NODE_DISABLE_COMPILE_CACHE is set; startup compile cache is        │
│    disabled.                                                          │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it when you want routine  │
│    gateway restarts to stay in-process instead of handing off to a    │
│    managed supervisor.                                                │
│  - Suggested env for low-power hosts:                                 │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache          │
│    mkdir -p /var/tmp/openclaw-compile-cache                           │
│    export OPENCLAW_NO_RESPAWN=1                                       │
│    unset NODE_DISABLE_COMPILE_CACHE                                   │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯
│
◇  Update history ────────────────────────────────────────────────────────╮
│                                                                         │
│  Recorded warnings from update 8175d0c0-0ab2-44fd-976b-885c8ee62349 (a  │
│  later repair may have resolved them):                                  │
│  Model retirement deferred until configured plugin installation         │
│  converges.                                                             │
│  Automation Memory Dreaming Promotion                                   │
│  (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not      │
│  migrated: No model is configured. Choose one in Settings → Models,     │
│  send `/model <provider/model>` in chat, or run `openclaw models set    │
│  <provider/model>`. Inspect available accounts with openclaw models     │
│  auth list --agent main, then explicitly adopt the intended stored      │
│  account with openclaw automations edit                                 │
│  411c98f5-f76c-4b7b-964d-6deb221d9f48 --model                           │
│  '<provider/model>@<profileId>'.                                        │
│  core/doctor/security: WARNING: openclaw.json contains plaintext        │
│  secret-bearing config fields.                                          │
│                                                                         │
├─────────────────────────────────────────────────────────────────────────╯
[state/agent-db] agent database clean-close receipt: written; agent=main
│
◇  Updater runtimes ───────────────────────────────────────────────────────╮
│                                                                          │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-IYqEvE: the creating       │
│  update (PID 7867) is still running                                      │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-tIhl5b: Could not inspect  │
│  OpenClaw processes: Error: Host process visibility cannot be            │
│  established from this container. Run Doctor on the host after stopping  │
│  OpenClaw containers that share its temporary directory.                 │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  Doctor complete.
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state write admission
Doctor: stale update runs
Doctor: state migrations import
Doctor: state dir migrations
Doctor: legacy config migration
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: state schema
Doctor: retired state repair
Doctor: session entry state
Doctor: plugin plan import
Doctor: plugin plan
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: cron repair import
Doctor: cron repair
Doctor: cron policy scan
Doctor: legacy state migrations
Doctor: retired a2ui widgets
Doctor: relative session store
Doctor: Config repairs
Doctor: contributions
Doctor: Write config migrations
Doctor: Auth profile migration
Doctor: Chat history
Doctor: Codex session routes
Doctor: Write config
Doctor: Final config validation
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-IYqEvE: the creating update (PID 7867) is still running
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-tIhl5b: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
Doctor: maintenance finish
Doctor: maintenance release
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=13157; listener=free; listener PIDs=none; health=unverified
Service membership unverifiable on this host; using managed stop/update/start.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-IYqEvE: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): Green — pnpm 12.21, fixed

F1 → F2: same command — stdout (JSON result)
{
  "status": "ok",
  "mode": "pnpm",
  "root": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
  "before": {
    "version": "2026.11.20-beta.4",
    "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
  },
  "after": {
    "version": "2026.11.20-beta.5",
    "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 13318,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":47845,\"estimatedBytes\":693272576,\"inventoryMs\":5740,\"materializationMs\":6453,\"linked\":41511,\"copied\":1755}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2180,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.",
        "/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 b1d409ede334b6130f2fbe99410a0622ea047cc3716ec1eea4409f4b080aeb5b",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 77ec33afca2c2ed7e75a112343a93d97f5c5a14387cf17c8313768fe6545920a",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 388f0522fd3118eb2ed6e6403ae1991b54ddb603893cdd93d9ebe834f0573bbb",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 7b155a3324dd06a0bfc21f5634a980c2ce72b1ec5f3711cfad56150df9645247"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "pnpm add -g --allow-build=openclaw openclaw@file:/tmp/um-input/extra/openclaw-f2.tgz --config.global-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L --config.global-bin-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L.bin-0AlzjB",
      "durationMs": 2782,
      "exitCode": 0,
      "stdoutTail": ".../v11/20e6-18ea526e83033a72-0          | Progress: resolved 0, reused 1, downloaded 0, added 0\nPackages are hard linked from the content-addressable store to the virtual store.\n  Content-addressable store is at: /home/appuser/um/pnpm-home/store/v11\n  Virtual store is at:             home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/20e6-18ea526e83033a72-0/node_modules/.pnpm\n[WARN] 1 deprecated subdependencies found: [email protected]\nDownloading file:../../../../../../../tmp/um-input/extra/openclaw-f2.tgz: 0.00 B/116.83 MB\n.../v11/20e6-18ea526e83033a72-0          | Progress: resolved 359, reused 361, downloaded 1, added 358\n.../v11/20e6-18ea526e83033a72-0          | Progress: resolved 359, reused 361, downloaded 1, added 359, done\nIgnored build scripts: @google/[email protected], [email protected], openclaw@file:../../../../../../../tmp/um-input/extra/openclaw-f2.tgz, [email protected].\nRun \"pnpm approve-builds\" to pick which dependencies should be allowed to run scripts.\n\ndependencies:\n+ openclaw 2026.11.20-beta.5\n\nDone in 2.7s using pnpm v12.21.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L"
    },
    {
      "name": "pnpm-package-preinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/preinstall-package-manager-warning.mjs",
      "durationMs": 21,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "pnpm-package-postinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/postinstall-bundled-plugins.mjs",
      "durationMs": 215,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 889,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/pnpm-home/.openclaw-update-native-u5bg0L/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw -> /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "cwd": "/home/appuser/um/pnpm-home",
      "durationMs": 41885,
      "exitCode": 0,
      "stdoutTail": "replaced openclaw; published by an atomic exchange (perl)",
      "stderrTail": null
    },
    {
      "name": "openclaw doctor",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "durationMs": 26701,
      "exitCode": 0,
      "stdoutTail": "…                     │\n│  Schedule versioned backups with openclaw backup enable --repository  │\n│  <dir>.                                                               │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Doctor warnings ─────────────────────────────────────────────────────╮\n│                                                                       │\n│  Automation Memory Dreaming Promotion                                 │\n│  (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not    │\n│  migrated: No model is configured. Choose one in Settings → Models,   │\n│  send `/model <provider/model>` in chat, or run `openclaw models set  │\n│  <provider/model>`. Inspect available accounts with openclaw models   │\n│  auth list --agent main, then explicitly adopt the intended stored    │\n│  account with openclaw automations edit                               │\n│  411c98f5-f76c-4b7b-964d-6deb221d9f48 --model                         │\n│  '<provider/model>@<profileId>'.                                      │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Host desktop ────────────────────────────────────────────────────╮\n│                                                                   │\n│  disabled; enable the Desktop lab with desktop.host.enabled=true  │\n│                                                                   │\n├───────────────────────────────────────────────────────────────────╯\n│\n◇  Gateway ─────────────────────────────────────────────╮\n│                                                       │\n│  Gateway health will be checked after Doctor repair.  │\n│                                                       │\n├───────────────────────────────────────────────────────╯\n│\n◇  Security ─────────────────────────────────────────────────────────────╮\n│                                                                        │\n│  - WARNING: openclaw.json contains plaintext secret-bearing config     │\n│    fields.                                                             │\n│    Migrate them to SecretRefs with openclaw secrets configure or       │\n│    openclaw secrets apply, then verify with openclaw secrets audit     │\n│    --check.                                                            │\n│    Paths: gateway.auth.token                                           │\n│    Agents or workspace tools that can read config files may see these  │\n│    API keys/tokens.                                                    │\n│  - Run: openclaw security audit --deep                                 │\n│                                                                        │\n├────────────────────────────────────────────────────────────────────────╯\n│\n◇  Skills ─────────────────────────────────────────────────────────────────╮\n│                                                                          │\n│  32 allowed skills are not usable in this environment (missing           │\n│  binaries, env vars, or config).                                         │\n│  - 1password, blogwatcher, blucli, camsnap, coding-agent, eightctl,      │\n│    gemini, gh-issues, gifgrep, github, gog, goplaces, himalaya,          │\n│    mcporter, model-usage, nano-pdf, notion, obsidian, openai-whisper,    │\n│    openai-whisper-api, openhue, oracle, ordercli, sag, sherpa-onnx-tts,  │\n│    songsee, sonoscli, spotify-player, summarize, tmux, trello, xurl      │\n│  Missing local binaries may exist on paired nodes; these skills remain   │\n│  enabled.                                                                │\n│  Disable unused skills: openclaw doctor --fix                            │\n│  Inspect details: openclaw skills check --agent <id> or openclaw skills  │\n│  info <name> --agent <id>                                                │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Remember across conversations is effectively enabled for agent \"main\",  │\n│  but the Active Memory plugin is disabled. Set                           │\n│  plugins.entries.active-memory.enabled=true, or set                      │\n│  memory.search.rememberAcrossConversations to false.                     │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Memory search provider is set to \"openai\" but no API key was found.     │\n│  Without working primary or fallback embeddings, memory sync stops for   │\n│  explicitly configured providers or existing vector indexes; new and     │\n│  changed memory files are not indexed.                                   │\n│                                                                          │\n│                                                                          │\n│  Fix (pick one):                                                         │\n│  - Set OPENAI_API_KEY in your environment                                │\n│  - Configure credentials: openclaw configure --section model             │\n│  - For keyword-only recall without a key, set memory.search.provider to  │\n│    \"none\" for this agent (including any agent override), then run        │\n│    openclaw memory index --force --agent main                            │\n│                                                                          │\n│  Then rerun: openclaw doctor                                             │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ─────────────────────────────────╮\n│                                                 │\n│  Dreaming: enabled (cadence 0 3 * * *).         │\n│  Last recorded dreaming run: none recorded.     │\n│  Next scheduled run: 2026-11-23T03:00:00.000Z.  │\n│                                                 │\n├─────────────────────────────────────────────────╯\nDeferred advisory inspections until the restarted Gateway is ready: core/doctor/database-engine, core/doctor/claude-cli, core/doctor/command-owner, core/doctor/default-account-routing, core/doctor/oauth-tls, core/doctor/hooks-model, core/doctor/legacy-output-cap, core/doctor/model-references, core/doctor/acp-agent-model, core/doctor/provider-catalog-projection, core/doctor/local-audio-acceleration, core/doctor/runtime-tool-schemas, core/doctor/whatsapp-responsiveness. The updater runs their `openclaw doctor --lint` checks after restart.\n│\n◇  Updater runtimes ───────────────────────────────────────────────────────╮\n│                                                                          │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-IYqEvE: the creating       │\n│  update (PID 7867) is still running                                      │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-tIhl5b: Could not inspect  │\n│  OpenClaw processes: Error: Host process visibility cannot be            │\n│  established from this container. Run Doctor on the host after stopping  │\n│  OpenClaw containers that share its temporary directory.                 │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n└  Doctor complete.",
      "stderrTail": "Doctor: Update schema admission\nDoctor: startup\nDoctor: maintenance begin\nDoctor: Preserve original state\nDoctor: schema admission\nDoctor: state database repair\nDoctor: database migrations\nDoctor: heartbeat migration backups\nDoctor: state schema\nDoctor: Agent deletion journal\nDoctor: UI protocol\nDoctor: Source install\nDoctor: CLI launcher\nDoctor: Plugin runtime links\nDoctor: config flow\nDoctor: state write admission\nDoctor: stale update runs\nDoctor: state migrations import\nDoctor: state dir migrations\nDoctor: legacy config migration\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: state schema\nDoctor: retired state repair\nDoctor: session entry state\nDoctor: plugin plan import\nDoctor: plugin plan\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: cron repair import\nDoctor: cron repair\nDoctor: cron policy scan\nDoctor: legacy state migrations\nDoctor: retired a2ui widgets\nDoctor: relative session store\nDoctor: Config repairs\nDoctor: contributions\nDoctor: Write config migrations\nDoctor: Agent database admission\nDoctor: core/doctor/agent-database-admission: check\nDoctor: Native helpers and child pipes\nDoctor: core/doctor/appcontainer-spawn: check\nDoctor: core/doctor/native-status: check\nDoctor: Node runtime\nDoctor: Runtime capabilities\nDoctor: Gateway config\nDoctor: Auth profile migration\nDoctor: Gateway auth\nDoctor: Node hosting preconditions\nDoctor: core/doctor/node-hosting-preconditions: check\nDoctor: Legacy state\nDoctor: core/doctor/removed-workspaces-state: check\nDoctor: core/doctor/session-archive-read-cache: check\nDoctor: Chat history\nDoctor: Agent memory schema\nDoctor: Legacy plugin manifests\nDoctor: Legacy plugin dependencies\nDoctor: Stale plugin runtime symlinks\nDoctor: Configured plugin repair\nDoctor: Plugin registry\nDoctor: Legacy plugin captures\nDoctor: Updater runtimes\nDoctor: UI protocol freshness\nDoctor: Stale runtime build\nDoctor: core/doctor/stale-runtime-build: check\nDoctor: Disk space\nDoctor: State integrity\nDoctor: Codex session routes\nDoctor: Telegram General-topic conversations\nDoctor: core/doctor/telegram-general-topic-conversations: check\nDoctor: Chat history headers\nDoctor: Chat history labels\nDoctor: Config audit\nDoctor: Legacy cron\nDoctor: Sandbox\nDoctor: Gateway services\nDoctor: Host desktop\nDoctor: Channel package-state capabilities\nDoctor: core/doctor/channel-package-state-capabilities: check\nDoctor: Startup channel maintenance\nDoctor: Browser\nDoctor: systemd linger\nDoctor: Workspace alias\nDoctor: Memory provenance\nDoctor: Heartbeat cadence migration\nDoctor: Heartbeat scratch migration\nDoctor: TOOLS.md migration\nDoctor: Heartbeat task cron migration\nDoctor: Shell completion\nDoctor: Gateway health\nDoctor: Device pairing\nDoctor: Gateway daemon\nDoctor: Auth profiles\nDoctor: Gmail Gog\nDoctor: core/doctor/gmail-gog: check\nDoctor: Plugin health inspection and repair\nDoctor: openai/daybreak-alias-retirement: check\nDoctor: skill-workshop/tool-policy: check\nDoctor: Channel ingress dead letters\nDoctor: Session snapshots\nDoctor: Security\nDoctor: Web fetch proxy\nDoctor: Bundle LSP environment\nDoctor: Skill Workshop tool policy\nDoctor: Workspace status\nDoctor: Skills\nDoctor: Memory search\nDoctor: contributions (10s elapsed)\nDoctor: Write config\nDoctor: Final config validation\nDoctor: external config\nDoctor: maintenance ready\nDoctor: sqlite reclamation\nDoctor: retained runtimes\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-IYqEvE: the creating update (PID 7867) is still running\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-tIhl5b: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.\nDoctor: maintenance finish\nDoctor: maintenance release\nModel retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 411c98f5-f76c-4b7b-964d-6deb221d9f48 --model '<provider/model>@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.\nPost-install doctor reported a recoverable update-time repair warning after the package install was verified; continuing with post-core plugin convergence.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.1 s, schema-admission 0.0 s, state-database-repair 0.7 s, database-migrations 4.0 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.8 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.2 s, legacy-cron.execution-context 0.4 s, contributions 10.8 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.4 s, workspace-status 1.1 s, plugin-registry 0.7 s"
      ],
      "deferredInspectionCheckIds": [
        "core/doctor/database-engine",
        "core/doctor/claude-cli",
        "core/doctor/command-owner",
        "core/doctor/default-account-routing",
        "core/doctor/oauth-tls",
        "core/doctor/hooks-model",
        "core/doctor/legacy-output-cap",
        "core/doctor/model-references",
        "core/doctor/acp-agent-model",
        "core/doctor/provider-catalog-projection",
        "core/doctor/local-audio-acceleration",
        "core/doctor/runtime-tool-schemas",
        "core/doctor/whatsapp-responsiveness"
      ],
      "warnings": [
        "Automation Memory Dreaming Promotion (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 411c98f5-f76c-4b7b-964d-6deb221d9f48 --model '<provider/model>@<profileId>'.",
        "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      ],
      "advisory": {
        "kind": "package-post-install-doctor",
        "message": "Automation Memory Dreaming Promotion (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 411c98f5-f76c-4b7b-964d-6deb221d9f48 --model '<provider/model>@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases; from SHA-256 c1fba8994991abcd369c73064a4d1e46f6c687f208da9b530246e469d8d1d5b2 to SHA-256 995d597e505a8bc37a0aeafe2667991eaecc0fd56851d078a41a1911f6b1bcb2.",
        "Post-migration write inventory: 4 databases; SHA-256 995d597e505a8bc37a0aeafe2667991eaecc0fd56851d078a41a1911f6b1bcb2. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 394ec358bcc47e7741269738a6f28eb3d6dbd8bf0478c3e4cb27de87486080ba",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 7bf7bae760a069e997975cb3d00a1fda278dfd5bd491af4c8a753d18093388f3",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 17bde3291289a934b4eed4d0be6cd3e3a25a4fbb413920ed0446b32a2fcafbcb",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; aee696508831513f09ca88f54f938e6eaa76f8bfc4cbb5e2ae6d83d46eb024b8"
      ]
    },
    {
      "name": "post-stop-checks",
      "command": "recheck schemas, published artifacts and candidate configuration",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 198,
      "exitCode": 0
    },
    {
      "name": "post-plugin doctor",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 18583,
      "exitCode": 0,
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.8 s, contributions 3.7 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      ],
      "deferredInspectionCheckIds": []
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases; from SHA-256 fda2375add94c6ea8e5f9ec98c41bc6ba04fe3f9d22a0ca31ffc6d283d3de88c to SHA-256 856852d9c3b8060769b565bb09c17fae52371c5bba45523b33fe47ba6fc1908c.",
        "Post-migration write inventory: 4 databases; SHA-256 856852d9c3b8060769b565bb09c17fae52371c5bba45523b33fe47ba6fc1908c. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 394ec358bcc47e7741269738a6f28eb3d6dbd8bf0478c3e4cb27de87486080ba",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 7bf7bae760a069e997975cb3d00a1fda278dfd5bd491af4c8a753d18093388f3",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 17bde3291289a934b4eed4d0be6cd3e3a25a4fbb413920ed0446b32a2fcafbcb",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; c72a974a71ce9f3b8effa990043f9cd6c994edbf14f68ad7f02e322503455927"
      ]
    },
    {
      "name": "finalize:plugins:0",
      "command": "openclaw plugins update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "managed-service-executor-check",
      "command": "openclaw gateway install --update-executor check --json",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 314,
      "exitCode": 0
    },
    {
      "name": "managed-service-install",
      "command": "openclaw gateway install --force --port 44675 --json",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 4611,
      "exitCode": 0
    },
    {
      "name": "managed-service-reconciliation",
      "command": "openclaw gateway install --force",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "warnings": [
        "Refreshed Gateway service definition. Backup: /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-ed719523-3354-4976-b027-3b65587a9fb7.bak, /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-ed719523-3354-4976-b027-3b65587a9fb7.receipt.bak",
        "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      ]
    },
    {
      "name": "gateway verification",
      "command": "gateway verification",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 16,
      "exitCode": 0
    },
    {
      "name": "post-update-maintenance-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 1739,
      "exitCode": 0
    },
    {
      "name": "plugin-cohort-commit-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 902,
      "exitCode": 0
    },
    {
      "name": "managed-service-membership",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "Service membership unverifiable on this host; using managed stop/update/start."
      }
    },
    {
      "name": "post-plugin-doctor-lint",
      "command": "doctor --lint --json --severity-min error",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 2213,
      "exitCode": 0,
      "doctorLintFindings": [
        {
          "checkId": "core/doctor/security",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
          "severity": "warning",
          "requirement": "config.plaintext_secrets"
        }
      ],
      "termination": "exit",
      "signal": null,
      "killed": false,
      "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
    },
    {
      "name": "package-backup-retention",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 20641,
      "exitCode": 0
    },
    {
      "name": "recovery-artifact-cleanup",
      "command": "openclaw update cleanup",
      "cwd": "",
      "durationMs": 1157,
      "exitCode": 0,
      "diagnostics": [
        "Update backup cleanup removed 1 item (281665643 logical bytes, 269 MiB).",
        "Removed /home/appuser/.openclaw.update-captures/8175d0c0-0ab2-44fd-976b-885c8ee62349 (281665643 logical bytes, 269 MiB)."
      ]
    }
  ],
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.20-beta.5"
  },
  "localOverrides": {
    "status": "none",
    "added": 0,
    "modified": 0,
    "deleted": 0,
    "applied": 0,
    "conflicts": [],
    "warnings": []
  },
  "durationMs": 146116,
  "runId": "8175d0c0-0ab2-44fd-976b-885c8ee62349",
  "postUpdate": {
    "plugins": {
      "status": "warning",
      "changed": false,
      "warnings": [
        {
          "reason": "doctor-advisory",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "guidance": [
            "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.\nPaths: gateway.auth.token\nAgents or workspace tools that can read config files may see these API keys/tokens."
          ]
        }
      ],
      "sync": {
        "changed": false,
        "switchedToBundled": [],
        "switchedToNpm": [],
        "warnings": [],
        "errors": []
      },
      "npm": {
        "changed": false,
        "outcomes": []
      },
      "integrityDrifts": [],
      "doctorLint": {
        "name": "post-plugin-doctor-lint",
        "command": "doctor --lint --json --severity-min error",
        "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
        "durationMs": 2213,
        "exitCode": 0,
        "doctorLintFindings": [
          {
            "checkId": "core/doctor/security",
            "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
            "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
            "severity": "warning",
            "requirement": "config.plaintext_secrets"
          }
        ],
        "termination": "exit",
        "signal": null,
        "killed": false,
        "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
      }
    }
  },
  "run": {
    "runId": "8175d0c0-0ab2-44fd-976b-885c8ee62349",
    "createdAtMs": 1795338024776,
    "updatedAtMs": 1795338168780,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.5",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.5",
          "installedVersion": "2026.11.20-beta.4",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "2c55f5b7cf99",
        "pid": 7867,
        "startIdentity": "82319144"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-f2.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.5"
    },
    "before": {
      "version": "2026.11.20-beta.4",
      "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
    },
    "after": {
      "version": "2026.11.20-beta.5",
      "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795338024776,
        "endedAtMs": 1795338041115
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795338024822
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349672344 bytes) needed; 343 GiB (367816921088 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 606 MiB (635778944 bytes) needed; 343 GiB (367816921088 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795338041115,
        "endedAtMs": 1795338041129
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795338041112,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795338041129,
        "endedAtMs": 1795338068159
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795338042917,
        "endedAtMs": 1795338042938,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795338043393,
        "endedAtMs": 1795338043608,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338046754,
        "endedAtMs": 1795338060072,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338046754,
        "endedAtMs": 1795338060072,
        "detail": "{\"entries\":47845,\"estimatedBytes\":693272576,\"inventoryMs\":5740,\"materializationMs\":6453,\"linked\":41511,\"copied\":1755}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795338061590,
        "endedAtMs": 1795338062479,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795338064454,
        "endedAtMs": 1795338064985,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/8175d0c0-0ab2-44fd-976b-885c8ee62349."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795338068159,
        "endedAtMs": 1795338133660
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795338069537,
        "endedAtMs": 1795338070091
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795338070271,
        "endedAtMs": 1795338070469,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795338125151,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 b1d409ede334b6130f2fbe99410a0622ea047cc3716ec1eea4409f4b080aeb5b"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 77ec33afca2c2ed7e75a112343a93d97f5c5a14387cf17c8313768fe6545920a"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 388f0522fd3118eb2ed6e6403ae1991b54ddb603893cdd93d9ebe834f0573bbb"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 7b155a3324dd06a0bfc21f5634a980c2ce72b1ec5f3711cfad56150df9645247"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases; from SHA-256 fda2375add94c6ea8e5f9ec98c41bc6ba04fe3f9d22a0ca31ffc6d283d3de88c to SHA-256 856852d9c3b8060769b565bb09c17fae52371c5bba45523b33fe47ba6fc1908c."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 856852d9c3b8060769b565bb09c17fae52371c5bba45523b33fe47ba6fc1908c. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 394ec358bcc47e7741269738a6f28eb3d6dbd8bf0478c3e4cb27de87486080ba"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 7bf7bae760a069e997975cb3d00a1fda278dfd5bd491af4c8a753d18093388f3"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 17bde3291289a934b4eed4d0be6cd3e3a25a4fbb413920ed0446b32a2fcafbcb"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; c72a974a71ce9f3b8effa990043f9cd6c994edbf14f68ad7f02e322503455927"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "Automation Memory Dreaming Promotion (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 411c98f5-f76c-4b7b-964d-6deb221d9f48 --model '<provider/model>@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.1 s, schema-admission 0.0 s, state-database-repair 0.7 s, database-migrations 4.0 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.8 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.2 s, legacy-cron.execution-context 0.4 s, contributions 10.8 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.4 s, workspace-status 1.1 s, plugin-registry 0.7 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795338106680,
        "endedAtMs": 1795338133251
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795338133660,
        "endedAtMs": 1795338138667
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795338133674,
        "endedAtMs": 1795338133988,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795338134005,
        "endedAtMs": 1795338138616,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795338138628,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795338138640,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-ed719523-3354-4976-b027-3b65587a9fb7.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-ed719523-3354-4976-b027-3b65587a9fb7.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795338138651,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795338138667,
        "endedAtMs": 1795338168780
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795338145002
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795338144991,
        "endedAtMs": 1795338145007,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.8 s, contributions 3.7 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281665643 logical bytes, 269 MiB)."
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup:2",
        "status": "completed",
        "detail": "Removed /home/appuser/.openclaw.update-captures/8175d0c0-0ab2-44fd-976b-885c8ee62349 (281665643 logical bytes, 269 MiB)."
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.5"
      },
      "runningVersion": "2026.11.20-beta.5",
      "runningBuildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z",
      "serviceRunning": true,
      "pid": 13157,
      "port": 44675,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795338145002,
    "finishedAtMs": 1795338168780,
    "downtimeMs": 75470,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.5",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "reportPath": "/home/appuser/.openclaw/update-reports/8175d0c0-0ab2-44fd-976b-885c8ee62349.md"
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): Green — pnpm 12.21, fixed

after F1 → F2: `openclaw update status --json` (final run record)
{
  "update": {
    "root": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
    "installKind": "package",
    "packageManager": "pnpm",
    "deps": {
      "manager": "pnpm",
      "lockfilePath": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/pnpm-lock.yaml",
      "markerPath": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/node_modules/.modules.yaml",
      "status": "unknown",
      "reason": "lockfile missing"
    },
    "registry": {
      "latestVersion": "2026.11.10-beta.1",
      "tag": "beta"
    }
  },
  "channel": {
    "value": "beta",
    "source": "installed-version",
    "label": "beta (installed version)",
    "config": null
  },
  "availability": {
    "available": false,
    "hasGitUpdate": false,
    "hasRegistryUpdate": false,
    "latestVersion": null,
    "gitBehind": null
  },
  "serviceDefinition": {
    "drift": [],
    "warnings": []
  },
  "lastRun": {
    "runId": "8175d0c0-0ab2-44fd-976b-885c8ee62349",
    "createdAtMs": 1795338024776,
    "updatedAtMs": 1795338169961,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.5",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.5",
          "installedVersion": "2026.11.20-beta.4",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "2c55f5b7cf99",
        "pid": 7867,
        "startIdentity": "82319144"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-f2.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.5"
    },
    "before": {
      "version": "2026.11.20-beta.4",
      "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
    },
    "after": {
      "version": "2026.11.20-beta.5",
      "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795338024776,
        "endedAtMs": 1795338041115
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795338024822
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349672344 bytes) needed; 343 GiB (367816921088 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 606 MiB (635778944 bytes) needed; 343 GiB (367816921088 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795338041115,
        "endedAtMs": 1795338041129
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795338041112,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795338041129,
        "endedAtMs": 1795338068159
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795338042917,
        "endedAtMs": 1795338042938,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795338043393,
        "endedAtMs": 1795338043608,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338046754,
        "endedAtMs": 1795338060072,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338046754,
        "endedAtMs": 1795338060072,
        "detail": "{\"entries\":47845,\"estimatedBytes\":693272576,\"inventoryMs\":5740,\"materializationMs\":6453,\"linked\":41511,\"copied\":1755}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795338061590,
        "endedAtMs": 1795338062479,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795338064454,
        "endedAtMs": 1795338064985,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/8175d0c0-0ab2-44fd-976b-885c8ee62349."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795338068159,
        "endedAtMs": 1795338133660
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795338069537,
        "endedAtMs": 1795338070091
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795338070271,
        "endedAtMs": 1795338070469,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795338125151,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 b1d409ede334b6130f2fbe99410a0622ea047cc3716ec1eea4409f4b080aeb5b"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 77ec33afca2c2ed7e75a112343a93d97f5c5a14387cf17c8313768fe6545920a"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 388f0522fd3118eb2ed6e6403ae1991b54ddb603893cdd93d9ebe834f0573bbb"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795338070972,
        "endedAtMs": 1795338073152,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 7b155a3324dd06a0bfc21f5634a980c2ce72b1ec5f3711cfad56150df9645247"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases; from SHA-256 fda2375add94c6ea8e5f9ec98c41bc6ba04fe3f9d22a0ca31ffc6d283d3de88c to SHA-256 856852d9c3b8060769b565bb09c17fae52371c5bba45523b33fe47ba6fc1908c."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 856852d9c3b8060769b565bb09c17fae52371c5bba45523b33fe47ba6fc1908c. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-7867-1795338062737.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 394ec358bcc47e7741269738a6f28eb3d6dbd8bf0478c3e4cb27de87486080ba"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 7bf7bae760a069e997975cb3d00a1fda278dfd5bd491af4c8a753d18093388f3"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 17bde3291289a934b4eed4d0be6cd3e3a25a4fbb413920ed0446b32a2fcafbcb"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795338104620,
        "endedAtMs": 1795338104620,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; c72a974a71ce9f3b8effa990043f9cd6c994edbf14f68ad7f02e322503455927"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "Automation Memory Dreaming Promotion (411c98f5-f76c-4b7b-964d-6deb221d9f48): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 411c98f5-f76c-4b7b-964d-6deb221d9f48 --model '<provider/model>@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338077919,
        "endedAtMs": 1795338104620,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.1 s, schema-admission 0.0 s, state-database-repair 0.7 s, database-migrations 4.0 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.8 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.2 s, legacy-cron.execution-context 0.4 s, contributions 10.8 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.4 s, workspace-status 1.1 s, plugin-registry 0.7 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795338106680,
        "endedAtMs": 1795338133251
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795338133660,
        "endedAtMs": 1795338138667
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795338133674,
        "endedAtMs": 1795338133988,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795338134005,
        "endedAtMs": 1795338138616,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795338138628,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795338138640,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-ed719523-3354-4976-b027-3b65587a9fb7.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-ed719523-3354-4976-b027-3b65587a9fb7.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795338138651,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795338138667,
        "endedAtMs": 1795338168780
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795338145002
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795338144991,
        "endedAtMs": 1795338145007,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.8 s, contributions 3.7 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281665643 logical bytes, 269 MiB)."
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "endedAtMs": 1795338169902,
        "exitCode": 0
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.5"
      },
      "runningVersion": "2026.11.20-beta.5",
      "runningBuildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z",
      "serviceRunning": true,
      "pid": 13157,
      "port": 44675,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795338145002,
    "finishedAtMs": 1795338168780,
    "downtimeMs": 75470,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.5",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "recoverySets": []
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Green — pnpm 11.28.13, fixed

Cell f-pnpm11-a-f1-f2. Builds: same A/F1/F2 builds as the pnpm 12 green cell. Exit code of the second update: 0. Container paths are from the test container (/home/appuser).

harness log
Reusing Docker image: openclaw-docker-e2e-bare:local
[2026-11-22T09:12:09.547Z] cell-start {"path":"stable","trigger":"cli","load":"busy","dbMiB":256,"rateKiB":1024,"installed":"2026.11.20-beta.1","candidateVersion":"2026.11.20-beta.4","distTags":"","channel":"","devTarget":"","repeat":false}
[2026-11-22T09:12:09.549Z] install-start {}
pnpm-pin: exit=0 signal= 744ms
pnpm-version: exit=0 signal= 387ms
install: exit=0 signal= 5325ms
[2026-11-22T09:12:16.007Z] install-done {}
candidate-extract: exit=0 signal= 1919ms
candidate-pack: exit=0 signal= 6784ms
shim: exit=0 signal= 42ms
gateway-install: exit=0 signal= 3273ms
session-create: exit=0 signal= 983ms
session-inject: exit=0 signal= 635ms
[2026-11-22T09:12:38.159Z] gateway-ready {}
[2026-11-22T09:12:39.168Z] load-ready {}
before-observe-static: exit=0 signal= 6ms
before-version: exit=0 signal= 32ms
before-probe: exit=0 signal= 1462ms
before-update-status: exit=0 signal= 1943ms
before-service: exit=0 signal= 19ms
before-launcher: exit=0 signal= 523ms
[2026-11-22T09:12:58.175Z] update-start {}
update: exit=0 signal= 120146ms
[2026-11-22T09:14:58.323Z] update-end {"exitCode":0,"durationMs":120146}
[2026-11-22T09:14:58.325Z] after-settle {}
after-version: exit=0 signal= 29ms
after-probe: exit=0 signal= 1298ms
after-update-status: exit=0 signal= 1642ms
after-service: exit=0 signal= 17ms
after-launcher: exit=0 signal= 602ms
after-observe-static: exit=0 signal= 5ms
[2026-11-22T09:15:01.928Z] after-commands-start {}
cmd-3-update-to-f2: exit=0 signal= 143179ms
cmd-4-wait: exit=0 signal= 1648ms
cmd-v: exit=0 signal= 28ms
cmd-st: exit=0 signal= 1751ms
cmd-sj: exit=0 signal= 1698ms
cmd-gs: exit=0 signal= 1707ms
[2026-11-22T09:17:31.942Z] after-commands-end {}
after-commands-version: exit=0 signal= 26ms
after-commands-probe: exit=0 signal= 1279ms
after-commands-update-status: exit=0 signal= 1672ms
after-commands-service: exit=0 signal= 18ms
after-commands-launcher: exit=0 signal= 490ms
after-commands-observe-static: exit=0 signal= 5ms
stop-service: exit=0 signal= 493ms

F1 → F2: `openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-f2.tgz` — stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-5BsMbb: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[update/retained-runtime] Runtime retention attempt 1/1: preparing the running updater
[update/retained-runtime] runtime retention attempt 1/1: dependency inventory
[update/retained-runtime] runtime retention attempt 1/1: materializing 47844 entries (693194752 estimated bytes) after 4992ms inventory
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299998ms. Last observation: resolving the previous Gateway port and installed version
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299986ms. Last observation: checking service and listener identity on port 43057
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299710ms. Last observation: checking Gateway HTTP healthz and readyz endpoints
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299691ms. Last observation: checking service command ownership of the previous installation
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: contributions (10s elapsed)
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
┌  OpenClaw doctor
/home/appuser/.openclaw/state/openclaw.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
│
◇  Startup optimization ────────────────────────────────────────────────╮
│                                                                       │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on  │
│    small hosts (Raspberry Pi/VM).                                     │
│  - NODE_DISABLE_COMPILE_CACHE is set; startup compile cache is        │
│    disabled.                                                          │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it when you want routine  │
│    gateway restarts to stay in-process instead of handing off to a    │
│    managed supervisor.                                                │
│  - Suggested env for low-power hosts:                                 │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache          │
│    mkdir -p /var/tmp/openclaw-compile-cache                           │
│    export OPENCLAW_NO_RESPAWN=1                                       │
│    unset NODE_DISABLE_COMPILE_CACHE                                   │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯
│
◇  Update history ────────────────────────────────────────────────────────╮
│                                                                         │
│  Recorded warnings from update ebe4d5ef-b8a2-4c91-9e64-6c460368a854 (a  │
│  later repair may have resolved them):                                  │
│  Model retirement deferred until configured plugin installation         │
│  converges.                                                             │
│  Automation Memory Dreaming Promotion                                   │
│  (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not      │
│  migrated: No model is configured. Choose one in Settings → Models,     │
│  send `/model <provider/model>` in chat, or run `openclaw models set    │
│  <provider/model>`. Inspect available accounts with openclaw models     │
│  auth list --agent main, then explicitly adopt the intended stored      │
│  account with openclaw automations edit                                 │
│  83d0738c-8fd1-4193-b819-b80faab4372b --model                           │
│  '<provider/model>@<profileId>'.                                        │
│  core/doctor/security: WARNING: openclaw.json contains plaintext        │
│  secret-bearing config fields.                                          │
│                                                                         │
├─────────────────────────────────────────────────────────────────────────╯
[state/agent-db] agent database clean-close receipt: written; agent=main
│
◇  Updater runtimes ───────────────────────────────────────────────────────╮
│                                                                          │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-5BsMbb: Could not inspect  │
│  OpenClaw processes: Error: Host process visibility cannot be            │
│  established from this container. Run Doctor on the host after stopping  │
│  OpenClaw containers that share its temporary directory.                 │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-gJhfIs: the creating       │
│  update (PID 7317) is still running                                      │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  Doctor complete.
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state write admission
Doctor: stale update runs
Doctor: state migrations import
Doctor: state dir migrations
Doctor: legacy config migration
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: state schema
Doctor: retired state repair
Doctor: session entry state
Doctor: plugin plan import
Doctor: plugin plan
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: cron repair import
Doctor: cron repair
Doctor: cron policy scan
Doctor: legacy state migrations
Doctor: retired a2ui widgets
Doctor: relative session store
Doctor: Config repairs
Doctor: contributions
Doctor: Write config migrations
Doctor: Auth profile migration
Doctor: Chat history
Doctor: Codex session routes
Doctor: Write config
Doctor: Final config validation
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-5BsMbb: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-gJhfIs: the creating update (PID 7317) is still running
Doctor: maintenance finish
Doctor: maintenance release
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=12280; listener=free; listener PIDs=none; health=unverified
Service membership unverifiable on this host; using managed stop/update/start.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-gJhfIs: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): Green — pnpm 11.28.13, fixed

F1 → F2: same command — stdout (JSON result)
{
  "status": "ok",
  "mode": "pnpm",
  "root": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
  "before": {
    "version": "2026.11.20-beta.4",
    "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
  },
  "after": {
    "version": "2026.11.20-beta.5",
    "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 11559,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":47844,\"estimatedBytes\":693194752,\"inventoryMs\":4992,\"materializationMs\":5532,\"linked\":41510,\"copied\":1755}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2104,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.",
        "/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 0245256b1480d0c3c5d9dfe7210cf05b750b28559346312ec3eef938f06d20ac",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 6918d6814d052d63b3ec6597bbfe18d108d413cd6961e4577ba0c39cf345389e",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 7ff219014d3fd33f29865f7e85118e7b894d996788866a18a882edf6ac7dfb65",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 c57d17d7311b71ff1bf973758f55a9aeca631cb3f3147062b25b67872ba2f112"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "/home/appuser/um/pnpm-home/bin/pnpm add -g --allow-build=openclaw openclaw@file:/tmp/um-input/extra/openclaw-f2.tgz --config.global-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt --config.global-bin-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt.bin-Or5kLK",
      "durationMs": 4516,
      "exitCode": 0,
      "stdoutTail": "Progress: resolved 0, reused 1, downloaded 0, added 0\n[WARN] 1 deprecated subdependencies found: [email protected]\nPackages: +359\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nPackages are cloned from the content-addressable store to the virtual store.\n  Content-addressable store is at: /home/appuser/um/pnpm-home/store/v11\n  Virtual store is at:             v11/1e33-1a20289d1e3-c03e62f5bff4ddb8/.pnpm\nProgress: resolved 434, reused 359, downloaded 0, added 335\nProgress: resolved 434, reused 359, downloaded 0, added 359, done\n\nglobal:\n+ openclaw 2026.11.20-beta.5\n\nDone in 4.4s using pnpm v11.28.13",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt"
    },
    {
      "name": "pnpm-package-preinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw/scripts/preinstall-package-manager-warning.mjs",
      "durationMs": 21,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw"
    },
    {
      "name": "pnpm-package-postinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw/scripts/postinstall-bundled-plugins.mjs",
      "durationMs": 199,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 776,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/pnpm-home/.openclaw-update-native-sS0UCt/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw -> /home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "cwd": "/home/appuser/um/pnpm-home",
      "durationMs": 39880,
      "exitCode": 0,
      "stdoutTail": "replaced openclaw; published by an atomic exchange (perl)",
      "stderrTail": null
    },
    {
      "name": "openclaw doctor",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "durationMs": 25745,
      "exitCode": 0,
      "stdoutTail": "…                     │\n│  Schedule versioned backups with openclaw backup enable --repository  │\n│  <dir>.                                                               │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Doctor warnings ─────────────────────────────────────────────────────╮\n│                                                                       │\n│  Automation Memory Dreaming Promotion                                 │\n│  (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not    │\n│  migrated: No model is configured. Choose one in Settings → Models,   │\n│  send `/model <provider/model>` in chat, or run `openclaw models set  │\n│  <provider/model>`. Inspect available accounts with openclaw models   │\n│  auth list --agent main, then explicitly adopt the intended stored    │\n│  account with openclaw automations edit                               │\n│  83d0738c-8fd1-4193-b819-b80faab4372b --model                         │\n│  '<provider/model>@<profileId>'.                                      │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Host desktop ────────────────────────────────────────────────────╮\n│                                                                   │\n│  disabled; enable the Desktop lab with desktop.host.enabled=true  │\n│                                                                   │\n├───────────────────────────────────────────────────────────────────╯\n│\n◇  Gateway ─────────────────────────────────────────────╮\n│                                                       │\n│  Gateway health will be checked after Doctor repair.  │\n│                                                       │\n├───────────────────────────────────────────────────────╯\n│\n◇  Security ─────────────────────────────────────────────────────────────╮\n│                                                                        │\n│  - WARNING: openclaw.json contains plaintext secret-bearing config     │\n│    fields.                                                             │\n│    Migrate them to SecretRefs with openclaw secrets configure or       │\n│    openclaw secrets apply, then verify with openclaw secrets audit     │\n│    --check.                                                            │\n│    Paths: gateway.auth.token                                           │\n│    Agents or workspace tools that can read config files may see these  │\n│    API keys/tokens.                                                    │\n│  - Run: openclaw security audit --deep                                 │\n│                                                                        │\n├────────────────────────────────────────────────────────────────────────╯\n│\n◇  Skills ─────────────────────────────────────────────────────────────────╮\n│                                                                          │\n│  32 allowed skills are not usable in this environment (missing           │\n│  binaries, env vars, or config).                                         │\n│  - 1password, blogwatcher, blucli, camsnap, coding-agent, eightctl,      │\n│    gemini, gh-issues, gifgrep, github, gog, goplaces, himalaya,          │\n│    mcporter, model-usage, nano-pdf, notion, obsidian, openai-whisper,    │\n│    openai-whisper-api, openhue, oracle, ordercli, sag, sherpa-onnx-tts,  │\n│    songsee, sonoscli, spotify-player, summarize, tmux, trello, xurl      │\n│  Missing local binaries may exist on paired nodes; these skills remain   │\n│  enabled.                                                                │\n│  Disable unused skills: openclaw doctor --fix                            │\n│  Inspect details: openclaw skills check --agent <id> or openclaw skills  │\n│  info <name> --agent <id>                                                │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Remember across conversations is effectively enabled for agent \"main\",  │\n│  but the Active Memory plugin is disabled. Set                           │\n│  plugins.entries.active-memory.enabled=true, or set                      │\n│  memory.search.rememberAcrossConversations to false.                     │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Memory search provider is set to \"openai\" but no API key was found.     │\n│  Without working primary or fallback embeddings, memory sync stops for   │\n│  explicitly configured providers or existing vector indexes; new and     │\n│  changed memory files are not indexed.                                   │\n│                                                                          │\n│                                                                          │\n│  Fix (pick one):                                                         │\n│  - Set OPENAI_API_KEY in your environment                                │\n│  - Configure credentials: openclaw configure --section model             │\n│  - For keyword-only recall without a key, set memory.search.provider to  │\n│    \"none\" for this agent (including any agent override), then run        │\n│    openclaw memory index --force --agent main                            │\n│                                                                          │\n│  Then rerun: openclaw doctor                                             │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ─────────────────────────────────╮\n│                                                 │\n│  Dreaming: enabled (cadence 0 3 * * *).         │\n│  Last recorded dreaming run: none recorded.     │\n│  Next scheduled run: 2026-11-23T03:00:00.000Z.  │\n│                                                 │\n├─────────────────────────────────────────────────╯\nDeferred advisory inspections until the restarted Gateway is ready: core/doctor/database-engine, core/doctor/claude-cli, core/doctor/command-owner, core/doctor/default-account-routing, core/doctor/oauth-tls, core/doctor/hooks-model, core/doctor/legacy-output-cap, core/doctor/model-references, core/doctor/acp-agent-model, core/doctor/provider-catalog-projection, core/doctor/local-audio-acceleration, core/doctor/runtime-tool-schemas, core/doctor/whatsapp-responsiveness. The updater runs their `openclaw doctor --lint` checks after restart.\n│\n◇  Updater runtimes ───────────────────────────────────────────────────────╮\n│                                                                          │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-5BsMbb: Could not inspect  │\n│  OpenClaw processes: Error: Host process visibility cannot be            │\n│  established from this container. Run Doctor on the host after stopping  │\n│  OpenClaw containers that share its temporary directory.                 │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-gJhfIs: the creating       │\n│  update (PID 7317) is still running                                      │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n└  Doctor complete.",
      "stderrTail": "Doctor: Update schema admission\nDoctor: startup\nDoctor: maintenance begin\nDoctor: Preserve original state\nDoctor: schema admission\nDoctor: state database repair\nDoctor: database migrations\nDoctor: heartbeat migration backups\nDoctor: state schema\nDoctor: Agent deletion journal\nDoctor: UI protocol\nDoctor: Source install\nDoctor: CLI launcher\nDoctor: Plugin runtime links\nDoctor: config flow\nDoctor: state write admission\nDoctor: stale update runs\nDoctor: state migrations import\nDoctor: state dir migrations\nDoctor: legacy config migration\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: state schema\nDoctor: retired state repair\nDoctor: session entry state\nDoctor: plugin plan import\nDoctor: plugin plan\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: cron repair import\nDoctor: cron repair\nDoctor: cron policy scan\nDoctor: legacy state migrations\nDoctor: retired a2ui widgets\nDoctor: relative session store\nDoctor: Config repairs\nDoctor: contributions\nDoctor: Write config migrations\nDoctor: Agent database admission\nDoctor: core/doctor/agent-database-admission: check\nDoctor: Native helpers and child pipes\nDoctor: core/doctor/appcontainer-spawn: check\nDoctor: core/doctor/native-status: check\nDoctor: Node runtime\nDoctor: Runtime capabilities\nDoctor: Gateway config\nDoctor: Auth profile migration\nDoctor: Gateway auth\nDoctor: Node hosting preconditions\nDoctor: core/doctor/node-hosting-preconditions: check\nDoctor: Legacy state\nDoctor: core/doctor/removed-workspaces-state: check\nDoctor: core/doctor/session-archive-read-cache: check\nDoctor: Chat history\nDoctor: Agent memory schema\nDoctor: Legacy plugin manifests\nDoctor: Legacy plugin dependencies\nDoctor: Stale plugin runtime symlinks\nDoctor: Configured plugin repair\nDoctor: Plugin registry\nDoctor: Legacy plugin captures\nDoctor: Updater runtimes\nDoctor: UI protocol freshness\nDoctor: Stale runtime build\nDoctor: core/doctor/stale-runtime-build: check\nDoctor: Disk space\nDoctor: State integrity\nDoctor: Codex session routes\nDoctor: Telegram General-topic conversations\nDoctor: core/doctor/telegram-general-topic-conversations: check\nDoctor: Chat history headers\nDoctor: Chat history labels\nDoctor: Config audit\nDoctor: Legacy cron\nDoctor: Sandbox\nDoctor: Gateway services\nDoctor: Host desktop\nDoctor: Channel package-state capabilities\nDoctor: core/doctor/channel-package-state-capabilities: check\nDoctor: Startup channel maintenance\nDoctor: Browser\nDoctor: systemd linger\nDoctor: Workspace alias\nDoctor: Memory provenance\nDoctor: Heartbeat cadence migration\nDoctor: Heartbeat scratch migration\nDoctor: TOOLS.md migration\nDoctor: Heartbeat task cron migration\nDoctor: Shell completion\nDoctor: Gateway health\nDoctor: Device pairing\nDoctor: Gateway daemon\nDoctor: Auth profiles\nDoctor: Gmail Gog\nDoctor: core/doctor/gmail-gog: check\nDoctor: Plugin health inspection and repair\nDoctor: openai/daybreak-alias-retirement: check\nDoctor: skill-workshop/tool-policy: check\nDoctor: Channel ingress dead letters\nDoctor: Session snapshots\nDoctor: Security\nDoctor: Web fetch proxy\nDoctor: Bundle LSP environment\nDoctor: Skill Workshop tool policy\nDoctor: Workspace status\nDoctor: Skills\nDoctor: Memory search\nDoctor: contributions (10s elapsed)\nDoctor: Write config\nDoctor: Final config validation\nDoctor: external config\nDoctor: maintenance ready\nDoctor: sqlite reclamation\nDoctor: retained runtimes\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-5BsMbb: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-gJhfIs: the creating update (PID 7317) is still running\nDoctor: maintenance finish\nDoctor: maintenance release\nModel retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 83d0738c-8fd1-4193-b819-b80faab4372b --model '<provider/model>@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.\nPost-install doctor reported a recoverable update-time repair warning after the package install was verified; continuing with post-core plugin convergence.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.7 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.6 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.1 s, legacy-cron.execution-context 0.4 s, contributions 10.6 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.4 s, workspace-status 1.0 s, plugin-registry 0.7 s"
      ],
      "deferredInspectionCheckIds": [
        "core/doctor/database-engine",
        "core/doctor/claude-cli",
        "core/doctor/command-owner",
        "core/doctor/default-account-routing",
        "core/doctor/oauth-tls",
        "core/doctor/hooks-model",
        "core/doctor/legacy-output-cap",
        "core/doctor/model-references",
        "core/doctor/acp-agent-model",
        "core/doctor/provider-catalog-projection",
        "core/doctor/local-audio-acceleration",
        "core/doctor/runtime-tool-schemas",
        "core/doctor/whatsapp-responsiveness"
      ],
      "warnings": [
        "Automation Memory Dreaming Promotion (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 83d0738c-8fd1-4193-b819-b80faab4372b --model '<provider/model>@<profileId>'.",
        "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      ],
      "advisory": {
        "kind": "package-post-install-doctor",
        "message": "Automation Memory Dreaming Promotion (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 83d0738c-8fd1-4193-b819-b80faab4372b --model '<provider/model>@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases; from SHA-256 c80ba1f0bba8a017906e81a253b2c03321511440bf8a8fa13ac0ba5fd33b6417 to SHA-256 26a3aff17b1c3bd0466b2f041e640600869bd5e2b0f8139aac8fa57dd1589664.",
        "Post-migration write inventory: 4 databases; SHA-256 26a3aff17b1c3bd0466b2f041e640600869bd5e2b0f8139aac8fa57dd1589664. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 6822028c88e9d8267fd58d378137045273240a1908f6e9f261153f9ae0f9cec6",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 058e82f68591688dd224d6f3002c6aa36b0ab51a86067013487e1054566a079e",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 01f07ac48ac97a9bffa5cd2eb01c124a5e1255d2f6a6769b0894ae7fbe5c8a7a",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 93a523162a3bc5d2290dfcab447eabd28106c2c163711d32b30fe332b3ac8caa"
      ]
    },
    {
      "name": "post-stop-checks",
      "command": "recheck schemas, published artifacts and candidate configuration",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 173,
      "exitCode": 0
    },
    {
      "name": "post-plugin doctor",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 18359,
      "exitCode": 0,
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.9 s, contributions 3.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      ],
      "deferredInspectionCheckIds": []
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases; from SHA-256 3b21d492459f9b9ebc8ea5da87ce023f0f168cbeb31e206ccd6288235453ae10 to SHA-256 5ff8a4e539154ac017538a2088a0b777ba1f4f4a2e116c40c6fa0c459c8c462c.",
        "Post-migration write inventory: 4 databases; SHA-256 5ff8a4e539154ac017538a2088a0b777ba1f4f4a2e116c40c6fa0c459c8c462c. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 6822028c88e9d8267fd58d378137045273240a1908f6e9f261153f9ae0f9cec6",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 058e82f68591688dd224d6f3002c6aa36b0ab51a86067013487e1054566a079e",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 01f07ac48ac97a9bffa5cd2eb01c124a5e1255d2f6a6769b0894ae7fbe5c8a7a",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 185d9cce4ec8d288071e68f1a20b1ca4fb477a11f9b783fbb791d9d8315053d5"
      ]
    },
    {
      "name": "finalize:plugins:0",
      "command": "openclaw plugins update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "managed-service-executor-check",
      "command": "openclaw gateway install --update-executor check --json",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 263,
      "exitCode": 0
    },
    {
      "name": "managed-service-install",
      "command": "openclaw gateway install --force --port 43057 --json",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 4568,
      "exitCode": 0
    },
    {
      "name": "managed-service-reconciliation",
      "command": "openclaw gateway install --force",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "warnings": [
        "Refreshed Gateway service definition. Backup: /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-4f4dd585-f231-4c92-9627-770a902930bd.bak, /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-4f4dd585-f231-4c92-9627-770a902930bd.receipt.bak",
        "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      ]
    },
    {
      "name": "gateway verification",
      "command": "gateway verification",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 15,
      "exitCode": 0
    },
    {
      "name": "post-update-maintenance-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 1692,
      "exitCode": 0
    },
    {
      "name": "plugin-cohort-commit-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 817,
      "exitCode": 0
    },
    {
      "name": "managed-service-membership",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "Service membership unverifiable on this host; using managed stop/update/start."
      }
    },
    {
      "name": "post-plugin-doctor-lint",
      "command": "doctor --lint --json --severity-min error",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 2145,
      "exitCode": 0,
      "doctorLintFindings": [
        {
          "checkId": "core/doctor/security",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
          "severity": "warning",
          "requirement": "config.plaintext_secrets"
        }
      ],
      "termination": "exit",
      "signal": null,
      "killed": false,
      "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
    },
    {
      "name": "package-backup-retention",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
      "durationMs": 19765,
      "exitCode": 0
    },
    {
      "name": "recovery-artifact-cleanup",
      "command": "openclaw update cleanup",
      "cwd": "",
      "durationMs": 1144,
      "exitCode": 0,
      "diagnostics": [
        "Update backup cleanup removed 1 item (281665640 logical bytes, 269 MiB).",
        "Removed /home/appuser/.openclaw.update-captures/ebe4d5ef-b8a2-4c91-9e64-6c460368a854 (281665640 logical bytes, 269 MiB)."
      ]
    }
  ],
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.20-beta.5"
  },
  "localOverrides": {
    "status": "none",
    "added": 0,
    "modified": 0,
    "deleted": 0,
    "applied": 0,
    "conflicts": [],
    "warnings": []
  },
  "durationMs": 140992,
  "runId": "ebe4d5ef-b8a2-4c91-9e64-6c460368a854",
  "postUpdate": {
    "plugins": {
      "status": "warning",
      "changed": false,
      "warnings": [
        {
          "reason": "doctor-advisory",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "guidance": [
            "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.\nPaths: gateway.auth.token\nAgents or workspace tools that can read config files may see these API keys/tokens."
          ]
        }
      ],
      "sync": {
        "changed": false,
        "switchedToBundled": [],
        "switchedToNpm": [],
        "warnings": [],
        "errors": []
      },
      "npm": {
        "changed": false,
        "outcomes": []
      },
      "integrityDrifts": [],
      "doctorLint": {
        "name": "post-plugin-doctor-lint",
        "command": "doctor --lint --json --severity-min error",
        "cwd": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
        "durationMs": 2145,
        "exitCode": 0,
        "doctorLintFindings": [
          {
            "checkId": "core/doctor/security",
            "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
            "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
            "severity": "warning",
            "requirement": "config.plaintext_secrets"
          }
        ],
        "termination": "exit",
        "signal": null,
        "killed": false,
        "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
      }
    }
  },
  "run": {
    "runId": "ebe4d5ef-b8a2-4c91-9e64-6c460368a854",
    "createdAtMs": 1795338904861,
    "updatedAtMs": 1795339043864,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.5",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.5",
          "installedVersion": "2026.11.20-beta.4",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "ec096ce4e7ce",
        "pid": 7317,
        "startIdentity": "82407168"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-f2.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.5"
    },
    "before": {
      "version": "2026.11.20-beta.4",
      "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
    },
    "after": {
      "version": "2026.11.20-beta.5",
      "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795338904861,
        "endedAtMs": 1795338922460
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795338904897
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349672344 bytes) needed; 342 GiB (367689347072 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 606 MiB (635778944 bytes) needed; 342 GiB (367689347072 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795338922460,
        "endedAtMs": 1795338922471
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795338922458,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795338922471,
        "endedAtMs": 1795338946437
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795338924041,
        "endedAtMs": 1795338924062,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795338924485,
        "endedAtMs": 1795338924684,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338927547,
        "endedAtMs": 1795338939106,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338927547,
        "endedAtMs": 1795338939106,
        "detail": "{\"entries\":47844,\"estimatedBytes\":693194752,\"inventoryMs\":4992,\"materializationMs\":5532,\"linked\":41510,\"copied\":1755}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795338940492,
        "endedAtMs": 1795338941268,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795338943070,
        "endedAtMs": 1795338943569,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/ebe4d5ef-b8a2-4c91-9e64-6c460368a854."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795338946437,
        "endedAtMs": 1795339009811
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795338947698,
        "endedAtMs": 1795338948247
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795338948407,
        "endedAtMs": 1795338948580,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795339001639,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 0245256b1480d0c3c5d9dfe7210cf05b750b28559346312ec3eef938f06d20ac"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 6918d6814d052d63b3ec6597bbfe18d108d413cd6961e4577ba0c39cf345389e"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 7ff219014d3fd33f29865f7e85118e7b894d996788866a18a882edf6ac7dfb65"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 c57d17d7311b71ff1bf973758f55a9aeca631cb3f3147062b25b67872ba2f112"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases; from SHA-256 3b21d492459f9b9ebc8ea5da87ce023f0f168cbeb31e206ccd6288235453ae10 to SHA-256 5ff8a4e539154ac017538a2088a0b777ba1f4f4a2e116c40c6fa0c459c8c462c."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 5ff8a4e539154ac017538a2088a0b777ba1f4f4a2e116c40c6fa0c459c8c462c. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 6822028c88e9d8267fd58d378137045273240a1908f6e9f261153f9ae0f9cec6"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 058e82f68591688dd224d6f3002c6aa36b0ab51a86067013487e1054566a079e"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 01f07ac48ac97a9bffa5cd2eb01c124a5e1255d2f6a6769b0894ae7fbe5c8a7a"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 185d9cce4ec8d288071e68f1a20b1ca4fb477a11f9b783fbb791d9d8315053d5"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "Automation Memory Dreaming Promotion (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 83d0738c-8fd1-4193-b819-b80faab4372b --model '<provider/model>@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.7 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.6 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.1 s, legacy-cron.execution-context 0.4 s, contributions 10.6 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.4 s, workspace-status 1.0 s, plugin-registry 0.7 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795338983356,
        "endedAtMs": 1795339009407
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795339009811,
        "endedAtMs": 1795339014709
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795339009823,
        "endedAtMs": 1795339010086,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795339010096,
        "endedAtMs": 1795339014664,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339014675,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339014685,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-4f4dd585-f231-4c92-9627-770a902930bd.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-4f4dd585-f231-4c92-9627-770a902930bd.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795339014696,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795339014709,
        "endedAtMs": 1795339043864
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795339021094
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795339021085,
        "endedAtMs": 1795339021100,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.9 s, contributions 3.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281665640 logical bytes, 269 MiB)."
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup:2",
        "status": "completed",
        "detail": "Removed /home/appuser/.openclaw.update-captures/ebe4d5ef-b8a2-4c91-9e64-6c460368a854 (281665640 logical bytes, 269 MiB)."
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.5"
      },
      "runningVersion": "2026.11.20-beta.5",
      "runningBuildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z",
      "serviceRunning": true,
      "pid": 12280,
      "port": 43057,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795339021094,
    "finishedAtMs": 1795339043864,
    "downtimeMs": 73402,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.5",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "reportPath": "/home/appuser/.openclaw/update-reports/ebe4d5ef-b8a2-4c91-9e64-6c460368a854.md"
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): Green — pnpm 11.28.13, fixed

after F1 → F2: `openclaw update status --json` (final run record)
{
  "update": {
    "root": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw",
    "installKind": "package",
    "packageManager": "pnpm",
    "deps": {
      "manager": "pnpm",
      "lockfilePath": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw/pnpm-lock.yaml",
      "markerPath": "/home/appuser/um/pnpm-home/global/v11/9440847f31ae67d8c48706e55e28b2d7951bdcae39bbfc7734211e587eb76376/node_modules/openclaw/node_modules/.modules.yaml",
      "status": "unknown",
      "reason": "lockfile missing"
    },
    "registry": {
      "latestVersion": "2026.11.10-beta.1",
      "tag": "beta"
    }
  },
  "channel": {
    "value": "beta",
    "source": "installed-version",
    "label": "beta (installed version)",
    "config": null
  },
  "availability": {
    "available": false,
    "hasGitUpdate": false,
    "hasRegistryUpdate": false,
    "latestVersion": null,
    "gitBehind": null
  },
  "serviceDefinition": {
    "drift": [],
    "warnings": []
  },
  "lastRun": {
    "runId": "ebe4d5ef-b8a2-4c91-9e64-6c460368a854",
    "createdAtMs": 1795338904861,
    "updatedAtMs": 1795339045023,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.5",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.5",
          "installedVersion": "2026.11.20-beta.4",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "ec096ce4e7ce",
        "pid": 7317,
        "startIdentity": "82407168"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-f2.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.5"
    },
    "before": {
      "version": "2026.11.20-beta.4",
      "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
    },
    "after": {
      "version": "2026.11.20-beta.5",
      "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795338904861,
        "endedAtMs": 1795338922460
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795338904897
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349672344 bytes) needed; 342 GiB (367689347072 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 606 MiB (635778944 bytes) needed; 342 GiB (367689347072 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795338922460,
        "endedAtMs": 1795338922471
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795338922458,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795338922471,
        "endedAtMs": 1795338946437
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795338924041,
        "endedAtMs": 1795338924062,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795338924485,
        "endedAtMs": 1795338924684,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338927547,
        "endedAtMs": 1795338939106,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795338927547,
        "endedAtMs": 1795338939106,
        "detail": "{\"entries\":47844,\"estimatedBytes\":693194752,\"inventoryMs\":4992,\"materializationMs\":5532,\"linked\":41510,\"copied\":1755}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795338940492,
        "endedAtMs": 1795338941268,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795338943070,
        "endedAtMs": 1795338943569,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/ebe4d5ef-b8a2-4c91-9e64-6c460368a854."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795338946437,
        "endedAtMs": 1795339009811
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795338947698,
        "endedAtMs": 1795338948247
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795338948407,
        "endedAtMs": 1795338948580,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795339001639,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 0245256b1480d0c3c5d9dfe7210cf05b750b28559346312ec3eef938f06d20ac"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 6918d6814d052d63b3ec6597bbfe18d108d413cd6961e4577ba0c39cf345389e"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 7ff219014d3fd33f29865f7e85118e7b894d996788866a18a882edf6ac7dfb65"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795338949056,
        "endedAtMs": 1795338951160,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 c57d17d7311b71ff1bf973758f55a9aeca631cb3f3147062b25b67872ba2f112"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases; from SHA-256 3b21d492459f9b9ebc8ea5da87ce023f0f168cbeb31e206ccd6288235453ae10 to SHA-256 5ff8a4e539154ac017538a2088a0b777ba1f4f4a2e116c40c6fa0c459c8c462c."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 5ff8a4e539154ac017538a2088a0b777ba1f4f4a2e116c40c6fa0c459c8c462c. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-7317-1795338941500.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 6822028c88e9d8267fd58d378137045273240a1908f6e9f261153f9ae0f9cec6"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 058e82f68591688dd224d6f3002c6aa36b0ab51a86067013487e1054566a079e"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 01f07ac48ac97a9bffa5cd2eb01c124a5e1255d2f6a6769b0894ae7fbe5c8a7a"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795338981379,
        "endedAtMs": 1795338981379,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 185d9cce4ec8d288071e68f1a20b1ca4fb477a11f9b783fbb791d9d8315053d5"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "Automation Memory Dreaming Promotion (83d0738c-8fd1-4193-b819-b80faab4372b): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 83d0738c-8fd1-4193-b819-b80faab4372b --model '<provider/model>@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795338955635,
        "endedAtMs": 1795338981380,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.7 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.6 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.1 s, legacy-cron.execution-context 0.4 s, contributions 10.6 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, legacy-cron 2.0 s, memory-search 1.4 s, workspace-status 1.0 s, plugin-registry 0.7 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795338983356,
        "endedAtMs": 1795339009407
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795339009811,
        "endedAtMs": 1795339014709
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795339009823,
        "endedAtMs": 1795339010086,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795339010096,
        "endedAtMs": 1795339014664,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339014675,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339014685,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-4f4dd585-f231-4c92-9627-770a902930bd.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-4f4dd585-f231-4c92-9627-770a902930bd.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795339014696,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795339014709,
        "endedAtMs": 1795339043864
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795339021094
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795339021085,
        "endedAtMs": 1795339021100,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.9 s, contributions 3.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.9 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281665640 logical bytes, 269 MiB)."
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "endedAtMs": 1795339044963,
        "exitCode": 0
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.5"
      },
      "runningVersion": "2026.11.20-beta.5",
      "runningBuildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z",
      "serviceRunning": true,
      "pid": 12280,
      "port": 43057,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795339021094,
    "finishedAtMs": 1795339043864,
    "downtimeMs": 73402,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.5",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "recoverySets": []
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: npm — fixed, unchanged behavior

Cell f-npm-a-f1-f2. Builds: same A/F1/F2 builds. Exit code of the second update: 0. Container paths are from the test container (/home/appuser).

harness log
Reusing Docker image: openclaw-docker-e2e-bare:local
[2026-11-22T09:19:17.705Z] cell-start {"path":"stable","trigger":"cli","load":"busy","dbMiB":256,"rateKiB":1024,"installed":"2026.11.20-beta.1","candidateVersion":"2026.11.20-beta.4","distTags":"","channel":"","devTarget":"","repeat":false}
[2026-11-22T09:19:17.706Z] install-start {}
install: exit=0 signal= 25273ms
[2026-11-22T09:19:42.980Z] install-done {}
candidate-extract: exit=0 signal= 1815ms
candidate-pack: exit=0 signal= 6409ms
shim: exit=0 signal= 35ms
gateway-install: exit=0 signal= 2462ms
session-create: exit=0 signal= 869ms
session-inject: exit=0 signal= 594ms
[2026-11-22T09:20:02.545Z] gateway-ready {}
[2026-11-22T09:20:03.554Z] load-ready {}
before-observe-static: exit=1 signal= 4ms
before-version: exit=0 signal= 25ms
before-probe: exit=0 signal= 1203ms
before-update-status: exit=0 signal= 1630ms
before-service: exit=0 signal= 18ms
[2026-11-22T09:20:21.455Z] update-start {}
update: exit=0 signal= 164067ms
[2026-11-22T09:23:05.523Z] update-end {"exitCode":0,"durationMs":164067}
[2026-11-22T09:23:05.525Z] after-settle {}
after-version: exit=0 signal= 26ms
after-probe: exit=0 signal= 1230ms
after-update-status: exit=0 signal= 1634ms
after-service: exit=0 signal= 18ms
after-observe-static: exit=1 signal= 4ms
[2026-11-22T09:23:08.444Z] after-commands-start {}
cmd-3-update-to-f2: exit=0 signal= 162769ms
cmd-4-wait: exit=0 signal= 1612ms
cmd-v: exit=0 signal= 25ms
cmd-st: exit=0 signal= 1666ms
cmd-sj: exit=0 signal= 1704ms
cmd-gs: exit=0 signal= 1596ms
[2026-11-22T09:25:57.823Z] after-commands-end {}
after-commands-version: exit=0 signal= 26ms
after-commands-probe: exit=0 signal= 1217ms
after-commands-update-status: exit=0 signal= 1627ms
after-commands-service: exit=0 signal= 18ms
after-commands-observe-static: exit=1 signal= 3ms
stop-service: exit=0 signal= 487ms

F1 → F2: `openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-f2.tgz` — stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vd5JPq: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[update/retained-runtime] Runtime retention attempt 1/1: preparing the running updater
[update/retained-runtime] runtime retention attempt 1/1: dependency inventory
[update/retained-runtime] runtime retention attempt 1/1: materializing 46212 entries (697032704 estimated bytes) after 4386ms inventory
Package publication recovery: /usr/local/bin/node /home/appuser/um/npm/lib/node_modules/.openclaw.package-activation-c45104f37122cde1597028c8.control/recovery.mjs --anchor /home/appuser/um/npm/lib/node_modules/.openclaw.package-activation-c45104f37122cde1597028c8 --operation 64f49a41-3486-4189-80a7-232440c8d572 status
Keep other package managers stopped; repair may republish a missing installation. Recovery does not restart or verify the Gateway.
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299998ms. Last observation: resolving the previous Gateway port and installed version
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299986ms. Last observation: checking service and listener identity on port 41963
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299707ms. Last observation: checking Gateway HTTP healthz and readyz endpoints
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299690ms. Last observation: checking service command ownership of the previous installation
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
┌  OpenClaw doctor
/home/appuser/.openclaw/state/openclaw.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
│
◇  Startup optimization ────────────────────────────────────────────────╮
│                                                                       │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on  │
│    small hosts (Raspberry Pi/VM).                                     │
│  - NODE_DISABLE_COMPILE_CACHE is set; startup compile cache is        │
│    disabled.                                                          │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it when you want routine  │
│    gateway restarts to stay in-process instead of handing off to a    │
│    managed supervisor.                                                │
│  - Suggested env for low-power hosts:                                 │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache          │
│    mkdir -p /var/tmp/openclaw-compile-cache                           │
│    export OPENCLAW_NO_RESPAWN=1                                       │
│    unset NODE_DISABLE_COMPILE_CACHE                                   │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯
│
◇  Update history ────────────────────────────────────────────────────────╮
│                                                                         │
│  Recorded warnings from update 211e856f-e8a1-4024-a64a-ffdb0ec71aa5 (a  │
│  later repair may have resolved them):                                  │
│  Model retirement deferred until configured plugin installation         │
│  converges.                                                             │
│  Automation Memory Dreaming Promotion                                   │
│  (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not      │
│  migrated: No model is configured. Choose one in Settings → Models,     │
│  send `/model <provider/model>` in chat, or run `openclaw models set    │
│  <provider/model>`. Inspect available accounts with openclaw models     │
│  auth list --agent main, then explicitly adopt the intended stored      │
│  account with openclaw automations edit                                 │
│  466b880e-8c4f-4756-bf23-a074773338f9 --model                           │
│  '<provider/model>@<profileId>'.                                        │
│  core/doctor/security: WARNING: openclaw.json contains plaintext        │
│  secret-bearing config fields.                                          │
│                                                                         │
├─────────────────────────────────────────────────────────────────────────╯
[state/agent-db] agent database clean-close receipt: written; agent=main
│
◇  Updater runtimes ───────────────────────────────────────────────────────╮
│                                                                          │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-ScCrEn: the creating       │
│  update (PID 7210) is still running                                      │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-vd5JPq: Could not inspect  │
│  OpenClaw processes: Error: Host process visibility cannot be            │
│  established from this container. Run Doctor on the host after stopping  │
│  OpenClaw containers that share its temporary directory.                 │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  Doctor complete.
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state write admission
Doctor: stale update runs
Doctor: state migrations import
Doctor: state dir migrations
Doctor: legacy config migration
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: state schema
Doctor: retired state repair
Doctor: session entry state
Doctor: plugin plan import
Doctor: plugin plan
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: cron repair import
Doctor: cron repair
Doctor: cron policy scan
Doctor: legacy state migrations
Doctor: retired a2ui widgets
Doctor: relative session store
Doctor: Config repairs
Doctor: contributions
Doctor: Write config migrations
Doctor: Auth profile migration
Doctor: Chat history
Doctor: Codex session routes
Doctor: Write config
Doctor: Final config validation
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-ScCrEn: the creating update (PID 7210) is still running
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vd5JPq: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
Doctor: maintenance finish
Doctor: maintenance release
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=12188; listener=free; listener PIDs=none; health=unverified
Service membership unverifiable on this host; using managed stop/update/start.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-ScCrEn: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): npm — fixed, unchanged behavior

F1 → F2: same command — stdout (JSON result)
{
  "status": "ok",
  "mode": "npm",
  "root": "/home/appuser/um/npm/lib/node_modules/openclaw",
  "before": {
    "version": "2026.11.20-beta.4",
    "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
  },
  "after": {
    "version": "2026.11.20-beta.5",
    "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 8552,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":46212,\"estimatedBytes\":697032704,\"inventoryMs\":4386,\"materializationMs\":3319,\"linked\":41632,\"copied\":1684}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2052,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.",
        "/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 7e18244621a1868526dffe2f0781cd9afdcc684c17fd712bc4eb5befce3fa390",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 d6632380fd8f4361e841b9004c325cc0f018fe1be0c87fa03dde2d41561ab57e",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 99f01481946be5c1d7f2c1e33dcfde96d0b43ec3f583bfa18ce868794514a05b",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3383296 bytes; SHA-256 5a71b3b4b8e269d26fed1e8bcfff5e1a975f7202b76d7a3923d17253183e56a8"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "npm i -g --allow-scripts=/tmp/um-input/extra/openclaw-f2.tgz --prefix /home/appuser/um/npm/lib/node_modules/.openclaw.update-stage-lFE766 /tmp/um-input/extra/openclaw-f2.tgz --no-fund --no-audit --loglevel=error --min-release-age=0",
      "durationMs": 25518,
      "exitCode": 0,
      "stdoutTail": "\nadded 365 packages in 25s",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/npm/lib/node_modules/.openclaw.update-stage-lFE766/lib/node_modules/openclaw",
      "durationMs": 764,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/npm/lib/node_modules/.openclaw.update-stage-lFE766/lib/node_modules/openclaw -> /home/appuser/um/npm/lib/node_modules/openclaw",
      "cwd": "/home/appuser/um/npm/lib/node_modules",
      "durationMs": 46040,
      "exitCode": 0,
      "stdoutTail": "replaced openclaw; published by an atomic exchange (perl)",
      "stderrTail": null
    },
    {
      "name": "openclaw doctor",
      "command": "/usr/local/bin/node /home/appuser/um/npm/lib/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "durationMs": 21969,
      "exitCode": 0,
      "stdoutTail": "…                     │\n│  Schedule versioned backups with openclaw backup enable --repository  │\n│  <dir>.                                                               │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Doctor warnings ─────────────────────────────────────────────────────╮\n│                                                                       │\n│  Automation Memory Dreaming Promotion                                 │\n│  (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not    │\n│  migrated: No model is configured. Choose one in Settings → Models,   │\n│  send `/model <provider/model>` in chat, or run `openclaw models set  │\n│  <provider/model>`. Inspect available accounts with openclaw models   │\n│  auth list --agent main, then explicitly adopt the intended stored    │\n│  account with openclaw automations edit                               │\n│  466b880e-8c4f-4756-bf23-a074773338f9 --model                         │\n│  '<provider/model>@<profileId>'.                                      │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Host desktop ────────────────────────────────────────────────────╮\n│                                                                   │\n│  disabled; enable the Desktop lab with desktop.host.enabled=true  │\n│                                                                   │\n├───────────────────────────────────────────────────────────────────╯\n│\n◇  Gateway ─────────────────────────────────────────────╮\n│                                                       │\n│  Gateway health will be checked after Doctor repair.  │\n│                                                       │\n├───────────────────────────────────────────────────────╯\n│\n◇  Security ─────────────────────────────────────────────────────────────╮\n│                                                                        │\n│  - WARNING: openclaw.json contains plaintext secret-bearing config     │\n│    fields.                                                             │\n│    Migrate them to SecretRefs with openclaw secrets configure or       │\n│    openclaw secrets apply, then verify with openclaw secrets audit     │\n│    --check.                                                            │\n│    Paths: gateway.auth.token                                           │\n│    Agents or workspace tools that can read config files may see these  │\n│    API keys/tokens.                                                    │\n│  - Run: openclaw security audit --deep                                 │\n│                                                                        │\n├────────────────────────────────────────────────────────────────────────╯\n│\n◇  Skills ─────────────────────────────────────────────────────────────────╮\n│                                                                          │\n│  32 allowed skills are not usable in this environment (missing           │\n│  binaries, env vars, or config).                                         │\n│  - 1password, blogwatcher, blucli, camsnap, coding-agent, eightctl,      │\n│    gemini, gh-issues, gifgrep, github, gog, goplaces, himalaya,          │\n│    mcporter, model-usage, nano-pdf, notion, obsidian, openai-whisper,    │\n│    openai-whisper-api, openhue, oracle, ordercli, sag, sherpa-onnx-tts,  │\n│    songsee, sonoscli, spotify-player, summarize, tmux, trello, xurl      │\n│  Missing local binaries may exist on paired nodes; these skills remain   │\n│  enabled.                                                                │\n│  Disable unused skills: openclaw doctor --fix                            │\n│  Inspect details: openclaw skills check --agent <id> or openclaw skills  │\n│  info <name> --agent <id>                                                │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Remember across conversations is effectively enabled for agent \"main\",  │\n│  but the Active Memory plugin is disabled. Set                           │\n│  plugins.entries.active-memory.enabled=true, or set                      │\n│  memory.search.rememberAcrossConversations to false.                     │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Memory search provider is set to \"openai\" but no API key was found.     │\n│  Without working primary or fallback embeddings, memory sync stops for   │\n│  explicitly configured providers or existing vector indexes; new and     │\n│  changed memory files are not indexed.                                   │\n│                                                                          │\n│                                                                          │\n│  Fix (pick one):                                                         │\n│  - Set OPENAI_API_KEY in your environment                                │\n│  - Configure credentials: openclaw configure --section model             │\n│  - For keyword-only recall without a key, set memory.search.provider to  │\n│    \"none\" for this agent (including any agent override), then run        │\n│    openclaw memory index --force --agent main                            │\n│                                                                          │\n│  Then rerun: openclaw doctor                                             │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ─────────────────────────────────╮\n│                                                 │\n│  Dreaming: enabled (cadence 0 3 * * *).         │\n│  Last recorded dreaming run: none recorded.     │\n│  Next scheduled run: 2026-11-23T03:00:00.000Z.  │\n│                                                 │\n├─────────────────────────────────────────────────╯\nDeferred advisory inspections until the restarted Gateway is ready: core/doctor/database-engine, core/doctor/claude-cli, core/doctor/command-owner, core/doctor/default-account-routing, core/doctor/oauth-tls, core/doctor/hooks-model, core/doctor/legacy-output-cap, core/doctor/model-references, core/doctor/acp-agent-model, core/doctor/provider-catalog-projection, core/doctor/local-audio-acceleration, core/doctor/runtime-tool-schemas, core/doctor/whatsapp-responsiveness. The updater runs their `openclaw doctor --lint` checks after restart.\n│\n◇  Updater runtimes ───────────────────────────────────────────────────────╮\n│                                                                          │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-ScCrEn: the creating       │\n│  update (PID 7210) is still running                                      │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-vd5JPq: Could not inspect  │\n│  OpenClaw processes: Error: Host process visibility cannot be            │\n│  established from this container. Run Doctor on the host after stopping  │\n│  OpenClaw containers that share its temporary directory.                 │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n└  Doctor complete.",
      "stderrTail": "Doctor: Update schema admission\nDoctor: startup\nDoctor: maintenance begin\nDoctor: Preserve original state\nDoctor: schema admission\nDoctor: state database repair\nDoctor: database migrations\nDoctor: heartbeat migration backups\nDoctor: state schema\nDoctor: Agent deletion journal\nDoctor: UI protocol\nDoctor: Source install\nDoctor: CLI launcher\nDoctor: Plugin runtime links\nDoctor: config flow\nDoctor: state write admission\nDoctor: stale update runs\nDoctor: state migrations import\nDoctor: state dir migrations\nDoctor: legacy config migration\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: state schema\nDoctor: retired state repair\nDoctor: session entry state\nDoctor: plugin plan import\nDoctor: plugin plan\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: cron repair import\nDoctor: cron repair\nDoctor: cron policy scan\nDoctor: legacy state migrations\nDoctor: retired a2ui widgets\nDoctor: relative session store\nDoctor: Config repairs\nDoctor: contributions\nDoctor: Write config migrations\nDoctor: Agent database admission\nDoctor: core/doctor/agent-database-admission: check\nDoctor: Native helpers and child pipes\nDoctor: core/doctor/appcontainer-spawn: check\nDoctor: core/doctor/native-status: check\nDoctor: Node runtime\nDoctor: Runtime capabilities\nDoctor: Gateway config\nDoctor: Auth profile migration\nDoctor: Gateway auth\nDoctor: Node hosting preconditions\nDoctor: core/doctor/node-hosting-preconditions: check\nDoctor: Legacy state\nDoctor: core/doctor/removed-workspaces-state: check\nDoctor: core/doctor/session-archive-read-cache: check\nDoctor: Chat history\nDoctor: Agent memory schema\nDoctor: Legacy plugin manifests\nDoctor: Legacy plugin dependencies\nDoctor: Stale plugin runtime symlinks\nDoctor: Configured plugin repair\nDoctor: Plugin registry\nDoctor: Legacy plugin captures\nDoctor: Updater runtimes\nDoctor: UI protocol freshness\nDoctor: Stale runtime build\nDoctor: core/doctor/stale-runtime-build: check\nDoctor: Disk space\nDoctor: State integrity\nDoctor: Codex session routes\nDoctor: Telegram General-topic conversations\nDoctor: core/doctor/telegram-general-topic-conversations: check\nDoctor: Chat history headers\nDoctor: Chat history labels\nDoctor: Config audit\nDoctor: Legacy cron\nDoctor: Sandbox\nDoctor: Gateway services\nDoctor: Host desktop\nDoctor: Channel package-state capabilities\nDoctor: core/doctor/channel-package-state-capabilities: check\nDoctor: Startup channel maintenance\nDoctor: Browser\nDoctor: systemd linger\nDoctor: Workspace alias\nDoctor: Memory provenance\nDoctor: Heartbeat cadence migration\nDoctor: Heartbeat scratch migration\nDoctor: TOOLS.md migration\nDoctor: Heartbeat task cron migration\nDoctor: Shell completion\nDoctor: Gateway health\nDoctor: Device pairing\nDoctor: Gateway daemon\nDoctor: Auth profiles\nDoctor: Gmail Gog\nDoctor: core/doctor/gmail-gog: check\nDoctor: Plugin health inspection and repair\nDoctor: openai/daybreak-alias-retirement: check\nDoctor: skill-workshop/tool-policy: check\nDoctor: Channel ingress dead letters\nDoctor: Session snapshots\nDoctor: Security\nDoctor: Web fetch proxy\nDoctor: Bundle LSP environment\nDoctor: Skill Workshop tool policy\nDoctor: Workspace status\nDoctor: Skills\nDoctor: Memory search\nDoctor: Write config\nDoctor: Final config validation\nDoctor: external config\nDoctor: maintenance ready\nDoctor: sqlite reclamation\nDoctor: retained runtimes\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-ScCrEn: the creating update (PID 7210) is still running\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vd5JPq: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.\nDoctor: maintenance finish\nDoctor: maintenance release\nModel retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 466b880e-8c4f-4756-bf23-a074773338f9 --model '<provider/model>@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.\nPost-install doctor reported a recoverable update-time repair warning after the package install was verified; continuing with post-core plugin convergence.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.5 s, database-migrations 3.2 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 4.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.1 s, legacy-cron.execution-context 0.4 s, contributions 8.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.5 s, maintenance.release 0.0 s; slowest contributions: legacy-cron 1.9 s, session-transcripts 1.8 s, memory-search 1.3 s, workspace-status 0.7 s, plugin-registry 0.7 s"
      ],
      "deferredInspectionCheckIds": [
        "core/doctor/database-engine",
        "core/doctor/claude-cli",
        "core/doctor/command-owner",
        "core/doctor/default-account-routing",
        "core/doctor/oauth-tls",
        "core/doctor/hooks-model",
        "core/doctor/legacy-output-cap",
        "core/doctor/model-references",
        "core/doctor/acp-agent-model",
        "core/doctor/provider-catalog-projection",
        "core/doctor/local-audio-acceleration",
        "core/doctor/runtime-tool-schemas",
        "core/doctor/whatsapp-responsiveness"
      ],
      "warnings": [
        "Automation Memory Dreaming Promotion (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 466b880e-8c4f-4756-bf23-a074773338f9 --model '<provider/model>@<profileId>'.",
        "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      ],
      "advisory": {
        "kind": "package-post-install-doctor",
        "message": "Automation Memory Dreaming Promotion (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 466b880e-8c4f-4756-bf23-a074773338f9 --model '<provider/model>@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases; from SHA-256 94033784fd90e36b19524119a755e87375af6a9016ccc25a5b9de4119d5de991 to SHA-256 1c0d5016b3c4b8fa0d38edb087c5365e0a7c79710011f1a724f77d78c93263da.",
        "Post-migration write inventory: 4 databases; SHA-256 1c0d5016b3c4b8fa0d38edb087c5365e0a7c79710011f1a724f77d78c93263da. Snapshots: /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 62ff1c6ed9cedbab10d034abbc40a44392aa665c257c0263348523cb2e00c259",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; e7a95ef7e354bb15695618c77fa732626b64126e1eb9d647ef371dc619e7a15f",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 896178d104138260556f98607a50fb2bc4f0809d4ea6cd94f6c2b4aacee857ab",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 378a03d4ced797606f51b698a5225a457e42a29f1a3425ab40d5fff30bfc20fa"
      ]
    },
    {
      "name": "post-stop-checks",
      "command": "recheck schemas, published artifacts and candidate configuration",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 186,
      "exitCode": 0
    },
    {
      "name": "post-plugin doctor",
      "command": "/usr/local/bin/node /home/appuser/um/npm/lib/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 15641,
      "exitCode": 0,
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.5 s, database-migrations 3.0 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.1 s, contributions 2.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.5 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 1.8 s, write-config 0.5 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      ],
      "deferredInspectionCheckIds": []
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases; from SHA-256 bcff00c8563fe75f59c4ac92c71cf71289a031da777904543b328c302c96eec5 to SHA-256 63159dff53f7ba6177e2e5eec584081373a3ade05ee576aa99b7e41232fd47fa.",
        "Post-migration write inventory: 4 databases; SHA-256 63159dff53f7ba6177e2e5eec584081373a3ade05ee576aa99b7e41232fd47fa. Snapshots: /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 62ff1c6ed9cedbab10d034abbc40a44392aa665c257c0263348523cb2e00c259",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; e7a95ef7e354bb15695618c77fa732626b64126e1eb9d647ef371dc619e7a15f",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 896178d104138260556f98607a50fb2bc4f0809d4ea6cd94f6c2b4aacee857ab",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 20f6a61b76e45d806c8b560d8d0944d07bc8be7b6505f4ebb51c62d7eb8b662e"
      ]
    },
    {
      "name": "finalize:plugins:0",
      "command": "openclaw plugins update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "managed-service-executor-check",
      "command": "openclaw gateway install --update-executor check --json",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 216,
      "exitCode": 0
    },
    {
      "name": "managed-service-install",
      "command": "openclaw gateway install --force --port 41963 --json",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 4146,
      "exitCode": 0
    },
    {
      "name": "managed-service-reconciliation",
      "command": "openclaw gateway install --force",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "warnings": [
        "Refreshed Gateway service definition. Backup: /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-1129e171-e705-46d5-9ecd-30c101533347.bak, /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-1129e171-e705-46d5-9ecd-30c101533347.receipt.bak",
        "Terminal default unchanged: keeping /home/appuser/um/npm/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=4096 /home/appuser/um/npm/lib/node_modules/openclaw/dist/index.js --profile default"
      ]
    },
    {
      "name": "gateway verification",
      "command": "gateway verification",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 13,
      "exitCode": 0
    },
    {
      "name": "post-update-maintenance-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 1611,
      "exitCode": 0
    },
    {
      "name": "plugin-cohort-commit-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 800,
      "exitCode": 0
    },
    {
      "name": "managed-service-membership",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "Service membership unverifiable on this host; using managed stop/update/start."
      }
    },
    {
      "name": "post-plugin-doctor-lint",
      "command": "doctor --lint --json --severity-min error",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 2014,
      "exitCode": 0,
      "doctorLintFindings": [
        {
          "checkId": "core/doctor/security",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
          "severity": "warning",
          "requirement": "config.plaintext_secrets"
        }
      ],
      "termination": "exit",
      "signal": null,
      "killed": false,
      "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
    },
    {
      "name": "package-backup-retention",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 30906,
      "exitCode": 0
    },
    {
      "name": "recovery-artifact-cleanup",
      "command": "openclaw update cleanup",
      "cwd": "",
      "durationMs": 1072,
      "exitCode": 0,
      "diagnostics": [
        "Update backup cleanup removed 1 item (281612264 logical bytes, 269 MiB).",
        "Removed /home/appuser/.openclaw.update-captures/211e856f-e8a1-4024-a64a-ffdb0ec71aa5 (281612264 logical bytes, 269 MiB)."
      ]
    }
  ],
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.20-beta.5"
  },
  "localOverrides": {
    "status": "none",
    "added": 0,
    "modified": 0,
    "deleted": 0,
    "applied": 0,
    "conflicts": [],
    "warnings": []
  },
  "durationMs": 160613,
  "runId": "211e856f-e8a1-4024-a64a-ffdb0ec71aa5",
  "postUpdate": {
    "plugins": {
      "status": "warning",
      "changed": false,
      "warnings": [
        {
          "reason": "doctor-advisory",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "guidance": [
            "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.\nPaths: gateway.auth.token\nAgents or workspace tools that can read config files may see these API keys/tokens."
          ]
        }
      ],
      "sync": {
        "changed": false,
        "switchedToBundled": [],
        "switchedToNpm": [],
        "warnings": [],
        "errors": []
      },
      "npm": {
        "changed": false,
        "outcomes": []
      },
      "integrityDrifts": [],
      "doctorLint": {
        "name": "post-plugin-doctor-lint",
        "command": "doctor --lint --json --severity-min error",
        "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
        "durationMs": 2014,
        "exitCode": 0,
        "doctorLintFindings": [
          {
            "checkId": "core/doctor/security",
            "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
            "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
            "severity": "warning",
            "requirement": "config.plaintext_secrets"
          }
        ],
        "termination": "exit",
        "signal": null,
        "killed": false,
        "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
      }
    }
  },
  "run": {
    "runId": "211e856f-e8a1-4024-a64a-ffdb0ec71aa5",
    "createdAtMs": 1795339391422,
    "updatedAtMs": 1795339549907,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.5",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.5",
          "installedVersion": "2026.11.20-beta.4",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "11a4b00877e3",
        "pid": 7210,
        "startIdentity": "82455819"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-f2.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.5"
    },
    "before": {
      "version": "2026.11.20-beta.4",
      "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
    },
    "after": {
      "version": "2026.11.20-beta.5",
      "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795339391422,
        "endedAtMs": 1795339419355
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795339391461
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349664128 bytes) needed; 342 GiB (366858817536 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/npm/lib/node_modules: 606 MiB (635700992 bytes) needed; 342 GiB (366858817536 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795339419355,
        "endedAtMs": 1795339419372
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795339419354,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795339419372,
        "endedAtMs": 1795339447252
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795339423133,
        "endedAtMs": 1795339431685,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795339423133,
        "endedAtMs": 1795339431685,
        "detail": "{\"entries\":46212,\"estimatedBytes\":697032704,\"inventoryMs\":4386,\"materializationMs\":3319,\"linked\":41632,\"copied\":1684}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795339433045,
        "endedAtMs": 1795339433809,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795339443136,
        "endedAtMs": 1795339443634,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/211e856f-e8a1-4024-a64a-ffdb0ec71aa5."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795339447252,
        "endedAtMs": 1795339505411
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795339448589,
        "endedAtMs": 1795339449128
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795339449314,
        "endedAtMs": 1795339449500,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795339498527,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "Databases snapshotted at ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 7e18244621a1868526dffe2f0781cd9afdcc684c17fd712bc4eb5befce3fa390"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 d6632380fd8f4361e841b9004c325cc0f018fe1be0c87fa03dde2d41561ab57e"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 99f01481946be5c1d7f2c1e33dcfde96d0b43ec3f583bfa18ce868794514a05b"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3383296 bytes; SHA-256 5a71b3b4b8e269d26fed1e8bcfff5e1a975f7202b76d7a3923d17253183e56a8"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases; from SHA-256 bcff00c8563fe75f59c4ac92c71cf71289a031da777904543b328c302c96eec5 to SHA-256 63159dff53f7ba6177e2e5eec584081373a3ade05ee576aa99b7e41232fd47fa."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 63159dff53f7ba6177e2e5eec584081373a3ade05ee576aa99b7e41232fd47fa. Snapshots: ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 62ff1c6ed9cedbab10d034abbc40a44392aa665c257c0263348523cb2e00c259"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; e7a95ef7e354bb15695618c77fa732626b64126e1eb9d647ef371dc619e7a15f"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 896178d104138260556f98607a50fb2bc4f0809d4ea6cd94f6c2b4aacee857ab"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 20f6a61b76e45d806c8b560d8d0944d07bc8be7b6505f4ebb51c62d7eb8b662e"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "Automation Memory Dreaming Promotion (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 466b880e-8c4f-4756-bf23-a074773338f9 --model '<provider/model>@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.5 s, database-migrations 3.2 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 4.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.1 s, legacy-cron.execution-context 0.4 s, contributions 8.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.5 s, maintenance.release 0.0 s; slowest contributions: legacy-cron 1.9 s, session-transcripts 1.8 s, memory-search 1.3 s, workspace-status 0.7 s, plugin-registry 0.7 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795339482087,
        "endedAtMs": 1795339504967
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795339505411,
        "endedAtMs": 1795339509852
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795339505422,
        "endedAtMs": 1795339505638,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795339505650,
        "endedAtMs": 1795339509796,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339509810,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339509822,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-1129e171-e705-46d5-9ecd-30c101533347.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-1129e171-e705-46d5-9ecd-30c101533347.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795339509837,
        "detail": "Terminal default unchanged: keeping ~/um/npm/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=4096 ~/um/npm/lib/node_modules/openclaw/dist/index.js --profile default"
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795339509852,
        "endedAtMs": 1795339549907
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795339516103
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795339516096,
        "endedAtMs": 1795339516109,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.5 s, database-migrations 3.0 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.1 s, contributions 2.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.5 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 1.8 s, write-config 0.5 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281612264 logical bytes, 269 MiB)."
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup:2",
        "status": "completed",
        "detail": "Removed /home/appuser/.openclaw.update-captures/211e856f-e8a1-4024-a64a-ffdb0ec71aa5 (281612264 logical bytes, 269 MiB)."
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.5"
      },
      "runningVersion": "2026.11.20-beta.5",
      "runningBuildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z",
      "serviceRunning": true,
      "pid": 12188,
      "port": 41963,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795339516103,
    "finishedAtMs": 1795339549907,
    "downtimeMs": 67520,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.5",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "reportPath": "/home/appuser/.openclaw/update-reports/211e856f-e8a1-4024-a64a-ffdb0ec71aa5.md"
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): npm — fixed, unchanged behavior

after F1 → F2: `openclaw update status --json` (final run record)
{
  "update": {
    "root": "/home/appuser/um/npm/lib/node_modules/openclaw",
    "installKind": "package",
    "packageManager": "npm",
    "deps": {
      "manager": "npm",
      "lockfilePath": "/home/appuser/um/npm/lib/node_modules/openclaw/package-lock.json",
      "markerPath": "/home/appuser/um/npm/lib/node_modules/openclaw/node_modules",
      "status": "unknown",
      "reason": "lockfile missing"
    },
    "registry": {
      "latestVersion": "2026.11.10-beta.1",
      "tag": "beta"
    }
  },
  "channel": {
    "value": "beta",
    "source": "installed-version",
    "label": "beta (installed version)",
    "config": null
  },
  "availability": {
    "available": false,
    "hasGitUpdate": false,
    "hasRegistryUpdate": false,
    "latestVersion": null,
    "gitBehind": null
  },
  "serviceDefinition": {
    "drift": [],
    "warnings": []
  },
  "lastRun": {
    "runId": "211e856f-e8a1-4024-a64a-ffdb0ec71aa5",
    "createdAtMs": 1795339391422,
    "updatedAtMs": 1795339551006,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.5",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.5",
          "installedVersion": "2026.11.20-beta.4",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "11a4b00877e3",
        "pid": 7210,
        "startIdentity": "82455819"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-f2.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.5"
    },
    "before": {
      "version": "2026.11.20-beta.4",
      "buildId": "2026.11.20-beta.4-ad1e4d468ef5-2026-11-22T08-51-09.681Z"
    },
    "after": {
      "version": "2026.11.20-beta.5",
      "buildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795339391422,
        "endedAtMs": 1795339419355
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795339391461
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349664128 bytes) needed; 342 GiB (366858817536 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/npm/lib/node_modules: 606 MiB (635700992 bytes) needed; 342 GiB (366858817536 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795339419355,
        "endedAtMs": 1795339419372
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795339419354,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795339419372,
        "endedAtMs": 1795339447252
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795339423133,
        "endedAtMs": 1795339431685,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795339423133,
        "endedAtMs": 1795339431685,
        "detail": "{\"entries\":46212,\"estimatedBytes\":697032704,\"inventoryMs\":4386,\"materializationMs\":3319,\"linked\":41632,\"copied\":1684}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795339433045,
        "endedAtMs": 1795339433809,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795339443136,
        "endedAtMs": 1795339443634,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/211e856f-e8a1-4024-a64a-ffdb0ec71aa5."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795339447252,
        "endedAtMs": 1795339505411
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795339448589,
        "endedAtMs": 1795339449128
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795339449314,
        "endedAtMs": 1795339449500,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795339498527,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "Databases snapshotted at ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 7e18244621a1868526dffe2f0781cd9afdcc684c17fd712bc4eb5befce3fa390"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 d6632380fd8f4361e841b9004c325cc0f018fe1be0c87fa03dde2d41561ab57e"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 99f01481946be5c1d7f2c1e33dcfde96d0b43ec3f583bfa18ce868794514a05b"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795339449952,
        "endedAtMs": 1795339452004,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3383296 bytes; SHA-256 5a71b3b4b8e269d26fed1e8bcfff5e1a975f7202b76d7a3923d17253183e56a8"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases; from SHA-256 bcff00c8563fe75f59c4ac92c71cf71289a031da777904543b328c302c96eec5 to SHA-256 63159dff53f7ba6177e2e5eec584081373a3ade05ee576aa99b7e41232fd47fa."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 63159dff53f7ba6177e2e5eec584081373a3ade05ee576aa99b7e41232fd47fa. Snapshots: ~/um/npm/lib/node_modules/.openclaw.package-backup-7210-1795339434039.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 62ff1c6ed9cedbab10d034abbc40a44392aa665c257c0263348523cb2e00c259"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; e7a95ef7e354bb15695618c77fa732626b64126e1eb9d647ef371dc619e7a15f"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 896178d104138260556f98607a50fb2bc4f0809d4ea6cd94f6c2b4aacee857ab"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795339480074,
        "endedAtMs": 1795339480074,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 20f6a61b76e45d806c8b560d8d0944d07bc8be7b6505f4ebb51c62d7eb8b662e"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "Automation Memory Dreaming Promotion (466b880e-8c4f-4756-bf23-a074773338f9): inference account was not migrated: No model is configured. Choose one in Settings → Models, send `/model <provider/model>` in chat, or run `openclaw models set <provider/model>`. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 466b880e-8c4f-4756-bf23-a074773338f9 --model '<provider/model>@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795339458105,
        "endedAtMs": 1795339480074,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.5 s, database-migrations 3.2 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 4.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.1 s, legacy-cron.execution-context 0.4 s, contributions 8.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.5 s, maintenance.release 0.0 s; slowest contributions: legacy-cron 1.9 s, session-transcripts 1.8 s, memory-search 1.3 s, workspace-status 0.7 s, plugin-registry 0.7 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795339482087,
        "endedAtMs": 1795339504967
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795339505411,
        "endedAtMs": 1795339509852
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795339505422,
        "endedAtMs": 1795339505638,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795339505650,
        "endedAtMs": 1795339509796,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339509810,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795339509822,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-1129e171-e705-46d5-9ecd-30c101533347.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-1129e171-e705-46d5-9ecd-30c101533347.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795339509837,
        "detail": "Terminal default unchanged: keeping ~/um/npm/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=4096 ~/um/npm/lib/node_modules/openclaw/dist/index.js --profile default"
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795339509852,
        "endedAtMs": 1795339549907
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795339516103
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795339516096,
        "endedAtMs": 1795339516109,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.5 s, database-migrations 3.0 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.1 s, contributions 2.5 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.5 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 1.8 s, write-config 0.5 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281612264 logical bytes, 269 MiB)."
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "endedAtMs": 1795339550952,
        "exitCode": 0
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.5"
      },
      "runningVersion": "2026.11.20-beta.5",
      "runningBuildId": "2026.11.20-beta.5-286a3c1eb6b4-2026-11-22T08-51-09.640Z",
      "serviceRunning": true,
      "pid": 12188,
      "port": 41963,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795339516103,
    "finishedAtMs": 1795339549907,
    "downtimeMs": 67520,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.5",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "packageActivation": {
    "phase": "complete",
    "operationId": "64f49a41-3486-4189-80a7-232440c8d572",
    "installKey": "/home/appuser/um/npm/lib/node_modules/openclaw"
  },
  "recoverySets": []
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Base npm control

Cell a-npm-main-e17201c. Builds: same A/B/C base builds from main e17201c. Exit code of the second update: 0. Container paths are from the test container (/home/appuser).

harness log
Reusing Docker image: openclaw-docker-e2e-bare:local
[2026-11-22T08:10:01.230Z] cell-start {"path":"stable","trigger":"cli","load":"busy","dbMiB":256,"rateKiB":1024,"installed":"2026.11.20-beta.1","candidateVersion":"2026.11.20-beta.2","distTags":"","channel":"","devTarget":"","repeat":false}
[2026-11-22T08:10:01.233Z] install-start {}
install: exit=0 signal= 23147ms
[2026-11-22T08:10:24.380Z] install-done {}
candidate-extract: exit=0 signal= 1903ms
candidate-pack: exit=0 signal= 6508ms
shim: exit=0 signal= 42ms
gateway-install: exit=0 signal= 2436ms
session-create: exit=0 signal= 898ms
session-inject: exit=0 signal= 592ms
[2026-11-22T08:10:44.299Z] gateway-ready {}
[2026-11-22T08:10:46.317Z] load-ready {}
before-observe-static: exit=1 signal= 9ms
before-version: exit=0 signal= 45ms
before-probe: exit=0 signal= 1255ms
before-update-status: exit=0 signal= 1665ms
before-service: exit=0 signal= 16ms
[2026-11-22T08:11:04.336Z] update-start {}
update: exit=0 signal= 180051ms
[2026-11-22T08:14:04.388Z] update-end {"exitCode":0,"durationMs":180051}
[2026-11-22T08:14:04.390Z] after-settle {}
after-version: exit=0 signal= 28ms
after-probe: exit=0 signal= 1275ms
after-update-status: exit=0 signal= 1598ms
after-service: exit=0 signal= 18ms
after-observe-static: exit=1 signal= 5ms
[2026-11-22T08:14:07.321Z] after-commands-start {}
cmd-1-version: exit=0 signal= 25ms
cmd-2-update-status: exit=0 signal= 1640ms
cmd-3-update-to-c: exit=0 signal= 183064ms
cmd-4-wait: exit=0 signal= 1813ms
cmd-5-version: exit=0 signal= 28ms
cmd-6-update-status: exit=0 signal= 1841ms
cmd-7-gateway-status: exit=0 signal= 1779ms
[2026-11-22T08:17:17.516Z] after-commands-end {}
after-commands-version: exit=0 signal= 29ms
after-commands-probe: exit=0 signal= 1320ms
after-commands-update-status: exit=0 signal= 1756ms
after-commands-service: exit=0 signal= 19ms
after-commands-observe-static: exit=1 signal= 4ms
stop-service: exit=0 signal= 484ms

B → C: `openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-m-c.tgz` — stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-HpD4rN: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[update/retained-runtime] Runtime retention attempt 1/1: preparing the running updater
[update/retained-runtime] runtime retention attempt 1/1: dependency inventory
[update/retained-runtime] runtime retention attempt 1/1: materializing 46211 entries (696893440 estimated bytes) after 5042ms inventory
Package publication recovery: /usr/local/bin/node /home/appuser/um/npm/lib/node_modules/.openclaw.package-activation-c45104f37122cde1597028c8.control/recovery.mjs --anchor /home/appuser/um/npm/lib/node_modules/.openclaw.package-activation-c45104f37122cde1597028c8 --operation 5956804a-ba15-4389-ae06-dcc6609291d8 status
Keep other package managers stopped; repair may republish a missing installation. Recovery does not restart or verify the Gateway.
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299998ms. Last observation: resolving the previous Gateway port and installed version
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299987ms. Last observation: checking service and listener identity on port 38141
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299684ms. Last observation: checking Gateway HTTP healthz and readyz endpoints
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299653ms. Last observation: checking service command ownership of the previous installation
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state schema
Doctor: Config repairs
Doctor: contributions
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
Doctor: maintenance finish
Doctor: maintenance release
┌  OpenClaw doctor
/home/appuser/.openclaw/state/openclaw.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: Error: NOCOW check skipped: lsattr is unavailable or could not read file attributes.
│
◇  Startup optimization ────────────────────────────────────────────────╮
│                                                                       │
│  - NODE_COMPILE_CACHE is not set; repeated CLI runs can be slower on  │
│    small hosts (Raspberry Pi/VM).                                     │
│  - NODE_DISABLE_COMPILE_CACHE is set; startup compile cache is        │
│    disabled.                                                          │
│  - OPENCLAW_NO_RESPAWN is not set to 1; set it when you want routine  │
│    gateway restarts to stay in-process instead of handing off to a    │
│    managed supervisor.                                                │
│  - Suggested env for low-power hosts:                                 │
│    export NODE_COMPILE_CACHE=/var/tmp/openclaw-compile-cache          │
│    mkdir -p /var/tmp/openclaw-compile-cache                           │
│    export OPENCLAW_NO_RESPAWN=1                                       │
│    unset NODE_DISABLE_COMPILE_CACHE                                   │
│                                                                       │
├───────────────────────────────────────────────────────────────────────╯
│
◇  Update history ─────────────────────────────────────────────────────────╮
│                                                                          │
│  Recorded warnings from update c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb (a   │
│  later repair may have resolved them):                                   │
│  Model retirement deferred until configured plugin installation          │
│  converges.                                                              │
│  Automation Memory Dreaming Promotion                                    │
│  (815f0dd8-359e-4496-a579-3d138860e039): inference account was not       │
│  migrated: No route-compatible authentication source is configured for   │
│  openai. Inspect available accounts with openclaw models auth list       │
│  --agent main, then explicitly adopt the intended stored account with    │
│  openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model  │
│  'openai/gpt-6-astra@<profileId>'.                                       │
│  core/doctor/security: WARNING: openclaw.json contains plaintext         │
│  secret-bearing config fields.                                           │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
[state/agent-db] agent database clean-close receipt: written; agent=main
│
◇  Updater runtimes ───────────────────────────────────────────────────────╮
│                                                                          │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-HpD4rN: Could not inspect  │
│  OpenClaw processes: Error: Host process visibility cannot be            │
│  established from this container. Run Doctor on the host after stopping  │
│  OpenClaw containers that share its temporary directory.                 │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-MvGPSy: the creating       │
│  update (PID 7402) is still running                                      │
│                                                                          │
├──────────────────────────────────────────────────────────────────────────╯
│
└  Doctor complete.
Doctor: Update schema admission
Doctor: startup
Doctor: maintenance begin
Doctor: Preserve original state
Doctor: schema admission
Doctor: state database repair
Doctor: database migrations
Doctor: heartbeat migration backups
Doctor: state schema
Doctor: Agent deletion journal
Doctor: UI protocol
Doctor: Source install
Doctor: CLI launcher
Doctor: Plugin runtime links
Doctor: config flow
Doctor: state write admission
Doctor: stale update runs
Doctor: state migrations import
Doctor: state dir migrations
Doctor: legacy config migration
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: state schema
Doctor: retired state repair
Doctor: session entry state
Doctor: plugin plan import
Doctor: plugin plan
Doctor: config snapshot
Doctor: file
Doctor: hash
Doctor: parse
Doctor: includes
Doctor: env
Doctor: validate
Doctor: materialize
Doctor: observe
Doctor: cron repair import
Doctor: cron repair
Doctor: cron policy scan
Doctor: legacy state migrations
Doctor: retired a2ui widgets
Doctor: relative session store
Doctor: Config repairs
Doctor: contributions
Doctor: Write config migrations
Doctor: Auth profile migration
Doctor: Chat history
Doctor: Codex session routes
Doctor: Write config
Doctor: Final config validation
Doctor: external config
Doctor: maintenance ready
Doctor: sqlite reclamation
Doctor: retained runtimes
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-HpD4rN: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-MvGPSy: the creating update (PID 7402) is still running
Doctor: maintenance finish
Doctor: maintenance release
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=12370; listener=free; listener PIDs=none; health=unverified
Service membership unverifiable on this host; using managed stop/update/start.
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-MvGPSy: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log (continued): Base npm control

B → C: same command — stdout (JSON result)
{
  "status": "ok",
  "mode": "npm",
  "root": "/home/appuser/um/npm/lib/node_modules/openclaw",
  "before": {
    "version": "2026.11.20-beta.2",
    "buildId": "2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z"
  },
  "after": {
    "version": "2026.11.20-beta.3",
    "buildId": "2026.11.20-beta.3-84269f3b5ee9-2026-11-22T08-03-55.145Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 9132,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":46211,\"estimatedBytes\":696893440,\"inventoryMs\":5042,\"materializationMs\":3226,\"linked\":41631,\"copied\":1684}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2178,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.",
        "/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 0a80d8b7be842b4ea8613334200cb730f9166de0f12589763357cbd31ef8bddc",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 b5acfc6e2128aa04eca24a5938a846c9b99a1dd0d8f46c961dedac9a21c625b9",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 77c54f6d39cd0e10cc8d9870f6706a15cc2ef2a83907a7ccda586eadcfceec0c",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3383296 bytes; SHA-256 e029565c881fc0dab2e849ca19cba4432e53c3dd510a0e9f0a6280631728363b"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "npm i -g --allow-scripts=/tmp/um-input/extra/openclaw-m-c.tgz --prefix /home/appuser/um/npm/lib/node_modules/.openclaw.update-stage-0JsRCa /tmp/um-input/extra/openclaw-m-c.tgz --no-fund --no-audit --loglevel=error --min-release-age=0",
      "durationMs": 26998,
      "exitCode": 0,
      "stdoutTail": "\nadded 365 packages in 27s",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/npm/lib/node_modules/.openclaw.update-stage-0JsRCa/lib/node_modules/openclaw",
      "durationMs": 877,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/npm/lib/node_modules/.openclaw.update-stage-0JsRCa/lib/node_modules/openclaw -> /home/appuser/um/npm/lib/node_modules/openclaw",
      "cwd": "/home/appuser/um/npm/lib/node_modules",
      "durationMs": 45417,
      "exitCode": 0,
      "stdoutTail": "replaced openclaw; published by an atomic exchange (perl)",
      "stderrTail": null
    },
    {
      "name": "openclaw doctor",
      "command": "/usr/local/bin/node /home/appuser/um/npm/lib/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "durationMs": 22191,
      "exitCode": 0,
      "stdoutTail": "…essful backup is recorded.                                    │\n│  Create one now with openclaw backup create.                          │\n│  Schedule versioned backups with openclaw backup enable --repository  │\n│  <dir>.                                                               │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Doctor warnings ────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Automation Memory Dreaming Promotion                                    │\n│  (815f0dd8-359e-4496-a579-3d138860e039): inference account was not       │\n│  migrated: No route-compatible authentication source is configured for   │\n│  openai. Inspect available accounts with openclaw models auth list       │\n│  --agent main, then explicitly adopt the intended stored account with    │\n│  openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model  │\n│  'openai/gpt-6-astra@<profileId>'.                                       │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Host desktop ────────────────────────────────────────────────────╮\n│                                                                   │\n│  disabled; enable the Desktop lab with desktop.host.enabled=true  │\n│                                                                   │\n├───────────────────────────────────────────────────────────────────╯\n│\n◇  Gateway ─────────────────────────────────────────────╮\n│                                                       │\n│  Gateway health will be checked after Doctor repair.  │\n│                                                       │\n├───────────────────────────────────────────────────────╯\n│\n◇  Security ─────────────────────────────────────────────────────────────╮\n│                                                                        │\n│  - WARNING: openclaw.json contains plaintext secret-bearing config     │\n│    fields.                                                             │\n│    Migrate them to SecretRefs with openclaw secrets configure or       │\n│    openclaw secrets apply, then verify with openclaw secrets audit     │\n│    --check.                                                            │\n│    Paths: gateway.auth.token                                           │\n│    Agents or workspace tools that can read config files may see these  │\n│    API keys/tokens.                                                    │\n│  - Run: openclaw security audit --deep                                 │\n│                                                                        │\n├────────────────────────────────────────────────────────────────────────╯\n│\n◇  Skills ─────────────────────────────────────────────────────────────────╮\n│                                                                          │\n│  32 allowed skills are not usable in this environment (missing           │\n│  binaries, env vars, or config).                                         │\n│  - 1password, blogwatcher, blucli, camsnap, coding-agent, eightctl,      │\n│    gemini, gh-issues, gifgrep, github, gog, goplaces, himalaya,          │\n│    mcporter, model-usage, nano-pdf, notion, obsidian, openai-whisper,    │\n│    openai-whisper-api, openhue, oracle, ordercli, sag, sherpa-onnx-tts,  │\n│    songsee, sonoscli, spotify-player, summarize, tmux, trello, xurl      │\n│  Missing local binaries may exist on paired nodes; these skills remain   │\n│  enabled.                                                                │\n│  Disable unused skills: openclaw doctor --fix                            │\n│  Inspect details: openclaw skills check --agent <id> or openclaw skills  │\n│  info <name> --agent <id>                                                │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Remember across conversations is effectively enabled for agent \"main\",  │\n│  but the Active Memory plugin is disabled. Set                           │\n│  plugins.entries.active-memory.enabled=true, or set                      │\n│  memory.search.rememberAcrossConversations to false.                     │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ──────────────────────────────────────────────────────────╮\n│                                                                          │\n│  Memory search provider is set to \"openai\" but no API key was found.     │\n│  Without working primary or fallback embeddings, memory sync stops for   │\n│  explicitly configured providers or existing vector indexes; new and     │\n│  changed memory files are not indexed.                                   │\n│                                                                          │\n│                                                                          │\n│  Fix (pick one):                                                         │\n│  - Set OPENAI_API_KEY in your environment                                │\n│  - Configure credentials: openclaw configure --section model             │\n│  - For keyword-only recall without a key, set memory.search.provider to  │\n│    \"none\" for this agent (including any agent override), then run        │\n│    openclaw memory index --force --agent main                            │\n│                                                                          │\n│  Then rerun: openclaw doctor                                             │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n◇  Memory search ─────────────────────────────────╮\n│                                                 │\n│  Dreaming: enabled (cadence 0 3 * * *).         │\n│  Last recorded dreaming run: none recorded.     │\n│  Next scheduled run: 2026-11-23T03:00:00.000Z.  │\n│                                                 │\n├─────────────────────────────────────────────────╯\nDeferred advisory inspections until the restarted Gateway is ready: core/doctor/database-engine, core/doctor/claude-cli, core/doctor/command-owner, core/doctor/default-account-routing, core/doctor/oauth-tls, core/doctor/hooks-model, core/doctor/legacy-output-cap, core/doctor/model-references, core/doctor/acp-agent-model, core/doctor/provider-catalog-projection, core/doctor/local-audio-acceleration, core/doctor/runtime-tool-schemas, core/doctor/whatsapp-responsiveness. The updater runs their `openclaw doctor --lint` checks after restart.\n│\n◇  Updater runtimes ───────────────────────────────────────────────────────╮\n│                                                                          │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-HpD4rN: Could not inspect  │\n│  OpenClaw processes: Error: Host process visibility cannot be            │\n│  established from this container. Run Doctor on the host after stopping  │\n│  OpenClaw containers that share its temporary directory.                 │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-MvGPSy: the creating       │\n│  update (PID 7402) is still running                                      │\n│                                                                          │\n├──────────────────────────────────────────────────────────────────────────╯\n│\n└  Doctor complete.",
      "stderrTail": "Doctor: Update schema admission\nDoctor: startup\nDoctor: maintenance begin\nDoctor: Preserve original state\nDoctor: schema admission\nDoctor: state database repair\nDoctor: database migrations\nDoctor: heartbeat migration backups\nDoctor: state schema\nDoctor: Agent deletion journal\nDoctor: UI protocol\nDoctor: Source install\nDoctor: CLI launcher\nDoctor: Plugin runtime links\nDoctor: config flow\nDoctor: state write admission\nDoctor: stale update runs\nDoctor: state migrations import\nDoctor: state dir migrations\nDoctor: legacy config migration\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: state schema\nDoctor: retired state repair\nDoctor: session entry state\nDoctor: plugin plan import\nDoctor: plugin plan\nDoctor: config snapshot\nDoctor: file\nDoctor: hash\nDoctor: parse\nDoctor: includes\nDoctor: env\nDoctor: validate\nDoctor: materialize\nDoctor: observe\nDoctor: cron repair import\nDoctor: cron repair\nDoctor: cron policy scan\nDoctor: legacy state migrations\nDoctor: retired a2ui widgets\nDoctor: relative session store\nDoctor: Config repairs\nDoctor: contributions\nDoctor: Write config migrations\nDoctor: Agent database admission\nDoctor: core/doctor/agent-database-admission: check\nDoctor: Native helpers and child pipes\nDoctor: core/doctor/appcontainer-spawn: check\nDoctor: core/doctor/native-status: check\nDoctor: Node runtime\nDoctor: Runtime capabilities\nDoctor: Gateway config\nDoctor: Auth profile migration\nDoctor: Gateway auth\nDoctor: Node hosting preconditions\nDoctor: core/doctor/node-hosting-preconditions: check\nDoctor: Legacy state\nDoctor: core/doctor/removed-workspaces-state: check\nDoctor: core/doctor/session-archive-read-cache: check\nDoctor: Chat history\nDoctor: Agent memory schema\nDoctor: Legacy plugin manifests\nDoctor: Legacy plugin dependencies\nDoctor: Stale plugin runtime symlinks\nDoctor: Configured plugin repair\nDoctor: Plugin registry\nDoctor: Legacy plugin captures\nDoctor: Updater runtimes\nDoctor: UI protocol freshness\nDoctor: Stale runtime build\nDoctor: core/doctor/stale-runtime-build: check\nDoctor: Disk space\nDoctor: State integrity\nDoctor: Codex session routes\nDoctor: Telegram General-topic conversations\nDoctor: core/doctor/telegram-general-topic-conversations: check\nDoctor: Chat history headers\nDoctor: Chat history labels\nDoctor: Config audit\nDoctor: Legacy cron\nDoctor: Sandbox\nDoctor: Gateway services\nDoctor: Host desktop\nDoctor: Channel package-state capabilities\nDoctor: core/doctor/channel-package-state-capabilities: check\nDoctor: Startup channel maintenance\nDoctor: Browser\nDoctor: systemd linger\nDoctor: Workspace alias\nDoctor: Memory provenance\nDoctor: Heartbeat cadence migration\nDoctor: Heartbeat scratch migration\nDoctor: TOOLS.md migration\nDoctor: Heartbeat task cron migration\nDoctor: Shell completion\nDoctor: Gateway health\nDoctor: Device pairing\nDoctor: Gateway daemon\nDoctor: Auth profiles\nDoctor: Gmail Gog\nDoctor: core/doctor/gmail-gog: check\nDoctor: Plugin health inspection and repair\nDoctor: openai/daybreak-alias-retirement: check\nDoctor: skill-workshop/tool-policy: check\nDoctor: Channel ingress dead letters\nDoctor: Session snapshots\nDoctor: Security\nDoctor: Web fetch proxy\nDoctor: Bundle LSP environment\nDoctor: Skill Workshop tool policy\nDoctor: Workspace status\nDoctor: Skills\nDoctor: Memory search\nDoctor: Write config\nDoctor: Final config validation\nDoctor: external config\nDoctor: maintenance ready\nDoctor: sqlite reclamation\nDoctor: retained runtimes\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-HpD4rN: Could not inspect OpenClaw processes: Error: Host process visibility cannot be established from this container. Run Doctor on the host after stopping OpenClaw containers that share its temporary directory.\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-MvGPSy: the creating update (PID 7402) is still running\nDoctor: maintenance finish\nDoctor: maintenance release\nModel retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (815f0dd8-359e-4496-a579-3d138860e039): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model 'openai/gpt-6-astra@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.\nPost-install doctor reported a recoverable update-time repair warning after the package install was verified; continuing with post-core plugin convergence.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.2 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 4.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.2 s, legacy-cron.execution-context 0.4 s, contributions 8.4 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: legacy-cron 2.0 s, session-transcripts 1.8 s, memory-search 1.3 s, plugin-registry 0.6 s, workspace-status 0.6 s"
      ],
      "deferredInspectionCheckIds": [
        "core/doctor/database-engine",
        "core/doctor/claude-cli",
        "core/doctor/command-owner",
        "core/doctor/default-account-routing",
        "core/doctor/oauth-tls",
        "core/doctor/hooks-model",
        "core/doctor/legacy-output-cap",
        "core/doctor/model-references",
        "core/doctor/acp-agent-model",
        "core/doctor/provider-catalog-projection",
        "core/doctor/local-audio-acceleration",
        "core/doctor/runtime-tool-schemas",
        "core/doctor/whatsapp-responsiveness"
      ],
      "warnings": [
        "Automation Memory Dreaming Promotion (815f0dd8-359e-4496-a579-3d138860e039): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model 'openai/gpt-6-astra@<profileId>'.",
        "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      ],
      "advisory": {
        "kind": "package-post-install-doctor",
        "message": "Automation Memory Dreaming Promotion (815f0dd8-359e-4496-a579-3d138860e039): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model 'openai/gpt-6-astra@<profileId>'.\ncore/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases; from SHA-256 c4f7c0698e650145b0e61784ee4121466be2ea6290297abf547b067bb2928add to SHA-256 483292c497b05da378119f71184433b0061189d6346e8dbcd9e4778d2f2403aa.",
        "Post-migration write inventory: 4 databases; SHA-256 483292c497b05da378119f71184433b0061189d6346e8dbcd9e4778d2f2403aa. Snapshots: /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 72ee07c57ce09ac6fa73a89d44fd43573cfda24cf2266522e855e219ab23dd4e",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 2fef7bbb591c56f143989f5aff0384c9a744e312f3a03d7e099065e90033d59f",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; c515bbd8af097a1c63cb655629f1dc411d3a15dc8d07f33ba5b4c28bd7c48dc7",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 89632c2f7f4435e05326bfce98ff98b4e425adae06e832a29483a5cc9b1b4ce9"
      ]
    },
    {
      "name": "post-stop-checks",
      "command": "recheck schemas, published artifacts and candidate configuration",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 204,
      "exitCode": 0
    },
    {
      "name": "post-plugin doctor",
      "command": "/usr/local/bin/node /home/appuser/um/npm/lib/node_modules/openclaw/dist/infra/update-migrated-finalize.worker.js --doctor",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 17800,
      "exitCode": 0,
      "diagnostics": [
        "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.7 s, contributions 2.9 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.1 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      ],
      "deferredInspectionCheckIds": []
    },
    {
      "name": "database migration writes",
      "command": "record Doctor database write fingerprints",
      "cwd": "/home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases; from SHA-256 a1467dc5ab709976e44968a5c20f082384fc5c6ab2bbaf4bdaa762ad92fb753a to SHA-256 fd02e3516e5f213ac3d942950d8aff6c766f4c38533d167dfc46aa3aa67abf95.",
        "Post-migration write inventory: 4 databases; SHA-256 fd02e3516e5f213ac3d942950d8aff6c766f4c38533d167dfc46aa3aa67abf95. Snapshots: /home/appuser/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; 72ee07c57ce09ac6fa73a89d44fd43573cfda24cf2266522e855e219ab23dd4e",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 2fef7bbb591c56f143989f5aff0384c9a744e312f3a03d7e099065e90033d59f",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; c515bbd8af097a1c63cb655629f1dc411d3a15dc8d07f33ba5b4c28bd7c48dc7",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 705a7c34183e0197ca7383b6f4b04ecf2d5c23c2e97f0e7f77965e2544c079ed"
      ]
    },
    {
      "name": "finalize:plugins:0",
      "command": "openclaw plugins update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      }
    },
    {
      "name": "managed-service-executor-check",
      "command": "openclaw gateway install --update-executor check --json",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 250,
      "exitCode": 0
    },
    {
      "name": "managed-service-install",
      "command": "openclaw gateway install --force --port 38141 --json",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 5040,
      "exitCode": 0
    },
    {
      "name": "managed-service-reconciliation",
      "command": "openclaw gateway install --force",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "warnings": [
        "Refreshed Gateway service definition. Backup: /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-cdbcc53d-c0a3-4b59-860c-c2b10599196f.bak, /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-cdbcc53d-c0a3-4b59-860c-c2b10599196f.receipt.bak",
        "Terminal default unchanged: keeping /home/appuser/um/npm/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=4096 /home/appuser/um/npm/lib/node_modules/openclaw/dist/index.js --profile default"
      ]
    },
    {
      "name": "gateway verification",
      "command": "gateway verification",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 14,
      "exitCode": 0
    },
    {
      "name": "post-update-maintenance-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 1841,
      "exitCode": 0
    },
    {
      "name": "plugin-cohort-commit-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 965,
      "exitCode": 0
    },
    {
      "name": "managed-service-membership",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "Service membership unverifiable on this host; using managed stop/update/start."
      }
    },
    {
      "name": "post-plugin-doctor-lint",
      "command": "doctor --lint --json --severity-min error",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 2312,
      "exitCode": 0,
      "doctorLintFindings": [
        {
          "checkId": "core/doctor/security",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
          "severity": "warning",
          "requirement": "config.plaintext_secrets"
        }
      ],
      "termination": "exit",
      "signal": null,
      "killed": false,
      "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
    },
    {
      "name": "package-backup-retention",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
      "durationMs": 42427,
      "exitCode": 0
    },
    {
      "name": "recovery-artifact-cleanup",
      "command": "openclaw update cleanup",
      "cwd": "",
      "durationMs": 1401,
      "exitCode": 0,
      "diagnostics": [
        "Update backup cleanup removed 1 item (281612264 logical bytes, 269 MiB).",
        "Removed /home/appuser/.openclaw.update-captures/c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb (281612264 logical bytes, 269 MiB)."
      ]
    }
  ],
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.20-beta.3"
  },
  "localOverrides": {
    "status": "none",
    "added": 0,
    "modified": 0,
    "deleted": 0,
    "applied": 0,
    "conflicts": [],
    "warnings": []
  },
  "durationMs": 180595,
  "runId": "c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb",
  "postUpdate": {
    "plugins": {
      "status": "warning",
      "changed": false,
      "warnings": [
        {
          "reason": "doctor-advisory",
          "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
          "guidance": [
            "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.\nPaths: gateway.auth.token\nAgents or workspace tools that can read config files may see these API keys/tokens."
          ]
        }
      ],
      "sync": {
        "changed": false,
        "switchedToBundled": [],
        "switchedToNpm": [],
        "warnings": [],
        "errors": []
      },
      "npm": {
        "changed": false,
        "outcomes": []
      },
      "integrityDrifts": [],
      "doctorLint": {
        "name": "post-plugin-doctor-lint",
        "command": "doctor --lint --json --severity-min error",
        "cwd": "/home/appuser/um/npm/lib/node_modules/openclaw",
        "durationMs": 2312,
        "exitCode": 0,
        "doctorLintFindings": [
          {
            "checkId": "core/doctor/security",
            "message": "WARNING: openclaw.json contains plaintext secret-bearing config fields.",
            "fixHint": "Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens.",
            "severity": "warning",
            "requirement": "config.plaintext_secrets"
          }
        ],
        "termination": "exit",
        "signal": null,
        "killed": false,
        "stderrTail": "Doctor lint warning [core/doctor/security]: config.plaintext_secrets: WARNING: openclaw.json contains plaintext secret-bearing config fields.: Migrate them to SecretRefs with openclaw secrets configure or openclaw secrets apply, then verify with openclaw secrets audit --check.; Paths: gateway.auth.token; Agents or workspace tools that can read config files may see these API keys/tokens."
      }
    }
  },
  "run": {
    "runId": "c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb",
    "createdAtMs": 1795335252083,
    "updatedAtMs": 1795335430444,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.3",
        "checks": [
          {
            "name": "config",
            "status": "ok"
          },
          {
            "name": "database-schema",
            "status": "ok"
          },
          {
            "name": "node-runtime",
            "status": "ok"
          },
          {
            "name": "plugin-availability",
            "status": "ok"
          }
        ]
      },
      "candidateAdmission": {
        "protocol": 1,
        "verdict": "admit",
        "reasons": [],
        "warnings": [],
        "facts": {
          "candidateVersion": "2026.11.20-beta.3",
          "installedVersion": "2026.11.20-beta.2",
          "nodeEngines": ">=24.16.0 <25 || >=26.1.0",
          "checks": [
            {
              "name": "config",
              "status": "ok"
            },
            {
              "name": "database-schema",
              "status": "ok"
            },
            {
              "name": "node-runtime",
              "status": "ok"
            },
            {
              "name": "plugin-availability",
              "status": "ok"
            }
          ]
        }
      },
      "driver": {
        "host": "7e32eacd8a28",
        "pid": 7402,
        "startIdentity": "82041874"
      },
      "nextAction": "After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.",
      "cause": "none"
    },
    "target": {
      "channel": "beta",
      "tag": "/tmp/um-input/extra/openclaw-m-c.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.3"
    },
    "before": {
      "version": "2026.11.20-beta.2",
      "buildId": "2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z"
    },
    "after": {
      "version": "2026.11.20-beta.3",
      "buildId": "2026.11.20-beta.3-84269f3b5ee9-2026-11-22T08-03-55.145Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795335252083,
        "endedAtMs": 1795335281783
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795335252217
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 269 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 3 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "detail": "Database migration room near ~/.openclaw/agents/main/agent: 333 MiB (349668224 bytes) needed; 344 GiB (369696002048 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/npm/lib/node_modules: 606 MiB (635709184 bytes) needed; 344 GiB (369696002048 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795335281783,
        "endedAtMs": 1795335281802
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795335281781,
        "detail": "[{\"name\":\"config\",\"status\":\"ok\"},{\"name\":\"database-schema\",\"status\":\"ok\"},{\"name\":\"node-runtime\",\"status\":\"ok\"},{\"name\":\"plugin-availability\",\"status\":\"ok\"}]"
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795335281802,
        "endedAtMs": 1795335309301
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795335285901,
        "endedAtMs": 1795335295033,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795335285901,
        "endedAtMs": 1795335295033,
        "detail": "{\"entries\":46211,\"estimatedBytes\":696893440,\"inventoryMs\":5042,\"materializationMs\":3226,\"linked\":41631,\"copied\":1684}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795335296479,
        "endedAtMs": 1795335297356,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795335305891,
        "endedAtMs": 1795335306444,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795335309301,
        "endedAtMs": 1795335371995
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795335310679,
        "endedAtMs": 1795335311230
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795335311452,
        "endedAtMs": 1795335311656,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795335364066,
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:doctor:model-retirement:deferred",
        "status": "skipped",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "database snapshot",
        "status": "completed",
        "startedAtMs": 1795335312262,
        "endedAtMs": 1795335314440,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795335312262,
        "endedAtMs": 1795335314440,
        "detail": "Databases snapshotted at ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts."
      },
      {
        "step": "diagnostic:database snapshot:2",
        "status": "completed",
        "startedAtMs": 1795335312262,
        "endedAtMs": 1795335314440,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 0a80d8b7be842b4ea8613334200cb730f9166de0f12589763357cbd31ef8bddc"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795335312262,
        "endedAtMs": 1795335314440,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 b5acfc6e2128aa04eca24a5938a846c9b99a1dd0d8f46c961dedac9a21c625b9"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795335312262,
        "endedAtMs": 1795335314440,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 77c54f6d39cd0e10cc8d9870f6706a15cc2ef2a83907a7ccda586eadcfceec0c"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795335312262,
        "endedAtMs": 1795335314440,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3383296 bytes; SHA-256 e029565c881fc0dab2e849ca19cba4432e53c3dd510a0e9f0a6280631728363b"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795335320815,
        "endedAtMs": 1795335343006,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases; from SHA-256 a1467dc5ab709976e44968a5c20f082384fc5c6ab2bbaf4bdaa762ad92fb753a to SHA-256 fd02e3516e5f213ac3d942950d8aff6c766f4c38533d167dfc46aa3aa67abf95."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 fd02e3516e5f213ac3d942950d8aff6c766f4c38533d167dfc46aa3aa67abf95. Snapshots: ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 72ee07c57ce09ac6fa73a89d44fd43573cfda24cf2266522e855e219ab23dd4e"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 2fef7bbb591c56f143989f5aff0384c9a744e312f3a03d7e099065e90033d59f"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; c515bbd8af097a1c63cb655629f1dc411d3a15dc8d07f33ba5b4c28bd7c48dc7"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795335343005,
        "endedAtMs": 1795335343005,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 705a7c34183e0197ca7383b6f4b04ecf2d5c23c2e97f0e7f77965e2544c079ed"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795335320815,
        "endedAtMs": 1795335343006,
        "detail": "Automation Memory Dreaming Promotion (815f0dd8-359e-4496-a579-3d138860e039): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model 'openai/gpt-6-astra@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795335320815,
        "endedAtMs": 1795335343006,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795335320815,
        "endedAtMs": 1795335343006,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795335320815,
        "endedAtMs": 1795335343006,
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 0.9 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.2 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 4.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.4 s, legacy-cron.inference 1.2 s, legacy-cron.execution-context 0.4 s, contributions 8.4 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: legacy-cron 2.0 s, session-transcripts 1.8 s, memory-search 1.3 s, plugin-registry 0.6 s, workspace-status 0.6 s"
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795335345407,
        "endedAtMs": 1795335371539
      },
      {
        "step": "warning:finalize:doctor:model-retirement",
        "status": "completed",
        "detail": "Deferred model retirement repair completed after plugin convergence."
      },
      {
        "step": "warning:finalize:plugins:0",
        "status": "completed",
        "detail": "WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "restarting",
        "status": "completed",
        "startedAtMs": 1795335371995,
        "endedAtMs": 1795335377376
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795335372009,
        "endedAtMs": 1795335372259,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795335372272,
        "endedAtMs": 1795335377312,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795335377328,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795335377342,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-cdbcc53d-c0a3-4b59-860c-c2b10599196f.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-cdbcc53d-c0a3-4b59-860c-c2b10599196f.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795335377356,
        "detail": "Terminal default unchanged: keeping ~/um/npm/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=4096 ~/um/npm/lib/node_modules/openclaw/dist/index.js --profile default"
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795335377376,
        "endedAtMs": 1795335430444
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795335384663
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795335384656,
        "endedAtMs": 1795335384670,
        "exitCode": 0
      },
      {
        "step": "global update",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "package-swap",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-plugin doctor",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:post-plugin doctor",
        "status": "completed",
        "detail": "Doctor sections: startup 0.0 s, maintenance.preserve-original-state 0.2 s, maintenance.begin 1.0 s, schema-admission 0.0 s, state-database-repair 0.6 s, database-migrations 3.4 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 5.7 s, contributions 2.9 s, external-config 0.0 s, maintenance-ready 0.4 s, sqlite-reclamation 0.2 s, retained-runtimes 0.0 s, maintenance.finish 0.6 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 2.1 s, write-config 0.6 s, write-config-migrations 0.1 s, final-config-validation 0.0 s, auth-profile-migration 0.0 s"
      },
      {
        "step": "finalize:plugins:0",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "post-update-maintenance-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "plugin-cohort-commit-timing",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "managed-service-membership",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-membership",
        "status": "completed",
        "detail": "Service membership unverifiable on this host; using managed stop/update/start."
      },
      {
        "step": "post-plugin-doctor-lint",
        "status": "completed",
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "finalize:doctor-lint:post-plugin-doctor-lint",
        "status": "completed",
        "detail": "{\"exitCode\":0,\"termination\":\"exit\",\"signal\":null,\"killed\":false,\"counts\":{\"error\":0,\"warning\":1,\"info\":0},\"errors\":[],\"omitted\":0}"
      },
      {
        "step": "package-backup-retention",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Update backup cleanup removed 1 item (281612264 logical bytes, 269 MiB)."
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup:2",
        "status": "completed",
        "detail": "Removed /home/appuser/.openclaw.update-captures/c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb (281612264 logical bytes, 269 MiB)."
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.3"
      },
      "runningVersion": "2026.11.20-beta.3",
      "runningBuildId": "2026.11.20-beta.3-84269f3b5ee9-2026-11-22T08-03-55.145Z",
      "serviceRunning": true,
      "pid": 12370,
      "port": 38141,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795335384663,
    "finishedAtMs": 1795335430444,
    "downtimeMs": 73991,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.3",
      "checks": [
        {
          "name": "config",
          "status": "ok"
        },
        {
          "name": "database-schema",
          "status": "ok"
        },
        {
          "name": "node-runtime",
          "status": "ok"
        },
        {
          "name": "plugin-availability",
          "status": "ok"
        }
      ]
    }
  },
  "reportPath": "/home/appuser/.openclaw/update-reports/c3f2c5d3-b7a9-4ad0-b81f-12bc59d003fb.md"
}

after B → C: `openclaw update status`
OpenClaw update status

┌──────────────────┬───────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Item             │ Value                                                                                             │
├──────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Install          │ npm                                                                                               │
│ Channel          │ beta (installed version)                                                                          │
│ Package recovery │ complete (5956804a-ba15-4389-ae06-dcc6609291d8)                                                   │
│ Update           │ npm · npm beta 2026.11.10-beta.1 (local newer)                                                    │
└──────────────────┴───────────────────────────────────────────────────────────────────────────────────────────────────┘

Last recorded update (2026-11-22T08:14:12.083Z):
✅ OpenClaw updated to 2026.11.20-beta.3 (from 2026.11.20-beta.2); 7 warnings need attention.
Warning: Automation Memory Dreaming Promotion (815f0dd8-359e-4496-a579-3d138860e039): inference account was not migrated: No route-compatible authentication source is configured for openai. Inspect available accounts with openclaw models auth list --agent main, then explicitly adopt the intended stored account with openclaw automations edit 815f0dd8-359e-4496-a579-3d138860e039 --model 'openai/gpt-6-astra@<profileId>'.
Warning: core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields.
Warning: Deferred model retirement repair completed after plugin convergence.
Warning: WARNING: openclaw.json contains plaintext secret-bearing config fields.
Warning: Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-cdbcc53d-c0a3-4b59-860c-c2b10599196f.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-cdbcc53d-c0a3-4b59-860c-c2b10599196f.receipt.bak
Warning: Terminal default unchanged: keeping ~/um/npm/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=4096 ~/um/npm/lib/node_modules/openclaw/dist/index.js --profile default
Warning: Service membership unverifiable on this host; using managed stop/update/start.
Update target: 2026.11.20-beta.3
Update safety checks ran in the candidate updater (2026.11.20-beta.3).
Admission checks: config: ok, database-schema: ok, node-runtime: ok, plugin-availability: ok.
Databases snapshotted at ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases. Verified successful activation removes these snapshots only if automatic restoration remains available; otherwise retain them with the update's recovery artifacts.
~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278159360 bytes; SHA-256 0a80d8b7be842b4ea8613334200cb730f9166de0f12589763357cbd31ef8bddc
~/.openclaw/client/credentials.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 b5acfc6e2128aa04eca24a5938a846c9b99a1dd0d8f46c961dedac9a21c625b9
~/.openclaw/control/services.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 77c54f6d39cd0e10cc8d9870f6706a15cc2ef2a83907a7ccda586eadcfceec0c
~/.openclaw/state/openclaw.sqlite -> ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3383296 bytes; SHA-256 e029565c881fc0dab2e849ca19cba4432e53c3dd510a0e9f0a6280631728363b
Doctor interval post-plugin doctor; backup ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases; from SHA-256 a1467dc5ab709976e44968a5c20f082384fc5c6ab2bbaf4bdaa762ad92fb753a to SHA-256 fd02e3516e5f213ac3d942950d8aff6c766f4c38533d167dfc46aa3aa67abf95.
Post-migration write inventory: 4 databases; SHA-256 fd02e3516e5f213ac3d942950d8aff6c766f4c38533d167dfc46aa3aa67abf95. Snapshots: ~/um/npm/lib/node_modules/.openclaw.package-backup-7402-1795335297593.databases.
Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; 72ee07c57ce09ac6fa73a89d44fd43573cfda24cf2266522e855e219ab23dd4e
Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 2fef7bbb591c56f143989f5aff0384c9a744e312f3a03d7e099065e90033d59f
Database write fingerprint: ~/.openclaw/control/services.sqlite; c515bbd8af097a1c63cb655629f1dc411d3a15dc8d07f33ba5b4c28bd7c48dc7
Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; 705a7c34183e0197ca7383b6f4b04ecf2d5c23c2e97f0e7f77965e2544c079ed
Phases: requested (29.7s) → staging (19ms) → validating (27.5s) → activating (62.69s) → restarting (5.38s) → verifying (53.07s)
Recorded verification: service running (2026.11.20-beta.3); version verified; channels ready; HTTP ready; core ready.
Gateway downtime: 73.99s.
Current health unavailable; saved verification describes the update attempt only. Check current Gateway status before acting on this saved advice.
Historical recovery advice: “After confirming the update and your conversations are healthy, preview retained migration originals eligible for permanent cleanup with `openclaw update cleanup --dry-run` for state `~/.openclaw`. Before applying cleanup, stop the Gateway first (`openclaw gateway stop --force`). Use the same profile, state, and config settings.”


@fuller-stack-dev
fuller-stack-dev merged commit 35b84da into openclaw:main Nov 22, 2026
222 of 224 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Merged via squash.

@fuller-stack-dev
fuller-stack-dev deleted the fix/update-retained-runtime-detached-workers branch November 22, 2026 10:36
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 23, 2026
…updater itself was installed by an update (openclaw#203458)

* fix(update): start detached workers from the retained updater runtime after activation

A pnpm updater that a previous OpenClaw update installed runs from its
group's project-local virtual store. Activating the next version moves
that group into the transaction backup, so the running updater's own
`dist` disappears. Work started inside the update loads workers through
the retained-runtime generation, but process-wide owners that start
workers from detached or earlier async contexts (the state lease
heartbeat carrier, the file-log worker pool) still resolved them from the
installed package. Their spawns failed with `Cannot find module`, the
plugin lifecycle lease was lost, and the update unwound as
`update-recovery-pending` while the new Gateway was already serving.

The retained-runtime generation now also registers a process-wide
resolver for as long as it is bound, and `createCpuTrackedWorker`, which
every tracked worker spawn goes through, applies it. Async-context
bindings keep precedence; nothing changes outside an update that
retained its runtime. `WorkerCpuHandle` and `WorkerMemoryMessage` move to
`worker-cpu-types.ts` to keep `worker-cpu.ts` within its line cap.

* fix(update): resolve a captured worker through the retained runtime only once

A worker captured inside the generation was resolved again by the
process-wide resolver at spawn time. The retained-runtime mapping is
idempotent, but a generation's resolver need not be: the heartbeat
generation test's wrapping resolver then imported itself and the worker
never started (Bun shard timeout). A URL the generation already produced
is now final.
tideclaw-bot pushed a commit that referenced this pull request Nov 24, 2026
…es (#203241)

* fix(gateway): shutdown never first-imports chunks an in-place update replaced

* test(gateway): guard built shutdown against late first-imports

* fix(gateway): keep broker close functions visible to dead-export scan

* fix(process): supervisor shutdown warnings never first-import their logger; guard tracks pre-signal modules

* test(ci): watch supervisor shutdown owners for the late-import guard

* test(gateway): readable late-import entry parsing

* test(gateway): stop the guard Gateway after startup maintenance settles

* test(gateway): guard only hashed dist chunks that a swap removes

* test(gateway): skip the SIGTERM guard where taskkill stops the Gateway

* fix(gateway): prime supervisor shutdown logger from the shutdown runtime; add restart worker to PR wrapper inventory

* fix(memory-core): own the manager runtime loader in a leaf module so closing never loads the provider

* fix(state): agent lease cleanup handler loads with the state worker; guard stop budget and watch paths

* fix(cron): claimed runs load their finalization before shutdown can need it; watch memory loader owners

* fix(cron): scheduled runs also load finalization with their scheduler

(cherry picked from commit 78a6ca1)

Release adaptation: Preserve the stable cron dispatch preamble and command set, without main-only cron.importLegacyMemberSources; scheduler and queue still prepare finalization together. The shutdown-runtime overlap is supplied by the preceding #203185 backport.

Companions: #203185 selected and applied first. #203839 replaces test process ownership separately and is not required for this guard: the stable fixture supports the same child, entrypoint and stop APIs. #203790, #202507, #202495 startup/resource changes, #201024 cgroup sizing, #197395 cron backoff, and #204210/#203458/#203271 wrapper-only overlaps are not dependencies.
Co-authored-by: RomneyDa <[email protected]>
RomneyDa pushed a commit that referenced this pull request Nov 26, 2026
… after a pnpm activation (#205078)

Port of #203458 to release/2026.11.10 as one commit.

A pnpm updater that a previous OpenClaw update installed runs from its
group's project-local virtual store. Activating the next version moves
that group into the transaction backup, so the running updater's own
`dist` disappears. Work started inside the update already loads workers
through the retained-runtime generation, but process-wide owners that
start workers from detached or earlier async contexts (the state lease
heartbeat carrier, the file-log worker pool) still resolved them from the
installed package. Their spawns failed with `Cannot find module`, the
plugin lifecycle lease was lost, and the update ended
`update-recovery-pending` while the new Gateway was already serving.

The retained-runtime generation now also registers a process-wide
resolver while it is bound, and `createCpuTrackedWorker` applies it.
Async-context bindings keep precedence, a URL the generation already
produced is final, and nothing changes outside an update that retained
its runtime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: S 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.

1 participant