Skip to content

fix: keep carried-over scheduled jobs running after updates - #200653

Merged
VACInc merged 6 commits into
mainfrom
openclaw/quick-shell
Nov 19, 2026
Merged

VACInc merged 6 commits into
mainfrom
openclaw/quick-shell

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

Fixes #200600

What problem this solves

An upgrade could make a carried-over scheduled job report that its account had been replaced, even though nobody changed the account. Newly created jobs still worked.

What changes

Upgrade Doctor operates on a private state copy. It now identifies copied credential databases by their eventual live paths. For jobs an earlier upgrade already broke, openclaw doctor --fix checks the retained upgrade receipt and verifies that the credential is still the same before repairing the saved job. It leaves unverifiable, replaced or revoked accounts alone. It does not enable disabled jobs, edit schedules, or replay missed runs.

The existing account owner still computes the same hash over the same namespace and credential lifetimes. The PR adds no environment override, schema, permission, scanner exception, or budget increase. The receipt reader treats appVersion as an application build stamp while retaining its filename and work-directory equality checks.

Evidence

Four end-to-end cases on 95e0215cfaf5, with redacted terminal results

  • Upgrade prevention: Real 2026.9.7, 2026.10.10 and 2026.11.5 releases each created a scheduled job. On first start of the final candidate, all three jobs retained their IDs and settings and ran successfully through the real scheduler.
  • Already-broken job: An unpatched upgrade produced a real receipt, and the carried-over 2026.11.4 job failed as though its account had been replaced. The final Doctor CLI restored the same account; the same job then ran successfully. Its schedule, settings, prior run history and scheduler state were unchanged by Doctor.
  • All four used isolated state and a local model stand-in; no production job, credential or live hosted model was used. The old branch reproduced an unrelated post-swap SQLite startup failure on all three baselines; a normal merge of main brought in the upstream startup fix. No force push or schema-check override.
  • 94 tests across six files passed on the final commit: state upgrade (12), credential authorization (14), cron inference binding (5), CLI registration (43), and Doctor migration (20). Runtime build, the previously failing session-identity check, and git diff --check passed. Tests cover actual replacement, revoked or unverifiable accounts and repeat repair. Local results do not substitute for required hosted CI.

CodeQL alert 1216: The SHA-256 input here consists of a fixed namespace, profile ID, database paths and owner-issued random credential-lifetime UUIDs. It is not a password hash: neither passwords nor bearer credentials enter this digest. The hash algorithm and bindings are unchanged; no alert dismissal or scanner suppression was made.

Earlier evidence: Daniel’s macOS VM upgrade and the earlier isolated recovery transcript are prior-revision proof. At c3dfd14327c7, 93 tests, scoped lint, formatting, core types, the max-lines and session-identity checks passed; environment names stayed at 461/461. Earlier recovery work at f16eacaaf16e passed 50 focused tests and local review. The final-head results above supersede the earlier live-proof gap.

Co-authored-by: daniel-lxs [email protected]
Co-authored-by: VACInc [email protected]

Work sessions

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

Worked on by

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 09cc147f-bca8-4b28-98be-25a4b523b177
@clawsweeper

clawsweeper Bot commented Nov 17, 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.

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

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

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

These security sensitive changes were made:

  • src/agents/auth-profiles/authorization.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR preserves scheduled jobs’ account identity across state upgrades and lets Doctor repair bindings verified against retained upgrade receipts.

Example: A scheduled job created on OpenClaw 2026.11.4 uses standin:default and survives an upgrade.

  • Before: The carried-over job reports that its unchanged account was signed in again or replaced.
  • After: New upgrades preserve the binding, and Doctor can restore a previously broken binding so the same job runs successfully.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, focused repair with production-entry-point upgrade and recovery proof; no actionable patch defect was found.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): Public exact-head terminal evidence exercises released CLIs, Gateway upgrade, Doctor repair and real scheduler execution against a loopback model stand-in, including latest-stable preservation and recovery after an unpatched upgrade.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Scheduled jobs stop running after an upgrade because an unchanged account is incorrectly treated as replaced.
Reason: The maintainer-authored direction restores documented account continuity, covers both prevention and recovery, and preserves schedules, disabled state and authorization boundaries.

Regression provenance

Possible regression — probable (reviewed change; failure trace). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this PR addresses a verified upgrade regression, resolves the previous parser finding, and introduces no identified correctness defect; CodeQL disposition and the pending CI gate remain.

Priority: P1
Reviewed head: 95e0215cfaf593c68ff663c70d85f0cec323aaf9

