Files
openclaw/src
Muhammed Mukhthar CM 20ba8d4891 fix(config): preserve config data when validation fails
When readConfigFileSnapshot encounters validation errors, it now:
1. Returns the resolved config data instead of empty object
2. Uses passthrough() on main schema to preserve unknown fields

This prevents config loss when:
- User has custom/unknown fields
- Legacy config issues are detected but config is otherwise valid
- Zod schema does not recognize newer fields

Fixes config being overwritten with empty object on validation failure.
2026-01-13 01:16:13 +00:00
..
2026-01-13 00:12:57 +00:00
2026-01-12 23:13:40 +00:00
2026-01-12 08:33:32 +00:00
2026-01-12 08:55:02 +00:00
2026-01-10 04:01:06 +01:00
2026-01-12 08:32:08 +00:00
2026-01-12 17:55:45 +00:00
2026-01-12 08:55:02 +00:00
2026-01-12 10:52:34 +00:00
…
…