mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-19 00:52:10 -06:00
826c84ea19
* fix(config/sessions): narrow reply-session initialization revision to identity fields The initialization guard compared the full persisted session entry, so background touches to updatedAt, heartbeat timestamps, context-budget metadata, etc. produced false-positive stale-snapshot conflicts and the "reply session initialization conflicted" error. Only sessionId and sessionFile matter for detecting a session rotation. Narrow the revision to those identity fields and add a regression test. Fixes #98672 * fix(config/sessions): merge current metadata when reply-init identity guard passes * fix(config/sessions): preserve only snapshot-drifted metadata in reply-init commit * fix: preserve cleared reply-session metadata * fix: allow same-session reply initialization drift --------- Co-authored-by: moguangyu5-design <moguangyu5-design@users.noreply.github.com> Co-authored-by: Josh Lehman <josh@martian.engineering>