Before merge

  • Await maintainer action - Resolve CodeQL alert 1216 through the authorized false-positive disposition path, preserving the digest and scanner rules.

Findings

None.

Agent review details

How this fits together

Gateway startup runs Doctor against a private state copy before publishing it; the credential owner computes account identities, and the scheduler checks saved identities before inference.

flowchart TD
  A[Released state] --> B[Private upgrade copy]
  B --> C[Doctor migration]
  D[Live destination and retained receipt] --> C
  C --> E[Credential authorization owner]
  E --> F[Verified saved job binding]
  F --> G[Scheduler account check]
Loading

Technical review

Best possible solution:

Keep identity computation in the credential owner, project copied databases to their publication paths, and repair existing bindings only when unchanged credential lifetimes verify them.

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

The linked report and exact-head transcript show unpatched upgrade failure and successful recovery, while source confirms that hashing a temporary database path causes the scheduler’s account-identity mismatch.

Is this the best way to solve the issue?

The patch repairs identity production and reuses existing credential authorization, backups and transactional writers without removing replacement checks or creating a competing account owner.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit ef930eb adds src/state/state-upgrade.ts:56 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ef930ebbad77; files: src/state/state-upgrade.ts)
  • Jason (Json): Raw commit d25a316 adds src/agents/auth-profiles/authorization.ts:45 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d25a316fc7c3; files: src/agents/auth-profiles/authorization.ts)
  • Peter Steinberger: Raw commit 7bce7a6 adds src/agents/auth-profiles/authorization.ts:269 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 7bce7a61639a; files: src/agents/auth-profiles/authorization.ts)

PR surface

Source +180, Tests +186, Docs +12. Total +378 across 15 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 10 205 25 +180
Tests 4 188 2 +186
Docs 1 12 0 +12
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 15 405 27 +378

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
Internal CLI handoff 1 hidden flag --state-upgrade-live-state-dir carries the publication destination between production processes without adding an environment variable or persisted setting.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: ⏳ waiting on maintainer.

Label justifications:

  • P1: The verified upgrade regression prevents carried-over scheduled agent jobs from running despite unchanged accounts.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

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

Workflow

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

History

Review history (3 earlier review cycles)
  • reviewed 2026-11-17T15:21:32.031Z sha aa9c8f5 :: blocked before merge. :: none
  • reviewed 2026-11-17T16:32:01.950Z sha ce3ba62 :: needs maintainer review before merge. :: none
  • reviewed 2026-11-18T19:51:29.917Z sha f16eaca :: blocked before merge. :: [P2] [P2] Restore the session-identity ratchet for receipt parsing

Reviewed November 18, 2026, 4:03 PM ET / 21:03 UTC (Revision 4).

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 84cd71aa-43de-4736-9b6c-5e816cdf6389
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation cli CLI command changes commands Command implementations labels Nov 17, 2026
@daniel-lxs

Copy link
Copy Markdown
Member

Upgrade from [email protected] to this PR's head ce3ba62, with carried-over jobs running afterwards. One private macOS 26.6 VM (4 CPUs, 8 GB, Node 24.21). The Gateway has its own temporary state and config, one model provider with a plaintext apiKey in config whose model is agents.defaults.model.primary, plugins and channels off, and a synthetic OpenAI-compatible model on loopback. Head built from source (pnpm build:runtime), unmodified.

  1. 2026.11.5 starts, 21 agent-turn jobs are created with cron.add (sessionTarget: "isolated", no model on the job; 12 due a few minutes later, 9 due the next day), and it stops.
  2. The first start of ce3ba62 runs the state upgrade (State upgraded to 2026.11.4 by migration chain) and then exits with Startup failed: required secrets are unavailable. Error: disk I/O error | ERR_SQLITE_ERROR. That is First Gateway start after upgrading from 2026.11.4 fails with SQLite I/O error; restart recovers #200583 (fix in fix: start gateway after upgrading provider configuration #200596), not this PR.
  3. The second start reaches ready with no repair. All 21 jobs and their settings are unchanged (id, name, enabled, schedule, payload, delivery compared through cron.list).
  4. The 12 carried-over scheduled jobs come due and all 12 run ok. 21 jobs created on the head after the update also all run ok. Neither gateway.log nor the Gateway's runtime log has a "signed in again or replaced" refusal.

Stored account binding, read read-only from cron_jobs.job_json in the state database (authorizationId shortened to 12 characters):

When Jobs inferenceBinding
after 2026.11.5 stopped 21 none stored on any job
head ready after the upgrade 21 all {provider: "standin", profileId: "standin:default", source: "auto", authorizationId: "0d8c37c4a4a2"}
after the carried-over jobs ran (21 carried-over + 21 new) 42 all the same binding, 0d8c37c4a4a2

So the binding the upgrade recorded for the carried-over jobs is the same one the head records for jobs created after the update, and the carried-over jobs run on it. The 9 carried-over manual jobs were not requested in this run.

@daniel-lxs

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
Verify the historical digest against the unchanged credential lifetime and the retained swap receipt. Keep the job schedule, run state and approval terms intact; unverifiable bindings still require explicit account selection.

Co-authored-by: VACInc <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: M and removed size: S labels Nov 18, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

Comment on lines +313 to +318
JSON.stringify([
"mcp-auth-profile-v1",
profileId,
published(selectedPath),
...lineage.map((target) => [published(target.databasePath), target.incarnation]),
]),
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 18, 2026
roboclaw-bot and others added 2 commits November 18, 2026 20:14
Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: b68f6542-2055-4093-9270-ef9685b4069f
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

PR #200653: redacted Doctor recovery transcript

Isolated fixture, no production accounts or jobs. The installed release (2026.11.4) created the job. A subsequent unpatched upgrade wrote its receipt and the carried-over job failed.

Before | forced run: error — the recorded account was reported as signed in again or replaced
openclaw doctor --fix --non-interactive | exit 0: restored its existing standin:default account after the state upgrade
After Doctor, before rerun | same job ID, name, creation time, enabled state, schedule, session target, payload, delivery, scheduler state and prior run history
After explicit rerun | status: ok; output: Doctor fixture OK (local stand-in)

This CLI result used GitHub's test-merge revision b1d8e115973f1431156c326e2560f9d809402622 (published PR revision f16eacaaf16e2a94d606405eafd325a80538b2e3 integrated with base 69bc33255cee52904ef42fe27acfdb79d060b740). The older standalone branch build declined this database's newer schema; that refusal was not bypassed. On the one-file local correction c30a17d76073145a0c0c08ea5432c8e0a96c7371, the session-identity check and focused existing-job regression both passed; the corrected parser also recognized the retained real receipt. Not a live hosted-model run or hosted CI pass.

Release fixtures from 9.x, 10.x and 11.5 completed their state swap, then failed at startup on the stale PR base. Use the upstream fix without weakening schema or credential checks.

Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: VACInc <[email protected]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Exact-head upgrade and Doctor recovery proof — 95e0215cfaf593c68ff663c70d85f0cec323aaf9

The earlier proof gap is closed. All four cases used isolated state and a loopback model stand-in, with real released CLIs, production migration code and real scheduler runs. No production jobs or credentials were used.

Upgrade prevention. Each release created a real scheduled agent job. On first start after upgrading, the final candidate preserved that job’s ID, name, creation time, enabled state, target, payload, delivery and schedule. Explicitly running each surviving job through the scheduler returned ok and reached the stand-in.

  • 2026.9.7 → 95e0215cfaf5: same job ID and settings; scheduler run ok.
  • 2026.10.10 → 95e0215cfaf5: same job ID and settings; scheduler run ok.
  • 2026.11.5 → 95e0215cfaf5: same job ID and settings; scheduler run ok.

Previously broken job. OpenClaw 2026.11.4 created the job. An unpatched upgrade (f920a7e6941c) generated the real swap receipt and broke its account binding. The fix was then built from 95e0215cfaf593c68ff663c70d85f0cec323aaf9. Redacted terminal results:

Before: scheduled job failed — recorded account reported signed in again or replaced
openclaw doctor --fix --non-interactive: exit 0; restored its existing standin:default account
After Doctor: same job ID, name, creation time, enabled state, schedule, session target, payload, delivery and scheduler state; prior run history equal
After explicit scheduler run: status ok, stand-in replied Doctor fixture OK

The prior standalone branch also reproduced the independent post-swap SQLite startup error on all three releases. This revision incorporates the existing upstream startup fix through a normal merge of main, not a forced update or a weakened safety check. All fixture Gateways were stopped.

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 18, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@openclaw/openclaw-secops — could you review CodeQL alert 1216 and record its disposition? It is the one outstanding review item on 95e0215cfaf5.

I traced the input to the digest: namespace, profile identifier, selected database path, and the credential owner's random lifetime IDs. The API key or password is not hashed here. This is why I think the password-hashing alert is a false positive. If you agree, please mark it accordingly; if you see an actual secret reaching the digest, please point me to that path and I’ll fix it. I have not suppressed the rule or dismissed the alert.

