Skip to content

fix: let a half-switched Git checkout finish updating from its new release - #203608

Closed
fuller-stack-dev wants to merge 7 commits into
openclaw:mainfrom
fuller-stack-dev:fix/update-half-switched-checkout
Closed

fuller-stack-dev wants to merge 7 commits into
openclaw:mainfrom
fuller-stack-dev:fix/update-half-switched-checkout

Conversation

@fuller-stack-dev

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

Copy link
Copy Markdown
Member

What Problem This Solves

A Git checkout that tracked main between #199706 (2026-11-17) and #200578 can be left half-switched by its own updater, and nothing after #203194 gets it out. That updater builds a release, links it at git-install/lib/node_modules/openclaw and arms a trial without the v field. It never starts the release, leaves the service on the checkout's build and exits 1 with openclaw doctor. From then on:

  • Plain openclaw update, openclaw doctor --fix and the Gateway's automatic updates all run that old build (unpatchable). Repeats report already-current while the Gateway serves 2026.11.4 on schema 40/42. When main moves, each one builds another 4.6 GiB release and fails the same way.
  • The only current code a user can reach is the release that updater built, run by its full path: node ~/.openclaw/git-install/lib/node_modules/openclaw/openclaw.mjs update. On main that CLI sends update.run to the running old Gateway. The old Gateway answers with its own handler (managed-service update handoff, driver:adopted), builds another release and fails the same way.
  • With --no-restart, update repair or doctor --fix, the new CLI cannot write the state database. The old Gateway owns it, and the database needs a forward migration that the new code may only do at the release's boot. gateway install --force pins the service to that release's dist/index.js, outside the launcher, with no trial and no rollback.

This is a real install shape: any checkout that tracked main in that window, including a live instance we run.

User Impact

From that state, one command converges: node ~/.openclaw/git-install/lib/node_modules/openclaw/openclaw.mjs update.

  1. It builds the target release beside the serving checkout and checks it with check-release. Neither step touches the state database.
  2. It points the service definition at the release launcher through the definition-backup owner, and restarts the service.
  3. The launcher starts the release on trial. The release migrates state at boot and keeps the .pre-* originals that a rollback restores.
  4. The trial commits when the release is ready. The run is then recorded and settled by the Gateway that serves the release, and openclaw update follows it to succeeded.

Every later update takes the normal release path. Plugin maintenance waits for the next update (an already-current update maintains plugins too), because it needs the state database that the old build owned during the conversion.

Every other install is unaffected. The new route runs only in three states:

The conversion refuses before changing anything in these cases, and each message says so:

  • The service starts another checkout.
  • The service selects another state directory or config. The comparison uses the service's own environment, not the CLI's overrides.
  • --timeout is already spent before the restart.

A resume starts only the trial that was prepared for this checkout and config. --sha prepares afresh instead of resuming. Installs whose trial cannot need conversion keep the normal route without a native service read.

Why This Change Was Made

Which entry points can run the fix. Everything on the user's path runs the old build: openclaw on PATH (a link to the checkout), the service (<checkout>/dist/index.js, which has no forwarder), the Gateway's update.run and automatic updates. The release that build's updater left behind is the only one that runs code from this change, and only by its full path. So that CLI owns the conversion.

Owner and invariant. The release path's preparation (prepareUpdate) records every step in the state database. Here the database belongs to a build that cannot be migrated while it runs. prepareUpdate now takes the run ledger as a parameter; the default is the state database, so no other caller changes. The conversion collects the run's progress in memory and records it once the release owns state. It also passes the checkout's serving commit, because the CLI's own build is not what serves.

Service definition. src/update/convert-service.ts is the same module, with the same interface, as #203497's stageReleaseService. It stages the launcher through the existing definition-backup owner, without stopping the Gateway. Whichever PR lands second drops its copy. After staging, the conversion reads back the effective command, drop-in overrides included. If that command does not start the launcher (for example a system-owned unit or an override), the conversion stops before any restart, puts back the earlier updater's trial, and says that the current version is still running. The next openclaw update then tries the conversion again. Once the restart has been attempted, the trial stays with the launcher, which may already be booting the release and needs the trial to roll back. Waiting for the trial gets its own budget, which starts at the restart: the launcher's 20-minute trial plus one minute, within what remains of --timeout. When that budget runs out, the message names node ~/.openclaw/git-install/openclaw/openclaw.mjs update status. The conversion runs only when the CLI targets the configured local Gateway.

Rollback. The trial's fallback is the checkout's own build, which is what serves. If the release does not become ready, the launcher restores the boot-migration originals and starts the checkout's build. The next openclaw update converts again: the route also matches a rolled-back trial whose serving tree has no forwarder.

What stays manual. openclaw on PATH still starts the checkout's 2026.11.4 build. That build now refuses with its own true message ("uses newer schema version 41; this build supports 40") and changes nothing. The run records a warning:checkout-cli step, which openclaw update prints. It names node ~/.openclaw/git-install/openclaw/openclaw.mjs, which follows every release. Fixing PATH automatically would mean rewriting the user's pnpm global link or rebuilding their checkout. This change does neither.

Prior decision. #203194 rejected settling #199706's format-1 trials and the lib/node_modules link, because "main-only code is not a shipped contract". This PR asks maintainers to revisit that for one reason: the state is observed on a production instance, and no entry point recovers it without hand edits. It does not settle format-1 trials or follow the legacy link. It replaces the trial with the current format through the normal preparation, and leaves the legacy link and releases to the normal 24-hour release collection.

Update behavior. This runs from new code only. The old updater and Gateway are unchanged and cannot be patched. The user runs the release CLI once, by full path. That release must contain this change, which holds after the old Gateway's own automatic update builds a newer main. No schema, config key, protocol, dependency or retention change.

Evidence

