Syntax repair only
Fix malformed JSON5 first instead of redesigning surrounding config.
Use this page when a config change broke OpenClaw and you need to recover the smallest broken layer first instead of widening the outage with panic edits.
If config is broken, pause before making more changes. Identify the smallest recent edit that could explain the failure and classify whether it is parse failure, schema/path failure, missing sibling settings, ignored change, or runtime mismatch.
If startup broke or a critical feature went down, the first goal is not perfect final state. It is minimal working state. Restore the narrow broken layer, validate the structure, and prove the system works again before reintroducing the intended change in smaller steps.
Fix malformed JSON5 first instead of redesigning surrounding config.
Wrong-path and wrong-type issues usually need precise field correction, not broader rewrites.
Bring back sibling settings and return to narrow keyed edits.
Some recoveries fail because the file looks better but the live system still needs restart or override inspection.