chore(sync): mirror docs from openclaw/openclaw@cc1e843c90

This commit is contained in:
openclaw-docs-sync[bot] 2026-04-22 21:29:56 +00:00
parent a5cee1eabe
commit 2f98ded452
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"repository": "openclaw/openclaw",
"sha": "77dbc1cda62b75647486366cf37c9b2b237d2dca",
"syncedAt": "2026-04-22T21:27:01.427Z"
"sha": "cc1e843c909581380e9e84d6f4f93a6ddc3b75b3",
"syncedAt": "2026-04-22T21:29:56.356Z"
}

View File

@ -100,6 +100,10 @@ The Gateway also keeps a trusted last-known-good copy after a successful startup
`openclaw.json` is later changed outside OpenClaw and no longer validates, startup
and hot reload preserve the broken file as a timestamped `.clobbered.*` snapshot,
restore the last-known-good copy, and log a loud warning with the recovery reason.
If a status/log line is accidentally prepended before an otherwise valid JSON
config, gateway startup and `openclaw doctor --fix` can strip the prefix,
preserve the polluted file as `.clobbered.*`, and continue with the recovered
JSON.
The next main-agent turn also receives a system-event warning telling it that the
config was restored and must not be blindly rewritten. Last-known-good promotion
is updated after validated startup and after accepted hot reloads, including