Real Linux container with systemd as PID 1, a lingering user manager and a real user bus. A user systemd Gateway service, a Gateway-gated writer on a 512 MiB agent database, and 1,000 marker rows checked by count, SHA-256 and PRAGMA quick_check after every step. Synthetic state only. Setup: a checkout at 8f80fe08cad (#199706 era) with the service installed, and origin/main pointed at the code under test. The checkout's own openclaw update (the 8f80 updater) then leaves it half-switched: exit 1 openclaw doctor, the release linked at lib/node_modules, a format-1 trial, the service on the checkout, schema 40/42. origin/main then moves one commit.

RED: base a1aa1276017, whose release the 8f80 updater built.

Step (who runs it) Result Wall Gateway State after
node …/lib/node_modules/openclaw/openclaw.mjs update --yes --json (release CLI → update.run → the old Gateway's own handler) exit 1, trigger: api, openclaw doctor; a third release built; a new format-1 trial 154 s 2026.11.4, untouched schema 40/42; 3 releases
plain openclaw update (8f80 on PATH) exit 0, skipped / already-current (false) 118 s 2026.11.4 unchanged
release CLI doctor --fix exit 1: "Refusing a forward database schema migration … the Gateway service runs 2026.11.4" 1 s 2026.11.4 unchanged
release CLI update repair exit 1: "refused shared state schema mutation … another Gateway owns that state directory" 13 s 2026.11.4 unchanged
release CLI update --no-restart exit 1: "state database is busy … schema migration pending" 2 s 2026.11.4 unchanged
release CLI gateway install --force exit 0; unit pinned to that release's dist/index.js (no launcher, no trial, no rollback) 3 s restarts on the pinned release migrated 41/43

GREEN: PR head beaa7d2c706, with the 8f80 updater building that head as the half-switched release.

Step Result Wall Gateway outage State after
node …/lib/node_modules/openclaw/openclaw.mjs update --yes --json exit 0, run succeeded (trigger: cli, before 2026.11.4, after 2026.11.6 at the target build). The unit now names git-install/openclaw-launcher.mjs. Trial v2 committed after 1 attempt, with the checkout as fallback. The run records the deferred plugin note and the warning:checkout-cli note. 406.1 s one outage of 30.0 s (stop, boot migration, ready) schema 41/43; marker rows and hash unchanged; quick_check ok; /readyz 200
openclaw on PATH (8f80) exit 1, with its own true refusal: "uses newer schema version 41; this build supports 40". Nothing changed. 1.5 s 0 unchanged
Next update, upstream moved again: node ~/.openclaw/git-install/openclaw/openclaw.mjs update --yes --json exit 0, succeeded through the new Gateway's update.run. Trial committed, fallback the previous release. 372.8 s 8.8 s marker unchanged

The same green rows passed at two earlier heads: 5ba368f4ebc (428 s, 31.5 s outage) and 3f1e3eb7dbc (408 s, 33.7 s outage).

Raw red output, unedited: release CLI attempts, plain update on PATH, and the 8f80 updater's half-switch (part 1, part 2). Red recording: base. Green recording and raw output at the head: head. Full logs are not attached because the artifact store rejects uploads from this machine.

Tests:

  • src/update/half-switched.test.ts (new):
    • Detection: format-1 trial; v2 trial; rollback onto a build without a forwarder; and with one.
    • Preparation with a collected ledger publishes a v2 pending trial whose fallback is the checkout, and opens no state database.
    • The serving commit, not the CLI's own build, decides current.
    • A full conversion: the definition is pointed at the launcher, one restart, and the run is recorded with the deferred plugin note and the checkout-CLI warning.
    • A definition that cannot be pointed at the launcher: no restart, the earlier trial restored, and the next update converts again.
    • A restart that throws: the published trial stays for the launcher, and the next update resumes it and records the run.
    • A service that starts another checkout, or uses another state directory: nothing changes.
    • Red on the base for every case except the detection helper, which does not exist there.
  • src/update/cli.test.ts:
    • New: a half-switched install routes to the conversion and sends no update.run. Red on the base: it sent update.run.
    • Every case now runs in its own temporary state directory, so none can read the developer's real releases/.trial.
    • Removed the per-case try/finally env restore, which the shared afterEach now covers.
  • test/vitest/vitest.database-worker-core-paths.mjs: the new file runs with the state database broker, as prepare.test.ts does.

Checks: node scripts/run-vitest.mjs src/update/ src/gateway/server-methods/update-run.test.ts, update-restart-module-outcome and eager-import-closure, pnpm tsgo:core, pnpm tsgo:core:test, oxlint and oxfmt on the touched files, pnpm check:baseline-ratchets (all ok, session-identity included), git diff --check.

Review:

  • ClawSweeper's local review, round 3 (the last round): overall F, proof D, patch F. Fixed after it, with tests where noted:

    • Verify the service starts this checkout before publishing (tested).
    • Compare the service's own config, not the CLI's overrides.
    • Check checkout and config again on resume.
    • Skip the service read for trials that cannot need conversion.
    • Do not resume a different commit under --sha.
    • Stop before the restart when --timeout is spent.

    Not fixed: it asks to identify a rolled-back checkout's running build by its capabilities rather than by the forwarder file at its root. A checkout pulled to current main without a rebuild would have the file but still run the old build. Listed under "Not proven".

  • ClawSweeper's local review, round 2: overall F, proof D, patch F. Its findings, all handled:

    • Convert only a checkout the service still starts: done.
    • Require the same state and config: done, with a test.
    • Keep a conversion whose restart never ran retryable: the resume route, tested.
    • Follow the run within one --timeout budget: done.
  • ClawSweeper's local review, round 1: overall F, proof D, patch F. Its findings, and what I did:

    • Verify the effective command: done.
    • Do not restore the earlier trial after the restart was attempted: done, with a new test.
    • Give the boot wait its own budget: done.
    • Do not convert under a Gateway URL override: done.
    • Isolate the tests from main's own Docker-marker probe: done.
    • It also raised a maintainer decision: carry a temporary converter, or give operators a one-time recovery. That is the question in "Prior decision" above.
  • A fresh independent reviewer found three P1 issues, all fixed:

    • A skipped rebind stranded the install.
    • A dead earlier lock's outcome aborted the replay.
    • The conversion had no tests.
  • Its P2 findings, handled:

    • An unknown serving commit fell back to the CLI's build. Fixed: null now means unknown.
    • Plugin maintenance failed on every conversion. Now deferred.
    • A rollback ended the retry path. The route now covers it.
    • Kept as accepted: a narrow race between creating the run and the Gateway settling it.
  • autoreview cannot run here. The worktree sits under a shared temp directory, and its Codex preflight refuses that.

Not proven:

  • A system-owned or foreign service definition end to end. The refusal path is unit-tested only.
  • A conversion whose release fails to start, so the launcher rolls back. Re-detection is unit-tested; the launcher rollback itself is feat(update): Git installs update through prepared releases and a resident launcher #203194's.
  • A rolled-back checkout that was pulled to current main but not rebuilt. Detection reads the forwarder file at the checkout root, so this case is not converted again.
  • No service manager at all (a foreground Gateway). The conversion restarts through the service and would fail to restart. Not run.
  • A CLI killed between the restart and recording the run. The release serves, but the run is never recorded, and the Gateway's settlement retries on every maintenance tick.
  • macOS launchd and Windows.
  • The cells remove /.dockerenv, because fix: let Git checkouts inside containers update again #203586 (the container refusal) is not merged.

A checkout left half-switched by the openclaw#199706-era updater keeps a Gateway whose update.run repeats the failure, and while it serves, new code cannot write the state it has not migrated. The release CLI now prepares the update without the state database, points the service at the launcher, restarts it, and records the run once the new release serves.
@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.

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

RED raw logs (1/4): base a1aa1276017, real-systemd container. Checkout at 8f80fe08cad with the service installed, left half-switched by its own updater; origin/main then moved one commit. Each block is the unedited stdout or stderr of the named command. The release CLI is node ~/.openclaw/git-install/lib/node_modules/openclaw/openclaw.mjs.

release CLI `update --yes --json` (handled by the old Gateway): exit 1, 154.1 s, stdout
{
  "runId": "8224af0d-e688-4f76-9f02-d09b44c3fa34",
  "createdAtMs": 1795368994349,
  "updatedAtMs": 1795369145729,
  "trigger": "api",
  "phase": "finished",
  "status": "failed",
  "reason": "openclaw doctor",
  "origin": {
    "admission": {
      "owner": "installed"
    },
    "driver": {
      "host": "e6bdb544537f",
      "pid": 10870,
      "startIdentity": "85416492"
    },
    "previousDrivers": [
      {
        "host": "e6bdb544537f",
        "pid": 10862,
        "startIdentity": "85416468"
      }
    ],
    "doctorHint": "Recommended follow-up: run openclaw doctor --non-interactive in a terminal or approvals-capable OpenClaw surface.",
    "nextAction": "Run `openclaw triage` on this machine to open a coding agent that can diagnose and repair the installation.",
    "cause": "unknown"
  },
  "target": {
    "channel": "dev",
    "tag": "dev",
    "kind": "git",
    "version": "2026.11.6",
    "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
    "installationMethod": "git-checkout"
  },
  "before": {
    "version": "2026.11.6",
    "sha": "a1aa127601782485194ef990cc913747fd994cb8",
    "buildId": "2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z"
  },
  "after": {
    "version": "2026.11.6",
    "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
    "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
  },
  "steps": [
    {
      "step": "requested",
      "status": "completed",
      "startedAtMs": 1795368994349,
      "endedAtMs": 1795368997647
    },
    {
      "step": "installation-inspection",
      "status": "completed",
      "endedAtMs": 1795368997573
    },
    {
      "step": "notice:ack",
      "status": "skipped",
      "endedAtMs": 1795368994613,
      "detail": "no delivery target"
    },
    {
      "step": "driver:adopted",
      "status": "completed",
      "endedAtMs": 1795368997305
    },
    {
      "step": "managed-service update handoff",
      "status": "completed",
      "startedAtMs": 1795368994605,
      "endedAtMs": 1795368995146,
      "exitCode": null
    },
    {
      "step": "staging",
      "status": "completed",
      "startedAtMs": 1795368997647,
      "endedAtMs": 1795368997657
    },
    {
      "step": "validating",
      "status": "completed",
      "startedAtMs": 1795368997657,
      "endedAtMs": 1795369138338
    },
    {
      "step": "git-remote",
      "status": "completed",
      "startedAtMs": 1795368998583,
      "endedAtMs": 1795368998587,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "git-config-update-upstream",
      "status": "completed",
      "startedAtMs": 1795369000198,
      "endedAtMs": 1795369000201,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "git fetch",
      "status": "completed",
      "startedAtMs": 1795369000604,
      "endedAtMs": 1795369000613,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "git-resolve-target",
      "status": "completed",
      "startedAtMs": 1795369001029,
      "endedAtMs": 1795369001033,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "upstream-check",
      "status": "completed",
      "startedAtMs": 1795369001868,
      "endedAtMs": 1795369001872,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "git-rev-list",
      "status": "completed",
      "startedAtMs": 1795369002279,
      "endedAtMs": 1795369002283,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-local-history",
      "status": "completed",
      "startedAtMs": 1795369002747,
      "endedAtMs": 1795369002770,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "snapshot-space-preflight",
      "status": "completed",
      "startedAtMs": 1795369003364,
      "endedAtMs": 1795369003365,
      "exitCode": 0
    },
    {
      "step": "diagnostic:snapshot-space-preflight",
      "status": "completed",
      "startedAtMs": 1795369003364,
      "endedAtMs": 1795369003365,
      "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 534 MiB (database and supporting files)."
    },
    {
      "step": "diagnostic:snapshot-space-preflight:2",
      "status": "completed",
      "startedAtMs": 1795369003364,
      "endedAtMs": 1795369003365,
      "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 4 MiB (database and supporting files)."
    },
    {
      "step": "diagnostic:snapshot-space-preflight:3",
      "status": "completed",
      "startedAtMs": 1795369003364,
      "endedAtMs": 1795369003365,
      "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
    },
    {
      "step": "diagnostic:snapshot-space-preflight:4",
      "status": "completed",
      "startedAtMs": 1795369003364,
      "endedAtMs": 1795369003365,
      "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
    },
    {
      "step": "diagnostic:snapshot-space-preflight:5",
      "status": "completed",
      "startedAtMs": 1795369003364,
      "endedAtMs": 1795369003365,
      "detail": "Update database backup near ~/openclaw/.artifacts: 1.1 GiB (1208063248 bytes) needed; 322 GiB (345880039424 bytes) free."
    },
    {
      "step": "preflight-worktree",
      "status": "completed",
      "startedAtMs": 1795369005689,
      "endedAtMs": 1795369009118,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-reset",
      "status": "completed",
      "startedAtMs": 1795369009645,
      "endedAtMs": 1795369009922,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-clean",
      "status": "completed",
      "startedAtMs": 1795369010507,
      "endedAtMs": 1795369010546,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-checkout",
      "status": "completed",
      "startedAtMs": 1795369011713,
      "endedAtMs": 1795369012078,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-local-checkout",
      "status": "completed",
      "startedAtMs": 1795369012958,
      "endedAtMs": 1795369014145,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-rebase",
      "status": "completed",
      "startedAtMs": 1795369014760,
      "endedAtMs": 1795369016207,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-deps-install",
      "status": "completed",
      "startedAtMs": 1795369017879,
      "endedAtMs": 1795369039259,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-build",
      "status": "completed",
      "startedAtMs": 1795369039687,
      "endedAtMs": 1795369132332,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "candidate-recovery",
      "status": "completed",
      "startedAtMs": 1795369133272,
      "endedAtMs": 1795369134083,
      "exitCode": 0
    },
    {
      "step": "preflight-update-clean-check",
      "status": "completed",
      "startedAtMs": 1795369134540,
      "endedAtMs": 1795369134609,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "preflight-update-source-check",
      "status": "completed",
      "startedAtMs": 1795369135049,
      "endedAtMs": 1795369135063,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "git-release-place",
      "status": "completed",
      "startedAtMs": 1795369135613,
      "endedAtMs": 1795369135620,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "git-release-smoke",
      "status": "completed",
      "startedAtMs": 1795369136070,
      "endedAtMs": 1795369136100,
      "exitCode": 0,
      "termination": "exit",
      "signal": null
    },
    {
      "step": "activating",
      "status": "failed",
      "startedAtMs": 1795369138338,
      "endedAtMs": 1795369145729
    },
    {
      "step": "post-stop-checks",
      "status": "completed",
      "startedAtMs": 1795369138633,
      "endedAtMs": 1795369138899,
      "exitCode": 0
    },
    {
      "step": "notice:activating",
      "status": "skipped",
      "endedAtMs": 1795369139701,
      "detail": "no delivery target"
    },
    {
      "step": "openclaw doctor",
      "status": "failed",
      "exitCode": 1,
      "detail": "Exit code: 1; Agent database migration did not finish: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; expected schem"
    },
    {
      "step": "gateway recovery verification",
      "status": "failed",
      "exitCode": 1,
      "detail": "Exit code: 1; Expected Gateway version 2026.11.6; observed 2026.11.4.; Expected Gateway build 2026.11.6-fe6f54abf2e1-2026-11-22T17-37-",
      "failureFacts": [
        {
          "check": "versionMatch",
          "code": "version-mismatch",
          "message": "Expected Gateway version 2026.11.6; observed 2026.11.4."
        },
        {
          "check": "versionMatch",
          "code": "build-id-mismatch",
          "message": "Expected Gateway build 2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z; observed 2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z."
        }
      ]
    },
    {
      "step": "service-running",
      "status": "completed",
      "endedAtMs": 1795369145729
    }
  ],
  "verification": {
    "recovery": {
      "serviceRestartSafe": true,
      "version": "2026.11.6",
      "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z",
      "service": "failed",
      "reason": "version-mismatch"
    },
    "runningVersion": "2026.11.4",
    "runningBuildId": "2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z",
    "serviceRunning": true,
    "pid": 2453,
    "port": 43769,
    "versionMatch": false,
    "pluginErrors": [],
    "channelsReady": false,
    "readyz": false,
    "settled": false,
    "noticeDelivered": false
  },
  "repair": [],
  "confirmedAtMs": null,
  "finishedAtMs": 1795369145729,
  "downtimeMs": null,
  "admission": {
    "owner": "installed"
  }
}
release CLI `doctor --fix --non-interactive`: exit 1, 1.1 s, stderr
[openclaw] Error: Temp workspace ancestor "/home/appuser/.cache" is group/world writable without sticky protection; have its owner run chmod +t '/home/appuser/.cache' for a shared temp directory or chmod go-w '/home/appuser/.cache' for a private ancestor. Using private state temp dir: /home/appuser/.openclaw/tmp/openclaw-1001
[openclaw] The CLI command failed.
[openclaw] Reason: Refusing a forward database schema migration: this CLI is 2026.11.6 but the Gateway service runs 2026.11.4 from /home/appuser/openclaw; run openclaw update (or the CLI from /home/appuser/openclaw).
release CLI `update repair --json`: exit 1, 12.5 s, stdout
{
  "ok": false,
  "error": {
    "type": "cli_error",
    "message": "OpenClaw refused shared state schema mutation at /home/appuser/.openclaw/state/openclaw.sqlite because another Gateway owns that state directory. Stop that Gateway or perform the update through its managed restart path, then retry."
  }
}
release CLI `update --yes --json --no-restart`: exit 1, 2.1 s, stdout
{
  "ok": false,
  "error": {
    "type": "cli_error",
    "message": "OpenClaw state database is busy at /home/appuser/.openclaw/state/openclaw.sqlite. Wait for the other OpenClaw process to finish, then retry. If it persists, run `openclaw gateway status` and check for other OpenClaw processes using the same state directory. A running Gateway can hold this ownership until it stops; stop it through its service manager or original terminal before retrying."
  }
}
release CLI `gateway install --force --json`: exit 0, 3.5 s, stdout
{
  "action": "install",
  "ok": true,
  "result": "installed",
  "message": "Gateway service installed. Runtime readiness has not been checked; startup may still be in progress. Run openclaw gateway start to wait until it is ready.",
  "service": {
    "label": "systemd",
    "loaded": true,
    "loadedText": "enabled",
    "notLoadedText": "disabled"
  },
  "warnings": [
    "Terminal default unchanged: keeping /home/appuser/um/pnpm-home/bin/openclaw; this Gateway: /usr/local/bin/node --max-old-space-size=8017 /home/appuser/.openclaw/git-install/releases/git-mws4cjdm-918b1f5f/lib/node_modules/openclaw/dist/index.js --profile default"
  ]
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

RED raw logs (2/4): plain openclaw update --yes --json on PATH (the 8f80 checkout build) after the release CLI's attempt. Unedited stdout.

plain `openclaw update`: exit 0, 117.6 s, stdout
{
  "status": "skipped",
  "mode": "git",
  "root": "/home/appuser/.openclaw/git-install/lib/node_modules/openclaw",
  "reason": "already-current",
  "before": {
    "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
    "version": "2026.11.6",
    "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
  },
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.6",
    "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
  },
  "sourceRuntimePrepared": true,
  "steps": [
    {
      "name": "git-remote",
      "command": "git -C /home/appuser/openclaw remote",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "origin",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get branch.main.remote",
      "durationMs": 3,
      "exitCode": 0,
      "stdoutTail": "origin",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get branch.main.remote",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "origin",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get-all branch.main.merge",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "refs/heads/main",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get-all remote.origin.fetch",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "+refs/heads/*:refs/remotes/origin/*",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-fetch",
      "command": "git -C /home/appuser/openclaw fetch origin --no-prune --no-tags --no-prune-tags --no-recurse-submodules -- refs/heads/main",
      "durationMs": 15,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "From file:///home/appuser/upstream\n * branch                main       -> FETCH_HEAD",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-resolve-target",
      "command": "git -C /home/appuser/openclaw rev-parse --verify FETCH_HEAD^{commit}",
      "durationMs": 5,
      "exitCode": 0,
      "stdoutTail": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "upstream-check",
      "command": "git -C /home/appuser/openclaw -c branch.main.remote=origin -c branch.main.merge=refs/heads/main rev-parse --symbolic-full-name main@{upstream}",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "refs/remotes/origin/main",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "upstream-check",
      "command": "git -C /home/appuser/openclaw rev-parse --verify fe6f54abf2e17c8ec83ebe6d9173eec62206f32b^{commit}",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-rev-list",
      "command": "git -C /home/appuser/openclaw rev-list --max-count=10 fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b\na1aa127601782485194ef990cc913747fd994cb8\n93f30cb0645aae9dff6e0d786c9f0a49da4c07d4\n1a0a24dcd2cfc5129df223dbc8bca58135dc0ec5\nafa93a83e4ef02e3bb0afd6aeb9f37d1977338af\nfeea72c186382804ceb75158a6c8fd41b7650e11\n2754763da236f763c539e3d994bbaa6370abd406\n6198f78b85b0be29b165dee037b772f1eda738cd\n3cd3a31186685c4f4bf413f9dfa60c3cde3299c0\nf56171778657c9332e78eda92c4545143be07549",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "preflight-local-history",
      "command": "git -C /home/appuser/openclaw --no-lazy-fetch merge-base 8f80fe08cad63e890008668c6f482a81aa12e2ea fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "durationMs": 21,
      "exitCode": 0,
      "stdoutTail": "8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "snapshot-space-preflight",
      "command": "snapshot-space-preflight",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 1,
      "exitCode": 0,
      "diagnostics": [
        "SQLite family /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: 534 MiB (database and supporting files).",
        "SQLite family /home/appuser/.openclaw/state/openclaw.sqlite: 4 MiB (database and supporting files).",
        "SQLite family /home/appuser/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files).",
        "SQLite family /home/appuser/.openclaw/control/services.sqlite: 0 MiB (database and supporting files).",
        "Update database backup near /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/.artifacts: 1.1 GiB (1207955688 bytes) needed; 318 GiB (341834555392 bytes) free."
      ]
    },
    {
      "name": "preflight-worktree",
      "command": "git -C /home/appuser/openclaw worktree add --detach /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "durationMs": 3144,
      "exitCode": 0,
      "stdoutTail": "HEAD is now at fe6f54abf update-matrix: base-n1 (throwaway target)",
      "stderrTail": "Preparing worktree (detached HEAD fe6f54abf)\nUpdating files:  34% (22774/66522)\rUpdating files:  35% (23283/66522)\rUpdating files:  36% (23948/66522)\rUpdating files:  37% (24614/66522)\rUpdating files:  38% (25279/66522)\rUpdating files:  39% (25944/66522)\rUpdating files:  40% (26609/66522)\rUpdating files:  41% (27275/66522)\rUpdating files:  42% (27940/66522)\rUpdating files:  43% (28605/66522)\rUpdating files:  44% (29270/66522)\rUpdating files:  45% (29935/66522)\rUpdating files:  46% (30601/66522)\rUpdating files:  47% (31266/66522)\rUpdating files:  48% (31931/66522)\rUpdating files:  49% (32596/66522)\rUpdating files:  50% (33261/66522)\rUpdating files:  51% (33927/66522)\rUpdating files:  52% (34592/66522)\rUpdating files:  53% (35257/66522)\rUpdating files:  54% (35922/66522)\rUpdating files:  55% (36588/66522)\rUpdating files:  56% (37253/66522)\rUpdating files:  57% (37918/66522)\rUpdating files:  58% (38583/66522)\rUpdating files:  59% (39248/66522)\rUpdating files:  60% (39914/66522)\rUpdating files:  61% (40579/66522)\rUpdating files:  62% (41244/66522)\rUpdating files:  63% (41909/66522)\rUpdating files:  64% (42575/66522)\rUpdating files:  65% (43240/66522)\rUpdating files:  66% (43905/66522)\rUpdating files:  67% (44570/66522)\rUpdating files:  68% (45235/66522)\rUpdating files:  68% (45566/66522)\rUpdating files:  69% (45901/66522)\rUpdating files:  70% (46566/66522)\rUpdating files:  71% (47231/66522)\rUpdating files:  72% (47896/66522)\rUpdating files:  73% (48562/66522)\rUpdating files:  74% (49227/66522)\rUpdating files:  75% (49892/66522)\rUpdating files:  76% (50557/66522)\rUpdating files:  77% (51222/66522)\rUpdating files:  78% (51888/66522)\rUpdating files:  79% (52553/66522)\rUpdating files:  80% (53218/66522)\rUpdating files:  81% (53883/66522)\rUpdating files:  82% (54549/66522)\rUpdating files:  83% (55214/66522)\rUpdating files:  84% (55879/66522)\rUpdating files:  85% (56544/66522)\rUpdating files:  86% (57209/66522)\rUpdating files:  87% (57875/66522)\rUpdating files:  88% (58540/66522)\rUpdating files:  89% (59205/66522)\rUpdating files:  90% (59870/66522)\rUpdating files:  91% (60536/66522)\rUpdating files:  92% (61201/66522)\rUpdating files:  93% (61866/66522)\rUpdating files:  94% (62531/66522)\rUpdating files:  95% (63196/66522)\rUpdating files:  96% (63862/66522)\rUpdating files:  97% (64527/66522)\rUpdating files:  98% (65192/66522)\rUpdating files:  98% (65498/66522)\rUpdating files:  99% (65857/66522)\rUpdating files: 100% (66522/66522)\rUpdating files: 100% (66522/66522), done.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "preflight-reset",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build reset --hard",
      "durationMs": 2421,
      "exitCode": 0,
      "stdoutTail": "HEAD is now at fe6f54abf update-matrix: base-n1 (throwaway target)",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-clean",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build clean -fdx",
      "durationMs": 30,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-checkout",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build checkout --detach fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "durationMs": 44,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "HEAD is now at fe6f54abf update-matrix: base-n1 (throwaway target)",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-local-checkout",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build checkout --detach 8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "durationMs": 1094,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "Previous HEAD position was fe6f54abf update-matrix: base-n1 (throwaway target)\nHEAD is now at 8f80fe08c fix(ui): group child-chat openings and answered questions with activity (#200683)",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-rebase",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build rebase fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "durationMs": 1106,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "Successfully rebased and updated detached HEAD.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-deps-install",
      "command": "pnpm install --frozen-lockfile",
      "durationMs": 3701,
      "exitCode": 0,
      "stdoutTail": "Scope: all 215 workspace projects\n. pnpm:devPreinstall$ node scripts/check-install-dependency-ownership.mjs\n. pnpm:devPreinstall: Done\n. preinstall$ node scripts/preinstall-package-manager-warning.mjs\n. preinstall: Done\n✓ Lockfile passes supply-chain policies (verified 7m ago)\nLockfile is up to date, resolution step is skipped\nPackages are cloned from the content-addressable store to the virtual store.\n  Content-addressable store is at: /home/appuser/um/pnpm-home/store/v11\n  Virtual store is at:             node_modules/.pnpm\nProgress: resolved 764, reused 764, downloaded 0, added 749\nProgress: resolved 1380, reused 1380, downloaded 0, added 1366\nPackages: +1481\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nProgress: resolved 1481, reused 1481, downloaded 0, added 1481, done\n.../node_modules/@google/genai preinstall$ echo 'preinstall: no-op'\n.../node_modules/@google/genai preinstall: preinstall: no-op\n.../node_modules/@google/genai preinstall: Done\n.../node_modules/node-pty install$ node scripts/prebuild.js || node-gyp rebuild\n.../node_modules/node-pty install: > Checking prebuilds...\n.../node_modules/@tloncorp/tlon-skill postinstall$ node scripts/postinstall.js\n.../node_modules/node-pty install: Done\n.../node_modules/node-pty postinstall$ node scripts/post-install.js\n.../node_modules/node-pty postinstall: > Cleaning release folder...\n.../node_modules/node-pty postinstall: > Moving conpty.dll...\n.../node_modules/node-pty postinstall:   SKIPPED (not Windows)\n.../node_modules/node-pty postinstall: Done\n.../node_modules/@tloncorp/tlon-skill postinstall: [tlon-skill] Binary ready: /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build/node_modules/.pnpm/@[email protected]/node_modules/@tloncorp/tlon-skill-linux-arm64/tlon\n.../node_modules/@tloncorp/tlon-skill postinstall: Done\nAgent skills awaiting approval: @copilotkit/aimock, @solidjs/web, acpx, chrome-devtools-mcp, solid-js.\nRun \"pnpm approve\" to review them.\n. postinstall$ node scripts/postinstall-bundled-plugins.mjs\n. postinstall: Done\n. prepare$ node scripts/prepare-git-hooks.mjs\n. prepare: [native-protocol] swift: generated\n. prepare: [native-protocol] kotlin: generated\n. prepare: Done\n\ndependencies:\n+ @agentclientprotocol/sdk 2.1.0\n+ @anthropic-ai/sdk 0.137.0\n+ @babel/generator 8.0.10\n+ @babel/parser 8.0.10\n+ @babel/traverse 8.0.10\n+ @clack/core 1.5.1\n+ @clack/prompts 1.8.1\n+ @earendil-works/pi-tui 1.4.0\n+ @google/genai 2.32.0\n+ @grammyjs/transformer-throttler 1.2.1\n+ @homebridge/ciao 1.3.12\n+ @lydell/node-pty 1.2.0-beta.18\n+ @modelcontextprotocol/client 2.4.0\n+ @modelcontextprotocol/core 2.4.0\n+ @modelcontextprotocol/node 2.1.2\n+ @modelcontextprotocol/sdk 1.32.2\n+ @modelcontextprotocol/server 2.4.0\n+ @mozilla/readability 0.6.0\n+ @openclaw/ai <- packages/ai\n+ @openclaw/fs-safe 0.27.1\n+ @openclaw/proc-safe 0.4.2\n+ @openclaw/proxyline 0.4.1\n+ @opentelemetry/semantic-conventions 1.44.0\n+ @resvg/resvg-js 2.6.2\n+ @silvia-odwyer/photon-node 0.3.4\n+ @trycua/cua-driver 0.37.0\n+ @types/pg 8.23.1\n+ acorn 8.19.0\n+ chalk 6.0.1\n+ chrome-devtools-mcp 1.12.0\n+ clawpdf 0.3.2\n+ commander 15.0.0\n+ croner 10.0.1\n+ diff 9.0.0\n+ dotenv 18.0.9\n+ entities 9.0.0\n+ esbuild 0.28.2\n+ execa 10.2.1\n+ express 5.3.0\n+ fast-uri 4.2.3\n+ file-type 22.3.0\n+ grammy 1.46.0\n+ hosted-git-info 10.1.1\n+ htmlparser2 12.0.0\n+ iconv-lite 0.7.3\n+ ignore 7.0.14\n+ import-meta-resolve 4.2.0\n+ jiti 2.7.0\n+ json5 2.2.3\n+ jszip 3.10.2\n+ kysely 0.29.7\n+ linkedom 0.18.14\n+ minimatch 10.2.6\n+ node-edge-tts 1.2.12\n+ npm 12.2.1\n+ openai 7.47.0\n+ p-limit 7.3.3\n+ p-map 7.1.1\n+ parse5 8.0.1\n+ partial-json 0.1.7\n+ pg 8.23.1\n+ playwright-core 1.64.1\n+ proxy-from-env 2.1.0\n+ qrcode 1.5.4\n+ rastermill 0.4.1\n+ semver 7.8.5\n+ tar 7.5.22\n+ tslog 5.4.0\n+ typebox 1.4.3\n+ undici 8.12.4\n+ web-push 3.6.7\n+ web-tree-sitter 0.27.1\n+ ws 8.22.0\n+ yaml 2.9.1\n+ zod 4.6.7\n+ zod-to-json-schema 3.25.2\n\noptionalDependencies:\n+ sqlite-vec 0.1.9\n\ndevDependencies:\n+ @babel/types 8.0.10\n+ @copilotkit/aimock 1.47.0\n+ @mdx-js/mdx 3.1.1\n+ @mistralai/mistralai 3.4.0\n+ @openclaw/crabline 0.2.0\n+ @openclaw/session-url-contract <- packages/session-url-contract\n+ @opentelemetry/sdk-node 0.223.0\n+ @pnpm/parse-overrides 1001.0.4\n+ @shikijs/core 4.5.0\n+ @shikijs/engine-javascript 4.5.0\n+ @shikijs/engine-oniguruma 4.5.0\n+ @sindresorhus/slugify 3.0.1\n+ @types/express 5.0.6\n+ @types/hosted-git-info 3.0.5\n+ @types/jsdom 30.0.0\n+ @types/markdown-it 14.2.0\n+ @types/mdast 4.0.4\n+ @types/node 26.6.6\n+ @types/semver 7.8.0\n+ @types/web-push 3.6.4\n+ @types/ws 8.18.2\n+ @vitest/browser-playwright 5.0.5\n+ @vitest/coverage-v8 5.0.5\n+ acpx 0.21.1\n+ ajv 8.20.0\n+ apache-arrow 21.2.0\n+ baileys 7.0.0-rc14\n+ highlight.js 11.12.0\n+ ipaddr.js 2.5.0\n+ jscpd 5.4.2\n+ jsdom 30.1.3\n+ markdown-it 15.0.3\n+ markdown-it-anchor 10.0.0\n+ marked 18.1.2\n+ minipass 7.1.3\n+ nostr-tools 2.25.4\n+ oxfmt 0.74.0\n+ oxlint 1.89.0\n+ oxlint-tsgolint 7.0.2005\n+ pako 3.0.3\n+ playwright 1.64.1\n+ postcss 8.5.32\n+ postcss-selector-parser 7.1.7\n+ shiki 4.5.0\n+ signal-utils 0.21.1\n+ sigstore 5.0.0\n+ string-width 8.3.0\n+ stylelint 17.16.0\n+ stylelint-config-recommended 18.0.0\n+ tinyglobby 0.2.17\n+ tree-sitter-bash 0.25.1\n+ tsdown 0.23.4\n+ tsrs 0.18.0-ts7.1.0-dev.20260929\n+ tsx 4.23.15\n+ typescript 7.1.0-dev.20261028.1\n+ unrun 0.3.1\n+ vite 8.3.5\n+ vitest 5.0.5\n\nDone in 3.6s using pnpm v12.15.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-build",
      "command": "pnpm build",
      "durationMs": 79524,
      "exitCode": 0,
      "stdoutTail": "[clawrouter] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/clawrouter\n[deep-research] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/deep-research\n[knowledge] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/knowledge\n[mcp-relay] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/mcp-relay\n[memory-core] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/memory-core\n[nostr] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/nostr\n[openclaw-id-access] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/openclaw-id-access\n[whatsapp] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/whatsapp\n[workboard] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/workboard\n[x] build: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/x\n[tsdown-build] invocation 1/2 finished in 0.5s\n[tsdown-cache] tsdown-runtime-agent-core: reused\n[tsdown-cache] tsdown-runtime-gateway-protocol: reused\n[tsdown-cache] tsdown-runtime-gateway-client: reused\n[tsdown-cache] tsdown-runtime-net-policy: reused\n[tsdown-cache] tsdown-runtime-media-generation-core: reused\n[tsdown-cache] tsdown-runtime-media-understanding-common: reused\n[tsdown-cache] tsdown-runtime-markdown-core: reused\n[tsdown-cache] tsdown-runtime-normalization-core: reused\n[tsdown-cache] tsdown-runtime-retry: reused\n[tsdown-cache] tsdown-runtime-worker-runtime: reused\n[tsdown-cache] tsdown-runtime-sdk: reused\n[tsdown-cache] tsdown-runtime-media-core: reused\n[tsdown-cache] tsdown-runtime-acp-core: reused\n[tsdown-cache] tsdown-runtime-terminal-core: reused\n[tsdown-cache] tsdown-runtime-llm-core: reused\n[tsdown-cache] tsdown-runtime-model-catalog-core: reused\n[tsdown-build] invocation 2/2 finished in 34.9s\n[external-plugin-local-dist] built 106 plugins in 1306ms\nagents/identity-file.worker.js: 203 evaluated modules (budget 220)\nextensions/codex/catalog-page.worker.js: 68 evaluated modules (budget 100)\nCLI bootstrap import guard passed.\n[browser] copy: node scripts/copy-chrome-extension.mjs\n[clawrouter] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/clawrouter --copy\n[deep-research] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/deep-research --copy\n[knowledge] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/knowledge --copy\n[mcp-relay] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/mcp-relay --copy\n[memory-core] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/memory-core --copy\n[nostr] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/nostr --copy\n[openclaw-id-access] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/openclaw-id-access --copy\n[whatsapp] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/whatsapp --copy\n[workboard] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/workboard --copy\n[x] copy: cd ../.. && node --import ./scripts/tsx.mjs scripts/build-plugin-control-ui.mts extensions/x --copy\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/activity.js\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/activity.d.ts\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/approvals.js\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/approvals.d.ts\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/session-input.js\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/session-input.d.ts\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/transcript.js\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/transcript.d.ts\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/history-state.js\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/history-state.d.ts\n[ui:validators] unchanged packages/gateway-protocol/src/compiled/sender-identity.js\n[ui:validators] unchanged packages/gateway-protocol/src/compiled/sender-identity.d.ts\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/board.js\n[ui:validators] unchanged ui/src/lib/protocol-validators.generated/board.d.ts\nControl UI build: reused content cache; refreshed release identity\nverified 1076 finalized Control UI sidecars",
      "stderrTail": "…\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249m[\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249ma\u001b[0m\u001b[38;5;249mm\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249m]\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m=\u001b[0m\u001b[38;5;249m \u001b[0meval\u001b[38;5;249m(\u001b[0m\u001b[38;5;249mf\u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249m)\u001b[0m\u001b[38;5;249m;\u001b[0m\n \u001b[38;5;240m     │\u001b[0m                                 ──┬─  \n \u001b[38;5;240m     │\u001b[0m                                   ╰─── Use of direct `eval` here.\n \u001b[38;5;240m     │\u001b[0m \n \u001b[38;5;240m     │\u001b[0m \u001b[38;5;115mHelp\u001b[0m: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval\n\u001b[38;5;246m──────╯\u001b[0m\n\nnode_modules/.pnpm/@[email protected]/node_modules/@acemir/cssom/lib/errorUtils.js (31:8) \u001b[33m[EVAL] \u001b[0mUse of direct `eval` function is strongly discouraged as it poses security risks and may cause issues with minification.\n    \u001b[38;5;246m╭\u001b[0m\u001b[38;5;246m─\u001b[0m\u001b[38;5;246m[\u001b[0m node_modules/.pnpm/@[email protected]/node_modules/@acemir/cssom/lib/errorUtils.js:31:9 \u001b[38;5;246m]\u001b[0m\n    \u001b[38;5;246m│\u001b[0m\n \u001b[38;5;246m31 │\u001b[0m \u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0meval\u001b[38;5;249m(\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mT\u001b[0m\u001b[38;5;249my\u001b[0m\u001b[38;5;249mp\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249m)\u001b[0m\u001b[38;5;249m;\u001b[0m\n \u001b[38;5;240m   │\u001b[0m            ──┬─  \n \u001b[38;5;240m   │\u001b[0m              ╰─── Use of direct `eval` here.\n \u001b[38;5;240m   │\u001b[0m \n \u001b[38;5;240m   │\u001b[0m \u001b[38;5;115mHelp\u001b[0m: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval\n\u001b[38;5;246m────╯\u001b[0m\n\nnode_modules/.pnpm/[email protected]/node_modules/web-tree-sitter/web-tree-sitter.js (2400:30) \u001b[33m[EVAL] \u001b[0mUse of direct `eval` function is strongly discouraged as it poses security risks and may cause issues with minification.\n      \u001b[38;5;246m╭\u001b[0m\u001b[38;5;246m─\u001b[0m\u001b[38;5;246m[\u001b[0m node_modules/.pnpm/[email protected]/node_modules/web-tree-sitter/web-tree-sitter.js:2400:31 \u001b[38;5;246m]\u001b[0m\n      \u001b[38;5;246m│\u001b[0m\n \u001b[38;5;246m2400 │\u001b[0m \u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249mA\u001b[0m\u001b[38;5;249mS\u001b[0m\u001b[38;5;249mM\u001b[0m\u001b[38;5;249m_\u001b[0m\u001b[38;5;249mC\u001b[0m\u001b[38;5;249mO\u001b[0m\u001b[38;5;249mN\u001b[0m\u001b[38;5;249mS\u001b[0m\u001b[38;5;249mT\u001b[0m\u001b[38;5;249mS\u001b[0m\u001b[38;5;249m[\u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249ma\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249m]\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m=\u001b[0m\u001b[38;5;249m \u001b[0meval\u001b[38;5;249m(\u001b[0m\u001b[38;5;249mf\u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249m)\u001b[0m\u001b[38;5;249m;\u001b[0m\n \u001b[38;5;240m     │\u001b[0m                               ──┬─  \n \u001b[38;5;240m     │\u001b[0m                                 ╰─── Use of direct `eval` here.\n \u001b[38;5;240m     │\u001b[0m \n \u001b[38;5;240m     │\u001b[0m \u001b[38;5;115mHelp\u001b[0m: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval\n\u001b[38;5;246m──────╯\u001b[0m\n\nnode_modules/.pnpm/[email protected]/node_modules/web-tree-sitter/web-tree-sitter.js (2423:32) \u001b[33m[EVAL] \u001b[0mUse of direct `eval` function is strongly discouraged as it poses security risks and may cause issues with minification.\n      \u001b[38;5;246m╭\u001b[0m\u001b[38;5;246m─\u001b[0m\u001b[38;5;246m[\u001b[0m node_modules/.pnpm/[email protected]/node_modules/web-tree-sitter/web-tree-sitter.js:2423:33 \u001b[38;5;246m]\u001b[0m\n      \u001b[38;5;246m│\u001b[0m\n \u001b[38;5;246m2423 │\u001b[0m \u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249mm\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249md\u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249ml\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249mE\u001b[0m\u001b[38;5;249mx\u001b[0m\u001b[38;5;249mp\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249m[\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249ma\u001b[0m\u001b[38;5;249mm\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249m]\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m=\u001b[0m\u001b[38;5;249m \u001b[0meval\u001b[38;5;249m(\u001b[0m\u001b[38;5;249mf\u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249m)\u001b[0m\u001b[38;5;249m;\u001b[0m\n \u001b[38;5;240m     │\u001b[0m                                 ──┬─  \n \u001b[38;5;240m     │\u001b[0m                                   ╰─── Use of direct `eval` here.\n \u001b[38;5;240m     │\u001b[0m \n \u001b[38;5;240m     │\u001b[0m \u001b[38;5;115mHelp\u001b[0m: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval\n\u001b[38;5;246m──────╯\u001b[0m\n\nextensions/browser/src/browser/page-function-runtime.ts (13:31) \u001b[33m[EVAL] \u001b[0mUse of direct `eval` function is strongly discouraged as it poses security risks and may cause issues with minification.\n    \u001b[38;5;246m╭\u001b[0m\u001b[38;5;246m─\u001b[0m\u001b[38;5;246m[\u001b[0m extensions/browser/src/browser/page-function-runtime.ts:13:32 \u001b[38;5;246m]\u001b[0m\n    \u001b[38;5;246m│\u001b[0m\n \u001b[38;5;246m13 │\u001b[0m \u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249ma\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249md\u001b[0m\u001b[38;5;249mi\u001b[0m\u001b[38;5;249md\u001b[0m\u001b[38;5;249ma\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249m:\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249mk\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mw\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249m=\u001b[0m\u001b[38;5;249m \u001b[0meval\u001b[38;5;249m(\u001b[0m\u001b[38;5;249m`\u001b[0m\u001b[38;5;249m\"\u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249m \u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mi\u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249m\"\u001b[0m\u001b[38;5;249m;\u001b[0m\u001b[38;5;249m\\\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249m(\u001b[0m\u001b[38;5;249m$\u001b[0m\u001b[38;5;249m{\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mp\u001b[0m\u001b[38;5;249mt\u001b[0m\u001b[38;5;249mi\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249ms\u001b[0m\u001b[38;5;249m.\u001b[0m\u001b[38;5;249mf\u001b[0m\u001b[38;5;249mn\u001b[0m\u001b[38;5;249mS\u001b[0m\u001b[38;5;249mo\u001b[0m\u001b[38;5;249mu\u001b[0m\u001b[38;5;249mr\u001b[0m\u001b[38;5;249mc\u001b[0m\u001b[38;5;249me\u001b[0m\u001b[38;5;249m}\u001b[0m\u001b[38;5;249m)\u001b[0m\u001b[38;5;249m`\u001b[0m\u001b[38;5;249m)\u001b[0m\u001b[38;5;249m;\u001b[0m\n \u001b[38;5;240m   │\u001b[0m                                ──┬─  \n \u001b[38;5;240m   │\u001b[0m                                  ╰─── Use of direct `eval` here.\n \u001b[38;5;240m   │\u001b[0m \n \u001b[38;5;240m   │\u001b[0m \u001b[38;5;115mHelp\u001b[0m: Consider using indirect eval. For more information, check the documentation: https://rolldown.rs/guide/troubleshooting#avoiding-direct-eval\n\u001b[38;5;246m────╯\u001b[0m\n\n[build-all] tsdown done in 40.8s\n[build-all] external-plugins:local-dist\n[build-all] external-plugins:local-dist done in 1.63s\n[build-all] check-cli-bootstrap-imports\n[build-all] check-cli-bootstrap-imports done in 7.19s\n[build-all] plugins:assets:copy\n[build-all] plugins:assets:copy done in 1.29s\n[build-all] runtime-postbuild\n[plugin-control-plane-loads] verified 56 built modules with native require and checked doctor closures\nruntime-postbuild: 14 phases completed in 3747ms (slowest: built plugin control-plane loads 1813ms)\n[build-all] runtime-postbuild done in 4.66s\n[build-all] build-stamp\n[build-all] ui:build\n[build-all] build-stamp done in 1.10s\n[build-all] runtime-postbuild-stamp\n[build-all] runtime-postbuild-stamp done in 43ms\n[build-all] ui:build done in 5.94s\n[build-all] write-build-info\n[build-all] write-build-info done in 112ms\n[build-all] write-cli-startup-metadata (cache restored)\n[build-all] write-cli-startup-metadata done in 207ms\n[build-all] phase timings: total 1m 11.9s; slowest tsdown 40.8s; check-cli-bootstrap-imports 7.19s; ui:build 5.94s; runtime-postbuild 4.66s; plugins:assets:build 4.44s; runtime:scripts:check 3.85s; external-plugins:local-dist 1.63s; plugins:assets:copy 1.29s; build-stamp 1.10s; write-cli-startup-metadata (reused) 207ms; write-build-info 112ms; native-protocol 63ms; runtime-postbuild-stamp 43ms",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build",
      "durationMs": 758,
      "exitCode": 0
    },
    {
      "name": "preflight-update-clean-check",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build status --porcelain -- :!dist/control-ui/",
      "durationMs": 64,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-update-source-check",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build diff --quiet fe6f54abf2e17c8ec83ebe6d9173eec62206f32b --",
      "durationMs": 16,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build"
    },
    {
      "name": "preflight-cleanup",
      "command": "git -C /home/appuser/openclaw worktree remove --force --force /home/appuser/.openclaw/git-install/releases/git-mws4hzg4-ae6372cc/build",
      "durationMs": 2106,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "managed-service-reconciliation",
      "command": "openclaw gateway install --force --port 43769",
      "cwd": "/home/appuser/.openclaw/git-install/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 0,
      "advisory": {
        "kind": "recoverable-maintenance",
        "message": "Gateway service management skipped: the service belongs to a different OpenClaw installation and was left untouched."
      }
    },
    {
      "name": "recovery-artifact-cleanup",
      "command": "openclaw update cleanup",
      "cwd": "",
      "durationMs": 1005,
      "exitCode": 0,
      "diagnostics": [
        "Recovery cleanup removed 0 files (0 logical bytes); protected recovery artifacts were retained."
      ]
    }
  ],
  "durationMs": 115647,
  "runId": "ba242072-dc62-40b4-8113-240a3298a5cf",
  "after": {
    "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
    "version": "2026.11.6",
    "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
  },
  "postUpdate": {
    "plugins": {
      "status": "ok",
      "changed": false,
      "warnings": [],
      "sync": {
        "changed": false,
        "switchedToBundled": [],
        "switchedToNpm": [],
        "warnings": [],
        "errors": []
      },
      "npm": {
        "changed": false,
        "outcomes": []
      },
      "integrityDrifts": []
    }
  },
  "run": {
    "runId": "ba242072-dc62-40b4-8113-240a3298a5cf",
    "createdAtMs": 1795369251479,
    "updatedAtMs": 1795369361836,
    "trigger": "cli",
    "phase": "finished",
    "status": "skipped",
    "reason": "already-current",
    "origin": {
      "admission": {
        "owner": "installed"
      },
      "driver": {
        "host": "e6bdb544537f",
        "pid": 15705,
        "startIdentity": "85441508"
      },
      "cause": "none"
    },
    "target": {
      "channel": "dev",
      "tag": "dev",
      "kind": "git",
      "version": "2026.11.6",
      "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "installationMethod": "git-checkout"
    },
    "before": {
      "version": "2026.11.6",
      "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
    },
    "after": {
      "version": "2026.11.6",
      "sha": "fe6f54abf2e17c8ec83ebe6d9173eec62206f32b",
      "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795369251479,
        "endedAtMs": 1795369251824
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795369251517
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/ba242072-dc62-40b4-8113-240a3298a5cf."
      },
      {
        "step": "warning:original-state-capture:1",
        "status": "completed",
        "detail": "matrix migration recovery coverage is unknown: no backup inventory was declared. Update the plugin to a version with migration backup support. Until then, keep a separate backup of its configured data before relying on rollback; ask its maintainer to add backup support. See https://docs.openclaw.ai/cli/doctor/state-migrations#plugin-migration-recovery-coverage"
      },
      {
        "step": "warning:original-state-capture:2",
        "status": "completed",
        "detail": "memory-lancedb migration recovery coverage is unknown: no backup inventory was declared. Update the plugin to a version with migration backup support. Until then, keep a separate backup of its configured data before relying on rollback; ask its maintainer to add backup support. See https://docs.openclaw.ai/cli/doctor/state-migrations#plugin-migration-recovery-coverage"
      },
      {
        "step": "warning:original-state-capture:3",
        "status": "completed",
        "detail": "zalouser migration recovery coverage is unknown: no backup inventory was declared. Update the plugin to a version with migration backup support. Until then, keep a separate backup of its configured data before relying on rollback; ask its maintainer to add backup support. See https://docs.openclaw.ai/cli/doctor/state-migrations#plugin-migration-recovery-coverage"
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795369251824,
        "endedAtMs": 1795369251835
      },
      {
        "step": "validating",
        "status": "skipped",
        "startedAtMs": 1795369251835,
        "endedAtMs": 1795369361836
      },
      {
        "step": "git-remote",
        "status": "completed",
        "startedAtMs": 1795369252634,
        "endedAtMs": 1795369252638,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-config-update-upstream",
        "status": "completed",
        "startedAtMs": 1795369254281,
        "endedAtMs": 1795369254285,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git fetch",
        "status": "completed",
        "startedAtMs": 1795369254698,
        "endedAtMs": 1795369254713,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-resolve-target",
        "status": "completed",
        "startedAtMs": 1795369255119,
        "endedAtMs": 1795369255124,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "upstream-check",
        "status": "completed",
        "startedAtMs": 1795369255997,
        "endedAtMs": 1795369256001,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-rev-list",
        "status": "completed",
        "startedAtMs": 1795369256411,
        "endedAtMs": 1795369256415,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-local-history",
        "status": "completed",
        "startedAtMs": 1795369256836,
        "endedAtMs": 1795369256857,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "startedAtMs": 1795369257463,
        "endedAtMs": 1795369257464,
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "startedAtMs": 1795369257463,
        "endedAtMs": 1795369257464,
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 534 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "startedAtMs": 1795369257463,
        "endedAtMs": 1795369257464,
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 4 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "startedAtMs": 1795369257463,
        "endedAtMs": 1795369257464,
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "startedAtMs": 1795369257463,
        "endedAtMs": 1795369257464,
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "startedAtMs": 1795369257463,
        "endedAtMs": 1795369257464,
        "detail": "Update database backup near ~/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/.artifacts: 1.1 GiB (1207955688 bytes) needed; 318 GiB (341834555392 bytes) free."
      },
      {
        "step": "preflight-worktree",
        "status": "completed",
        "startedAtMs": 1795369259642,
        "endedAtMs": 1795369262786,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-reset",
        "status": "completed",
        "startedAtMs": 1795369263207,
        "endedAtMs": 1795369265628,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-clean",
        "status": "completed",
        "startedAtMs": 1795369266051,
        "endedAtMs": 1795369266081,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-checkout",
        "status": "completed",
        "startedAtMs": 1795369266501,
        "endedAtMs": 1795369266545,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-local-checkout",
        "status": "completed",
        "startedAtMs": 1795369266967,
        "endedAtMs": 1795369268061,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-rebase",
        "status": "completed",
        "startedAtMs": 1795369268489,
        "endedAtMs": 1795369269595,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-deps-install",
        "status": "completed",
        "startedAtMs": 1795369270468,
        "endedAtMs": 1795369274169,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-build",
        "status": "completed",
        "startedAtMs": 1795369274606,
        "endedAtMs": 1795369354130,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795369354992,
        "endedAtMs": 1795369355750,
        "exitCode": 0
      },
      {
        "step": "preflight-update-clean-check",
        "status": "completed",
        "startedAtMs": 1795369356179,
        "endedAtMs": 1795369356243,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-update-source-check",
        "status": "completed",
        "startedAtMs": 1795369356662,
        "endedAtMs": 1795369356678,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-cleanup",
        "status": "completed",
        "startedAtMs": 1795369357104,
        "endedAtMs": 1795369359210,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "post-update verification",
        "status": "completed",
        "startedAtMs": 1795369360223,
        "endedAtMs": 1795369361414
      },
      {
        "step": "managed-service-reconciliation",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "warning:managed-service-reconciliation",
        "status": "completed",
        "detail": "Gateway service management skipped: the service belongs to a different OpenClaw installation and was left untouched."
      },
      {
        "step": "recovery-artifact-cleanup",
        "status": "completed",
        "exitCode": 0
      },
      {
        "step": "diagnostic:recovery-artifact-cleanup",
        "status": "completed",
        "detail": "Recovery cleanup removed 0 files (0 logical bytes); protected recovery artifacts were retained."
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.6",
        "buildId": "2026.11.6-fe6f54abf2e1-2026-11-22T17-37-28.523Z"
      }
    },
    "repair": [],
    "confirmedAtMs": null,
    "finishedAtMs": 1795369361836,
    "downtimeMs": 0,
    "admission": {
      "owner": "installed"
    }
  },
  "reportPath": "/home/appuser/.openclaw/update-reports/ba242072-dc62-40b4-8113-240a3298a5cf.md"
}

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

RED raw logs (3/4): the 8f80 updater's own openclaw update --yes --json that leaves the checkout half-switched (the setup step, the same on base and head). Exit 1 after 344 s. Unedited stdout, lines 1-425 of 851; the rest is in the next comment.

8f80 `openclaw update` stdout, part 1
{
  "status": "error",
  "mode": "git",
  "root": "/home/appuser/.openclaw/git-install/lib/node_modules/openclaw",
  "before": {
    "sha": "8f80fe08cad63e890008668c6f482a81aa12e2ea",
    "version": "2026.11.4",
    "buildId": "2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z"
  },
  "recovery": {
    "serviceRestartSafe": true,
    "version": "2026.11.6",
    "buildId": "2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z",
    "service": "failed",
    "reason": "version-mismatch"
  },
  "sourceRuntimePrepared": true,
  "steps": [
    {
      "name": "git-remote",
      "command": "git -C /home/appuser/openclaw remote",
      "durationMs": 5,
      "exitCode": 0,
      "stdoutTail": "origin",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get branch.main.remote",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "origin",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get branch.main.remote",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "origin",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get-all branch.main.merge",
      "durationMs": 5,
      "exitCode": 0,
      "stdoutTail": "refs/heads/main",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-config-update-upstream",
      "command": "git -C /home/appuser/openclaw config --get-all remote.origin.fetch",
      "durationMs": 3,
      "exitCode": 0,
      "stdoutTail": "+refs/heads/*:refs/remotes/origin/*",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-fetch",
      "command": "git -C /home/appuser/openclaw fetch origin --no-prune --no-tags --no-prune-tags --no-recurse-submodules -- refs/heads/main",
      "durationMs": 9119,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "From file:///home/appuser/upstream\n * branch                main       -> FETCH_HEAD\n   8f80fe08c..a1aa12760  main       -> origin/main",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-resolve-target",
      "command": "git -C /home/appuser/openclaw rev-parse --verify FETCH_HEAD^{commit}",
      "durationMs": 4,
      "exitCode": 0,
      "stdoutTail": "a1aa127601782485194ef990cc913747fd994cb8",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "preflight-worktree",
      "command": "git -C /home/appuser/openclaw worktree add --detach /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build 8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "durationMs": 3146,
      "exitCode": 0,
      "stdoutTail": "HEAD is now at 8f80fe08c fix(ui): group child-chat openings and answered questions with activity (#200683)",
      "stderrTail": "Preparing worktree (detached HEAD 8f80fe08c)\nUpdating files:  36% (23805/65701)\rUpdating files:  37% (24310/65701)\rUpdating files:  38% (24967/65701)\rUpdating files:  39% (25624/65701)\rUpdating files:  40% (26281/65701)\rUpdating files:  41% (26938/65701)\rUpdating files:  42% (27595/65701)\rUpdating files:  43% (28252/65701)\rUpdating files:  44% (28909/65701)\rUpdating files:  45% (29566/65701)\rUpdating files:  46% (30223/65701)\rUpdating files:  47% (30880/65701)\rUpdating files:  48% (31537/65701)\rUpdating files:  49% (32194/65701)\rUpdating files:  50% (32851/65701)\rUpdating files:  51% (33508/65701)\rUpdating files:  52% (34165/65701)\rUpdating files:  53% (34822/65701)\rUpdating files:  54% (35479/65701)\rUpdating files:  55% (36136/65701)\rUpdating files:  56% (36793/65701)\rUpdating files:  57% (37450/65701)\rUpdating files:  58% (38107/65701)\rUpdating files:  59% (38764/65701)\rUpdating files:  60% (39421/65701)\rUpdating files:  61% (40078/65701)\rUpdating files:  62% (40735/65701)\rUpdating files:  63% (41392/65701)\rUpdating files:  64% (42049/65701)\rUpdating files:  65% (42706/65701)\rUpdating files:  66% (43363/65701)\rUpdating files:  67% (44020/65701)\rUpdating files:  68% (44677/65701)\rUpdating files:  69% (45334/65701)\rUpdating files:  70% (45991/65701)\rUpdating files:  71% (46648/65701)\rUpdating files:  72% (47305/65701)\rUpdating files:  72% (47396/65701)\rUpdating files:  73% (47962/65701)\rUpdating files:  74% (48619/65701)\rUpdating files:  75% (49276/65701)\rUpdating files:  76% (49933/65701)\rUpdating files:  77% (50590/65701)\rUpdating files:  78% (51247/65701)\rUpdating files:  79% (51904/65701)\rUpdating files:  80% (52561/65701)\rUpdating files:  81% (53218/65701)\rUpdating files:  82% (53875/65701)\rUpdating files:  83% (54532/65701)\rUpdating files:  84% (55189/65701)\rUpdating files:  85% (55846/65701)\rUpdating files:  86% (56503/65701)\rUpdating files:  87% (57160/65701)\rUpdating files:  88% (57817/65701)\rUpdating files:  89% (58474/65701)\rUpdating files:  90% (59131/65701)\rUpdating files:  91% (59788/65701)\rUpdating files:  92% (60445/65701)\rUpdating files:  93% (61102/65701)\rUpdating files:  94% (61759/65701)\rUpdating files:  95% (62416/65701)\rUpdating files:  96% (63073/65701)\rUpdating files:  97% (63730/65701)\rUpdating files:  97% (64137/65701)\rUpdating files:  98% (64387/65701)\rUpdating files:  99% (65044/65701)\rUpdating files: 100% (65701/65701)\rUpdating files: 100% (65701/65701), done.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "preflight-reset",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build reset --hard",
      "durationMs": 1516,
      "exitCode": 0,
      "stdoutTail": "HEAD is now at 8f80fe08c fix(ui): group child-chat openings and answered questions with activity (#200683)",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "preflight-clean",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build clean -fdx",
      "durationMs": 27,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "preflight-checkout",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build checkout --detach 8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "durationMs": 39,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "HEAD is now at 8f80fe08c fix(ui): group child-chat openings and answered questions with activity (#200683)",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "preflight-deps-install",
      "command": "pnpm install --frozen-lockfile",
      "durationMs": 3527,
      "exitCode": 0,
      "stdoutTail": "Scope: all 214 workspace projects\n. pnpm:devPreinstall$ node scripts/check-install-dependency-ownership.mjs\n. pnpm:devPreinstall: Done\n. preinstall$ node scripts/preinstall-package-manager-warning.mjs\n. preinstall: Done\n✓ Lockfile passes supply-chain policies (verified 2m ago)\nLockfile is up to date, resolution step is skipped\nPackages are cloned from the content-addressable store to the virtual store.\n  Content-addressable store is at: /home/appuser/um/pnpm-home/store/v11\n  Virtual store is at:             node_modules/.pnpm\nProgress: resolved 785, reused 785, downloaded 0, added 769\nProgress: resolved 1373, reused 1373, downloaded 0, added 1357\nPackages: +1481\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nProgress: resolved 1481, reused 1481, downloaded 0, added 1481, done\n.../node_modules/@google/genai preinstall$ echo 'preinstall: no-op'\n.../node_modules/@google/genai preinstall: preinstall: no-op\n.../node_modules/@google/genai preinstall: Done\n.../node_modules/node-pty install$ node scripts/prebuild.js || node-gyp rebuild\n.../node_modules/node-pty install: > Checking prebuilds...\n.../node_modules/node-pty install: Done\n.../node_modules/node-pty postinstall$ node scripts/post-install.js\n.../node_modules/@tloncorp/tlon-skill postinstall$ node scripts/postinstall.js\n.../node_modules/node-pty postinstall: > Cleaning release folder...\n.../node_modules/node-pty postinstall: > Moving conpty.dll...\n.../node_modules/node-pty postinstall:   SKIPPED (not Windows)\n.../node_modules/node-pty postinstall: Done\n.../node_modules/@tloncorp/tlon-skill postinstall: [tlon-skill] Binary ready: /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build/node_modules/.pnpm/@[email protected]/node_modules/@tloncorp/tlon-skill-linux-arm64/tlon\n.../node_modules/@tloncorp/tlon-skill postinstall: Done\nAgent skills awaiting approval: @copilotkit/aimock, @solidjs/web, acpx, chrome-devtools-mcp, solid-js.\nRun \"pnpm approve\" to review them.\n. postinstall$ node scripts/postinstall-bundled-plugins.mjs\n. postinstall: Done\n. prepare$ node scripts/prepare-git-hooks.mjs\n. prepare: [native-protocol] swift: generated\n. prepare: [native-protocol] kotlin: generated\n. prepare: Done\n\ndependencies:\n+ @agentclientprotocol/sdk 2.1.0\n+ @anthropic-ai/sdk 0.137.0\n+ @babel/generator 8.0.10\n+ @babel/parser 8.0.10\n+ @babel/traverse 8.0.10\n+ @clack/core 1.5.1\n+ @clack/prompts 1.8.1\n+ @earendil-works/pi-tui 1.4.0\n+ @google/genai 2.32.0\n+ @grammyjs/transformer-throttler 1.2.1\n+ @homebridge/ciao 1.3.12\n+ @lydell/node-pty 1.2.0-beta.18\n+ @modelcontextprotocol/client 2.4.0\n+ @modelcontextprotocol/core 2.4.0\n+ @modelcontextprotocol/node 2.1.2\n+ @modelcontextprotocol/sdk 1.32.2\n+ @modelcontextprotocol/server 2.4.0\n+ @mozilla/readability 0.6.0\n+ @openclaw/ai <- packages/ai\n+ @openclaw/fs-safe 0.27.1\n+ @openclaw/proc-safe 0.4.2\n+ @openclaw/proxyline 0.4.1\n+ @opentelemetry/semantic-conventions 1.44.0\n+ @resvg/resvg-js 2.6.2\n+ @silvia-odwyer/photon-node 0.3.4\n+ @trycua/cua-driver 0.37.0\n+ @types/pg 8.23.1\n+ acorn 8.19.0\n+ chalk 6.0.1\n+ chrome-devtools-mcp 1.12.0\n+ clawpdf 0.3.2\n+ commander 15.0.0\n+ croner 10.0.1\n+ diff 9.0.0\n+ dotenv 18.0.9\n+ entities 9.0.0\n+ esbuild 0.28.2\n+ execa 10.2.1\n+ express 5.3.0\n+ fast-uri 4.2.3\n+ file-type 22.3.0\n+ grammy 1.46.0\n+ hosted-git-info 10.1.1\n+ htmlparser2 12.0.0\n+ iconv-lite 0.7.3\n+ ignore 7.0.14\n+ import-meta-resolve 4.2.0\n+ jiti 2.7.0\n+ json5 2.2.3\n+ jszip 3.10.2\n+ kysely 0.29.7\n+ linkedom 0.18.14\n+ minimatch 10.2.6\n+ node-edge-tts 1.2.12\n+ npm 12.2.1\n+ openai 7.47.0\n+ p-limit 7.3.3\n+ p-map 7.1.1\n+ parse5 8.0.1\n+ partial-json 0.1.7\n+ pg 8.23.1\n+ playwright-core 1.64.1\n+ proxy-from-env 2.1.0\n+ qrcode 1.5.4\n+ rastermill 0.4.1\n+ semver 7.8.5\n+ tar 7.5.22\n+ tslog 5.4.0\n+ typebox 1.4.3\n+ undici 8.12.4\n+ web-push 3.6.7\n+ web-tree-sitter 0.27.1\n+ ws 8.22.0\n+ yaml 2.9.1\n+ zod 4.6.7\n+ zod-to-json-schema 3.25.2\n\noptionalDependencies:\n+ sqlite-vec 0.1.9\n\ndevDependencies:\n+ @babel/types 8.0.10\n+ @copilotkit/aimock 1.47.0\n+ @mdx-js/mdx 3.1.1\n+ @mistralai/mistralai 3.4.0\n+ @openclaw/crabline 0.2.0\n+ @openclaw/session-url-contract <- packages/session-url-contract\n+ @opentelemetry/sdk-node 0.223.0\n+ @pnpm/parse-overrides 1001.0.4\n+ @shikijs/core 4.5.0\n+ @shikijs/engine-javascript 4.5.0\n+ @shikijs/engine-oniguruma 4.5.0\n+ @sindresorhus/slugify 3.0.1\n+ @types/express 5.0.6\n+ @types/hosted-git-info 3.0.5\n+ @types/jsdom 30.0.0\n+ @types/markdown-it 14.2.0\n+ @types/mdast 4.0.4\n+ @types/node 26.6.6\n+ @types/semver 7.8.0\n+ @types/web-push 3.6.4\n+ @types/ws 8.18.2\n+ @vitest/browser-playwright 5.0.5\n+ @vitest/coverage-v8 5.0.5\n+ acpx 0.21.1\n+ ajv 8.20.0\n+ apache-arrow 21.2.0\n+ baileys 7.0.0-rc14\n+ highlight.js 11.12.0\n+ ipaddr.js 2.5.0\n+ jscpd 5.4.2\n+ jsdom 30.1.3\n+ markdown-it 15.0.3\n+ markdown-it-anchor 10.0.0\n+ marked 18.1.2\n+ minipass 7.1.3\n+ nostr-tools 2.25.4\n+ oxfmt 0.74.0\n+ oxlint 1.89.0\n+ oxlint-tsgolint 7.0.2005\n+ pako 3.0.3\n+ playwright 1.64.1\n+ postcss 8.5.32\n+ postcss-selector-parser 7.1.7\n+ shiki 4.5.0\n+ signal-utils 0.21.1\n+ sigstore 5.0.0\n+ string-width 8.3.0\n+ stylelint 17.16.0\n+ stylelint-config-recommended 18.0.0\n+ tinyglobby 0.2.17\n+ tree-sitter-bash 0.25.1\n+ tsdown 0.23.4\n+ tsrs 0.18.0-ts7.1.0-dev.20260929\n+ tsx 4.23.15\n+ typescript 7.1.0-dev.20261028.1\n+ unrun 0.3.1\n+ vite 8.3.5\n+ vitest 5.0.5\n\nDone in 3.5s using pnpm v12.15.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "preflight-build",
      "command": "pnpm build",
      "durationMs": 128586,
      "exitCode": 0,
      "stdoutTail": "…  407.21 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-de-BIXtvfkZ.js                                                                  409.45 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-pl-CERFNnR4.js                                                                  411.62 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-it-oWTViMs4.js                                                                  412.47 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-ca-B5USskjP.js                                                                  416.18 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-es-B8MMHyGO.js                                                                  419.60 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-fr-a7L5wHb4.js                                                                  437.10 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-vi-DQ7vnnUC.js                                                                  459.77 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-ja-JP-Yysihi1l.js                                                               470.57 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-ar-CBUIP-zc.js                                                                  516.02 kB\n../dist/control-ui.build-5650-4uhapt/assets/control-ui-boot-chat-styles-DuTmIp8G.js                                                             527.66 kB │ map: 2,670.35 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-fa-9fuuUcro.js                                                                  560.54 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-uk-DHWDqd2J.js                                                                  618.88 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-ru-ay6jqGRJ.js                                                                  625.94 kB\n../dist/control-ui.build-5650-4uhapt/assets/ghostty-web-BV9ZYm5I.js                                                                             637.04 kB │ map:   759.84 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-hi-gGiebrpx.js                                                                  735.91 kB\n../dist/control-ui.build-5650-4uhapt/assets/locale-config-hints-th-DTQl88oE.js                                                                  790.78 kB\n../dist/control-ui.build-5650-4uhapt/assets/control-ui-boot-chat-BJE0AU3_.js                                                                    961.41 kB │ map: 4,117.35 kB\n../dist/control-ui.build-5650-4uhapt/assets/control-ui-boot-shared-5bAA5leI.js                                                                1,862.80 kB │ map: 8,376.59 kB\n\n\u001b[32m✓ built in 22.15s\u001b[39m\nverified 1058 finalized Control UI sidecars\nControl UI performance:\n  measurement: generated asset hashes normalized for budgets; served sizes retain sidecars with identity fallback; Node v24.22.1\n  document: 59199 B raw, 14013 B gzip (limit: 14026 B)\n  startup JS: 3 requests, 88.9 KiB gzip (91082 B), 79.0 KiB br normalized; served 91767 B gzip, 81617 B br, 285360 B raw (limits: 7 requests, 90.0 KiB gzip / 92137 B)\n  startup JS gzip vs baseline: 91082 B (baseline 91561 B + growth allowance 512 B = growth limit 92073 B; build-variance allowance 64 B; enforcement limit 92137 B; max committed baseline 325131 B)\n  startup CSS: 1 request, 39.8 KiB gzip (40798 B), 34.1 KiB br normalized; served 40890 B gzip, 35101 B br, 236864 B raw (limits: 1 request, advisory target 46080 B, hard ceiling 51200 B; headroom 10402 B)\n  largest ordinary JS: assets/control-ui-boot-shared-5bAA5leI.js, 559.5 KiB gzip (limit: 559.0 KiB)\n  largest CSS: assets/control-ui-boot-shared-styles-C-vz7s_B.css, 59191 B gzip (hard ceiling 58315 B; headroom -876 B)\n  all JS: 2721 requests, 17993.8 KiB gzip (18425664 B), 17059.6 KiB br normalized; served 18447385 B gzip, 17489805 B br, 41438622 B raw\n  all CSS: 122 requests, 328.6 KiB gzip (336479 B), 288.7 KiB br normalized; served 336614 B gzip, 295909 B br, 1737422 B raw (fixed ceilings: 337312 B gzip, 1740234 B raw)\n  route boot accounting: initial-entry assets plus measured immediate dynamic imports; existing initial-entry limits unchanged\n  chat boot JS: 21 requests, 1295.2 KiB gzip (1326316 B), 1105.0 KiB br normalized; served 1333840 B gzip, 1138787 B br, 4284347 B raw (1235234 B beyond initial-entry JS; limits: 20 requests, 1325580 B gzip)\n  chat boot CSS: 3 requests, 136.4 KiB gzip (139694 B), 115.5 KiB br normalized; served 139786 B gzip, 118535 B br, 855867 B raw (2 beyond initial-entry CSS; limit: 3 requests)\n  new boot JS: 17 requests, 797.9 KiB gzip (817032 B), 678.0 KiB br normalized; served 822362 B gzip, 699333 B br, 2658729 B raw (725950 B beyond initial-entry JS; limits: 17 requests, 816632 B gzip)\n  new boot CSS: 3 requests, 104.6 KiB gzip (107138 B), 88.9 KiB br normalized; served 107230 B gzip, 91268 B br, 654686 B raw (2 beyond initial-entry CSS; limit: 3 requests)\n  warning: largest CSS gzip has -876 B of hard-ceiling headroom\n  isolated Mermaid JS: 1 request, 241.8 KiB gzip (247575 B), 202.8 KiB br normalized; served 247580 B gzip, 207521 B br, 706477 B raw (limits: 1 deferred asset, 256.0 KiB gzip; forbidden at startup)\n  locale catalog JS: 44 requests, 2848.5 KiB gzip (2916821 B), 2454.9 KiB br normalized; served 2918243 B gzip, 2514873 B br, 11703647 B raw (largest pair: ru, 149.0 KiB gzip; limits: 1 base + 1 config-hint asset per locale, 300.0 KiB combined; forbidden at startup)\n    ar: 138105 B gzip (base 17201 B + config hints 120904 B; cap 307200 B; headroom 169095 B)\n    ca: 128510 B gzip (base 16277 B + config hints 112233 B; cap 307200 B; headroom 178690 B)\n    de: 134244 B gzip (base 16672 B + config hints 117572 B; cap 307200 B; headroom 172956 B)\n    es: 127824 B gzip (base 16134 B + config hints 111690 B; cap 307200 B; headroom 179376 B)\n    fa: 139231 B gzip (base 17223 B + config hints 122008 B; cap 307200 B; headroom 167969 B)\n    fr: 131577 B gzip (base 16530 B + config hints 115047 B; cap 307200 B; headroom 175623 B)\n    hi: 147892 B gzip (base 18664 B + config hints 129228 B; cap 307200 B; headroom 159308 B)\n    id: 117899 B gzip (base 15027 B + config hints 102872 B; cap 307200 B; headroom 189301 B)\n    it: 127294 B gzip (base 15991 B + config hints 111303 B; cap 307200 B; headroom 179906 B)\n    ja-JP: 135390 B gzip (base 17197 B + config hints 118193 B; cap 307200 B; headroom 171810 B)\n    ko: 125518 B gzip (base 16326 B + config hints 109192 B; cap 307200 B; headroom 181682 B)\n    nl: 127323 B gzip (base 15996 B + config hints 111327 B; cap 307200 B; headroom 179877 B)\n    pl: 135100 B gzip (base 16889 B + config hints 118211 B; cap 307200 B; headroom 172100 B)\n    pt-BR: 124959 B gzip (base 15920 B + config hints 109039 B; cap 307200 B; headroom 182241 B)\n    ru: 152569 B gzip (base 19015 B + config hints 133554 B; cap 307200 B; headroom 154631 B)\n    sv: 124373 B gzip (base 15805 B + config hints 108568 B; cap 307200 B; headroom 182827 B)\n    th: 147225 B gzip (base 18257 B + config hints 128968 B; cap 307200 B; headroom 159975 B)\n    tr: 128646 B gzip (base 16156 B + config hints 112490 B; cap 307200 B; headroom 178554 B)\n    uk: 150824 B gzip (base 18770 B + config hints 132054 B; cap 307200 B; headroom 156376 B)\n    vi: 126945 B gzip (base 16409 B + config hints 110536 B; cap 307200 B; headroom 180255 B)\n    zh-CN: 122007 B gzip (base 15888 B + config hints 106119 B; cap 307200 B; headroom 185193 B)\n    zh-TW: 123366 B gzip (base 16056 B + config hints 107310 B; cap 307200 B; headroom 183834 B)\n  violations:\n    - largest JS gzip: 559.5 KiB exceeds 559.0 KiB\n    - largest CSS gzip: 57.8 KiB exceeds 56.9 KiB\n    - chat boot JS requests: 21 exceeds 20\n    - chat boot JS gzip: 1295.2 KiB exceeds 1294.5 KiB\n    - new boot JS gzip: 797.9 KiB exceeds 797.5 KiB",
      "stderrTail": "…o become the default in a future major version of Vite:\n  - JSON import \"./control-ui-i18n-config.json\" without import attributes (../scripts/lib/control-ui-i18n-sync-plan.ts:2:41). Add `with { type: 'json' }`\nSet `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.\u001b[39m\n\u001b[33m`output.codeSplitting.groups[1].name` is a function. Set `output.codeSplitting.groups[1].debugName` so the bundler timing report can identify this group.\u001b[39m\n\u001b[33m[plugin rolldown:vite-resolve] Module \"node:path\" has been externalized for browser compatibility, imported by \"/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build/packages/media-core/src/mime.ts\". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.\u001b[39m\n\u001b[33m[plugin rolldown:vite-resolve] Module \"node:path\" has been externalized for browser compatibility, imported by \"/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build/packages/media-core/src/file-name.ts\". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/app/control-ui-environment-presentation.runtime.ts is dynamically imported by src/app/bootstrap-theme.ts, src/app/config.ts but also statically imported by src/app/control-ui-favicon-artwork.runtime.ts, src/app/control-ui-favicon-status.runtime.ts, src/pages/config/view-tab-icon.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m[plugin builtin:vite-reporter] \n(!) Some chunks are larger than 1024 kB after minification. Consider:\n- Using dynamic import() to code-split the application\n- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/app/server-prefs-reconcile.ts is dynamically imported by src/app/app-shell-gateway.ts but also statically imported by src/app/bootstrap.ts, src/app/server-prefs-drain.ts, src/app/server-prefs-write-batch.ts, src/pages/config/config-page-preferences.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/components/sidebar-attention.tsx is dynamically imported by src/app/navigation-surface-view.tsx, src/pages/custodian/custodian-page.tsx but also statically imported by src/components/app-sidebar-owner.tsx, src/components/app-sidebar-render.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/components/sidebar-snapshot-data.ts is dynamically imported by src/pages/chat/session-snapshot-database.ts, src/pages/chat/session-snapshot-prewarm.ts but also statically imported by src/components/sidebar-snapshot-model.ts, src/components/sidebar-snapshot.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/components/app-sidebar-session-narration.ts is dynamically imported by src/components/app-sidebar-owner.tsx but also statically imported by src/pages/chat/subagents-panel-data.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/session-snapshot-store.ts is dynamically imported by src/pages/chat/chat-snapshot-prewarm.ts, src/pages/chat/route-loader-short-cache.ts, src/pages/chat/session-snapshot-prewarm.ts but also statically imported by src/components/sidebar-snapshot.ts, src/pages/chat/chat-page-state.ts, src/pages/chat/chat-pane-runtime-view.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/lib/chat/outbox-store-projection.ts is dynamically imported by src/app/app-host.tsx but also statically imported by src/lib/chat/outbox-attention.ts, src/pages/chat/chat-outbox-drain.ts, src/pages/chat/chat-outbox-owner.ts, src/pages/chat/chat-outbox-resume.ts, src/pages/chat/chat-outbox-scopes.ts, ..., dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/lib/chat/composer-draft-store.runtime.ts is dynamically imported by src/lib/chat/outbox-store-projection.ts, src/pages/chat/chat-outbox-recovery.tsx, src/pages/chat/chat-session-companion-comments.ts, src/pages/chat/components/chat-async-question-draft.ts, src/pages/chat/durable-composer-persistence.ts, ... but also statically imported by src/lib/chat/composer-draft-retirement.runtime.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/components/chat-divider.tsx is dynamically imported by src/pages/chat/components/chat-transcript-rows.ts but also statically imported by src/pages/chat/components/chat-notice-view.tsx, src/pages/chat/components/chat-system-events.tsx, src/pages/custodian/custodian-surface.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/chat-outbox-drain.ts is dynamically imported by src/pages/chat/chat-outbox-resume.ts, src/pages/chat/chat-send-actions.ts but also statically imported by src/pages/chat/chat-send-delivery.runtime.ts, src/pages/chat/chat-send-delivery.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/chat-send-queue-state.ts is dynamically imported by src/pages/chat/initial-turn-handoff-admission.ts but also statically imported by src/pages/chat/chat-send-delivery.runtime.ts, src/pages/chat/chat-send-delivery.ts, src/pages/chat/chat-send-queue-runtime.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/chat-send-actions.ts is dynamically imported by src/pages/chat/initial-turn-handoff-admission.ts but also statically imported by src/pages/chat/chat-live-events.runtime.ts, src/pages/chat/chat-pane-context.ts, src/pages/chat/chat-pane-lifecycle.ts, src/pages/chat/chat-pane-render.ts, src/pages/chat/chat-pane-retained-presentation.ts, ..., dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[PLUGIN_TIMINGS] \u001b[0mJavaScript callbacks ran for 20.1s of this 22.1s build (91%).\nThe slowest callbacks, timed inside each callback (the wait before a callback starts is excluded, the time it awaits is included):\n  - plugin control-ui-precompressed-assets writeBundle (44%, 9.7s, 1 call)\n  - plugin control-ui-build-output writeBundle (9%, 2.0s, 1 call)\n  - plugin control-ui-update-cache-hashes renderChunk (6%, 1.3s, 802 calls)\n  - plugin control-ui-isolated-desktop-runtime resolveDynamicImport (5%, 1.2s, 652 calls)\nAdditional callback time came from the callbacks below and from callbacks under 1s.\n4 callbacks are listed without a time. Their calls overlapped, so the time inside one call includes work from other calls. To find their cost, profile the build with `node --cpu-prof`:\n  - plugin solid transform (5555 calls)\n  - plugin control-ui-locale-modules load (44 calls)\n  - plugin vite:css transform (237 calls)\n  … and 1 more\nSee https://rolldown.rs/reference/InputOptions.checks#bundlertimings for more details.\n\u001b[39m\nWarning: Control UI performance warning\n  scripts/check-control-ui-performance.mts: largest CSS gzip has -876 B of hard-ceiling headroom\n[build-all] ui:build done in 46.5s\n[build-all] write-build-info\n[build-all] write-build-info done in 117ms\n[build-all] write-cli-startup-metadata\n[build-all] write-cli-startup-metadata done in 3.22s\n[build-all] phase timings: total 2m 0.1s; slowest ui:build 46.5s; tsdown 42.7s; check-cli-bootstrap-imports 7.23s; external-plugins:local-dist 5.69s; runtime-postbuild 4.76s; plugins:assets:build 4.12s; runtime:scripts:check 3.42s; write-cli-startup-metadata 3.22s; plugins:assets:copy 1.36s; write-build-info 117ms; build-stamp 65ms; native-protocol 63ms; runtime-postbuild-stamp 46ms",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "preflight-update-clean-check",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build status --porcelain -- :!dist/control-ui/",
      "durationMs": 77,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "preflight-update-source-check",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build diff --quiet 8f80fe08cad63e890008668c6f482a81aa12e2ea --",
      "durationMs": 14,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build"
    },
    {
      "name": "git-release-place",
      "command": "git -C /home/appuser/openclaw worktree move /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/build /home/appuser/.openclaw/git-install/releases/git-mws458vr-ef86df9d/lib/node_modules/openclaw",
      "durationMs": 9,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "upstream-check",
      "command": "git -C /home/appuser/openclaw -c branch.main.remote=origin -c branch.main.merge=refs/heads/main rev-parse --symbolic-full-name main@{upstream}",
      "durationMs": 3,
      "exitCode": 0,
      "stdoutTail": "refs/remotes/origin/main",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "upstream-check",
      "command": "git -C /home/appuser/openclaw rev-parse --verify a1aa127601782485194ef990cc913747fd994cb8^{commit}",
      "durationMs": 5,
      "exitCode": 0,
      "stdoutTail": "a1aa127601782485194ef990cc913747fd994cb8",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-rev-list",
      "command": "git -C /home/appuser/openclaw rev-list --max-count=10 a1aa127601782485194ef990cc913747fd994cb8",
      "durationMs": 7,
      "exitCode": 0,
      "stdoutTail": "a1aa127601782485194ef990cc913747fd994cb8\n93f30cb0645aae9dff6e0d786c9f0a49da4c07d4\n1a0a24dcd2cfc5129df223dbc8bca58135dc0ec5\nafa93a83e4ef02e3bb0afd6aeb9f37d1977338af\nfeea72c186382804ceb75158a6c8fd41b7650e11\n2754763da236f763c539e3d994bbaa6370abd406\n6198f78b85b0be29b165dee037b772f1eda738cd\n3cd3a31186685c4f4bf413f9dfa60c3cde3299c0\nf56171778657c9332e78eda92c4545143be07549\nb949a1cb4dd24055a2dcb696643ee4a13cf17420",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "preflight-local-history",
      "command": "git -C /home/appuser/openclaw --no-lazy-fetch merge-base 8f80fe08cad63e890008668c6f482a81aa12e2ea a1aa127601782485194ef990cc913747fd994cb8",
      "durationMs": 24,
      "exitCode": 0,
      "stdoutTail": "8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "snapshot-space-preflight",
      "command": "snapshot-space-preflight",
      "cwd": "/home/appuser/.openclaw",
      "durationMs": 2,
      "exitCode": 0,
      "diagnostics": [
        "SQLite family /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite: 534 MiB (database and supporting files).",
        "SQLite family /home/appuser/.openclaw/state/openclaw.sqlite: 4 MiB (database and supporting files).",
        "SQLite family /home/appuser/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files).",
        "SQLite family /home/appuser/.openclaw/control/services.sqlite: 0 MiB (database and supporting files).",
        "Update database backup near /home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/.artifacts: 1.1 GiB (1206918248 bytes) needed; 324 GiB (347928174592 bytes) free."
      ]
    },
    {
      "name": "preflight-worktree",
      "command": "git -C /home/appuser/openclaw worktree add --detach /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build a1aa127601782485194ef990cc913747fd994cb8",
      "durationMs": 3411,
      "exitCode": 0,
      "stdoutTail": "HEAD is now at a1aa12760 fix: keep a Gateway restart during startup from failing with a state database error (#203530)",
      "stderrTail": "Preparing worktree (detached HEAD a1aa12760)\nUpdating files:  30% (20419/66521)\rUpdating files:  31% (20622/66521)\rUpdating files:  32% (21287/66521)\rUpdating files:  33% (21952/66521)\rUpdating files:  34% (22618/66521)\rUpdating files:  35% (23283/66521)\rUpdating files:  36% (23948/66521)\rUpdating files:  37% (24613/66521)\rUpdating files:  38% (25278/66521)\rUpdating files:  39% (25944/66521)\rUpdating files:  40% (26609/66521)\rUpdating files:  41% (27274/66521)\rUpdating files:  42% (27939/66521)\rUpdating files:  43% (28605/66521)\rUpdating files:  44% (29270/66521)\rUpdating files:  45% (29935/66521)\rUpdating files:  46% (30600/66521)\rUpdating files:  47% (31265/66521)\rUpdating files:  48% (31931/66521)\rUpdating files:  49% (32596/66521)\rUpdating files:  50% (33261/66521)\rUpdating files:  51% (33926/66521)\rUpdating files:  52% (34591/66521)\rUpdating files:  53% (35257/66521)\rUpdating files:  54% (35922/66521)\rUpdating files:  55% (36587/66521)\rUpdating files:  56% (37252/66521)\rUpdating files:  57% (37917/66521)\rUpdating files:  58% (38583/66521)\rUpdating files:  59% (39248/66521)\rUpdating files:  60% (39913/66521)\rUpdating files:  61% (40578/66521)\rUpdating files:  62% (41244/66521)\rUpdating files:  63% (41909/66521)\rUpdating files:  64% (42574/66521)\rUpdating files:  64% (43072/66521)\rUpdating files:  65% (43239/66521)\rUpdating files:  66% (43904/66521)\rUpdating files:  67% (44570/66521)\rUpdating files:  68% (45235/66521)\rUpdating files:  69% (45900/66521)\rUpdating files:  70% (46565/66521)\rUpdating files:  71% (47230/66521)\rUpdating files:  72% (47896/66521)\rUpdating files:  73% (48561/66521)\rUpdating files:  74% (49226/66521)\rUpdating files:  75% (49891/66521)\rUpdating files:  76% (50556/66521)\rUpdating files:  77% (51222/66521)\rUpdating files:  78% (51887/66521)\rUpdating files:  79% (52552/66521)\rUpdating files:  80% (53217/66521)\rUpdating files:  81% (53883/66521)\rUpdating files:  82% (54548/66521)\rUpdating files:  83% (55213/66521)\rUpdating files:  84% (55878/66521)\rUpdating files:  85% (56543/66521)\rUpdating files:  86% (57209/66521)\rUpdating files:  87% (57874/66521)\rUpdating files:  88% (58539/66521)\rUpdating files:  89% (59204/66521)\rUpdating files:  90% (59869/66521)\rUpdating files:  91% (60535/66521)\rUpdating files:  92% (61200/66521)\rUpdating files:  92% (61853/66521)\rUpdating files:  93% (61865/66521)\rUpdating files:  94% (62530/66521)\rUpdating files:  95% (63195/66521)\rUpdating files:  96% (63861/66521)\rUpdating files:  97% (64526/66521)\rUpdating files:  98% (65191/66521)\rUpdating files:  99% (65856/66521)\rUpdating files: 100% (66521/66521)\rUpdating files: 100% (66521/66521), done.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "preflight-reset",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build reset --hard",
      "durationMs": 2367,
      "exitCode": 0,
      "stdoutTail": "HEAD is now at a1aa12760 fix: keep a Gateway restart during startup from failing with a state database error (#203530)",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-clean",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build clean -fdx",
      "durationMs": 38,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-checkout",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build checkout --detach a1aa127601782485194ef990cc913747fd994cb8",
      "durationMs": 46,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "HEAD is now at a1aa12760 fix: keep a Gateway restart during startup from failing with a state database error (#203530)",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-local-checkout",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build checkout --detach 8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "durationMs": 1027,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "Previous HEAD position was a1aa12760 fix: keep a Gateway restart during startup from failing with a state database error (#203530)\nHEAD is now at 8f80fe08c fix(ui): group child-chat openings and answered questions with activity (#200683)",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-rebase",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build rebase a1aa127601782485194ef990cc913747fd994cb8",
      "durationMs": 1578,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": "Successfully rebased and updated detached HEAD.",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-deps-install",
      "command": "pnpm install --frozen-lockfile",
      "durationMs": 8073,
      "exitCode": 0,
      "stdoutTail": "Scope: all 215 workspace projects\n. pnpm:devPreinstall$ node scripts/check-install-dependency-ownership.mjs\n. pnpm:devPreinstall: Done\n. preinstall$ node scripts/preinstall-package-manager-warning.mjs\n. preinstall: Done\n? Verifying lockfile against supply-chain policies (1753 entries)...\nPackages are cloned from the content-addressable store to the virtual store.\n  Content-addressable store is at: /home/appuser/um/pnpm-home/store/v11\n  Virtual store is at:             node_modules/.pnpm\nProgress: resolved 633, reused 633, downloaded 0, added 618\nProgress: resolved 1117, reused 1117, downloaded 0, added 1102\nProgress: resolved 1365, reused 1365, downloaded 0, added 1352\nDownloading @openai/[email protected]: 0.00 B/171.74 MB\nDownloading @openai/[email protected]: 71.85 MB/171.74 MB\n✓ Lockfile passes supply-chain policies (1753 entries in 5.6s)\nLockfile is up to date, resolution step is skipped\nPackages: +1481\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\nProgress: resolved 1481, reused 1478, downloaded 3, added 1481, done\n.../node_modules/@google/genai preinstall$ echo 'preinstall: no-op'\n.../node_modules/@google/genai preinstall: preinstall: no-op\n.../node_modules/@google/genai preinstall: Done\n.../node_modules/node-pty install$ node scripts/prebuild.js || node-gyp rebuild\n.../node_modules/node-pty install: > Checking prebuilds...\n.../node_modules/node-pty install: Done\n.../node_modules/node-pty postinstall$ node scripts/post-install.js\n.../node_modules/@tloncorp/tlon-skill postinstall$ node scripts/postinstall.js\n.../node_modules/node-pty postinstall: > Cleaning release folder...\n.../node_modules/node-pty postinstall: > Moving conpty.dll...\n.../node_modules/node-pty postinstall:   SKIPPED (not Windows)\n.../node_modules/node-pty postinstall: Done\n.../node_modules/@tloncorp/tlon-skill postinstall: [tlon-skill] Binary ready: /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build/node_modules/.pnpm/@[email protected]/node_modules/@tloncorp/tlon-skill-linux-arm64/tlon\n.../node_modules/@tloncorp/tlon-skill postinstall: Done\nAgent skills awaiting approval: @copilotkit/aimock, @solidjs/web, acpx, chrome-devtools-mcp, solid-js.\nRun \"pnpm approve\" to review them.\n. postinstall$ node scripts/postinstall-bundled-plugins.mjs\n. postinstall: Done\n. prepare$ node scripts/prepare-git-hooks.mjs\n. prepare: [native-protocol] swift: generated\n. prepare: [native-protocol] kotlin: generated\n. prepare: Done\n\ndependencies:\n+ @agentclientprotocol/sdk 2.1.0\n+ @anthropic-ai/sdk 0.137.0\n+ @babel/generator 8.0.10\n+ @babel/parser 8.0.10\n+ @babel/traverse 8.0.10\n+ @clack/core 1.5.1\n+ @clack/prompts 1.8.1\n+ @earendil-works/pi-tui 1.4.0\n+ @google/genai 2.32.0\n+ @grammyjs/transformer-throttler 1.2.1\n+ @homebridge/ciao 1.3.12\n+ @lydell/node-pty 1.2.0-beta.18\n+ @modelcontextprotocol/client 2.4.0\n+ @modelcontextprotocol/core 2.4.0\n+ @modelcontextprotocol/node 2.1.2\n+ @modelcontextprotocol/sdk 1.32.2\n+ @modelcontextprotocol/server 2.4.0\n+ @mozilla/readability 0.6.0\n+ @openclaw/ai <- packages/ai\n+ @openclaw/fs-safe 0.27.1\n+ @openclaw/proc-safe 0.4.2\n+ @openclaw/proxyline 0.4.1\n+ @opentelemetry/semantic-conventions 1.44.0\n+ @resvg/resvg-js 2.6.2\n+ @silvia-odwyer/photon-node 0.3.4\n+ @trycua/cua-driver 0.37.0\n+ @types/pg 8.23.1\n+ acorn 8.19.0\n+ chalk 6.0.1\n+ chrome-devtools-mcp 1.12.0\n+ clawpdf 0.3.2\n+ commander 15.0.0\n+ croner 10.0.1\n+ diff 9.0.0\n+ dotenv 18.0.9\n+ entities 9.0.0\n+ esbuild 0.28.2\n+ execa 10.2.1\n+ express 5.3.0\n+ fast-uri 4.2.3\n+ file-type 22.3.0\n+ grammy 1.46.0\n+ hosted-git-info 10.1.1\n+ htmlparser2 12.0.0\n+ iconv-lite 0.7.3\n+ ignore 7.0.14\n+ import-meta-resolve 4.2.0\n+ jiti 2.7.0\n+ json5 2.2.3\n+ jszip 3.10.2\n+ kysely 0.29.7\n+ linkedom 0.18.14\n+ minimatch 10.2.6\n+ node-edge-tts 1.2.12\n+ npm 12.2.1\n+ openai 7.47.0\n+ p-limit 7.3.3\n+ p-map 7.1.1\n+ parse5 8.0.1\n+ partial-json 0.1.7\n+ pg 8.23.1\n+ playwright-core 1.64.1\n+ proxy-from-env 2.1.0\n+ qrcode 1.5.4\n+ rastermill 0.4.1\n+ semver 7.8.5\n+ tar 7.5.22\n+ tslog 5.4.0\n+ typebox 1.4.3\n+ undici 8.12.4\n+ web-push 3.6.7\n+ web-tree-sitter 0.27.1\n+ ws 8.22.0\n+ yaml 2.9.1\n+ zod 4.6.7\n+ zod-to-json-schema 3.25.2\n\noptionalDependencies:\n+ sqlite-vec 0.1.9\n\ndevDependencies:\n+ @babel/types 8.0.10\n+ @copilotkit/aimock 1.47.0\n+ @mdx-js/mdx 3.1.1\n+ @mistralai/mistralai 3.4.0\n+ @openclaw/crabline 0.2.0\n+ @openclaw/session-url-contract <- packages/session-url-contract\n+ @opentelemetry/sdk-node 0.223.0\n+ @pnpm/parse-overrides 1001.0.4\n+ @shikijs/core 4.5.0\n+ @shikijs/engine-javascript 4.5.0\n+ @shikijs/engine-oniguruma 4.5.0\n+ @sindresorhus/slugify 3.0.1\n+ @types/express 5.0.6\n+ @types/hosted-git-info 3.0.5\n+ @types/jsdom 30.0.0\n+ @types/markdown-it 14.2.0\n+ @types/mdast 4.0.4\n+ @types/node 26.6.6\n+ @types/semver 7.8.0\n+ @types/web-push 3.6.4\n+ @types/ws 8.18.2\n+ @vitest/browser-playwright 5.0.5\n+ @vitest/coverage-v8 5.0.5\n+ acpx 0.21.1\n+ ajv 8.20.0\n+ apache-arrow 21.2.0\n+ baileys 7.0.0-rc14\n+ highlight.js 11.12.0\n+ ipaddr.js 2.5.0\n+ jscpd 5.4.2\n+ jsdom 30.1.3\n+ markdown-it 15.0.3\n+ markdown-it-anchor 10.0.0\n+ marked 18.1.2\n+ minipass 7.1.3\n+ nostr-tools 2.25.4\n+ oxfmt 0.74.0\n+ oxlint 1.89.0\n+ oxlint-tsgolint 7.0.2005\n+ pako 3.0.3\n+ playwright 1.64.1\n+ postcss 8.5.32\n+ postcss-selector-parser 7.1.7\n+ shiki 4.5.0\n+ signal-utils 0.21.1\n+ sigstore 5.0.0\n+ string-width 8.3.0\n+ stylelint 17.16.0\n+ stylelint-config-recommended 18.0.0\n+ tinyglobby 0.2.17\n+ tree-sitter-bash 0.25.1\n+ tsdown 0.23.4\n+ tsrs 0.18.0-ts7.1.0-dev.20260929\n+ tsx 4.23.15\n+ typescript 7.1.0-dev.20261028.1\n+ unrun 0.3.1\n+ vite 8.3.5\n+ vitest 5.0.5\n\nDone in 8s using pnpm v12.15.0",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-build",
      "command": "pnpm build",
      "durationMs": 134335,
      "exitCode": 0,
      "stdoutTail": "…      413.51 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-ko-BVwvL4Qt.js                                                                  415.39 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-de-Cavwqq7c.js                                                                  417.26 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-pl-DILOYKl1.js                                                                  419.47 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-it-CrBKeJMg.js                                                                  420.48 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-ca-hTrZjFbv.js                                                                  424.26 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-es-BwPbH2OD.js                                                                  427.70 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-fr-DGUtCGzB.js                                                                  445.56 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-vi-D5zsk59V.js                                                                  468.82 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-ja-JP-D5yQJWzP.js                                                               480.11 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-ar-DIxHoml7.js                                                                  526.33 kB\n../dist/control-ui.build-8928-2q6EC2/assets/control-ui-boot-chat-styles-2485BfX4.js                                                             536.52 kB │ map: 2,729.46 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-fa-Bhhr01Oi.js                                                                  571.78 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-uk-CpsXzDxe.js                                                                  630.51 kB\n../dist/control-ui.build-8928-2q6EC2/assets/ghostty-web-Bq39I0Og.js                                                                             637.04 kB │ map:   759.84 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-ru-CxOVI4Id.js                                                                  638.09 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-hi-BOj_R32L.js                                                                  751.38 kB\n../dist/control-ui.build-8928-2q6EC2/assets/locale-config-hints-th-BefNyalh.js                                                                  806.98 kB\n../dist/control-ui.build-8928-2q6EC2/assets/control-ui-boot-chat-Z6-67JCC.js                                                                    963.73 kB │ map: 4,143.24 kB\n../dist/control-ui.build-8928-2q6EC2/assets/control-ui-boot-shared-DTVQOB3x.js                                                                1,874.95 kB │ map: 8,422.51 kB\n\n\u001b[32m✓ built in 22.02s\u001b[39m\nverified 1076 finalized Control UI sidecars\nControl UI performance:\n  measurement: generated asset hashes normalized for budgets; served sizes retain sidecars with identity fallback; Node v24.22.1\n  document: 59242 B raw, 13996 B gzip (limit: 14026 B)\n  startup JS: 3 requests, 88.1 KiB gzip (90255 B), 78.4 KiB br normalized; served 91178 B gzip, 80800 B br, 283956 B raw (limits: 7 requests, 90.0 KiB gzip / 92137 B)\n  startup JS gzip vs baseline: 90255 B (baseline 91561 B + growth allowance 512 B = growth limit 92073 B; build-variance allowance 64 B; enforcement limit 92137 B; max committed baseline 325131 B)\n  startup CSS: 1 request, 40.1 KiB gzip (41096 B), 34.3 KiB br normalized; served 41268 B gzip, 35283 B br, 236864 B raw (limits: 1 request, advisory target 46080 B, hard ceiling 51200 B; headroom 10104 B)\n  largest ordinary JS: assets/control-ui-boot-shared-DTVQOB3x.js, 562.5 KiB gzip (limit: 563.7 KiB)\n  largest CSS: assets/control-ui-boot-shared-styles-yaceFi0i.css, 58587 B gzip (hard ceiling 58315 B; headroom -272 B)\n  all JS: 2741 requests, 18199.7 KiB gzip (18636509 B), 17249.0 KiB br normalized; served 18658998 B gzip, 17682328 B br, 42071605 B raw\n  all CSS: 123 requests, 336.8 KiB gzip (344926 B), 296.7 KiB br normalized; served 345142 B gzip, 304053 B br, 1778962 B raw (fixed ceilings: 344948 B gzip, 1779112 B raw)\n  route boot accounting: initial-entry assets plus measured immediate dynamic imports; existing initial-entry limits unchanged\n  chat boot JS: 21 requests, 1302.3 KiB gzip (1333530 B), 1112.9 KiB br normalized; served 1341364 B gzip, 1145456 B br, 4306774 B raw (1243275 B beyond initial-entry JS; limits: 20 requests, 1334480 B gzip)\n  chat boot CSS: 3 requests, 136.3 KiB gzip (139560 B), 115.5 KiB br normalized; served 139732 B gzip, 118472 B br, 849346 B raw (2 beyond initial-entry CSS; limit: 3 requests)\n  new boot JS: 17 requests, 800.9 KiB gzip (820119 B), 682.2 KiB br normalized; served 825550 B gzip, 702703 B br, 2666335 B raw (729864 B beyond initial-entry JS; limits: 17 requests, 822243 B gzip)\n  new boot CSS: 3 requests, 104.7 KiB gzip (107254 B), 89.2 KiB br normalized; served 107426 B gzip, 91532 B br, 649428 B raw (2 beyond initial-entry CSS; limit: 3 requests)\n  warning: largest CSS gzip has -272 B of hard-ceiling headroom\n  isolated Mermaid JS: 1 request, 241.8 KiB gzip (247575 B), 202.8 KiB br normalized; served 247580 B gzip, 207521 B br, 706477 B raw (limits: 1 deferred asset, 256.0 KiB gzip; forbidden at startup)\n  locale catalog JS: 44 requests, 2901.5 KiB gzip (2971106 B), 2499.2 KiB br normalized; served 2972612 B gzip, 2560353 B br, 11919582 B raw (largest pair: ru, 151.8 KiB gzip; limits: 1 base + 1 config-hint asset per locale, 300.0 KiB combined; forbidden at startup)\n    ar: 140746 B gzip (base 17377 B + config hints 123369 B; cap 307200 B; headroom 166454 B)\n    ca: 130937 B gzip (base 16425 B + config hints 114512 B; cap 307200 B; headroom 176263 B)\n    de: 136850 B gzip (base 16833 B + config hints 120017 B; cap 307200 B; headroom 170350 B)\n    es: 130152 B gzip (base 16285 B + config hints 113867 B; cap 307200 B; headroom 177048 B)\n    fa: 141825 B gzip (base 17406 B + config hints 124419 B; cap 307200 B; headroom 165375 B)\n    fr: 133995 B gzip (base 16664 B + config hints 117331 B; cap 307200 B; headroom 173205 B)\n    hi: 150783 B gzip (base 18846 B + config hints 131937 B; cap 307200 B; headroom 156417 B)\n    id: 120053 B gzip (base 15189 B + config hints 104864 B; cap 307200 B; headroom 187147 B)\n    it: 129686 B gzip (base 16146 B + config hints 113540 B; cap 307200 B; headroom 177514 B)\n    ja-JP: 138053 B gzip (base 17366 B + config hints 120687 B; cap 307200 B; headroom 169147 B)\n    ko: 127771 B gzip (base 16474 B + config hints 111297 B; cap 307200 B; headroom 179429 B)\n    nl: 129703 B gzip (base 16145 B + config hints 113558 B; cap 307200 B; headroom 177497 B)\n    pl: 137475 B gzip (base 17039 B + config hints 120436 B; cap 307200 B; headroom 169725 B)\n    pt-BR: 127245 B gzip (base 16073 B + config hints 111172 B; cap 307200 B; headroom 179955 B)\n    ru: 155484 B gzip (base 19201 B + config hints 136283 B; cap 307200 B; headroom 151716 B)\n    sv: 126682 B gzip (base 15951 B + config hints 110731 B; cap 307200 B; headroom 180518 B)\n    th: 150015 B gzip (base 18449 B + config hints 131566 B; cap 307200 B; headroom 157185 B)\n    tr: 131066 B gzip (base 16312 B + config hints 114754 B; cap 307200 B; headroom 176134 B)\n    uk: 153424 B gzip (base 18948 B + config hints 134476 B; cap 307200 B; headroom 153776 B)\n    vi: 129316 B gzip (base 16557 B + config hints 112759 B; cap 307200 B; headroom 177884 B)\n    zh-CN: 124233 B gzip (base 16043 B + config hints 108190 B; cap 307200 B; headroom 182967 B)\n    zh-TW: 125612 B gzip (base 16187 B + config hints 109425 B; cap 307200 B; headroom 181588 B)\n  violations:\n    - largest CSS gzip: 57.2 KiB exceeds 56.9 KiB\n    - chat boot JS requests: 21 exceeds 20",
      "stderrTail": "…son\" without import attributes (../scripts/lib/control-ui-i18n-sync-plan.ts:2:41). Add `with { type: 'json' }`\nSet `VITE_CONFIG_NATIVE_IGNORE_WARNING=true` to suppress this warning.\u001b[39m\n\u001b[33m`output.codeSplitting.groups[1].name` is a function. Set `output.codeSplitting.groups[1].debugName` so the bundler timing report can identify this group.\u001b[39m\n\u001b[33m[plugin rolldown:vite-resolve] Module \"node:path\" has been externalized for browser compatibility, imported by \"/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build/packages/media-core/src/mime.ts\". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.\u001b[39m\n\u001b[33m[plugin rolldown:vite-resolve] Module \"node:path\" has been externalized for browser compatibility, imported by \"/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build/packages/media-core/src/file-name.ts\". See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/app/control-ui-environment-presentation.runtime.ts is dynamically imported by src/app/bootstrap-theme.ts, src/app/config.ts but also statically imported by src/app/control-ui-favicon-artwork.runtime.ts, src/app/control-ui-favicon-status.runtime.ts, src/pages/config/view-tab-icon.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m[plugin builtin:vite-reporter] \n(!) Some chunks are larger than 1024 kB after minification. Consider:\n- Using dynamic import() to code-split the application\n- Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting\n- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/app/server-prefs-reconcile.ts is dynamically imported by src/app/app-shell-gateway.ts but also statically imported by src/app/bootstrap.ts, src/app/server-prefs-drain.ts, src/app/server-prefs-write-batch.ts, src/pages/config/config-page-preferences.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/components/sidebar-snapshot-data.ts is dynamically imported by src/pages/chat/session-snapshot-database.ts, src/pages/chat/session-snapshot-prewarm.ts but also statically imported by src/components/sidebar-snapshot-model.ts, src/components/sidebar-snapshot.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/components/app-sidebar-session-narration.ts is dynamically imported by src/components/app-sidebar-owner.tsx but also statically imported by src/pages/chat/subagents-panel-data.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/components/sidebar-attention.tsx is dynamically imported by src/app/navigation-surface-view.tsx, src/pages/custodian/custodian-page.tsx but also statically imported by src/components/app-sidebar-owner.tsx, src/components/app-sidebar-render.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/session-snapshot-store.ts is dynamically imported by src/pages/chat/chat-snapshot-prewarm.ts, src/pages/chat/route-loader-short-cache.ts, src/pages/chat/session-snapshot-prewarm.ts but also statically imported by src/components/sidebar-snapshot.ts, src/pages/chat/chat-page-state.ts, src/pages/chat/chat-pane-runtime-view.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/lib/chat/outbox-store-projection.ts is dynamically imported by src/app/app-host.tsx but also statically imported by src/lib/chat/outbox-attention.ts, src/pages/chat/chat-outbox-drain.ts, src/pages/chat/chat-outbox-owner.ts, src/pages/chat/chat-outbox-resume.ts, src/pages/chat/chat-outbox-scopes.ts, ..., dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/lib/chat/composer-draft-store.runtime.ts is dynamically imported by src/lib/chat/outbox-store-projection.ts, src/pages/chat/chat-outbox-recovery.tsx, src/pages/chat/chat-session-companion-comments.ts, src/pages/chat/components/chat-async-question-draft.ts, src/pages/chat/durable-composer-persistence.ts, ... but also statically imported by src/lib/chat/composer-draft-retirement.runtime.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/components/chat-divider.tsx is dynamically imported by src/pages/chat/components/chat-transcript-rows.ts but also statically imported by src/pages/chat/components/chat-notice-view.tsx, src/pages/chat/components/chat-system-events.tsx, src/pages/custodian/custodian-surface.tsx, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/chat-outbox-drain.ts is dynamically imported by src/pages/chat/chat-outbox-resume.ts, src/pages/chat/chat-send-actions.ts but also statically imported by src/pages/chat/chat-send-delivery.runtime.ts, src/pages/chat/chat-send-delivery.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/chat-send-queue-state.ts is dynamically imported by src/pages/chat/initial-turn-handoff-admission.ts but also statically imported by src/pages/chat/chat-send-delivery.runtime.ts, src/pages/chat/chat-send-delivery.ts, src/pages/chat/chat-send-queue-runtime.ts, dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[INEFFECTIVE_DYNAMIC_IMPORT] \u001b[0msrc/pages/chat/chat-send-actions.ts is dynamically imported by src/pages/chat/initial-turn-handoff-admission.ts but also statically imported by src/pages/chat/chat-live-events.runtime.ts, src/pages/chat/chat-pane-context.ts, src/pages/chat/chat-pane-lifecycle.ts, src/pages/chat/chat-pane-render.ts, src/pages/chat/chat-pane-retained-presentation.ts, ..., dynamic import will not move module into another chunk.\n\u001b[39m\n\u001b[33m\u001b[33m[PLUGIN_TIMINGS] \u001b[0mJavaScript callbacks ran for 20.0s of this 22.0s build (91%).\nThe slowest callbacks, timed inside each callback (the wait before a callback starts is excluded, the time it awaits is included):\n  - plugin control-ui-precompressed-assets writeBundle (44%, 9.7s, 1 call)\n  - plugin control-ui-build-output writeBundle (9%, 1.9s, 1 call)\n  - plugin control-ui-update-cache-hashes renderChunk (6%, 1.3s, 822 calls)\n  - plugin control-ui-isolated-desktop-runtime resolveDynamicImport (5%, 1.1s, 663 calls)\n  - plugin vite:build-import-analysis generateBundle (5%, 1.1s, 1 call)\nAdditional callback time came from the callbacks below and from callbacks under 1s.\n4 callbacks are listed without a time. Their calls overlapped, so the time inside one call includes work from other calls. To find their cost, profile the build with `node --cpu-prof`:\n  - plugin solid transform (5648 calls)\n  - plugin control-ui-locale-modules load (44 calls)\n  - plugin vite:css transform (239 calls)\n  … and 1 more\nSee https://rolldown.rs/reference/InputOptions.checks#bundlertimings for more details.\n\u001b[39m\nWarning: Control UI performance warning\n  scripts/check-control-ui-performance.mts: largest CSS gzip has -272 B of hard-ceiling headroom\n[build-all] ui:build done in 45.9s\n[build-all] write-build-info\n[build-all] write-build-info done in 105ms\n[build-all] write-cli-startup-metadata (cache restored)\n[build-all] write-cli-startup-metadata done in 3.11s\n[build-all] phase timings: total 2m 5.7s; slowest tsdown 46.3s; ui:build 45.9s; check-cli-bootstrap-imports 7.28s; external-plugins:local-dist 6.35s; runtime-postbuild 5.21s; plugins:assets:build 4.26s; runtime:scripts:check 4.05s; write-cli-startup-metadata (reused) 3.11s; plugins:assets:copy 1.51s; build-stamp 565ms; write-build-info 105ms; native-protocol 62ms; runtime-postbuild-stamp 51ms",
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "candidate-recovery",
      "command": "--check",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build",
      "durationMs": 762,
      "exitCode": 0
    },
    {
      "name": "preflight-update-clean-check",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build status --porcelain -- :!dist/control-ui/",
      "durationMs": 67,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "preflight-update-source-check",
      "command": "git -C /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build diff --quiet a1aa127601782485194ef990cc913747fd994cb8 --",
      "durationMs": 13,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build"
    },
    {
      "name": "git-release-place",
      "command": "git -C /home/appuser/openclaw worktree move /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/build /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/lib/node_modules/openclaw",
      "durationMs": 6,
      "exitCode": 0,
      "stdoutTail": null,
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/openclaw"
    },
    {
      "name": "git-release-smoke",
      "command": "/usr/local/bin/node /home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/lib/node_modules/openclaw/openclaw.mjs --version",
      "durationMs": 27,
      "exitCode": 0,
      "stdoutTail": "OpenClaw 2026.11.6 (a1aa127)",
      "stderrTail": null,
      "signal": null,
      "killed": false,
      "termination": "exit",
      "cwd": "/home/appuser/.openclaw/git-install/releases/git-mws48a43-4548bde8/lib/node_modules/openclaw"
    },
    {
      "name": "post-stop-checks",

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

RED raw logs (4/4): continuation of the 8f80 updater's stdout, lines 426- 851.

8f80 `openclaw update` stdout, part 2
      "command": "recheck schemas, published artifacts and candidate configuration",
      "cwd": "/home/appuser/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw",
      "durationMs": 119,
      "exitCode": 0
    },
    {
      "name": "openclaw doctor",
      "command": "openclaw doctor --fix",
      "cwd": "/home/appuser/.openclaw/git-install/lib/node_modules/openclaw",
      "durationMs": 0,
      "exitCode": 1,
      "stderrTail": "Shared state migration did not finish: expected schema 41, found 40.\nAgent database migration did not finish: /home/appuser/.openclaw/agents/main/agent/openclaw-agent.sqlite; expected schema 43, found 42."
    },
    {
      "name": "gateway recovery verification",
      "command": "gateway verification",
      "cwd": "/home/appuser/.openclaw/git-install/lib/node_modules/openclaw",
      "durationMs": 102,
      "exitCode": 1,
      "failureFacts": [
        {
          "check": "versionMatch",
          "code": "version-mismatch",
          "message": "Expected Gateway version 2026.11.6; observed 2026.11.4."
        },
        {
          "check": "versionMatch",
          "code": "build-id-mismatch",
          "message": "Expected Gateway build 2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z; observed 2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z."
        }
      ]
    }
  ],
  "durationMs": 333630,
  "gitRuntime": {
    "commit": "a1aa127601782485194ef990cc913747fd994cb8",
    "distDigest": "d30ff134b71aa20e42f37fb66bdc89b8854cde95688dba0fbaf39ccc505e5646"
  },
  "after": {
    "sha": "a1aa127601782485194ef990cc913747fd994cb8",
    "version": "2026.11.6",
    "buildId": "2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z"
  },
  "runId": "07753505-5727-40a4-9769-c5db931f13df",
  "reason": "openclaw doctor",
  "verification": {
    "serviceRunning": true,
    "pid": 2453,
    "port": 43769,
    "runningVersion": "2026.11.4",
    "runningBuildId": "2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z",
    "versionMatch": false,
    "pluginErrors": [],
    "channelsReady": false,
    "settled": false,
    "readyz": false
  },
  "run": {
    "runId": "07753505-5727-40a4-9769-c5db931f13df",
    "createdAtMs": 1795368647762,
    "updatedAtMs": 1795368974835,
    "trigger": "cli",
    "phase": "finished",
    "status": "failed",
    "reason": "openclaw doctor",
    "origin": {
      "admission": {
        "owner": "installed"
      },
      "driver": {
        "host": "e6bdb544537f",
        "pid": 3083,
        "startIdentity": "85381002"
      },
      "nextAction": "Run `openclaw triage` on this machine to open a coding agent that can diagnose and repair the installation.",
      "cause": "unknown"
    },
    "target": {
      "channel": "dev",
      "tag": "dev",
      "kind": "git",
      "version": "2026.11.6",
      "sha": "a1aa127601782485194ef990cc913747fd994cb8",
      "installationMethod": "git-checkout"
    },
    "before": {
      "version": "2026.11.4",
      "sha": "8f80fe08cad63e890008668c6f482a81aa12e2ea",
      "buildId": "2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z"
    },
    "after": {
      "version": "2026.11.6",
      "sha": "a1aa127601782485194ef990cc913747fd994cb8",
      "buildId": "2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795368647762,
        "endedAtMs": 1795368648135
      },
      {
        "step": "driver:adopted",
        "status": "completed",
        "endedAtMs": 1795368647819
      },
      {
        "step": "original-state-capture",
        "status": "completed",
        "detail": "Original state retained for manual recovery at ~/.openclaw.update-captures/07753505-5727-40a4-9769-c5db931f13df."
      },
      {
        "step": "warning:original-state-capture:1",
        "status": "completed",
        "detail": "matrix migration recovery coverage is unknown: no backup inventory was declared. Update the plugin to a version with migration backup support. Until then, keep a separate backup of its configured data before relying on rollback; ask its maintainer to add backup support. See https://docs.openclaw.ai/cli/doctor/state-migrations#plugin-migration-recovery-coverage"
      },
      {
        "step": "warning:original-state-capture:2",
        "status": "completed",
        "detail": "memory-lancedb migration recovery coverage is unknown: no backup inventory was declared. Update the plugin to a version with migration backup support. Until then, keep a separate backup of its configured data before relying on rollback; ask its maintainer to add backup support. See https://docs.openclaw.ai/cli/doctor/state-migrations#plugin-migration-recovery-coverage"
      },
      {
        "step": "warning:original-state-capture:3",
        "status": "completed",
        "detail": "zalouser migration recovery coverage is unknown: no backup inventory was declared. Update the plugin to a version with migration backup support. Until then, keep a separate backup of its configured data before relying on rollback; ask its maintainer to add backup support. See https://docs.openclaw.ai/cli/doctor/state-migrations#plugin-migration-recovery-coverage"
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795368648135,
        "endedAtMs": 1795368648147
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795368648147,
        "endedAtMs": 1795368967662
      },
      {
        "step": "git-remote",
        "status": "completed",
        "startedAtMs": 1795368649022,
        "endedAtMs": 1795368649027,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-config-update-upstream",
        "status": "completed",
        "startedAtMs": 1795368650794,
        "endedAtMs": 1795368650797,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git fetch",
        "status": "completed",
        "startedAtMs": 1795368651245,
        "endedAtMs": 1795368660364,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-resolve-target",
        "status": "completed",
        "startedAtMs": 1795368660819,
        "endedAtMs": 1795368660823,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-worktree",
        "status": "completed",
        "startedAtMs": 1795368807445,
        "endedAtMs": 1795368810856,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-reset",
        "status": "completed",
        "startedAtMs": 1795368811330,
        "endedAtMs": 1795368813697,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-clean",
        "status": "completed",
        "startedAtMs": 1795368814171,
        "endedAtMs": 1795368814209,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-checkout",
        "status": "completed",
        "startedAtMs": 1795368814680,
        "endedAtMs": 1795368814726,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-deps-install",
        "status": "completed",
        "startedAtMs": 1795368819220,
        "endedAtMs": 1795368827293,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-build",
        "status": "completed",
        "startedAtMs": 1795368827762,
        "endedAtMs": 1795368962097,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-update-clean-check",
        "status": "completed",
        "startedAtMs": 1795368964170,
        "endedAtMs": 1795368964237,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-update-source-check",
        "status": "completed",
        "startedAtMs": 1795368964667,
        "endedAtMs": 1795368964680,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-release-place",
        "status": "completed",
        "startedAtMs": 1795368965108,
        "endedAtMs": 1795368965114,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "upstream-check",
        "status": "completed",
        "startedAtMs": 1795368803340,
        "endedAtMs": 1795368803345,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "git-rev-list",
        "status": "completed",
        "startedAtMs": 1795368803825,
        "endedAtMs": 1795368803832,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-local-history",
        "status": "completed",
        "startedAtMs": 1795368804305,
        "endedAtMs": 1795368804329,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "snapshot-space-preflight",
        "status": "completed",
        "startedAtMs": 1795368805009,
        "endedAtMs": 1795368805011,
        "exitCode": 0
      },
      {
        "step": "diagnostic:snapshot-space-preflight",
        "status": "completed",
        "startedAtMs": 1795368805009,
        "endedAtMs": 1795368805011,
        "detail": "SQLite family ~/.openclaw/agents/main/agent/openclaw-agent.sqlite: 534 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:2",
        "status": "completed",
        "startedAtMs": 1795368805009,
        "endedAtMs": 1795368805011,
        "detail": "SQLite family ~/.openclaw/state/openclaw.sqlite: 4 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:3",
        "status": "completed",
        "startedAtMs": 1795368805009,
        "endedAtMs": 1795368805011,
        "detail": "SQLite family ~/.openclaw/client/credentials.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:4",
        "status": "completed",
        "startedAtMs": 1795368805009,
        "endedAtMs": 1795368805011,
        "detail": "SQLite family ~/.openclaw/control/services.sqlite: 0 MiB (database and supporting files)."
      },
      {
        "step": "diagnostic:snapshot-space-preflight:5",
        "status": "completed",
        "startedAtMs": 1795368805009,
        "endedAtMs": 1795368805011,
        "detail": "Update database backup near ~/um/pnpm-home/global/v11/926ea0a51a5e60b563a5c9f5e53c1fda01ec614676ee4355740d8c425a806cdb/node_modules/openclaw/.artifacts: 1.1 GiB (1206918248 bytes) needed; 324 GiB (347928174592 bytes) free."
      },
      {
        "step": "preflight-local-checkout",
        "status": "completed",
        "startedAtMs": 1795368815189,
        "endedAtMs": 1795368816216,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "preflight-rebase",
        "status": "completed",
        "startedAtMs": 1795368816707,
        "endedAtMs": 1795368818285,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "candidate-recovery",
        "status": "completed",
        "startedAtMs": 1795368962975,
        "endedAtMs": 1795368963737,
        "exitCode": 0
      },
      {
        "step": "git-release-smoke",
        "status": "completed",
        "startedAtMs": 1795368965530,
        "endedAtMs": 1795368965557,
        "exitCode": 0,
        "termination": "exit",
        "signal": null
      },
      {
        "step": "activating",
        "status": "failed",
        "startedAtMs": 1795368967662,
        "endedAtMs": 1795368974834
      },
      {
        "step": "post-stop-checks",
        "status": "completed",
        "startedAtMs": 1795368967809,
        "endedAtMs": 1795368967928,
        "exitCode": 0
      },
      {
        "step": "openclaw doctor",
        "status": "failed",
        "exitCode": 1,
        "detail": "Exit code: 1; Agent database migration did not finish: ~/.openclaw/agents/main/agent/openclaw-agent.sqlite; expected schem"
      },
      {
        "step": "gateway recovery verification",
        "status": "failed",
        "exitCode": 1,
        "detail": "Exit code: 1; Expected Gateway version 2026.11.6; observed 2026.11.4.; Expected Gateway build 2026.11.6-a1aa12760178-2026-11-22T17-33-",
        "failureFacts": [
          {
            "check": "versionMatch",
            "code": "version-mismatch",
            "message": "Expected Gateway version 2026.11.6; observed 2026.11.4."
          },
          {
            "check": "versionMatch",
            "code": "build-id-mismatch",
            "message": "Expected Gateway build 2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z; observed 2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z."
          }
        ]
      }
    ],
    "verification": {
      "recovery": {
        "serviceRestartSafe": true,
        "version": "2026.11.6",
        "buildId": "2026.11.6-a1aa12760178-2026-11-22T17-33-56.161Z",
        "service": "failed",
        "reason": "version-mismatch"
      },
      "runningVersion": "2026.11.4",
      "runningBuildId": "2026.11.4-8f80fe08cad6-2026-11-22T17-28-20.488Z",
      "serviceRunning": true,
      "pid": 2453,
      "port": 43769,
      "versionMatch": false,
      "pluginErrors": [],
      "channelsReady": false,
      "readyz": false,
      "settled": false
    },
    "repair": [],
    "confirmedAtMs": null,
    "finishedAtMs": 1795368974834,
    "downtimeMs": null,
    "admission": {
      "owner": "installed"
    }
  },
  "reportPath": "/home/appuser/.openclaw/update-reports/07753505-5727-40a4-9769-c5db931f13df.md"
}

…he service

Restore the earlier updater's trial only when nothing restarted, read back the effective service command, give the boot wait its own budget from the restart, and convert only for the configured local Gateway.
…sume an interrupted restart

Require the effective service to start the checkout and to use the same state and config before converting; let the next update restart into a trial whose restart never happened; follow the run within the one --timeout budget.
@fuller-stack-dev
fuller-stack-dev marked this pull request as ready for review November 22, 2026 20:03
… resuming

Refuse before publishing when the service starts another checkout; compare the service's own state and config selection; read the service only for trials that can need conversion; prepare afresh for --sha; stop before the restart when --timeout is spent; resume only the trial prepared for this checkout and config.
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

RED recording: base a1aa1276017 (origin/main at the time). Live terminal capture of the cell, with idle time compressed to 2 s. It shows the 8f80 updater leaving the checkout half-switched, the release CLI's openclaw update failing through the old Gateway (trigger: api, openclaw doctor), and plain openclaw update reporting a false already-current while 2026.11.4 serves. The raw facts printed at the end come from the cell's own files.

red-half-switched-base-a1aa127.mp4

@clawsweeper

clawsweeper Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR lets a new release CLI recover a Git installation whose old updater prepared a release without switching the serving Gateway.

Example: A checkout serves OpenClaw 2026.11.4 while its updater has prepared 2026.11.6.

  • Before: Running the prepared release's update command delegates to the old Gateway and repeats the failed update.
  • After: The release CLI prepares beside the checkout, stages the resident launcher, restarts the service, and records the outcome after the new release boots.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The recovery approach has clear value, but introduced lifecycle defects block merge and the supplied artifacts do not establish after-fix behavior or compatibility of the persisted releases/.trial replacement.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🦪 silver shellfish (2/6) 5 actionable review findings remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: An interrupted Git update keeps serving the old Gateway, repeats expensive builds, and cannot recover through its normal update or Doctor commands.
Reason: The maintainer-authored direction supplies the owner decision, and the observed production installation satisfies the repository's exception for retaining otherwise main-only compatibility.

Merge readiness

⛔ Blocked before merge - 6 items remain

Keep this PR open: it addresses an observed recovery failure, but timeout handling, retry routing, and resume validation still contain blocking defects.

Priority: P1
Reviewed head: beaa7d2c706566f41b922fa5c14a12c13b84cf7c

Before merge

  • [P1] Preserve the pending trial after staging the launcher (P1) - When preparation and service staging consume --timeout, this branch restores the original format-1 trial but leaves the service definition pointing at openclaw-launcher.mjs. On the next command, checkoutConversion returns null because legacy trials are excluded when the service starts that launcher. The command consequently delegates back to the old Gateway that cannot finish the update, despite telling the user to retry with a longer timeout. Keep the new pending trial resumable after a successful rebind, or restore the service definition together with the old trial.
  • [P2] Supersede the pending trial before preparing a pinned retry (P2) - After a restart fails without starting the candidate, checkoutConversion returns resume. Supplying --sha changes that to convert, but convertHalfSwitchedCheckout passes the existing pending trial unchanged to prepareUpdate, which immediately returns update-running for any pending trial. Thus neither the same pinned commit nor a replacement commit can be prepared as the comment promises. Handle replacement of this never-started pending trial through the existing preparation owner before taking the conversion path.
  • [P2] Detect the serving build instead of source-file presence (P2) - A checkout pulled to current main without rebuilding contains release-launcher-forward.mjs while its dist/index.js still runs the old updater. After rollback to that checkout, this predicate returns false, so the release CLI delegates to the old Gateway instead of retrying conversion. The body acknowledges this unresolved case, and prepareUpdate already distinguishes serving build identity from checkout source. Base recovery routing on the built runtime's capability or identity rather than this source file.
  • [P1] Validate the service's state selection when resuming (P1) - On a later resume request, the trial's config is compared only with the CLI environment. Unlike initial conversion, this function never compares that selection with the service's own environment. If a failed restart is followed by a service definition selecting another state directory or config, a CLI still selecting the original trial passes these checks and restarts the candidate against the other state, then records its run in the original state. Apply the existing service/state/config admission comparison at the start of this new resume request.
  • [P2] Check the remaining resume budget before restarting (P2) - Resume performs trial reads, Git installation detection, realpath checks, and build inspection before calling this helper. If those operations exhaust --timeout, restartIntoTrial nevertheless restarts the service and only afterwards computes a zero wait budget. This causes an outage after the requested deadline, contrary to the initial conversion's explicit refusal before restart. Check the remaining budget before dispatching the native restart for both callers.
  • 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

  • [P1] [P1] Preserve the pending trial after staging the launcher — src/update/half-switched.ts:268-270
  • [P2] [P2] Supersede the pending trial before preparing a pinned retry — src/update/cli.ts:73-74
  • [P2] [P2] Detect the serving build instead of source-file presence — src/update/half-switched.ts:57-59

Tests

  • Missing end-to-end proof: Provide inspectable after-fix CLI/service output for conversion and recovery retries, latest-stable upgrade evidence preserving settings and state, and distinguish behavioral base failures from missing-module failures.
Agent review details

How this fits together

The Git updater connects CLI requests to release preparation, native service definitions, launcher trials, boot-time state migration, and persisted update outcomes.

flowchart TD
  A[Release CLI] --> B[Detect interrupted conversion]
  B --> C[Existing release preparation]
  C --> D[Service definition owner]
  D --> E[Resident launcher trial]
  E --> F[Gateway boot and migration]
  F --> G[Update run settlement]
Loading

Technical review

Best possible solution:

Keep recovery in the release CLI while making every abort and retry preserve a consistent service definition, pending trial, selected state, and deadline through the existing owners.

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

The supplied real-service failure logs and current-main delegation path establish the central failure; the additional retry defects are traceable directly through the introduced code without executing it.

Is this the best way to solve the issue?

CLI-owned conversion is justified because the running old Gateway cannot execute the fix, and reusing release preparation with deferred ledger writes avoids a competing update engine.

Full review comments:

  • [P1] [P1] Preserve the pending trial after staging the launcher — src/update/half-switched.ts:268-270
    When preparation and service staging consume --timeout, this branch restores the original format-1 trial but leaves the service definition pointing at openclaw-launcher.mjs. On the next command, checkoutConversion returns null because legacy trials are excluded when the service starts that launcher. The command consequently delegates back to the old Gateway that cannot finish the update, despite telling the user to retry with a longer timeout. Keep the new pending trial resumable after a successful rebind, or restore the service definition together with the old trial.
    Confidence: 0.99
  • [P2] [P2] Supersede the pending trial before preparing a pinned retry — src/update/cli.ts:73-74
    After a restart fails without starting the candidate, checkoutConversion returns resume. Supplying --sha changes that to convert, but convertHalfSwitchedCheckout passes the existing pending trial unchanged to prepareUpdate, which immediately returns update-running for any pending trial. Thus neither the same pinned commit nor a replacement commit can be prepared as the comment promises. Handle replacement of this never-started pending trial through the existing preparation owner before taking the conversion path.
    Confidence: 0.99
  • [P2] [P2] Detect the serving build instead of source-file presence — src/update/half-switched.ts:57-59
    A checkout pulled to current main without rebuilding contains release-launcher-forward.mjs while its dist/index.js still runs the old updater. After rollback to that checkout, this predicate returns false, so the release CLI delegates to the old Gateway instead of retrying conversion. The body acknowledges this unresolved case, and prepareUpdate already distinguishes serving build identity from checkout source. Base recovery routing on the built runtime's capability or identity rather than this source file.
    Confidence: 0.98
  • [P1] [P1] Validate the service's state selection when resuming — src/update/half-switched.ts:399-410
    On a later resume request, the trial's config is compared only with the CLI environment. Unlike initial conversion, this function never compares that selection with the service's own environment. If a failed restart is followed by a service definition selecting another state directory or config, a CLI still selecting the original trial passes these checks and restarts the candidate against the other state, then records its run in the original state. Apply the existing service/state/config admission comparison at the start of this new resume request.
    Confidence: 0.94
  • [P2] [P2] Check the remaining resume budget before restarting — src/update/half-switched.ts:307-309
    Resume performs trial reads, Git installation detection, realpath checks, and build inspection before calling this helper. If those operations exhaust --timeout, restartIntoTrial nevertheless restarts the service and only afterwards computes a zero wait budget. This causes an outage after the requested deadline, contrary to the initial conversion's explicit refusal before restart. Check the remaining budget before dispatching the native restart for both callers.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Release preparation and update-run persistence keeps the original intent (be5f7fa: Preparation records progress in the existing asynchronous ledger while the launcher and new Gateway own activation and settlement.)
  • Recovery of legacy Git trials changes intended behavior with a stated reason (feat(update): Git installs update through prepared releases and a resident launcher #203194: Legacy trial support was deliberately excluded because no released build contained that format; this PR explains an observed production installation requiring recovery.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit be5f7fa adds src/update/cli.ts:1 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: be5f7fad9dfe; files: src/update/cli.ts)

PR surface

Source +559, Tests +365. Total +924 across 7 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 4 641 82 +559
Tests 3 375 10 +365
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 1016 92 +924

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.

Review metrics

Metric Value Why it matters
Production versus test changes Production +641/-82; tests and test routing +375/-10 The new orchestration addresses a concrete boundary where the old Gateway cannot run the repair or permit forward migration; the added lifecycle transitions need particular scrutiny.

Labels

Label changes:

  • add P1: Observed Git installations cannot complete updates through their existing updater, and the proposed recovery still has paths that strand retries.
  • add merge-risk: 🚨 compatibility: The change replaces legacy persisted trial state and rewrites service startup; inconsistent abort transitions can leave existing installations outside both recovery routes.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P1: Observed Git installations cannot complete updates through their existing updater, and the proposed recovery still has paths that strand retries.
  • merge-risk: 🚨 compatibility: The change replaces legacy persisted trial state and rewrites service startup; inconsistent abort transitions can leave existing installations outside both recovery routes.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 22, 2026, 3:29 PM ET / 20:29 UTC.

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

GREEN at the PR head beaa7d2c706. Live terminal capture of the same cell, with idle time compressed to 2 s:

  • The 8f80 updater leaves the checkout half-switched, with this head as the release it built.
  • Its release CLI then converts the install in one command.
  • The 8f80 openclaw on PATH refuses harmlessly.
  • The next update goes through the normal release path.
green-half-switched-head-beaa7d2.mp4
convert: exit 0, 406.1 s (raw stdout)
{
  "runId": "d06b17f0-9f00-48f3-a2cb-2d4ececb3cbe",
  "createdAtMs": 1795381051077,
  "updatedAtMs": 1795381080032,
  "trigger": "cli",
  "phase": "finished",
  "status": "succeeded",
  "reason": null,
  "origin": {
    "cause": "none"
  },
  "target": {
    "kind": "git",
    "version": "2026.11.6",
    "sha": "9a3531c518c5b97a29209e061f2ac275f701e8a3"
  },
  "before": {
    "version": "2026.11.4"
  },
  "after": {
    "version": "2026.11.6",
    "buildId": "2026.11.6-9a3531c518c5-2026-11-22T20-51-23.654Z"
  },
  "steps": [
    {
      "step": "requested",
      "status": "completed",
      "startedAtMs": 1795381051077,
      "endedAtMs": 1795381051116
    },
    {
      "step": "staging",
      "status": "completed",
      "startedAtMs": 1795381051116,
      "endedAtMs": 1795381051147
    },
    {
      "step": "prepare:git-resolve-target",
      "status": "completed",
      "startedAtMs": 1795380676593,
      "endedAtMs": 1795381080032
    },
    {
      "step": "prepare:worktree",
      "status": "completed",
      "startedAtMs": 1795380676599,
      "endedAtMs": 1795381080032
    },
    {
      "step": "prepare:install",
      "status": "completed",
      "startedAtMs": 1795380679773,
      "endedAtMs": 1795381080032
    },
    {
      "step": "prepare:build",
      "status": "completed",
      "startedAtMs": 1795380683139,
      "endedAtMs": 1795381080032
    },
    {
      "step": "prepare:ui-build",
      "status": "completed",
      "startedAtMs": 1795380950740,
      "endedAtMs": 1795381080032
    },
    {
      "step": "validating",
      "status": "completed",
      "startedAtMs": 1795381051147,
      "endedAtMs": 1795381051156
    },
    {
      "step": "plugins",
      "status": "completed",
      "endedAtMs": 1795380995439,
      "detail": "Plugins are maintained by the next update, once this release serves."
    },
    {
      "step": "activating",
      "status": "completed",
      "startedAtMs": 1795381051156,
      "endedAtMs": 1795381080032
    },
    {
      "step": "warning:service-definition",
      "status": "completed",
      "endedAtMs": 1795380996100,
      "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-67bcf096-ea8f-4b56-a28b-690813b2cbe2.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-67bcf096-ea8f-4b56-a28b-690813b2cbe2.receipt.bak"
    },
    {
      "step": "warning:checkout-cli",
      "status": "completed",
      "endedAtMs": 1795381050613,
      "detail": "Commands that start the checkout's own build at ~/openclaw, such as an `openclaw` on PATH linked to it, still run version 2026.11.4 and cannot open the upgraded state. Use `node ~/.openclaw/git-install/openclaw/openclaw.mjs`, which follows each new release."
    }
  ],
  "verification": {
    "booted": true,
    "runningVersion": "2026.11.6",
    "runningBuildId": "2026.11.6-9a3531c518c5-2026-11-22T20-51-23.654Z"
  },
  "repair": [],
  "confirmedAtMs": null,
  "finishedAtMs": 1795381080032,
  "downtimeMs": null
}
status: exit 0, 2.3 s (raw stdout)
{
  "update": {
    "root": "/home/appuser/.openclaw/git-install/openclaw",
    "installKind": "git",
    "packageManager": "pnpm",
    "git": {
      "root": "/home/appuser/.openclaw/git-install/openclaw",
      "sha": "9a3531c518c5b97a29209e061f2ac275f701e8a3",
      "tag": null,
      "branch": "HEAD",
      "upstream": "origin/main",
      "upstreamSource": "tracking",
      "upstreamSha": "9a3531c518c5b97a29209e061f2ac275f701e8a3",
      "commitAtMs": 1795378354000,
      "dirty": false,
      "ahead": 0,
      "behind": 0,
      "fetchOk": true,
      "builtSha": "9a3531c518c5b97a29209e061f2ac275f701e8a3",
      "artifacts": {
        "ready": true,
        "version": "2026.11.6",
        "buildId": "2026.11.6-9a3531c518c5-2026-11-22T20-51-23.654Z"
      }
    },
    "deps": {
      "manager": "pnpm",
      "lockfilePath": "/home/appuser/.openclaw/git-install/openclaw/pnpm-lock.yaml",
      "markerPath": "/home/appuser/.openclaw/git-install/openclaw/node_modules/.modules.yaml",
      "status": "ok"
    },
    "registry": {
      "latestVersion": null,
      "tag": "dev",
      "error": "HTTP 404"
    }
  },
  "channel": {
    "value": "dev",
    "source": "config",
    "label": "dev (config)",
    "config": "dev"
  },
  "availability": {
    "available": false,
    "hasGitUpdate": false,
    "hasRegistryUpdate": false,
    "latestVersion": null,
    "gitBehind": 0
  },
  "serviceDefinition": {
    "drift": [],
    "warnings": []
  },
  "lastRun": {
    "runId": "d06b17f0-9f00-48f3-a2cb-2d4ececb3cbe",
    "createdAtMs": 1795381051077,
    "updatedAtMs": 1795381080032,
    "trigger": "cli",
    "phase": "finished",
    "status": "succeeded",
    "reason": null,
    "origin": {
      "cause": "none"
    },
    "target": {
      "kind": "git",
      "version": "2026.11.6",
      "sha": "9a3531c518c5b97a29209e061f2ac275f701e8a3"
    },
    "before": {
      "version": "2026.11.4"
    },
    "after": {
      "version": "2026.11.6",
      "buildId": "2026.11.6-9a3531c518c5-2026-11-22T20-51-23.654Z"
    },
    "steps": [
      {
        "step": "requested",
        "status": "completed",
        "startedAtMs": 1795381051077,
        "endedAtMs": 1795381051116
      },
      {
        "step": "staging",
        "status": "completed",
        "startedAtMs": 1795381051116,
        "endedAtMs": 1795381051147
      },
      {
        "step": "prepare:git-resolve-target",
        "status": "completed",
        "startedAtMs": 1795380676593,
        "endedAtMs": 1795381080032
      },
      {
        "step": "prepare:worktree",
        "status": "completed",
        "startedAtMs": 1795380676599,
        "endedAtMs": 1795381080032
      },
      {
        "step": "prepare:install",
        "status": "completed",
        "startedAtMs": 1795380679773,
        "endedAtMs": 1795381080032
      },
      {
        "step": "prepare:build",
        "status": "completed",
        "startedAtMs": 1795380683139,
        "endedAtMs": 1795381080032
      },
      {
        "step": "prepare:ui-build",
        "status": "completed",
        "startedAtMs": 1795380950740,
        "endedAtMs": 1795381080032
      },
      {
        "step": "validating",
        "status": "completed",
        "startedAtMs": 1795381051147,
        "endedAtMs": 1795381051156
      },
      {
        "step": "plugins",
        "status": "completed",
        "endedAtMs": 1795380995439,
        "detail": "Plugins are maintained by the next update, once this release serves."
      },
      {
        "step": "activating",
        "status": "completed",
        "startedAtMs": 1795381051156,
        "endedAtMs": 1795381080032
      },
      {
        "step": "warning:service-definition",
        "status": "completed",
        "endedAtMs": 1795380996100,
        "detail": "Refreshed Gateway service definition. Backup: ~/.config/systemd/user/openclaw-gateway.service.reconcile-67bcf096-ea8f-4b56-a28b-690813b2cbe2.bak, ~/.config/systemd/user/openclaw-gateway.service.reconcile-67bcf096-ea8f-4b56-a28b-690813b2cbe2.receipt.bak"
      },
      {
        "step": "warning:checkout-cli",
        "status": "completed",
        "endedAtMs": 1795381050613,
        "detail": "Commands that start the checkout's own build at ~/openclaw, such as an `openclaw` on PATH linked to it, still run version 2026.11.4 and cannot open the upgraded state. Use `node ~/.openclaw/git-install/openclaw/openclaw.mjs`, which follows each new release."
      }
    ],
    "verification": {
      "booted": true,
      "runningVersion": "2026.11.6",
      "runningBuildId": "2026.11.6-9a3531c518c5-2026-11-22T20-51-23.654Z"
    },
    "repair": [],
    "confirmedAtMs": null,
    "finishedAtMs": 1795381080032,
    "downtimeMs": null
  },
  "packageReleases": [
    {
      "path": "/home/appuser/.openclaw/git-install/releases/6cd9b776-045a-42ad-99ef-e417b92944b9/openclaw",
      "identity": "43:219029603",
      "version": "2026.11.6",
      "build": "2026.11.6-9a3531c518c5-2026-11-22T20-51-23.654Z",
      "id": "6cd9b776-045a-42ad-99ef-e417b92944b9",
      "selected": true,
      "leased": true
    },
    {
      "path": "/home/appuser/.openclaw/git-install/releases/git-mwsb4azu-3b80d5c5/lib/node_modules/openclaw",
      "identity": "43:218504799",
      "version": "2026.11.4",
      "build": "2026.11.4-8f80fe08cad6-2026-11-22T20-46-32.443Z",
      "id": "git-mwsb4azu-3b80d5c5",
      "selected": false,
      "leased": false
    },
    {
      "path": "/home/appuser/.openclaw/git-install/releases/git-mwsb74zj-74ba1540/lib/node_modules/openclaw",
      "identity": "43:218757394",
      "version": "2026.11.6",
      "build": "2026.11.6-beaa7d2c7065-2026-11-22T20-48-53.618Z",
      "id": "git-mwsb74zj-74ba1540",
      "selected": false,
      "leased": false
    }
  ],
  "recoverySets": [
    {
      "runId": "533cb327-8aec-446b-82c9-290e7be03a2a",
      "manifestPath": "/home/appuser/.openclaw.update-captures/533cb327-8aec-446b-82c9-290e7be03a2a/manifest.json",
      "status": "unresolved",
      "message": "Update recovery set /home/appuser/.openclaw.update-captures/533cb327-8aec-446b-82c9-290e7be03a2a/manifest.json: unresolved after a failed update. Retained original state requires manual inspection. Preserve current state and inspect /home/appuser/.openclaw.update-captures/533cb327-8aec-446b-82c9-290e7be03a2a/manifest.json before manual recovery. See https://docs.openclaw.ai/cli/update/repair-and-recovery#original-state-captures",
      "nextAction": "Preserve current state and inspect /home/appuser/.openclaw.update-captures/533cb327-8aec-446b-82c9-290e7be03a2a/manifest.json before manual recovery. See https://docs.openclaw.ai/cli/update/repair-and-recovery#original-state-captures"
    }
  ]
}
path-cli: exit 1, 1.5 s (raw stdout)
{
  "ok": false,
  "error": {
    "type": "cli_error",
    "message": "This OpenClaw build cannot open your existing data.\nOpenClaw state database /home/appuser/.openclaw/state/openclaw.sqlite uses newer schema version 41; this build supports 40.\nRefused by OpenClaw 2026.11.4 (8f80fe0) installed at /home/appuser/openclaw.\nUse a build that supports schema 41 or newer with this state directory. To use an older build, restore your pre-update backup created with openclaw backup create.\nSee https://docs.openclaw.ai/reference/database-schemas."
  }
}
next-update: exit 0, 372.8 s (raw stdout)
{
  "runId": "76e5cf4c-9ce8-48e7-9b18-dcf428ffd7f7",
  "createdAtMs": 1795381160903,
  "updatedAtMs": 1795381530089,
  "trigger": "api",
  "phase": "finished",
  "status": "succeeded",
  "reason": null,
  "origin": {
    "deliveryContext": {
      "channel": "webchat"
    },
    "cause": "none"
  },
  "target": {
    "kind": "git",
    "version": "2026.11.6",
    "sha": "39126447aaf060e74491969c850a563d3741cb12"
  },
  "before": {
    "version": "2026.11.6"
  },
  "after": {
    "version": "2026.11.6",
    "buildId": "2026.11.6-39126447aaf0-2026-11-22T20-59-37.756Z"
  },
  "steps": [
    {
      "step": "requested",
      "status": "completed",
      "startedAtMs": 1795381160903,
      "endedAtMs": 1795381161105
    },
    {
      "step": "notice:ack",
      "status": "skipped",
      "endedAtMs": 1795381160932,
      "detail": "no delivery target"
    },
    {
      "step": "staging",
      "status": "completed",
      "startedAtMs": 1795381161105,
      "endedAtMs": 1795381492379
    },
    {
      "step": "prepare:git-resolve-target",
      "status": "completed",
      "startedAtMs": 1795381161477,
      "endedAtMs": 1795381530089
    },
    {
      "step": "prepare:worktree",
      "status": "completed",
      "startedAtMs": 1795381161489,
      "endedAtMs": 1795381530089
    },
    {
      "step": "prepare:install",
      "status": "completed",
      "startedAtMs": 1795381164709,
      "endedAtMs": 1795381530089
    },
    {
      "step": "prepare:build",
      "status": "completed",
      "startedAtMs": 1795381177175,
      "endedAtMs": 1795381530089
    },
    {
      "step": "prepare:ui-build",
      "status": "completed",
      "startedAtMs": 1795381448081,
      "endedAtMs": 1795381530089
    },
    {
      "step": "validating",
      "status": "completed",
      "startedAtMs": 1795381492379,
      "endedAtMs": 1795381496210
    },
    {
      "step": "plugins",
      "status": "completed",
      "startedAtMs": 1795381493593,
      "endedAtMs": 1795381496197
    },
    {
      "step": "activating",
      "status": "completed",
      "startedAtMs": 1795381496210,
      "endedAtMs": 1795381496214
    },
    {
      "step": "restarting",
      "status": "completed",
      "startedAtMs": 1795381496214,
      "endedAtMs": 1795381530089
    }
  ],
  "verification": {
    "booted": true,
    "runningVersion": "2026.11.6",
    "runningBuildId": "2026.11.6-39126447aaf0-2026-11-22T20-59-37.756Z",
    "noticeDelivered": false
  },
  "repair": [],
  "confirmedAtMs": null,
  "finishedAtMs": 1795381530089,
  "downtimeMs": null
}
Per-step outages, per-directory disk and marker checks
   outages: 0 total 0.0s longest 0.0s
== half-switch: exit=1 killed=False wall=315.124s
   outages: 0 total 0.0s longest 0.0s
   disk MiB peak/after: checkout +248/248, gitinstall +9455/9455, state +10063/10063, captures +533/533, tmp +19/18, pnpmstore +0/0, cache +63/63
== convert: exit=0 killed=None wall=406.094s
   outages: 1 total 30.0s longest 30.0s
   disk MiB peak/after: checkout +7/7, gitinstall +5029/4885, state +6044/4882, captures +0/0, tmp +32/32, pnpmstore +0/0, cache +0/0
== convert-observe: exit=None killed=None wall=60.014s
   outages: 0 total 0.0s longest 0.0s
   disk MiB peak/after: checkout +0/0, gitinstall +0/0, state +2/-0, captures +0/0, tmp +0/0, pnpmstore +0/0, cache +0/0
== status: exit=0 killed=None wall=2.253s
   outages: 0 total 0.0s longest 0.0s
   disk MiB peak/after: checkout +0/0, gitinstall +0/0, state +2/0, captures +0/0, tmp +0/0, pnpmstore +0/0, cache +0/0
== path-cli: exit=1 killed=False wall=1.482s
   outages: 0 total 0.0s longest 0.0s
== next-update: exit=0 killed=None wall=372.839s
   outages: 1 total 8.8s longest 8.8s
   disk MiB peak/after: checkout +7/7, gitinstall +5019/4875, state +5020/4875, captures +0/0, tmp +34/34, pnpmstore +2983/2983, cache +0/0
== next-observe: exit=None killed=None wall=30.016s
   outages: 0 total 0.0s longest 0.0s
   disk MiB peak/after: checkout +0/0, gitinstall +0/0, state +0/0, captures +0/0, tmp +0/0, pnpmstore +0/0, cache +0/0
--- installed: exit=None wall=0.0s
    serving build: 2026.11.4-8f80fe08cad6-2026-11-22T20-43-53.346Z  /.dockerenv present: False
    marker rows=1000 sha256=69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806 quick_check=ok
--- half-switch: exit=1 wall=315.1s
    serving build: 2026.11.4-8f80fe08cad6-2026-11-22T20-43-53.346Z  /.dockerenv present: False
    marker rows=1000 sha256=69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806 quick_check=ok
--- convert: exit=0 wall=406.1s
    serving build: None  /.dockerenv present: False
    marker rows=1000 sha256=69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806 quick_check=ok
--- next-update: exit=0 wall=372.8s
    serving build: None  /.dockerenv present: False
    marker rows=1000 sha256=69cb2f125f43dd66ff7fb271bc725437ec250e627b5d310424636a07f9f6a806 quick_check=ok

@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Closing this in favor of a by-hand procedure that I verified end to end. It covers the half-switched state this PR targeted and also a clean checkout still on the old updater, with no product change.

Why not this PR. The conversion here only runs when someone starts the release CLI by its full path, so it is a manual step either way. The updater installed in an affected checkout (8f80fe0) cannot be changed from the target side: it stops at its own in-process schema check before any target code can migrate state or restart the Gateway.

Verified procedure (run from the checkout, as the service's user; same for a clean and a half-switched checkout):

openclaw gateway stop --force && git pull --ff-only && pnpm install --frozen-lockfile && pnpm build && openclaw doctor --fix && openclaw gateway start
openclaw gateway install --force

--force on the stop is only needed in a shell without a terminal. The second line is optional but moves the service onto the launcher so it no longer depends on the checkout's dist.

Measured in Linux containers with systemd as PID 1, a user Gateway service, a 512 MiB agent database under 1 MiB/s of writes and a node runner started from the checkout. Target was main at e6b42e3; synthetic state only.

Checkout Result Wall time Gateway outage
clean, at 8f80fe0 exit 0, serves the new build, schema 41/43 320 s 317 s
half-switched (old link on a never-started release, format-1 trial armed) exit 0, serves the new build, schema 41/43 295 s 292 s

Marker rows and their hash were intact in every run. The build is about 250 s of the outage. Afterwards three ordinary openclaw update runs succeeded on each checkout (372–388 s, 8.6–12.1 s outage).

What does not work. Pull, install, build, restart without stopping the Gateway first: pnpm build refuses while the managed Gateway uses the build outputs, and the hint it prints (openclaw update can apply an available update) leads the old updater into the failure above. On a clean checkout that leaves it half-switched.

Leftovers on a half-switched checkout. A later successful update collected both old-layout releases once they aged out (aging simulated by changing mtimes). It left their Git worktree records and the old link behind. This removed them, and the Gateway restarted and served normally afterwards:

git -C <checkout> worktree prune
rm -f ~/.openclaw/git-install/lib/node_modules/openclaw
rmdir ~/.openclaw/git-install/lib/node_modules ~/.openclaw/git-install/lib

Not proven. macOS/launchd (the stop, start and install steps and the build's live-service check are service-manager specific); a service whose start command names openclaw.mjs instead of dist/index.js; release collection after real elapsed time; current main after e6b42e3.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant