From 2f98ded4529bcd23198fca35df8cd77887f0a37b Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Wed, 22 Apr 2026 21:29:56 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@cc1e843c909581380e9e84d6f4f93a6ddc3b75b3 --- .openclaw-sync/source.json | 4 ++-- docs/gateway/configuration.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index a5b17b588..506ce7bbf 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -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" } diff --git a/docs/gateway/configuration.md b/docs/gateway/configuration.md index 972ce45eb..f91e105ba 100644 --- a/docs/gateway/configuration.md +++ b/docs/gateway/configuration.md @@ -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