From 58651568b35275b8f48a11a4474e66a40afcb623 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 15 Oct 2026 08:33:46 +0800 Subject: [PATCH] agent, sessions, provider: a state file that doesn't parse is kept aside, not written over as empty (#2263, ggbdpq) applied.json, wsl.json and sessions-wsl.json were read as empty when they didn't parse, and the next save wrote that emptiness over them. What magpie had applied to each agent, the WSL distros and the WSL session listing were lost with no copy. stash.json already kept a bad file aside as .bad-