@roboclaw-bot
roboclaw-bot requested a review from a team November 18, 2026 23:18
@VACInc
VACInc merged commit 24cb734 into main Nov 19, 2026
141 of 142 checks passed
@VACInc
VACInc deleted the openclaw/quick-shell branch November 19, 2026 00:43
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…#200653)

* fix: keep carried-over scheduled jobs running after updates

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 09cc147f-bca8-4b28-98be-25a4b523b177

* Publish openclaw/quick-shell

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 84cd71aa-43de-4736-9b6c-5e816cdf6389

* fix(doctor): recover jobs bound to a retired upgrade path

Verify the historical digest against the unchanged credential lifetime and the retained swap receipt. Keep the job schedule, run state and approval terms intact; unverifiable bindings still require explicit account selection.

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

* Merge selected base openclaw/quick-shell

Co-authored-by: daniel-lxs <[email protected]>

* Publish openclaw/quick-shell

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: b68f6542-2055-4093-9270-ef9685b4069f

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: VACInc <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 19, 2026
* fix: keep carried-over scheduled jobs running after updates

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 09cc147f-bca8-4b28-98be-25a4b523b177

* Publish openclaw/quick-shell

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 84cd71aa-43de-4736-9b6c-5e816cdf6389

* fix(doctor): recover jobs bound to a retired upgrade path

Verify the historical digest against the unchanged credential lifetime and the retained swap receipt. Keep the job schedule, run state and approval terms intact; unverifiable bindings still require explicit account selection.

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

* Merge selected base openclaw/quick-shell

Co-authored-by: daniel-lxs <[email protected]>

* Publish openclaw/quick-shell

Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: b68f6542-2055-4093-9270-ef9685b4069f

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: daniel-lxs <[email protected]>
Co-authored-by: VACInc <[email protected]>

(cherry picked from commit 24cb734)

Co-authored-by: RomneyDa <[email protected]>
maplel pushed a commit to maplel/openclaw that referenced this pull request Nov 24, 2026
…aw#194058)

Failed-update triage now captures the operator's environment before managed candidate admission, so a coding agent installed only on the operator's PATH is still offered when the Gateway service's PATH differs. Restores the operator-environment contract from openclaw#134490 and keeps the launch confirmation from openclaw#143139.

Proof: shipped CLI on isolated Linux (Crabbox) with a running systemd Gateway: accept launches the operator-only agent, decline starts nothing, base 18bee8e reports no agent found; published 2026.11.1 upgrades to the fix with settings intact.

Co-authored-by: TorstenW <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: steipete <[email protected]>

(cherry picked from commit 7c702c3)

Release adaptation: Capture invoking operator env before candidate admission, forward to interactive triage only; preserve latest target selectors, confirmation and lease cleanup ordering. Exact three authorized production paths plus real lifecycle regression.

Follow-up dispositions: ad4863d fix: preserve the running installation when an agent updates its Gateway (openclaw#201570); dc73ec0 fix: let updates finish when another tool briefly reads OpenClaw's databases (openclaw#202541); d07b530 fix: clarify PostgreSQL schema upgrades for Git installs (openclaw#202098); e60ea9f test(update): add a Git release upgrade-survivor scenario (openclaw#201956); 2ef6f7b fix(update): build and serve Git releases outside node_modules (openclaw#201917); dbc1aa0 fix: keep the openclaw command and Gateway working after updating a pnpm install (openclaw#201735); f5e7641 fix: Git checkout updates across a schema change no longer end as post-update-failed after the new release starts (openclaw#201600); 2183caf fix: Git checkout updates no longer fail before the new release starts on a schema change or a busy database (openclaw#201463); 47e8649 fix: explain why Doctor cannot restore a scheduled job’s account (openclaw#201550); 8f2cfd4 fix: remove updater-only restrictions from agent maintenance guidance; cb5cfb2 fix: keep a doubtful killed-update recovery on the repair path (openclaw#201361); 24cb734 fix: keep carried-over scheduled jobs running after updates (openclaw#200653); d1276e1 feat(doctor): check OpenClaw ID member roles and honor an optional roles default (openclaw#197785); 0a39956 fix: finish updates when another tool reads OpenClaw's databases during the update (openclaw#201330); ea1c9d5 fix(update): settle remounted package publications before admission (openclaw#201336); 66b5212 fix(update): isolate malformed retained-install markers (openclaw#201199); 7e79c83 fix: let the next update finish a killed source checkout update (openclaw#201009); d905d8a fix: let the next update finish a killed update after the machine restarted (openclaw#200994); fdf0c95 fix: let the next update finish a killed update that had already installed the new version (openclaw#200866); 0c19bcd chore(release): close out 2026.11.5 on main (openclaw#200577); a1940e0 fix(matrix): keep explicit recovery available during deferred migration (openclaw#200805); 18b4776 improve: explain package baseline drift during updates (openclaw#200802); 1ad4cad fix(doctor): reclaim macOS updater runtimes blocked by non-updater processes (openclaw#200732); 427c857 fix: keep one missing archived transcript from blocking every update (openclaw#200733); 802e3f7 fix(update): keep valid cold archives from blocking updates (openclaw#200659); 23fca1a fix: let the next update continue after a killed update when nothing is left to repair (openclaw#200680); 3afe212 fix: let Doctor publish unchanged plugin migrations in any order (openclaw#200658); f65e4db fix(doctor): reclaim runtimes blocked by unrelated Linux processes (openclaw#200657); dab086c fix(update): let candidate Doctor read plugin dependencies from the staged package (openclaw#200595); 3447bee fix(update): keep updates going when the predecessor writes during its stop (openclaw#200569); 0ce9c77 fix: let the next update settle a package publication that a killed update left behind (openclaw#200550); ae31ea3 fix(update): repair handoffs in the journal-pinned lease store (openclaw#200532); 74020ea fix: continue updates when initial SQLite capture is stale (openclaw#200328); 6747b1e feat(update): run Git checkout installs from releases behind the release link (openclaw#199706); e3f8a67 fix(state): keep completed retained agent stores out of startup upgrade (openclaw#200284); 3c512c5 fix(gateway): move managed update lease operations off the main thread (openclaw#200169); ea69fcb chore(release): close out 2026.11.4 on main (openclaw#199956); 618bf31 fix(state): bound startup upgrade copies and pruning to owned state (openclaw#199929); e4a3093 perf(update): replace the candidate canary with a runtime contract check (openclaw#198268); 5dbf569 fix(update): plugin failures never fail an update or Gateway health; 764761e fix(update): refuse missing host prerequisites in one line and record a cause per attempt; 4c4fef4 fix(ui): update dialog claims installation before progress is confirmed (openclaw#199254); 136e1f6 fix(update): retrying an update from a dev checkout is refused after a killed update (openclaw#198673); 3bd03da fix(update): avoid duplicate database copies while the Gateway is stopped (openclaw#198148); 68a839b fix: isolate held agent databases until explicit restoration (openclaw#198180); e333f7e chore(ci): drop retired test-lines allocation records (3/3) (openclaw#197657); fd6fa47 fix: converge Gateway updates with environment-only service overrides (openclaw#196371); 7cf5e75 fix: clarify split-install updates and blocked Doctor repairs (openclaw#196342); 6ff8c86 fix(update): retain lazy sqlite catalog generation (openclaw#197095); 930e1f7 fix: keep stable updates and recovery free of premature migrations (openclaw#196474); a15f737 fix: preserve external plugin data during update rehearsal (openclaw#196301); 92798ae fix: updates survive interrupted heartbeat runs (openclaw#195656); c1e55e2 fix(update): restore LaunchAgent registration after repair contention (openclaw#195406); 715c610 fix(doctor): repair retained ISO session end timestamps (openclaw#194685); 689cfc8 fix(update): reclaim dead closing triage repair leases (openclaw#194503); 86bc89e fix(doctor): keep standing Codex parameter advice out of retirement blockers (openclaw#193650); 691bc8d fix(backup): read the backup engine without copying the live database (openclaw#194234); 000542f fix(backup): backups and updates fail on slow storage when a header probe batch misses its deadline (openclaw#194239); 31a65d5 fix(update): skip --no-lazy-fetch on Git versions without it (openclaw#194198); e45e99d fix(update): preserve dev update sources in tag-only Git clones (openclaw#193109)

Validation: Baseline2 intended operator-agent failures/32 controls passed; candidate34/34passed (194058-green.log). Accept launches synthetic operator-only CLI with expected env, decline starts nothing. Isolated updater flow, not live systemd/upgrade qualification.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 6689fd575ada8fe40a9593784deac18ec73041cd)
(cherry picked from commit 92e7a9fa223b0dc35801f25f70be90b472d9a6b7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling cli CLI command changes commands Command implementations docs Improvements or additions to documentation gateway Gateway runtime P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed size: M status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

4 participants