Skip to content

fix(doctor): unblock verified session migrations with pending plugins - #153097

Merged
steipete merged 2 commits into
mainfrom
upd/session-sqlite-migration-pending-plugin
Sep 19, 2026
Merged

steipete merged 2 commits into
mainfrom
upd/session-sqlite-migration-pending-plugin

Conversation

@steipete

@steipete steipete commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Doctor can reject verified session SQLite migrations while a plugin remains pending, leaving recovery reports full of false transcript errors or keeping plugin configuration locked after the legacy session index is gone.

Fixes #153079. Fixes #152744. Thanks @berklingtools for the recovery report and @wiipud and @ozp for diagnosing the index-free prerequisite failure.

User Impact

Verified core migration completes while remaining plugin inputs receive one actionable warning. Warning-only session commands exit successfully. Once no live legacy inputs remain, the plugin's post-session inspection can complete its pending migration and unlock retained configuration. Genuine source inconsistencies still refuse; Doctor now names the failing check, code, reason, and recovery action.

Why This Change Was Made

Retries rebuilt retained paths from the old index and forgot transcripts discovered outside it. Doctor now consumes their verified receipt identities. Archive-only targets already have verified move receipts, so they no longer demand a new receipt for a nonexistent live index. Plugin completion stays with the existing post-session owner; no empty source receipt or new storage shape is introduced.

The existing warning classification also drives CLI exit status. Refusal facts now belong to the Doctor error/report owner and reach the halt message, health warnings, and update result consistently. Schemas, retention, dependencies, and options are unchanged.

Gateway restoration after a refused Doctor run remains tracked separately in #153017. This PR does not change service lifecycle behavior.

Evidence

The published npm package [email protected] reproduced the 297-issue report using 296 synthetic transcripts and an absent codex plugin. The repaired import, inspect, and validate commands exit 0 with one pending-plugin warning, preserving 296 sessions, 592 events, and the exact original files and 148 codex sidecars.

A second isolated 9.5 fixture has two canonical SQLite agent stores, no live sessions.json or JSONL files, and protected historical archive inventory. With a lightweight plugin fixture declaring post-session inspection, published doctor --fix exits 1 and config remains locked. The candidate's actual doctor --fix exits 0; the codex pending row becomes completed with a finish timestamp, and the public config edit succeeds. Both databases retain their events, pass quick_check, and all four archived files retain their hashes. The full Linux upgrade/service-restoration paths were not exercised.

The archive-only regression failed before the owner fix, the inconsistent-source case failed its actionable-message assertion, and the refused-step reporting regression failed because failure facts were absent from warnings. Final migration/retained-source/discovery suites passed 55 tests; reporting owner/sibling suites passed 23. The existing receipt-retry cases remain green. node scripts/check-changed.mjs passed, and fresh P1 autoreview is scoped-clean.

Incremental change: production +53/−34 LOC (net +19), tests +201/−3 (net +198), docs +7. Whole PR: production +139/−82 (net +57), tests +323/−67 (net +256), docs +13. Existing regression coverage was moved and extended; no line-limit exceptions or baseline changes were added.

