Skip to content

fix: let a pnpm install update again after an update died after activating - #203486

Merged
fuller-stack-dev merged 10 commits into
openclaw:mainfrom
fuller-stack-dev:fix/update-settle-stranded-run
Nov 22, 2026
Merged

fuller-stack-dev merged 10 commits into
openclaw:mainfrom
fuller-stack-dev:fix/update-settle-stranded-run

Conversation

@fuller-stack-dev

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

Copy link
Copy Markdown
Member

Related: #203458

What Problem This Solves

A pnpm install can end up with a healthy Gateway on the new version and no supported way to update again. It happens when an update activates the new version, verifies it serving, and then its process exits before it settles the plugin recovery it reserved. #203458 fixes the main cause for future updates. An install already in this state stays stuck: every later openclaw update is refused within 2 s ("Update has unfinished recovery … It belongs to the installation at … Run openclaw update repair from that installation"). openclaw update repair is refused too ("Plugin cohort recovery belongs to a different installation."). The only way out was editing the state database.

User Impact

User impact: openclaw update repair now settles that leftover recovery from the installation that replaced the old one, and the next openclaw update proceeds. When the dead update was killed and its lease is still in the lease store, the next openclaw update settles it by itself. Nothing changes for npm installs or for recovery whose recorded installation still exists.

Update behavior. The installed updater runs first and cannot be patched, so the first command that benefits is one run by a build that contains this change:

  • The stuck version contains this change (for example, an update from an unfixed build B to a fixed build C failed): openclaw update refuses and names openclaw update repair. Run it once; the next openclaw update then proceeds.
  • The stuck version does not contain it: install a build that does, then repair. pnpm add -g --allow-build=openclaw openclaw@<version with this change>, then openclaw update repair, then openclaw update. Verified in a real cell (below).

Without this change there is no working sequence. pnpm add -g of a newer build followed by openclaw update repair is refused the same way, openclaw doctor --fix does not touch the update recovery, and every openclaw update is refused (red cells below).

What reaches this state.

Why This Change Was Made

Cause. A plugin-cohort recovery records its installation by the package's real path (cohort.installKey). On npm that path stays the same across updates. On pnpm each version has its own directory, and the global install path (…/global/v11/<hash>/node_modules/openclaw) is a link that activation re-points. Both owners compared that recorded real path with the current one:

  • the next update's settlement of a dead update (inspectInterruptedUpdateRecovery);
  • openclaw update repair.

After activation the two can never match. So neither command could act, and the refusal told the user to run repair "from that installation", which no longer exists.

Rule. inspectPluginCohortInstallation, in the settlement owner, decides whose recovery it is. A recovery whose recorded directory differs from the current installation is treated as this installation's only when all of these hold:

  1. the recorded directory no longer exists. An lstat error counts as present.
  2. the update's recorded install path (from.root and to.root of its reservation) now resolves to this installation.
  3. the run is still recorded running, is not a managed handoff, recorded its driver processes, and every one of them is dead.
  4. the run recorded its candidate serving: service running, version match, running version equal to the target, and the build ID when the target has one.

Then the existing settlement runs unchanged. It keeps the plugin and config changes, as for any verified candidate. A warning:plugin-cohort:replaced-installation step on the dead run names both directories and the evidence. That step name joins the retained-step list, so history compaction keeps it. History reconciliation then closes the run as failed/abandoned, and repair acknowledges it.

Claims:

  • Both commands claim the recorded key, where the dead driver's lease lives, so openclaw update keeps its existing proof that the dead updater's children are gone. They also claim the current installation through the executor's existing serviceRoot lease.
  • Under the claim they check the evidence again.
  • The forward-settlement check for an unfinished package activation now looks at the current installation as well as the recorded one.
  • A commit that the dead update had already selected is finished from a proven successor even when a later build is installed. Before, the exact-target check refused it. That check still refuses when no replacement is proven, or when the installed build does not show the original core gone. The proof is the forward rule's: a readable version or build ID that differs from the original. So the original version installed again refuses, even without the build ID it had, since committing would then keep the candidate's changes over the original core.
  • openclaw update's settlement note no longer says the Gateway was verified on the installed version when a later build replaced it.

Nothing is stored that was not stored before: no schema, config key, protocol or retention change.

What stays refused.

  • While the recorded directory exists: today's refusals, word for word.
  • With the directory gone but evidence missing: a refusal that names the missing fact. When the dead update's process may still be running (a live or unidentified driver, or a managed handoff), the message says to wait for it. Otherwise it names the openclaw triage agent route.
  • openclaw update's lease rule is unchanged. A driver that unwound on its own released its lease, so openclaw update still stops and names repair. That is the path the real stuck state takes; fix: keep a doubtful killed-update recovery on the repair path #201361 chose it deliberately.

Designs rejected.

  • Requiring the installed version to equal the run's target. This would block the only way out for users stuck on an unfixed build, who must install a different, fixed build first. The existing forward rule already accepts any installed version other than the original.
  • Accepting an empty lease store as proof that the children are gone, when the store existed throughout. That changes the children-gone rule of fix: keep a doubtful killed-update recovery on the repair path #201361 for every killed update, and nothing recorded today shows the store's age reliably. Left as a follow-up decision.
  • Recording success instead of failed/abandoned. History reconciliation credits a dead driver's run with success only when a Gateway observer recorded booted. This run has no such fact, and inventing one would forge evidence.
  • Keying cohorts by the stable install path. That changes stored data, so it is a separate decision.

Release lines:

  • release/2026.11.10: the squashed change applies cleanly (git apply --3way --check), and the first commit's settle tests pass there. Nine refusal rows fail there, because that line's refusals do not yet name the openclaw triage route. A backport would adjust those expectations.
  • release/2026.11.7: has no killed-update settlement module (update-plugin-cohort-settlement.ts), so only the repair half could apply.

Evidence

Real installed-package cells. Docker, systemd as PID 1 with a lingering user manager, the Gateway as a real managed systemctl --user service, a busy 256 MiB agent database under constant writes, and 1,000 marker rows written before the first update. pnpm 12.21 unless noted. Every build has its own version; nothing was relabelled.

  • A (2026.11.20-beta.1), B (-beta.2), C (-beta.3): main e17201c964a plus one version-bump commit each that changes only package.json: 795efe2 (A), 4f4f386 (B), 84269f3 (C). B lacks fix(update): a pnpm update no longer fails after activating when the updater itself was installed by an update #203458, so B → anything fails after activation.
  • Base B1/B2 (-beta.10/-beta.11): this PR's base 35b84dab389.
  • Head H1/H2 (-beta.8/-beta.9): built from 9d31439, this PR's first commit before it was rebased over unrelated main commits (subagent and queue files only).
  • H3/H4 (-beta.12/-beta.13): built from 8111057, the second commit, which adds the round-1 review fixes below.
  • H5/H6 (-beta.14/-beta.15): built from 8f11d78, which adds the round-2 fixes and merges main.
  • PR head H7/H8 (-beta.16/-beta.17): built from 9104b7a, which adds the round-3 fix and merges main.

Each cell: install A; openclaw update A → B (passes); then B → X, which fails with update-recovery-pending and leaves the stuck state. That state is a running/verifying run with successful recorded verification, a plugin-cohort recovery keyed to a directory that no longer exists, and an empty update lease store.

