Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The script claims to keep window contexts isolated, but when switching it saves the globally newest session file from ~/.openclaw/agents/main/sessions without verifying that the file actually belongs to the window being left. In a multi-window or multi-session environment, this can misattribute one conversation's transcript to another task, causing unintended cross-window disclosure and breaking the stated isolation guarantee.