The branch is rebased onto main containing 4396f9bb39a (#153004), which supplies the gateway test-shard rebalance. This PR carries no partition or inventory changes. The shard regression passes all 24 tests on the rebased branch. Both Doctor commits are patch-identical to the versions ending at 2079585929a; the PR production changes are unchanged. Rebase validation also passed all 78 focused owner tests and node scripts/check-changed.mjs (including production and core-test typechecks). The prior production review is reused because the patches are unchanged.

Additional external pinned-plugin validation, prompted by @ericpearson's Docker report: with two verified SQLite agent stores, no live legacy index/transcripts, an absent Codex plugin, and a retained pending migration row, the actual plugins install --pin --force npm:@openclaw/[email protected] command exits 0 with the pending warning on both published 2026.9.5 and this head. Repeating the candidate's force-pinned install also exits 0 while the row remains pending. Subsequent doctor --fix exits 0 and records the row completed with a finish timestamp; a retained plugin-config edit then succeeds. Both agent databases retain one session and two transcript events and pass quick_check. The install exit owner (plugins-install-command.ts) already distinguishes failed installs from these recoverable preflight warnings; startup keeps the warning without blocking readiness. No additional source change was needed.

This is macOS CLI proof with the real official package and isolated synthetic state, not the exact Synology Docker/Btrfs 2026.9.3-to-2026.9.5 image rehearsal or a real model smoke. The reporter's particular exit 1 remains unconfirmed; the quoted pending warnings alone did not reproduce it. Initial source-checkout proof hit bundled/external Codex shadowing and a stale update-result marker; fresh external-only fixtures corrected those rig settings. Additional regression validation recorded 64 passes, then a 120-second Doctor-case timeout and a following worker-scope/registry failure. The affected Doctor/startup pair passed in its original order without concurrent package work (116.5s and 9.1s), using the unchanged timeout and assertions. The other 64 cases were already green. Slow multi-preflight test performance and timeout isolation remain a named follow-up; the current logs do not identify the slow subphase. No production or test LOC changed, so the existing review and changed-file checks remain applicable.

ClawSweeper review disposition

The exact-head review completed at 22:03 UTC on September 19 found no introduced correctness or security defect. Its rank-up move requests a published-updater-to-candidate rehearsal of retained session state and successful finalization. That additional rehearsal is skipped for this bounded, explicitly authorized landing of the reviewed patch. The standalone published-package/candidate Doctor and pinned-plugin evidence above is retained; it does not establish the complete updater/service-restoration path. The compatibility proof gap remains explicit, with service restoration tracked separately in #153017. No production, test, schema, retention, option, or dependency change was made in response to this disposition.

@clawsweeper

clawsweeper Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

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

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation commands Command implementations size: M maintainer Maintainer-authored PR labels Sep 19, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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 Sep 19, 2026
@clawsweeper

clawsweeper Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 19, 2026, 6:37 PM ET / 22:37 UTC (Revision 6).

ClawSweeper review

What this changes

Doctor reuses verified session-import receipts, permits plugin settlement after legacy inputs are archived, returns success for warning-only checks, and reports actionable migration refusals.

Merge readiness

⛔ Blocked before merge - 2 items remain

The fix remains necessary on current main, and no introduced correctness or security defect was found. The recorded maintainer disposition addresses the prior updater-rehearsal request while preserving its explicit coverage limitation.

Priority: P2
Reviewed head: f7cc37e215c8abbc66f6568a019b61a62dc25f80

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-level repair with meaningful CLI proof and regression coverage; broader upgrade and slow-test limitations are documented.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): Recorded macOS CLI runs exercise the changed Doctor migration owner against published-package synthetic state, showing warning-only success, preserved sessions/events/archive hashes, completed plugin settlement, and successful configuration edits. This supports the bounded repair; the explicitly waived full updater rehearsal remains a separate coverage limitation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): Recorded macOS CLI runs exercise the changed Doctor migration owner against published-package synthetic state, showing warning-only success, preserved sessions/events/archive hashes, completed plugin settlement, and successful configuration edits. This supports the bounded repair; the explicitly waived full updater rehearsal remains a separate coverage limitation.
Evidence reviewed 9 items Introduced patch and immutable parentage: Inspected the pinned merge-base-to-head diff. Raw commit records confirm the original head parent and the test merge’s ordered base/head parents; the test merge and head have the same tree.
Current main still needs the repair: Fetched main still builds retained transcript exclusions from owner.records, throws when an archive-only target lacks a verified source index, and makes any session issue produce a nonzero CLI exit.
Released behavior: GitHub source at the supplied v2026.9.5 commit retains both the owner.records exclusion loop and the missing-source-index exception. The release endpoint confirms v2026.9.5 was published September 19; this repair is not present in that source. GitHub reads recovered the release inspection after the local blob read failed.
Findings None None.
Security None None.

How this fits together

Doctor migrates legacy session files into OpenClaw’s SQLite stores and preserves originals needed by pending plugins. Its verification results determine repair completion, plugin configuration unlock, and diagnostics consumed by the updater.

flowchart TD
  A[Legacy session files and archives] --> C[Doctor session verification]
  B[Existing import receipts] --> C
  C --> D{Sources verified?}
  D -->|No| E[Preserve inputs and report refusal]
  D -->|Yes| F[Canonical SQLite sessions]
  F --> G[Plugin inspection and settlement]
  G --> H[Configuration unlock and Doctor result]
Loading

Before merge

  • Resolve merge risk (P1) - Published-updater finalization with retained session state and the exact Synology Docker upgrade remain untested; the maintainer’s recorded disposition explicitly accepts that coverage gap for this bounded landing.
  • Resolve merge risk (P2) - The reported multi-preflight test timeout has no isolated slow-subphase diagnosis, although the affected pair subsequently passed in its original order without relaxed assertions or timeouts.
Agent review details

Security

None.

PR surface

Source +57, Tests +256, Docs +13. Total +326 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 6 139 82 +57
Tests 3 323 67 +256
Docs 2 13 0 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 475 149 +326

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net +57 LOC; tests net +256 LOC Production growth supports receipt reuse and shared diagnostics; tests extend existing coverage through CLI exits and configuration unlock.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/doctor-session-sqlite-diagnostics.ts, migration/backfill/repair: src/commands/doctor-session-sqlite.ts, migration/backfill/repair: src/commands/doctor.ts, migration/backfill/repair: src/flows/doctor-health.ts, migration/backfill/repair: src/infra/state-migrations.messages.ts, unknown-data-model-change: src/commands/doctor-session-sqlite.ts, and 1 more. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #153079
Summary: The PR directly addresses the retained-transcript report and part of the broader pending-plugin report; service restoration and container schema readiness remain distinct.

Members:

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

Merge-risk options

Maintainer options:

  1. Honor the recorded bounded-landing disposition (recommended)
    Accept the explicitly documented updater coverage gap while limiting the demonstrated outcome to session repair and plugin settlement.

Technical review

Best possible solution:

Keep verified receipts authoritative, preserve inconsistent originals, and let the existing plugin settlement owner release retained configuration.

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

Yes: current-main source exposes the retained-path omission and archive-only prerequisite failure, and the PR records published-package reproductions. This reviewer did not execute the runtime.

Is this the best way to solve the issue?

Yes: the patch repairs the existing receipt and diagnostic owners without adding storage formats or bypassing plugin completion checks; the broader updater proof exception is explicitly documented.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a bounded repair of session migration diagnostics and pending-plugin settlement.
  • merge-risk: 🚨 compatibility: Doctor completion and updater-facing diagnostics change without a full released-updater rehearsal; the recorded maintainer disposition accepts this remaining uncertainty.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): Recorded macOS CLI runs exercise the changed Doctor migration owner against published-package synthetic state, showing warning-only success, preserved sessions/events/archive hashes, completed plugin settlement, and successful configuration edits. This supports the bounded repair; the explicitly waived full updater rehearsal remains a separate coverage limitation.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded macOS CLI runs exercise the changed Doctor migration owner against published-package synthetic state, showing warning-only success, preserved sessions/events/archive hashes, completed plugin settlement, and successful configuration edits. This supports the bounded repair; the explicitly waived full updater rehearsal remains a separate coverage limitation.

Evidence

What I checked:

  • Introduced patch and immutable parentage: Inspected the pinned merge-base-to-head diff. Raw commit records confirm the original head parent and the test merge’s ordered base/head parents; the test merge and head have the same tree. (f7cc37e215c8)
  • Current main still needs the repair: Fetched main still builds retained transcript exclusions from owner.records, throws when an archive-only target lacks a verified source index, and makes any session issue produce a nonzero CLI exit. (src/commands/doctor.ts:151, c5ad7506abae)
  • Released behavior: GitHub source at the supplied v2026.9.5 commit retains both the owner.records exclusion loop and the missing-source-index exception. The release endpoint confirms v2026.9.5 was published September 19; this repair is not present in that source. GitHub reads recovered the release inspection after the local blob read failed. (src/commands/doctor-session-sqlite.ts:953, ec9c1a13db89)
  • Receipt verification and archive-only guard: Retained paths come from verified receipt sources. The new archive-only return requires an absent index, archive-backed historical records, and no remaining live JSONL files; other missing-index cases still throw actionable errors. Existing receipt checks validate database identity and original or archived file identities. (src/commands/doctor-session-sqlite.ts:976, f7cc37e215c8)
  • Completion and dependency boundary: The existing post-session plugin owner still inspects plugin work, verifies maintenance authority and current pending obligations, and records completion. The changed regressions use a generic session-fixture plugin. The repair does not depend on Codex native runtime or protocol semantics; supplemental Codex package-install observations do not establish a native catalog fix. (src/commands/doctor-session-transcripts.ts:347, f7cc37e215c8)
  • Behavioral regression coverage: Moved coverage now exercises the Doctor CLI across import, inspect, validate, and dry-run, including successful warning-only exits and uncaptured-file detection. Additional cases verify archive-only settlement, retained-config unlock, preserved archive bytes, and refusal with live index-free inputs. Reporting tests verify refusal facts in both errors and updater warnings. Tests were inspected, not executed during this read-only review. (src/commands/doctor-session-sqlite.retained-source-verification.test.ts:88, f7cc37e215c8)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-19T18:38:31.729Z sha 0a6d2b8 :: blocked before merge. :: none
  • reviewed 2026-09-19T19:46:10.383Z sha 2079585929a90b94ca1e33fb112c8ca0cc574970 :: blocked before merge. :: none
  • reviewed 2026-09-19T20:10:13.385Z sha 5735a89838808b8864809264ea7261714302b9c1 :: blocked before merge. :: none
  • reviewed 2026-09-19T20:26:46.179Z sha f7cc37e :: blocked before merge. :: none
  • reviewed 2026-09-19T22:03:42.005Z sha f7cc37e :: blocked before merge. :: none

@steipete steipete changed the title fix(doctor): keep deferred session migration retries successful fix(doctor): unblock verified session migrations with pending plugins Sep 19, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 19, 2026
Use verified retained source receipts when reporting historical transcripts on retries and read-only checks. Share migration warning classification with the Doctor CLI so pending plugin inputs remain warnings while uncaptured or changed sources stay visible.
Use existing historical archive receipts when no live session inputs need deferral, allowing the post-session plugin owner to complete its ledger and release retained configuration. Preserve actionable refusal for unverifiable live inputs and carry refused step facts into Doctor diagnostics.
@steipete
steipete force-pushed the upd/session-sqlite-migration-pending-plugin branch from 5735a89 to f7cc37e Compare September 19, 2026 20:20
@ericpearson

ericpearson commented Sep 19, 2026 •

Copy link
Copy Markdown

Correction after inspecting the complete saved log: The pinned install ended with openat2 beneath root: Function not implemented (os error 38) on Linux 4.4.302+. Our earlier attribution of exit 1 to the pending-migration warning was incorrect. See the exact command, full redacted output, and receipt checks. The Doctor-first lock failure remains a separate observation; neither attempt proves that #153097 fixes this Docker path.

Additional downstream Docker upgrade evidence from a recoverable Synology deployment:

The remaining proof should run the published updater/state path against a candidate built from this PR head, then verify migration completion, Codex plugin completion, configuration unlock, preserved session/event counts and archive hashes, and successful finalization. Service restoration is separately owned by the downstream recoverable updater.

@clawsweeper re-review

flowchart TD
    A[Healthy production: 2026.9.3] --> B[Clone retained state]
    B --> C[Test published 2026.9.5]
    C --> D[Doctor first]
    C --> E[Plugin first]
    D --> F[Migration remains pending<br/>Codex package does not converge<br/>GatewayLockError]
    E --> G[Codex 2026.9.5 install starts<br/>then exits with openat2 ENOSYS]
    F --> H[Restore original 9.3 container and state]
    G --> H
    H --> I[Production remains healthy]

    J[PR #153097 candidate] --> K[Still needs published-updater-to-candidate rehearsal]
    K --> L{All gates pass?}
    L -->|Yes| M[Eligible for maintainer release]
    L -->|No| N[Keep 9.3 and retain rollback evidence]
Loading

@steipete
steipete merged commit aec806f into main Sep 19, 2026
230 of 231 checks passed
@steipete
steipete deleted the upd/session-sqlite-migration-pending-plugin branch September 19, 2026 22:55
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 20, 2026
…openclaw#153097)

Doctor can reject verified session SQLite migrations while a plugin remains pending, reporting false transcript errors or leaving plugin configuration locked after the legacy index is retired.

Reuse verified receipt source identities, accept verified archive-only prerequisites when no live legacy inputs remain, and let the existing post-session plugin owner settle migration and unlock retained configuration. Warning-only session commands exit successfully; genuine refusals preserve their actionable failure facts across Doctor and update reporting. Schemas, retention, dependencies, and options are unchanged.

Fixes openclaw#153079. Fixes openclaw#152744. Thanks @berklingtools for the recovery report and @wiipud and @ozp for diagnosing the index-free prerequisite failure. Additional pinned-plugin validation followed @ericpearson's Docker report.

Validation: published 2026.9.5 and candidate CLI fixtures preserved session/event counts, archive hashes, and SQLite integrity; candidate Doctor completed the pending plugin row and unlocked retained config. The 78 focused owner tests, 24 shard tests, changed-file checks, and exact-head CI passed. The scoped review was clean and both rebased commits are patch-identical to the reviewed versions. Full published-updater-to-candidate finalization and Linux service-restoration proof remain unperformed; service restoration is tracked separately in openclaw#153017.
steipete added a commit that referenced this pull request Sep 20, 2026
Rebuild retained source evidence from recorded hashes without replaying
canonical sessions. Protect changed inputs by name and classify vanished
legacy indexes as informational when SQLite transcript contents prove
completion, allowing post-session plugin repair to finish.

Related: #152884. Follow-up to #153097.
Thanks @cpsleepy and @mmm7053455-tech for the recovery evidence.
steipete added a commit that referenced this pull request Sep 20, 2026
Rebuild retained source evidence from recorded hashes without replaying
canonical sessions. Protect changed inputs by name and classify vanished
legacy indexes as informational when SQLite transcript contents prove
completion, allowing post-session plugin repair to finish.

Related: #152884. Follow-up to #153097.
Thanks @cpsleepy and @mmm7053455-tech for the recovery evidence.
steipete added a commit that referenced this pull request Sep 20, 2026
Rebuild retained source evidence from recorded hashes without replaying
canonical sessions. Protect changed inputs by name and classify vanished
legacy indexes as informational when SQLite transcript contents prove
completion, allowing post-session plugin repair to finish.

Related: #152884. Follow-up to #153097.
Thanks @cpsleepy and @mmm7053455-tech for the recovery evidence.
steipete added a commit that referenced this pull request Sep 20, 2026
Rebuild retained source evidence from recorded hashes without replaying
canonical sessions. Protect changed inputs by name and classify vanished
legacy indexes as informational when SQLite transcript contents prove
completion, allowing post-session plugin repair to finish.

Related: #152884. Follow-up to #153097.
Thanks @cpsleepy and @mmm7053455-tech for the recovery evidence.
steipete added a commit that referenced this pull request Sep 20, 2026
…d files (#153655)

Doctor now recovers verified session imports when the original legacy index is missing, a restored source has a different inode, or the import database has been replaced. The receipt owner verifies hashes and ordered canonical transcript events before refreshing existing receipt evidence; conflicting sources remain protected, and current session settings and deletions remain authoritative.

Gateway readiness can admit usable SQLite stores while retained inputs await Doctor repair. Readiness does not grant archival authority. Recovery reports include remaining issue codes without claiming successful validation.

Published 2026.9.4 and 2026.9.5 updater cells cover missing indexes, copied sources, and replaced databases, preserving transcripts, hashes, schemas, and SQLite integrity. Reordered replacement history remains refused. No schema, dependency, configuration, or CLI option changes.

Thanks @cpsleepy, @mmm7053455-tech, @blackeyes-boy, and @Albertyn87 for the reports and recovery evidence.

Fixes #152884.
Fixes #153606.
Fixes #153619.
Follow-up to #153097.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 21, 2026
…d files (openclaw#153655)

Doctor now recovers verified session imports when the original legacy index is missing, a restored source has a different inode, or the import database has been replaced. The receipt owner verifies hashes and ordered canonical transcript events before refreshing existing receipt evidence; conflicting sources remain protected, and current session settings and deletions remain authoritative.

Gateway readiness can admit usable SQLite stores while retained inputs await Doctor repair. Readiness does not grant archival authority. Recovery reports include remaining issue codes without claiming successful validation.

Published 2026.9.4 and 2026.9.5 updater cells cover missing indexes, copied sources, and replaced databases, preserving transcripts, hashes, schemas, and SQLite integrity. Reordered replacement history remains refused. No schema, dependency, configuration, or CLI option changes.

Thanks @cpsleepy, @mmm7053455-tech, @blackeyes-boy, and @Albertyn87 for the reports and recovery evidence.

Fixes openclaw#152884.
Fixes openclaw#153606.
Fixes openclaw#153619.
Follow-up to openclaw#153097.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: L status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

2 participants