Cell After the stuck B → X Result
Red, base. X = B1 openclaw update B1 → B2: refused, 1.8 s, "It belongs to the installation at … Run openclaw update repair from that installation". openclaw update repair: refused, 1.4 s, "Plugin cohort recovery belongs to a different installation." openclaw update again: refused. stuck Raw log: 1/3, 2/3, 3/3.
Red, base, manual way out. X = C, then pnpm add -g B1 openclaw update repair: refused, same message. openclaw update B1 → B2: refused. stuck Raw log: 1/3, 2/3, 3/3.
Green, earlier head 9d31439. X = H1 openclaw update H1 → H2: refused, 1.9 s, "The update lease store no longer holds that update's lease … By hand: Run openclaw update repair, then retry openclaw update". openclaw update repair: exit 0, 74 s. It settles the recovery (commit), runs Doctor, then restarts and verifies the Gateway; its own run succeeded. The dead run is closed failed/abandoned and acknowledged. openclaw update H1 → H2: exit 0 ok, run succeeded, Gateway serves -beta.9. updates again Raw log not posted; the PR-head rows supersede it.
Green, earlier head 9d31439, manual way out. X = C, then pnpm add -g H1 openclaw update repair: exit 0, 79 s. It settles from the manually installed build; Doctor replaced the stale Gateway through systemd and verified -beta.8. openclaw update H1 → H2: exit 0 ok. updates again Raw log not posted; the PR-head rows supersede it.
Green, earlier head 9d31439, pnpm 11.28.13. X = H1 Same three steps. The old directory was removed here too. Update refused naming repair (1.9 s); repair exit 0 (81 s); update H1 → H2 exit 0 ok. updates again Raw log: 1/6, 2/6, 3/6, 4/6, 5/6, 6/6.
npm, earlier head 9d31439. X = H1 B → H1 passes (npm keeps the same directory), H1 → H2 ok, repair finds nothing to settle, the next update is already-current. unchanged Raw log: 1/6, 2/6, 3/6, 4/6, 5/6, 6/6.
Green, 8111057. X = H3 Update refused naming repair (1.8 s); repair exit 0 (76 s); update H3 → H4 exit 0 ok, Gateway serves -beta.13. updates again Raw log not posted; the PR-head rows supersede it.
Green, 8111057, manual way out. X = C, then pnpm add -g H3 Before the install, update and repair are refused as on base. After pnpm add -g H3: repair exit 0 (77 s), update H3 → H4 exit 0 ok. updates again Raw log not posted; the PR-head rows supersede it.
Green, 8f11d78. X = H5 Update refused naming repair (1.9 s); repair exit 0 (79 s); update H5 → H6 exit 0 ok, Gateway serves -beta.15. updates again Raw log not posted; the PR-head rows supersede it.
Green, 8f11d78, manual way out. X = C, then pnpm add -g H5 Before the install: update and repair refused as on base. After pnpm add -g H5: repair exit 0 (76 s), update H5 → H6 exit 0 ok. updates again Raw log not posted; the PR-head rows supersede it.
Green, PR head 9104b7a. X = H7 Update refused naming repair (1.9 s); repair exit 0 (74 s); update H7 → H8 exit 0 ok, Gateway serves -beta.17. updates again Raw log: 1/6, 2/6, 3/6, 4/6, 5/6, 6/6.
Green, PR head, manual way out. X = C, then pnpm add -g H7 Before the install: update and repair refused as on base. After pnpm add -g H7: repair exit 0 (76 s), update H7 → H8 exit 0 ok. updates again Raw log: 1/6, 2/6, 3/6, 4/6, 5/6, 6/6.

In every cell the 1,000 marker rows keep SHA-256 69cb2f12…a806 from before the first update to the end, and PRAGMA quick_check is ok.

Settlement warning recorded by repair (green cell, container paths)
Warning: Plugin recovery was settled (commit) from a replacing installation: the package directory this update recorded, /home/appuser/um/pnpm-home/global/v11/5e6-18ea5cd87d619851-0/node_modules/.pnpm/openclaw@file+…/node_modules/openclaw, no longer exists, its install path /home/appuser/um/pnpm-home/global/v11/926ea0a5…/node_modules/openclaw resolves to the installation at /home/appuser/um/pnpm-home/global/v11/14b4-18ea5cf7aa475c53-0/node_modules/.pnpm/openclaw@file+…openclaw-h1.tgz…/node_modules/openclaw, its driver exited, and it recorded OpenClaw 2026.11.20-beta.8 serving.
Stuck state as recorded (red cell, read-only dump)
update_runs: {"status":"running","phase":"verifying","target":"2026.11.20-beta.10","verification":{"runningVersion":"2026.11.20-beta.10","serviceRunning":true,"versionMatch":true,"coreReady":true,"settled":true,...},"drivers":[{"pid":…,"aliveHere":false}]}
update.pluginCohort.<run>: installKey …/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+…/node_modules/openclaw  installKeyExists: false
update.recovery.<run>: from.root = to.root = …/global/v11/926ea0a5…/node_modules/openclaw (exists), effects [], verification null, terminal null
managed-update-handoffs.sqlite managed_update_handoffs []

Earlier cells on older builds, with the Gateway under a service-manager shim, show the same dead end for the manual routes that exist today. After pnpm add -g of #203458's own head build: repair refused, openclaw doctor --fix leaves the recovery untouched, update refused. After pnpm add -g of main 31c9a9a: repair and update refused.

Recordings (cell log live, then each operator command's output):

Raw cell logs are posted as PR comments and linked from each table row above. Each log set opens with a header naming its builds, head, command lines and exit codes, then gives the harness log, every command's stdout and stderr, and the final openclaw update status --json, each in its own collapsed block. Nothing is cut. Host scratch paths, container hostnames and the container's machine ID are redacted. The rows for the intermediate heads 9d31439 (pnpm 12), 8111057 and 8f11d78 have no posted log; the PR-head rows repeat the same steps.

Process tests at the owner (update-command-killed-run-replaced.process.test.ts). A real child openclaw update process holds the installation lease, reserves its plugin recovery, writes config, records the outcome it reached and is SIGKILLed. The fixture then does what pnpm's activation does: the install path is re-pointed at a new package directory and the old one is removed. The real updateCommand and updateRepairCommand entries then run against real SQLite stores and the real lease store. Doctor's child process, plugin installs and the managed service are stand-ins.

  • Settled by the next update while the dead driver's lease is still in the store. Changes are kept, the warning is recorded, the run is then closed.
  • Settled by repair after the driver released its lease, which is the real cell's state. The next update first names repair, and proceeds after it.
  • A commit the dead update had already selected is finished from a later fixed build, which is not the version that update verified. This is the manual way out after a crash mid-settlement.
  • Refused, with the reserved recovery, run and config left byte-for-byte unchanged and no warning written, when exactly one fact is missing:
    • the updater is still alive (says wait);
    • the driver identity was not recorded (says wait);
    • the run is no longer running;
    • no verification was recorded;
    • the service was not running;
    • another version was serving;
    • the update recorded only its package directory;
    • another installation is asking.
  • Today's exact refusals while the old directory still exists, and when its path cannot be read: real lstat errors from a file standing where the directory's parent was (ENOTDIR) and from a parent with mode 000 (EACCES). The EACCES case is skipped when tests run as root, because root reads through the mode. Treating an unreadable path as gone fails both cases (mutation check).

Red/green on the PR head 9104b7a, same tests: with the three product files reset to base 35b84dab389, 13 fail and 1 passes (the unchanged refusal while the directory exists); as committed, all 14 pass. Recordings: red https://github.com/user-attachments/assets/72b93149-ab17-4ab9-83ee-31097dab8211, green https://github.com/user-attachments/assets/dcabe3fd-f152-416e-b644-75fab17f388e.

Mutation check: each evidence guard was removed in turn and only this suite was run. Every guard is caught by a named control:

  • directory present → "keeps today's refusals";
  • install path → "another installation";
  • package-directory-only → its own row;
  • running status → its own row;
  • unrecorded driver → its own row;
  • live driver → "still alive";
  • service running → "without a running service";
  • running version → "another version serving";
  • the original-core-gone proof on a begun commit → "keeps a begun commit's refusal … without the build ID it had". The round-2 guard (installed(from)) fails this case.
  • the begun-commit exception → "finishes a commit … after a later build";
  • the replacement-specific settlement note → "settled by the next update".

Other checks on the head:

  • The new suite plus the killed-run settlement, refusal, restart and checkout suites, the cohort-settlement tests and the repair package-activation tests: 129 passed on 9104b7a's files.
  • update-restart-module-outcome and eager-import-closure pass.
  • pnpm tsgo:core, tsgo:core:test, pnpm check:docs, git diff --check and pnpm check:baseline-ratchets --base 35b84dab389 --no-merge-base all pass, including session-identity and test-lines.

Test files audited:

  • update-command-killed-run-replaced.process.test.ts (new).
  • update-command-killed-run.process.test-support.ts: adds linkedInstallation, replacePackageDirectory and a root option. Nothing removed; every existing helper is still used.
  • update-run-kill.process.test-support.ts: the child accepts an install path that differs from its installation key.
  • The new suite is registered with the other killed-run suites in vitest.database-worker-core-paths.mjs, because it needs the host-owned SQLite broker.

Independent review. A read-only reviewer saw the diff and the behavior contract, not these conclusions, and found no blockers. Four of its findings were fixed here:

  • the repair and update claims now also hold the current installation;
  • "wait for that update" is now said only when its process may still run;
  • the settlement warning is built from the checked evidence and passed in explicitly, and a failure to record it no longer reports the settlement as failed;
  • the refusal names the root that failed the check, and says when an update recorded only its package directory.

The reviewer's test-gap list led to the extra control rows and the mutation check. Its remaining note, about pnpm keeping old directories, is under "Not proven"; the pnpm 11.28.13 cell removed the old directory as pnpm 12 does.

ClawSweeper local review, round 1 (on 79bdfe4): overall C, proof C, patch C. Both findings were real and are fixed in 8111057:

  • A dead update that had already selected commit, followed by a manually installed different build, was still refused by the exact-target check. With a proven successor, that recorded commit is now finished. A new test covers it.
  • The warning named the requested outcome ("commit"), while the cohort owner may finish a rollback it had begun. The warning no longer names the outcome. The owner's own kept-changes warning still reports a rollback.

Its test note, that each refusal row ran the commands several times, is fixed: each command runs once and its refusal is checked for the reason, the next step and the unchanged state.

ClawSweeper local review, round 2 (on 8111057): overall C, proof C, patch C. All three findings were real and are fixed in 6c1525a:

  • The begun-commit exception also admitted the original version reinstalled in a fresh directory. It now still refuses then. A new control covers this, and it fails without the guard.
  • The update's settlement note said "verified on the installed version" even when a later build had replaced it. It now names the version that update installed.
  • The docs promised the changes are kept. They now say a rollback that had already restored something is finished instead.

ClawSweeper local review, round 3 (on 8f11d78, the last allowed round): overall C, proof C, patch C. One finding, real, fixed in 9104b7a:

  • A reinstalled original version without the build ID it had did not count as "original core installed", so the begun-commit exception still applied. The exception now requires the forward rule's positive proof that the original core is gone, shared with the forward rule. A new row covers it and fails with the round-2 guard.

No fourth rating round was run. What held round 3 at C was this finding and its proof note: the held-lease and begun-commit routes have process tests but no shipped-CLI cell, and no cell starts from the latest stable release.

Round 2's test note is fixed too: the warning assertion now checks the facts (the old directory, the install path, the successor and the version) instead of the whole sentence. Its proof note is addressed in part: the exact-head cells are above. The killed-with-lease route and the begun-commit route still rest on process tests only (see "Not proven").

CI. Every failing job is inherited from main.

checks-node-changed-compact-large-27: src/gateway/server.roles-allowlist-update.test.ts › "update.run persists the accepted handoff before parking and restarting its foreground owner". The same test fails locally, with the same assertion, on main 31c9a9a90f5 (before #203458), 35b84dab389, b8a55ae9207 and 450441b9040. This PR touches nothing it loads.

checks-node-changed-compact-small-11: all 20 cases of src/cli/update-finalization-output.process.test.ts fail with SyntaxError: … dist/legacy-finalizer/src/config/config.js does not provide an export named 'getRuntimeConfig', imported from legacy-finalizer/src/plugins/status-snapshot.js. The same 20 fail locally with the same error on main 31c9a9a90f5 and 450441b9040.

checks-node-changed-compact-large-47 (since the latest merge of main): src/gateway/server-methods/update.ocm.test.ts › "refuses an invalid browser-authority before submitting to OCM" fails with promise resolved "undefined" instead of rejecting. Locally it passes on main adb2f7c4d4b and fails the same way on main 6ff7a062e54. That range's only change under src/gateway/server-methods is #203488.

These suites are selected here because this PR changes src/cli/update-cli. Main's CI run on 450441b9040 passed; I did not check whether that run selects this test.

Not proven

  • openclaw update alone does not clear the real stuck state. Its dead driver released its lease, so the update names repair, and one openclaw update repair is needed. Automating that step needs a decision on the lease proof (see "Designs rejected"). Until then the refusal names the openclaw triage agent route first and repair second.
  • A pnpm update killed after activation but before it recorded its candidate serving is still refused, with the openclaw triage route. Settling it would need a rollback-over-candidate decision for a directory that is gone.
  • If an older updater recorded only the package directory and not the install path, it is refused. That happens when it ran from the package path rather than the pnpm link. The fixture test covers this case; no real cell does.
  • The killed-and-lease-held route (openclaw update settles by itself) and the begun-commit-then-later-build route are proven by process tests only, not in a Docker cell.
  • Upgrades from the latest stable release do not reach this state (no published updater has the pattern), so every cell starts from main builds.
  • Not covered by any test: a build-ID mismatch (package builds carry none), a managed-handoff run, and a run with no recorded drivers.
  • Old package directories that pnpm keeps on disk: check 1 then fails and today's refusal stays. No cell kept them.
  • Bun, Windows, macOS.
  • autoreview could not run on this machine. The Codex route was refused ("selected model_provider must match the operator config"), and the Claude engine's OAuth session had expired. An independent read-only reviewer took its place (below).

@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 docs Improvements or additions to documentation cli CLI command changes size: M labels Nov 22, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Nov 22, 2026
@clawsweeper

clawsweeper Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR lets a replacing pnpm installation settle verified plugin recovery left by a dead updater.

Example: A pnpm update activates 2026.11.20-beta.8, verifies its Gateway, then exits before settling recovery.

  • Before: Both the next update and update repair refuse because recovery names the removed package directory.
  • After: Update names repair when the old lease was released; repair settles recovery, and the next update succeeds.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The implementation is coherent and has focused regression coverage, but required upgrade validation remains incomplete.
Proof confidence 🦪 silver shellfish (2/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A healthy pnpm installation cannot update again because both supported recovery commands reject the removed installation path.
Reason: The maintainer-authored change restores a supported recovery route for a demonstrated failure while preserving refusals when replacement cannot be established.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this PR repairs a concrete pnpm recovery dead end that current main still has; no definite introduced code defect was found.

Priority: P2
Reviewed head: 79bdfe41ca9a9d90015cfb38fc854c5310f85a80

Before merge

  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

None.

Tests

  • Missing end-to-end proof: Provide redacted terminal output or logs for an upgrade from v2026.11.6 through the fixed build, exercising repair and a subsequent update with existing settings and data intact.
Agent review details

How this fits together

The CLI update recovery owner reads saved installation, driver, verification, and lease facts, then admits settlement through the existing plugin cohort and history owners.

flowchart TD
  A[Update or repair command] --> B[Saved recovery and run history]
  B --> C[Installation replacement check]
  C --> D[Installation executor leases]
  D --> E[Existing plugin cohort settlement]
  E --> F[History reconciliation]
  F --> G[Next update admitted]
Loading

Technical review

Best possible solution:

Use the shared replacement check and existing settlement owners to restore supported recovery without changing lease admission or stored installation identity.

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

The base's path comparisons establish the refusal directly, and the supplied installed-package cells describe the matching failure; no target code was executed during this review.

Is this the best way to solve the issue?

The change is focused: one shared installation decision serves both callers, while existing executor, plugin settlement, and history owners retain their responsibilities.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 450441b90403.

Provenance checked

  • Verified-candidate forward settlement keeps the original intent (c718583: Avoid rolling plugin state back after the candidate verified serving and the original core is gone.)
  • Automatic interrupted-update admission keeps the original intent (23fca1a: Permit routine recovery only when the dead driver's retained lease establishes process cleanup; the PR preserves this requirement.)
  • Installation identity refusal changes intended behavior with a stated reason (fix(update): Git updates overbuild and cannot repair interrupted conversion #189463: Preserve saved recovery identity and claim historical and current installation paths together; this PR explains the additional removed-pnpm-directory case.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Jason (Json): Raw commit c718583 adds src/cli/update-cli/update-plugin-cohort-settlement.ts:87 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c7185836beb3; files: src/cli/update-cli/update-plugin-cohort-settlement.ts)
  • Peter Steinberger: Raw commit 023af0d adds src/cli/update-cli/update-repair-command.ts:86 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 023af0d31935; files: src/cli/update-cli/update-repair-command.ts)

PR surface

Source +160, Tests +255, Docs +20. Total +435 across 8 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 3 176 16 +160
Tests 4 257 2 +255
Docs 1 21 1 +20
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 8 454 19 +435

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.

Labels

Label changes:

  • add P2: A concrete update-recovery dead end affects interrupted pnpm updates, with demonstrated cases currently coming from main builds rather than a published affected release.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.

Label justifications:

  • P2: A concrete update-recovery dead end affects interrupted pnpm updates, with demonstrated cases currently coming from main builds rather than a published affected release.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.

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, 7:37 AM ET / 12:37 UTC.

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Red, base, pnpm 12 (cell sd-red-auto, comment 1/3)

PR #203486 red/green table row Red, base, pnpm 12. Ran on: base: X = B1, Y = B2 built from 35b84dab389 (this PR's base).

Builds:

Harness: real systemd as PID 1, Gateway as a managed systemctl --user service, busy 256 MiB agent database, 1,000 marker rows. Cell exit 0, wall 329 s.

Step Command Exit
update (harness: A → B) openclaw update --yes --json --tag /home/appuser/um/openclaw-candidate.tgz 0
cmd-0-dump-before node /tmp/um-input/extra/dump-update-state.mjs; node /app/scripts/e2e/lib/upgrade-survivor/update-matrix-marker.mjs check $HOME/.openclaw/agents/main/agent/openclaw-agent.sqlite 0
cmd-1-update-b-to-c s=$(date +%s%N); openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-b1.tgz; e=$?; echo "exit $e wall $(( ($(date +%s%N) - s) / 1000000 ))ms" >&2; exit $e 1
cmd-1w s=$(date +%s); for i in $(seq 1 60); do openclaw gateway status --deep 2>/dev/null | grep -q "Connectivity check: ok" && break; sleep 5; done; echo "waited $(( $(date +%s) - s ))s" 0
cmd-2-dump-stuck node /tmp/um-input/extra/dump-update-state.mjs; node /app/scripts/e2e/lib/upgrade-survivor/update-matrix-marker.mjs check $HOME/.openclaw/agents/main/agent/openclaw-agent.sqlite 0
cmd-3-next-update-x-to-y s=$(date +%s%N); openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-b2.tgz; e=$?; echo "exit $e wall $(( ($(date +%s%N) - s) / 1000000 ))ms" >&2; exit $e 1
cmd-4-repair-from-x s=$(date +%s%N); openclaw update repair --yes --json; e=$?; echo "exit $e wall $(( ($(date +%s%N) - s) / 1000000 ))ms" >&2; exit $e 1
cmd-4d node /tmp/um-input/extra/dump-update-state.mjs; node /app/scripts/e2e/lib/upgrade-survivor/update-matrix-marker.mjs check $HOME/.openclaw/agents/main/agent/openclaw-agent.sqlite 0
cmd-5-update-x-to-y s=$(date +%s%N); openclaw update --yes --json --tag /tmp/um-input/extra/openclaw-b2.tgz; e=$?; echo "exit $e wall $(( ($(date +%s%N) - s) / 1000000 ))ms" >&2; exit $e 1
cmd-5w s=$(date +%s); for i in $(seq 1 60); do openclaw gateway status --deep 2>/dev/null | grep -q "Connectivity check: ok" && break; sleep 5; done; echo "waited $(( $(date +%s) - s ))s" 0
cmd-v openclaw --version 0
cmd-st openclaw update status 2>&1 | tail -6 0
cmd-dump-end node /tmp/um-input/extra/dump-update-state.mjs; node /app/scripts/e2e/lib/upgrade-survivor/update-matrix-marker.mjs check $HOME/.openclaw/agents/main/agent/openclaw-agent.sqlite 0
cmd-gs openclaw gateway status --deep 2>&1 | grep -E "Runtime:|Connectivity" 0
after-commands-update-status openclaw update status --json 0

Redactions: host scratch paths are <host-scratch>, container hostnames are <container-host>, and the container's systemd machine ID inside recorded process namespaces is <machine-id>. Nothing else is changed or cut. The text is raw as saved by the harness: its log, then each command's stdout (JSON where the command prints JSON) and stderr, then the final openclaw update status --json.

Cell environment (UM_* variables; host paths omitted)
UM_CANDIDATE_VERSION=2026.11.20-beta.2
UM_DB_MIB=256
UM_INSTALLED=2026.11.20-beta.1
UM_INSTALLED_TGZ=openclaw-m-a.tgz
UM_LOAD=busy
UM_MARKER_ROWS=1000
UM_NO_STAMP=1
UM_PATH=stable
UM_PKG_MANAGER=pnpm
UM_REAL_SYSTEMD=1
UM_REPEAT=0
UM_TRIGGER=cli
UM_UPDATE_TAG_CANDIDATE=1
UM_WRITE_KIB_S=1024

Empty (no output): cmd-0-dump-before stderr, cmd-1w stderr, cmd-2-dump-stuck stderr, cmd-4d stderr, cmd-5w stderr, cmd-v stderr, cmd-st stderr, cmd-dump-end stderr, cmd-gs stderr, Final openclaw update status --json stderr.

Harness log (cell.log)
degraded
active
srw-rw-rw- 1 appuser appuser 0 Nov 22 11:57 /run/user/1001/bus
[2026-11-22T11:57:46.464Z] 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-22T11:57:46.466Z] install-start {}
pnpm-version: exit=0 signal= 1042ms
install: exit=0 signal= 5243ms
[2026-11-22T11:57:52.753Z] install-done {}
candidate-extract: exit=0 signal= 1912ms
candidate-pack: exit=0 signal= 6462ms
systemd-user: exit=0 signal= 6ms
gateway-install: exit=0 signal= 3140ms
session-create: exit=0 signal= 1116ms
session-inject: exit=0 signal= 594ms
[2026-11-22T11:58:15.048Z] gateway-ready {}
[2026-11-22T11:58:16.063Z] load-ready {}
before-observe-static: exit=0 signal= 5ms
before-version: exit=0 signal= 28ms
before-probe: exit=0 signal= 1329ms
before-update-status: exit=0 signal= 1721ms
before-service: exit=0 signal= 4ms
before-launcher: exit=0 signal= 91ms
marker-write: exit=0 signal= 262ms
[2026-11-22T11:58:34.531Z] update-start {}
update: exit=0 signal= 127919ms
[2026-11-22T12:00:42.451Z] update-end {"exitCode":0,"durationMs":127919}
[2026-11-22T12:00:42.453Z] after-settle {}
after-version: exit=0 signal= 27ms
after-probe: exit=0 signal= 1266ms
after-update-status: exit=0 signal= 1582ms
after-service: exit=0 signal= 4ms
after-launcher: exit=0 signal= 84ms
after-observe-static: exit=0 signal= 3ms
[2026-11-22T12:00:45.427Z] after-commands-start {}
cmd-0-dump-before: exit=0 signal= 94ms
cmd-1-update-b-to-c: exit=1 signal= 123312ms
cmd-1w: exit=0 signal= 1679ms
cmd-2-dump-stuck: exit=0 signal= 95ms
cmd-3-next-update-x-to-y: exit=1 signal= 1844ms
cmd-4-repair-from-x: exit=1 signal= 1385ms
cmd-4d: exit=0 signal= 90ms
cmd-5-update-x-to-y: exit=1 signal= 1796ms
cmd-5w: exit=0 signal= 1716ms
cmd-v: exit=0 signal= 27ms
cmd-st: exit=0 signal= 1676ms
cmd-dump-end: exit=0 signal= 92ms
cmd-gs: exit=0 signal= 1633ms
[2026-11-22T12:03:00.875Z] after-commands-end {}
after-commands-version: exit=0 signal= 25ms
after-commands-probe: exit=0 signal= 1270ms
after-commands-update-status: exit=0 signal= 1622ms
after-commands-service: exit=0 signal= 4ms
after-commands-launcher: exit=0 signal= 87ms
after-commands-observe-static: exit=0 signal= 4ms
stop-service: exit=0 signal= 365ms
cell-exit=0
update (harness A → B) stdout
{
  "status": "ok",
  "mode": "pnpm",
  "root": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
  "before": {
    "version": "2026.11.20-beta.1",
    "buildId": "2026.11.20-beta.1-795efe2eebda-2026-11-22T08-03-55.108Z"
  },
  "after": {
    "version": "2026.11.20-beta.2",
    "buildId": "2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 14976,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":47096,\"estimatedBytes\":689901568,\"inventoryMs\":6525,\"materializationMs\":7346,\"linked\":41509,\"copied\":1736}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2423,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.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-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278245376 bytes; SHA-256 04a46854307caa0559ed20fffc8e6832044341b9adb957759224f1521091123f",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 d78c3a2283d238a32e36128d55b2f2c1d054cb1533eba07988e2366085ff4031",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 db3b5c34c805d6861dfc3a89947889705affa6e321a3e2c2c2494ac13ff5781f",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3297280 bytes; SHA-256 7e7a1b75b89ecae313903637cc1773929b131680432e139ae8bc04963c61e86c"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "pnpm add -g --allow-build=openclaw openclaw@file:/home/appuser/um/openclaw-candidate.tgz --config.global-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E --config.global-bin-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E.bin-dEaKS0",
      "durationMs": 2271,
      "exitCode": 0,
      "stdoutTail": ".../v11/5e5-18ea5c25a9f07806-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-V3SH1E/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm\n[WARN] 1 deprecated subdependencies found: [email protected]\nDownloading file:../../../../openclaw-candidate.tgz: 0.00 B/116.86 MB\n.../v11/5e5-18ea5c25a9f07806-0           | Progress: resolved 359, reused 361, downloaded 1, added 359\n.../v11/5e5-18ea5c25a9f07806-0           | Progress: resolved 359, reused 361, downloaded 1, added 359, done\nIgnored build scripts: @google/[email protected], [email protected], openclaw@file:../../../../openclaw-candidate.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.2\n\nDone in 2.2s using pnpm v12.21.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E"
    },
    {
      "name": "pnpm-package-preinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/preinstall-package-manager-warning.mjs",
      "durationMs": 22,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "pnpm-package-postinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/postinstall-bundled-plugins.mjs",
      "durationMs": 206,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 854,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/pnpm-home/.openclaw-update-native-V3SH1E/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw -> /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "cwd": "/home/appuser/um/pnpm-home",
      "durationMs": 50133,
      "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": 34885,
      "exitCode": 0,
      "stdoutTail": "…law/credentials). Skipping create   │\n│    because no WhatsApp/pairing channel config is active.              │\n│                                                                       │\n├───────────────────────────────────────────────────────────────────────╯\n│\n◇  Backups ─────────────────────────────────────────────────────────────╮\n│                                                                       │\n│  No successful 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│  (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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-vBRF4b: the creating  │\n│  update (PID 1089) 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: contributions (10s elapsed)\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-vBRF4b: the creating update (PID 1089) is still running\nDoctor: maintenance finish\nDoctor: maintenance release\n[update] Doctor changed config key: agents.\n[update] Doctor changed config key: meta.\n[update] Doctor changed config key: wizard.\n[update] Doctor migration: Prepared the agent roster for persistence.\nModel retirement deferred until configured plugin installation converges.\nAutomation Memory Dreaming Promotion (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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.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 7.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.5 s, legacy-cron.inference 1.4 s, legacy-cron.execution-context 0.4 s, contributions 16.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.7 s, maintenance.release 0.1 s; slowest contributions: session-transcripts 3.2 s, write-config-migrations 2.8 s, legacy-cron 2.3 s, node-runtime 1.8 s, memory-search 1.5 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"
      ],
      "configChanges": [
        {
          "kind": "key",
          "key": "agents"
        },
        {
          "kind": "key",
          "key": "meta"
        },
        {
          "kind": "key",
          "key": "wizard"
        },
        {
          "kind": "migration",
          "message": "Prepared the agent roster for persistence."
        }
      ],
      "warnings": [
        "Automation Memory Dreaming Promotion (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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 (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases; from SHA-256 5cccb1541b21845757db6253c7821e3b879138868b6fc584805c0fd644048778 to SHA-256 5844a4a3847ffd091ce1fb6e33cee9c306395923cc661bb3b87b4c7ba10c73d4.",
        "Post-migration write inventory: 4 databases; SHA-256 5844a4a3847ffd091ce1fb6e33cee9c306395923cc661bb3b87b4c7ba10c73d4. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; bd77b5a73567dead65809ed6e47019dfad40da8b44ca08ce3319d58f0111d8e4",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 5ba3bd4cadb175ab07625895a4beba9ebb98fbea96fd6decedb12911004e682a",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 8b0c75a5e9e24bec8f86d1469662058928d22c540aa2f972946bc4d8952747c4",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 2f73913fede381515e85c8cb87b1fa88282eb0b63bf2df044adf21422e18e958"
      ]
    },
    {
      "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": 134,
      "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": 19810,
      "exitCode": 0,
      "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 3.9 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 6.1 s, contributions 3.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.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 3.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/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases; from SHA-256 d8165adca496bb3c176b2e35586db1f4ca5265bd9f70d5b06a5fbda168c7ee28 to SHA-256 33b100a18f04d3aa84a89f192082855b97cd016fa41c9bfada501a8cac06b6b4.",
        "Post-migration write inventory: 4 databases; SHA-256 33b100a18f04d3aa84a89f192082855b97cd016fa41c9bfada501a8cac06b6b4. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; bd77b5a73567dead65809ed6e47019dfad40da8b44ca08ce3319d58f0111d8e4",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 5ba3bd4cadb175ab07625895a4beba9ebb98fbea96fd6decedb12911004e682a",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 8b0c75a5e9e24bec8f86d1469662058928d22c540aa2f972946bc4d8952747c4",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; e06fb1a08512cf0115adefd03e629e6c313708c3daa7dab95c52dc99bafa38a9"
      ]
    },
    {
      "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": 302,
      "exitCode": 0
    },
    {
      "name": "managed-service-install",
      "command": "openclaw gateway install --force --port 40231 --json",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 3573,
      "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-4ed6bc7f-04dc-440b-b154-15aed2faa593.bak, /home/appuser/.config/systemd/user/openclaw-gateway.service.reconcile-4ed6bc7f-04dc-440b-b154-15aed2faa593.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": 1711,
      "exitCode": 0
    },
    {
      "name": "plugin-cohort-commit-timing",
      "command": "openclaw update",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 858,
      "exitCode": 0
    },
    {
      "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": 2278,
      "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": 167,
      "exitCode": 0
    },
    {
      "name": "recovery-artifact-cleanup",
      "command": "openclaw update cleanup",
      "cwd": "",
      "durationMs": 1188,
      "exitCode": 0,
      "diagnostics": [
        "Update backup cleanup removed 1 item (281603724 logical bytes, 269 MiB).",
        "Removed /home/appuser/.openclaw.update-captures/1908ce00-53b5-4d92-9c5b-f678067a592a (281603724 logical bytes, 269 MiB)."
      ]
    }
  ],
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.20-beta.2"
  },
  "localOverrides": {
    "status": "none",
    "added": 0,
    "modified": 0,
    "deleted": 0,
    "applied": 0,
    "conflicts": [],
    "warnings": []
  },
  "durationMs": 125719,
  "runId": "1908ce00-53b5-4d92-9c5b-f678067a592a",
  "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": 2278,
        "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": "1908ce00-53b5-4d92-9c5b-f678067a592a",
    "createdAtMs": 1795348717329,
    "updatedAtMs": 1795348841159,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "admission": {
        "owner": "candidate",
        "protocol": 1,
        "candidateVersion": "2026.11.20-beta.2",
        "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.2",
          "installedVersion": "2026.11.20-beta.1",
          "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": "<container-host>",
        "pid": 1089,
        "startIdentity": "83388428"
      },
      "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": "~/um/openclaw-candidate.tgz",
      "kind": "package",
      "version": "2026.11.20-beta.2"
    },
    "before": {
      "version": "2026.11.20-beta.1",
      "buildId": "2026.11.20-beta.1-795efe2eebda-2026-11-22T08-03-55.108Z"
    },
    "after": {
      "version": "2026.11.20-beta.2",
      "buildId": "2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795348717329,
        "endedAtMs": 1795348722525
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795348717395
      },
      {
        "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: 270 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 5 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: 334 MiB (349802912 bytes) needed; 343 GiB (367839707136 bytes) free."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:6",
        "status": "completed",
        "detail": "Pre-migration database image near ~/um/pnpm-home: 609 MiB (638117568 bytes) needed; 343 GiB (367839707136 bytes) free."
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795348722525,
        "endedAtMs": 1795348722536
      },
      {
        "step": "candidate-admission",
        "status": "completed",
        "endedAtMs": 1795348722522,
        "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": 1795348722536,
        "endedAtMs": 1795348751775
      },
      {
        "step": "pnpm-package-preinstall",
        "status": "completed",
        "startedAtMs": 1795348723900,
        "endedAtMs": 1795348723922,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "pnpm-package-postinstall",
        "status": "completed",
        "startedAtMs": 1795348724365,
        "endedAtMs": 1795348724571,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795348727892,
        "endedAtMs": 1795348742868,
        "exitCode": 0
      },
      {
        "step": "diagnostic:updater-runtime-retention",
        "status": "completed",
        "startedAtMs": 1795348727892,
        "endedAtMs": 1795348742868,
        "detail": "{\"entries\":47096,\"estimatedBytes\":689901568,\"inventoryMs\":6525,\"materializationMs\":7346,\"linked\":41509,\"copied\":1736}"
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795348744436,
        "endedAtMs": 1795348745290,
        "exitCode": 0
      },
      {
        "step": "previous gateway verification",
        "status": "completed",
        "startedAtMs": 1795348747128,
        "endedAtMs": 1795348747469,
        "detail": "Previous package is running and ready."
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/1908ce00-53b5-4d92-9c5b-f678067a592a."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795348751775,
        "endedAtMs": 1795348826223
      },
      {
        "step": "service-stop",
        "status": "completed",
        "startedAtMs": 1795348752669,
        "endedAtMs": 1795348753042
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795348753227,
        "endedAtMs": 1795348753361,
        "exitCode": 0
      },
      {
        "step": "finalize:doctor:model-retirement",
        "status": "completed",
        "endedAtMs": 1795348817569,
        "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": 1795348753856,
        "endedAtMs": 1795348756279,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database snapshot",
        "status": "completed",
        "startedAtMs": 1795348753856,
        "endedAtMs": 1795348756279,
        "detail": "Databases snapshotted at ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.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": 1795348753856,
        "endedAtMs": 1795348756279,
        "detail": "~/.openclaw/agents/main/agent/openclaw-agent.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278245376 bytes; SHA-256 04a46854307caa0559ed20fffc8e6832044341b9adb957759224f1521091123f"
      },
      {
        "step": "diagnostic:database snapshot:3",
        "status": "completed",
        "startedAtMs": 1795348753856,
        "endedAtMs": 1795348756279,
        "detail": "~/.openclaw/client/credentials.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 d78c3a2283d238a32e36128d55b2f2c1d054cb1533eba07988e2366085ff4031"
      },
      {
        "step": "diagnostic:database snapshot:4",
        "status": "completed",
        "startedAtMs": 1795348753856,
        "endedAtMs": 1795348756279,
        "detail": "~/.openclaw/control/services.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 db3b5c34c805d6861dfc3a89947889705affa6e321a3e2c2c2494ac13ff5781f"
      },
      {
        "step": "diagnostic:database snapshot:5",
        "status": "completed",
        "startedAtMs": 1795348753856,
        "endedAtMs": 1795348756279,
        "detail": "~/.openclaw/state/openclaw.sqlite -> ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3297280 bytes; SHA-256 7e7a1b75b89ecae313903637cc1773929b131680432e139ae8bc04963c61e86c"
      },
      {
        "step": "openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "database migration writes",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "exitCode": 0
      },
      {
        "step": "diagnostic:database migration writes",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "detail": "Doctor interval post-plugin doctor; backup ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases; from SHA-256 d8165adca496bb3c176b2e35586db1f4ca5265bd9f70d5b06a5fbda168c7ee28 to SHA-256 33b100a18f04d3aa84a89f192082855b97cd016fa41c9bfada501a8cac06b6b4."
      },
      {
        "step": "diagnostic:database migration writes:2",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "detail": "Post-migration write inventory: 4 databases; SHA-256 33b100a18f04d3aa84a89f192082855b97cd016fa41c9bfada501a8cac06b6b4. Snapshots: ~/um/pnpm-home/.openclaw.package-backup-1089-1795348745524.databases."
      },
      {
        "step": "diagnostic:database migration writes:3",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "detail": "Database write fingerprint: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; bd77b5a73567dead65809ed6e47019dfad40da8b44ca08ce3319d58f0111d8e4"
      },
      {
        "step": "diagnostic:database migration writes:4",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "detail": "Database write fingerprint: ~/.openclaw/client/credentials.sqlite; 5ba3bd4cadb175ab07625895a4beba9ebb98fbea96fd6decedb12911004e682a"
      },
      {
        "step": "diagnostic:database migration writes:5",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "detail": "Database write fingerprint: ~/.openclaw/control/services.sqlite; 8b0c75a5e9e24bec8f86d1469662058928d22c540aa2f972946bc4d8952747c4"
      },
      {
        "step": "diagnostic:database migration writes:6",
        "status": "completed",
        "startedAtMs": 1795348795656,
        "endedAtMs": 1795348795656,
        "detail": "Database write fingerprint: ~/.openclaw/state/openclaw.sqlite; e06fb1a08512cf0115adefd03e629e6c313708c3daa7dab95c52dc99bafa38a9"
      },
      {
        "step": "warning:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "Automation Memory Dreaming Promotion (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --model 'openai/gpt-6-astra@<profileId>'."
      },
      {
        "step": "warning:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "core/doctor/security: WARNING: openclaw.json contains plaintext secret-bearing config fields."
      },
      {
        "step": "warning:openclaw doctor:3",
        "status": "skipped",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "Settled or superseded later in this update."
      },
      {
        "step": "diagnostic:openclaw doctor",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "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 7.9 s, legacy-cron.crontab 0.0 s, legacy-cron.store 0.5 s, legacy-cron.inference 1.4 s, legacy-cron.execution-context 0.4 s, contributions 16.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.7 s, maintenance.release 0.1 s; slowest contributions: session-transcripts 3.2 s, write-config-migrations 2.8 s, legacy-cron 2.3 s, node-runtime 1.8 s, memory-search 1.5 s"
      },
      {
        "step": "doctor-config:openclaw doctor:0",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "Doctor changed config key: agents.",
        "configChange": {
          "kind": "key",
          "key": "agents"
        }
      },
      {
        "step": "doctor-config:openclaw doctor:1",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "Doctor changed config key: meta.",
        "configChange": {
          "kind": "key",
          "key": "meta"
        }
      },
      {
        "step": "doctor-config:openclaw doctor:2",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "Doctor changed config key: wizard.",
        "configChange": {
          "kind": "key",
          "key": "wizard"
        }
      },
      {
        "step": "doctor-config:openclaw doctor:3",
        "status": "completed",
        "startedAtMs": 1795348760772,
        "endedAtMs": 1795348795657,
        "detail": "Doctor migration: Prepared the agent roster for persistence.",
        "configChange": {
          "kind": "migration",
          "message": "Prepared the agent roster for persistence."
        }
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795348797925,
        "endedAtMs": 1795348825956
      },
      {
        "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": 1795348826223,
        "endedAtMs": 1795348830176
      },
      {
        "step": "managed-service-executor-check",
        "status": "completed",
        "startedAtMs": 1795348826235,
        "endedAtMs": 1795348826537,
        "exitCode": 0
      },
      {
        "step": "managed-service-install",
        "status": "completed",
        "startedAtMs": 1795348826554,
        "endedAtMs": 1795348830127,
        "exitCode": 0
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795348830139,
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "endedAtMs": 1795348830150,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-4ed6bc7f-04dc-440b-b154-15aed2faa593.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-4ed6bc7f-04dc-440b-b154-15aed2faa593.receipt.bak"
      },
      {
        "step": "warning:managed-service-reconciliation:2",
        "status": "completed",
        "endedAtMs": 1795348830161,
        "detail": "Terminal CLI setup skipped: the installed Gateway command has no reusable CLI entrypoint."
      },
      {
        "step": "verifying",
        "status": "completed",
        "startedAtMs": 1795348830176,
        "endedAtMs": 1795348841159
      },
      {
        "step": "service-running",
        "status": "completed",
        "endedAtMs": 1795348837932
      },
      {
        "step": "gateway verification",
        "status": "completed",
        "startedAtMs": 1795348837923,
        "endedAtMs": 1795348837939,
        "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.1 s, schema-admission 0.0 s, state-database-repair 0.7 s, database-migrations 3.9 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 6.1 s, contributions 3.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.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 3.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": "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 (281603724 logical bytes, 269 MiB)."
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup:2",
        "status": "completed",
        "detail": "Removed /home/appuser/.openclaw.update-captures/1908ce00-53b5-4d92-9c5b-f678067a592a (281603724 logical bytes, 269 MiB)."
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.20-beta.2"
      },
      "runningVersion": "2026.11.20-beta.2",
      "runningBuildId": "2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z",
      "serviceRunning": true,
      "pid": 4169,
      "port": 40231,
      "versionMatch": true,
      "pluginErrors": [],
      "channelsReady": true,
      "readyz": true,
      "coreReady": true,
      "settled": true
    },
    "repair": [],
    "confirmedAtMs": 1795348837932,
    "finishedAtMs": 1795348841159,
    "downtimeMs": 85270,
    "admission": {
      "owner": "candidate",
      "protocol": 1,
      "candidateVersion": "2026.11.20-beta.2",
      "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/1908ce00-53b5-4d92-9c5b-f678067a592a.md"
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Raw log: Red, base, pnpm 12 (cell sd-red-auto, comment 2/3), continued

update (harness A → B) stderr
[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 47096 entries (689901568 estimated bytes) after 6525ms 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 299987ms. Last observation: checking service and listener identity on port 40231
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299780ms. 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 299759ms. 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 1908ce00-53b5-4d92-9c5b-f678067a592a (a   │
│  later repair may have resolved them):                                   │
│  Model retirement deferred until configured plugin installation          │
│  converges.                                                              │
│  Automation Memory Dreaming Promotion                                    │
│  (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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-vBRF4b: the creating  │
│  update (PID 1089) 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-vBRF4b: the creating update (PID 1089) is still running
Doctor: maintenance finish
Doctor: maintenance release
Gateway readiness (readiness): waiting for Gateway listener; service=running PID=4169; listener=free; listener PIDs=none; health=unverified
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vBRF4b: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix
cmd-0-dump-before stdout
== update_runs (newest 6)
{"runId":"1908ce00-53b5-4d92-9c5b-f678067a592a","status":"succeeded","phase":"finished","reason":null,"target":"2026.11.20-beta.2","verification":{"recovery":{"serviceRestartSafe":true,"version":"2026.11.20-beta.2"},"runningVersion":"2026.11.20-beta.2","runningBuildId":"2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z","serviceRunning":true,"pid":4169,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":1089,"startIdentity":"83388428","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":true}
== recovery rows
{"key":"update.checkState","keys":["lastCheckedAt","lastCheckedChannel"]}
== package activation and backup entries
== update lease stores
/home/appuser/um/tmp/openclaw-1001/managed-update-handoffs.sqlite managed_update_handoffs []
{"mode":"check","markerRows":1000,"markerSha256":"69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806","writer":{"rows":16384,"minId":4129,"maxId":20512},"quickCheck":"ok","userVersion":43}
cmd-1-update-b-to-c stdout
{
  "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.10",
    "buildId": "2026.11.20-beta.10-35b84dab3891-2026-11-22T11-08-37.058Z"
  },
  "steps": [
    {
      "name": "updater-runtime-retention",
      "command": "retain running updater runtime",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 12851,
      "exitCode": 0,
      "diagnostics": [
        "{\"entries\":47844,\"estimatedBytes\":693133312,\"inventoryMs\":5478,\"materializationMs\":6266,\"linked\":41510,\"copied\":1755}"
      ]
    },
    {
      "name": "database snapshot",
      "command": "snapshot databases before migrations",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2148,
      "exitCode": 0,
      "diagnostics": [
        "Databases snapshotted at /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.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-4900-1795348883370.databases/payload/posix/home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; schema 43; 278249472 bytes; SHA-256 643a9d638ff8fa695baaeea8a8e9dc63c5f9c2d34a07db41a9c6e6a4468233f8",
        "/home/appuser/.openclaw/client/credentials.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases/payload/posix/home/appuser/.openclaw/client/credentials.sqlite; schema 1; 49152 bytes; SHA-256 d78c3a2283d238a32e36128d55b2f2c1d054cb1533eba07988e2366085ff4031",
        "/home/appuser/.openclaw/control/services.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases/payload/posix/home/appuser/.openclaw/control/services.sqlite; schema 1; 16384 bytes; SHA-256 db3b5c34c805d6861dfc3a89947889705affa6e321a3e2c2c2494ac13ff5781f",
        "/home/appuser/.openclaw/state/openclaw.sqlite -> /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases/payload/posix/home/appuser/.openclaw/state/openclaw.sqlite; schema 41; 3436544 bytes; SHA-256 196ce9e2473cd38973bfdc8b3a06bddd7c7c2fedce4b7d2616d0b2223feb9d9f"
      ],
      "warnings": []
    },
    {
      "name": "package-install",
      "command": "pnpm add -g --allow-build=openclaw openclaw@file:/tmp/um-input/extra/openclaw-b1.tgz --config.global-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV --config.global-bin-dir=/home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV.bin-uE7zz6",
      "durationMs": 3009,
      "exitCode": 0,
      "stdoutTail": ".../v11/14c9-18ea5c463d1788c3-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-nMDKVV/v11/14c9-18ea5c463d1788c3-0/node_modules/.pnpm\n[WARN] 1 deprecated subdependencies found: [email protected]\nDownloading file:../../../../../../../tmp/um-input/extra/openclaw-b1.tgz: 0.00 B/116.87 MB\n.../v11/14c9-18ea5c463d1788c3-0          | Progress: resolved 359, reused 361, downloaded 1, added 359\n.../v11/14c9-18ea5c463d1788c3-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-b1.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.10\n\nDone in 3s using pnpm v12.21.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV"
    },
    {
      "name": "pnpm-package-preinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/preinstall-package-manager-warning.mjs",
      "durationMs": 26,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "pnpm-package-postinstall",
      "command": "/usr/local/bin/node /home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/scripts/postinstall-bundled-plugins.mjs",
      "durationMs": 205,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 851,
      "exitCode": 0
    },
    {
      "name": "package-swap",
      "command": "swap /home/appuser/um/pnpm-home/.openclaw-update-native-nMDKVV/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw -> /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "cwd": "/home/appuser/um/pnpm-home",
      "durationMs": 41062,
      "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": 27544,
      "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│  (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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│  bc2570fc-0c6a-4731-866b-7d21fe1a205c --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-1l9LNe: the creating       │\n│  update (PID 4900) is still running                                      │\n│  Runtime retained at                                                     │\n│  /home/appuser/um/tmp/openclaw-update-runtime-vBRF4b: 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-1l9LNe: the creating update (PID 4900) is still running\n[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vBRF4b: 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 (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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.6 s, database-migrations 3.9 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 11.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.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 3.0 s, legacy-cron 2.2 s, memory-search 1.4 s, workspace-status 1.2 s, plugin-registry 0.8 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 (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --model '<provider/model>@<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 (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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 bc2570fc-0c6a-4731-866b-7d21fe1a205c --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.\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-4900-1795348883370.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval openclaw doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases; from SHA-256 b2f5b1c17c9521e326d4d105075cfdf565461ed60b5d82eae2ec981688992611 to SHA-256 1abcb326a395c4e7b16f8c166d0718c5de842a98e3483a99ca1b7acf96ed9f63.",
        "Post-migration write inventory: 4 databases; SHA-256 1abcb326a395c4e7b16f8c166d0718c5de842a98e3483a99ca1b7acf96ed9f63. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; ae1ae209caa6bce5927dc94b104784084b2bbf6010e64d00c8f11b5f568e5d10",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 5ba3bd4cadb175ab07625895a4beba9ebb98fbea96fd6decedb12911004e682a",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 8b0c75a5e9e24bec8f86d1469662058928d22c540aa2f972946bc4d8952747c4",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; 300eacd1342738e9782362a082a5ca3186abcd99b04dabe287f588faddec37b5"
      ]
    },
    {
      "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": 127,
      "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": 19712,
      "exitCode": 0,
      "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 3.5 s, heartbeat-migration-backups 0.2 s, state-schema 0.0 s, config-flow 6.5 s, contributions 3.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.7 s, maintenance.release 0.0 s; slowest contributions: session-transcripts 3.0 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-4900-1795348883370.databases",
      "durationMs": 0,
      "exitCode": 0,
      "diagnostics": [
        "Doctor interval post-plugin doctor; backup /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases; from SHA-256 4d19fbd90484b716d06fef2bd57ad0a27ab8b96d03c73c47d6bd3f311ea7e686 to SHA-256 c3cfcb64ec54d428061271cd5dc58c299a417a1f1116b1903497fffa9e6d99c2.",
        "Post-migration write inventory: 4 databases; SHA-256 c3cfcb64ec54d428061271cd5dc58c299a417a1f1116b1903497fffa9e6d99c2. Snapshots: /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases.",
        "Database write fingerprint: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; ae1ae209caa6bce5927dc94b104784084b2bbf6010e64d00c8f11b5f568e5d10",
        "Database write fingerprint: /home/appuser/.openclaw/client/credentials.sqlite; 5ba3bd4cadb175ab07625895a4beba9ebb98fbea96fd6decedb12911004e682a",
        "Database write fingerprint: /home/appuser/.openclaw/control/services.sqlite; 8b0c75a5e9e24bec8f86d1469662058928d22c540aa2f972946bc4d8952747c4",
        "Database write fingerprint: /home/appuser/.openclaw/state/openclaw.sqlite; f778ac60de5e90bd7c3bf12a10481de54b1e1fc0619bdafb03dc0941392c6c54"
      ]
    },
    {
      "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 e78b88e5-c61a-4e65-9bea-893f7c2752a8 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": 78062,
  "runId": "e78b88e5-c61a-4e65-9bea-893f7c2752a8",
  "reportPath": "/home/appuser/um/tmp/openclaw-update-report-WRTYUT/19e7cb5c-6318-4d75-9ce8-2ab6e127abd5.md"
}
cmd-1-update-b-to-c stderr
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vBRF4b: 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 5478ms 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 299988ms. Last observation: checking service and listener identity on port 40231
previous gateway verification: Previous-Gateway readiness verification: service, listener identity, version/build, health RPC and /readyz. Budget 300000ms (300000ms startup floor). Remaining 299786ms. 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 299768ms. 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 e78b88e5-c61a-4e65-9bea-893f7c2752a8 (a  │
│  later repair may have resolved them):                                  │
│  Model retirement deferred until configured plugin installation         │
│  converges.                                                             │
│  Automation Memory Dreaming Promotion                                   │
│  (bc2570fc-0c6a-4731-866b-7d21fe1a205c): 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                                 │
│  bc2570fc-0c6a-4731-866b-7d21fe1a205c --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-1l9LNe: the creating       │
│  update (PID 4900) is still running                                      │
│  Runtime retained at                                                     │
│  /home/appuser/um/tmp/openclaw-update-runtime-vBRF4b: 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-1l9LNe: the creating update (PID 4900) is still running
[infra:temp-artifacts] Runtime retained at /home/appuser/um/tmp/openclaw-update-runtime-vBRF4b: 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=7861; 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 e78b88e5-c61a-4e65-9bea-893f7c2752a8 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-1l9LNe: worker generation settled; cleanup deferred to the next eligible update or openclaw doctor --fix
exit 1 wall 123309ms
cmd-1w stdout
waited 2s
cmd-2-dump-stuck stdout
== update_runs (newest 6)
{"runId":"e78b88e5-c61a-4e65-9bea-893f7c2752a8","status":"running","phase":"verifying","reason":null,"target":"2026.11.20-beta.10","verification":{"runningVersion":"2026.11.20-beta.10","runningBuildId":"2026.11.20-beta.10-35b84dab3891-2026-11-22T11-08-37.058Z","serviceRunning":true,"pid":7861,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":4900,"startIdentity":"83401527","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":false}
{"runId":"1908ce00-53b5-4d92-9c5b-f678067a592a","status":"succeeded","phase":"finished","reason":null,"target":"2026.11.20-beta.2","verification":{"recovery":{"serviceRestartSafe":true,"version":"2026.11.20-beta.2"},"runningVersion":"2026.11.20-beta.2","runningBuildId":"2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z","serviceRunning":true,"pid":4169,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":1089,"startIdentity":"83388428","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":true}
== recovery rows
{"key":"update.checkState","keys":["lastCheckedAt","lastCheckedChannel"]}
{"key":"update.pluginCohort.e78b88e5-c61a-4e65-9bea-893f7c2752a8","keys":["runId","transactionId","revision","disposition","installKey","priorArtifacts","artifacts","publications","settledPublications"],"installKey":"/home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw","installKeyExists":false}
{"key":"update.recovery.e78b88e5-c61a-4e65-9bea-893f7c2752a8","claimKind":"initial","revision":0,"from":{"root":"/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw","rootExists":true,"version":"2026.11.20-beta.2"},"to":{"root":"/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw","rootExists":true,"version":"2026.11.20-beta.10"},"effects":[],"verification":null,"terminal":null,"restore":null,"retention":null,"primaryFailure":null,"native":null}
== package activation and backup entries
dir  /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370
dir  /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases
== update lease stores
/home/appuser/um/tmp/openclaw-1001/managed-update-handoffs.sqlite managed_update_handoffs []
{"mode":"check","markerRows":1000,"markerSha256":"69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806","writer":{"rows":16384,"minId":7217,"maxId":23600},"quickCheck":"ok","userVersion":43}
cmd-3-next-update-x-to-y stdout
{
  "ok": false,
  "error": {
    "type": "cli_error",
    "message": "Update e78b88e5-c61a-4e65-9bea-893f7c2752a8 has unfinished recovery; reconcile it before starting another update. It belongs to the installation at /home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw. Run openclaw triage for an agent that reads this update history and settles it. By hand: Run openclaw update repair from that installation."
  }
}
cmd-3-next-update-x-to-y stderr
[openclaw] The CLI command failed.
[openclaw] Reason: Update e78b88e5-c61a-4e65-9bea-893f7c2752a8 has unfinished recovery; reconcile it before starting another update. It belongs to the installation at /home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw. Run openclaw triage for an agent that reads this update history and settles it. By hand: Run openclaw update repair from that installation.
[openclaw] For help, run `openclaw doctor`.
exit 1 wall 1841ms
cmd-4-repair-from-x stdout
{
  "ok": false,
  "error": {
    "type": "cli_error",
    "message": "Plugin cohort recovery belongs to a different installation."
  }
}
cmd-4-repair-from-x stderr
[openclaw] The CLI command failed.
[openclaw] Reason: Plugin cohort recovery belongs to a different installation.
[openclaw] For help, run `openclaw doctor`.
exit 1 wall 1382ms
cmd-4d stdout
== update_runs (newest 6)
{"runId":"e78b88e5-c61a-4e65-9bea-893f7c2752a8","status":"running","phase":"verifying","reason":null,"target":"2026.11.20-beta.10","verification":{"runningVersion":"2026.11.20-beta.10","runningBuildId":"2026.11.20-beta.10-35b84dab3891-2026-11-22T11-08-37.058Z","serviceRunning":true,"pid":7861,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":4900,"startIdentity":"83401527","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":false}
{"runId":"1908ce00-53b5-4d92-9c5b-f678067a592a","status":"succeeded","phase":"finished","reason":null,"target":"2026.11.20-beta.2","verification":{"recovery":{"serviceRestartSafe":true,"version":"2026.11.20-beta.2"},"runningVersion":"2026.11.20-beta.2","runningBuildId":"2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z","serviceRunning":true,"pid":4169,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":1089,"startIdentity":"83388428","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":true}
== recovery rows
{"key":"update.checkState","keys":["lastCheckedAt","lastCheckedChannel"]}
{"key":"update.pluginCohort.e78b88e5-c61a-4e65-9bea-893f7c2752a8","keys":["runId","transactionId","revision","disposition","installKey","priorArtifacts","artifacts","publications","settledPublications"],"installKey":"/home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw","installKeyExists":false}
{"key":"update.recovery.e78b88e5-c61a-4e65-9bea-893f7c2752a8","claimKind":"initial","revision":0,"from":{"root":"/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw","rootExists":true,"version":"2026.11.20-beta.2"},"to":{"root":"/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw","rootExists":true,"version":"2026.11.20-beta.10"},"effects":[],"verification":null,"terminal":null,"restore":null,"retention":null,"primaryFailure":null,"native":null}
== package activation and backup entries
dir  /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370
dir  /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases
== update lease stores
/home/appuser/um/tmp/openclaw-1001/managed-update-handoffs.sqlite managed_update_handoffs []
{"mode":"check","markerRows":1000,"markerSha256":"69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806","writer":{"rows":16384,"minId":7425,"maxId":23808},"quickCheck":"ok","userVersion":43}
cmd-5-update-x-to-y stdout
{
  "ok": false,
  "error": {
    "type": "cli_error",
    "message": "Update e78b88e5-c61a-4e65-9bea-893f7c2752a8 has unfinished recovery; reconcile it before starting another update. It belongs to the installation at /home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw. Run openclaw triage for an agent that reads this update history and settles it. By hand: Run openclaw update repair from that installation."
  }
}
cmd-5-update-x-to-y stderr
[openclaw] The CLI command failed.
[openclaw] Reason: Update e78b88e5-c61a-4e65-9bea-893f7c2752a8 has unfinished recovery; reconcile it before starting another update. It belongs to the installation at /home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw. Run openclaw triage for an agent that reads this update history and settles it. By hand: Run openclaw update repair from that installation.
[openclaw] For help, run `openclaw doctor`.
exit 1 wall 1793ms
cmd-5w stdout
waited 2s
cmd-v stdout
OpenClaw 2026.11.20-beta.10 (35b84da)
cmd-st stdout

Update recovery set e78b88e5-c61a-4e65-9bea-893f7c2752a8: ambiguous
/home/appuser/.openclaw.update-captures/e78b88e5-c61a-4e65-9bea-893f7c2752a8/manifest.json
Update recovery set /home/appuser/.openclaw.update-captures/e78b88e5-c61a-4e65-9bea-893f7c2752a8/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
cmd-dump-end stdout
== update_runs (newest 6)
{"runId":"e78b88e5-c61a-4e65-9bea-893f7c2752a8","status":"running","phase":"verifying","reason":null,"target":"2026.11.20-beta.10","verification":{"runningVersion":"2026.11.20-beta.10","runningBuildId":"2026.11.20-beta.10-35b84dab3891-2026-11-22T11-08-37.058Z","serviceRunning":true,"pid":7861,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":4900,"startIdentity":"83401527","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":false}
{"runId":"1908ce00-53b5-4d92-9c5b-f678067a592a","status":"succeeded","phase":"finished","reason":null,"target":"2026.11.20-beta.2","verification":{"recovery":{"serviceRestartSafe":true,"version":"2026.11.20-beta.2"},"runningVersion":"2026.11.20-beta.2","runningBuildId":"2026.11.20-beta.2-4f4f38695ec2-2026-11-22T08-03-55.164Z","serviceRunning":true,"pid":4169,"port":40231,"versionMatch":true,"pluginErrors":[],"channelsReady":true,"readyz":true,"coreReady":true,"settled":true},"drivers":[{"host":"<container-host>","pid":1089,"startIdentity":"83388428","namespace":"[\"linux\",\"e4538b81-14d4-4065-ba82-a7a7e166903b\",\"pid:[4026532613]\",\"<machine-id>\"]","aliveHere":false}],"finished":true}
== recovery rows
{"key":"update.checkState","keys":["lastCheckedAt","lastCheckedChannel"]}
{"key":"update.pluginCohort.e78b88e5-c61a-4e65-9bea-893f7c2752a8","keys":["runId","transactionId","revision","disposition","installKey","priorArtifacts","artifacts","publications","settledPublications"],"installKey":"/home/appuser/um/pnpm-home/global/v11/5e5-18ea5c25a9f07806-0/node_modules/.pnpm/openclaw@file+..+..+..+..+openclaw-candidate.tgz_google-auth-library@10.9.1/node_modules/openclaw","installKeyExists":false}
{"key":"update.recovery.e78b88e5-c61a-4e65-9bea-893f7c2752a8","claimKind":"initial","revision":0,"from":{"root":"/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw","rootExists":true,"version":"2026.11.20-beta.2"},"to":{"root":"/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw","rootExists":true,"version":"2026.11.20-beta.10"},"effects":[],"verification":null,"terminal":null,"restore":null,"retention":null,"primaryFailure":null,"native":null}
== package activation and backup entries
dir  /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370
dir  /home/appuser/um/pnpm-home/.openclaw.package-backup-4900-1795348883370.databases
== update lease stores
/home/appuser/um/tmp/openclaw-1001/managed-update-handoffs.sqlite managed_update_handoffs []
{"mode":"check","markerRows":1000,"markerSha256":"69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806","writer":{"rows":16384,"minId":7761,"maxId":24144},"quickCheck":"ok","userVersion":43}
cmd-gs stdout
Runtime: running (pid 7861, state active, sub running)
Connectivity check: ok

@fuller-stack-dev

Copy link