mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
docs(memory): explain automatic QMD migration (#121911)
This commit is contained in:
committed by
GitHub
parent
2ae316e2f3
commit
f788af0238
@@ -209,6 +209,9 @@ the container normally.
|
||||
|
||||
`openclaw doctor --fix` is the only owner for persistent file-to-SQLite migrations. It validates and claims each recognized source, writes and verifies canonical rows, records a migration receipt, then removes the retired source. Runtime code does not perform lazy imports or fallback reads.
|
||||
|
||||
For the retired QMD memory backend, including config rewrites and derived
|
||||
workspace cleanup, see [Migrating from QMD](/concepts/memory-builtin#migrating-from-qmd).
|
||||
|
||||
This includes retired MCP OAuth files under `<state-dir>/mcp-oauth/*.json`. Stop the Gateway before repair. Doctor imports valid credentials into `<state-dir>/state/openclaw.sqlite`, preserves an existing canonical SQLite session when both stores exist, drops the obsolete persisted OAuth `state` value, and uses its receipt to prevent a recreated stale file from resurrecting logged-out credentials. Retired `.lock` sidecars fail closed: if Doctor reports a stale owner, verify that no older OpenClaw process is running, remove that sidecar, and rerun Doctor.
|
||||
|
||||
## Shared state SQLite compaction
|
||||
|
||||
Reference in New Issue
Block a user