{"draft":null,"from":31,"to":32,"files":[{"path":"client/src/state-dir.ts","added":2,"removed":1,"diff":"--- a/client/src/state-dir.ts\n+++ b/client/src/state-dir.ts\n@@ -39,12 +39,13 @@\n export function newFolderDir(env: Readonly<Record<string, string | undefined>> = process.env): string {\n \tconst skills = join(env.CLAUDE_CONFIG_DIR || join(homedir(), \".claude\"), \"skills\");\n \tfor (const name of MOD_NAMES) {\n+\t\tif (!existsSync(join(skills, name))) continue; // not installed\n \t\tlet version: unknown;\n \t\ttry {\n \t\t\tversion = (JSON.parse(readFileSync(join(skills, name, \".avcs-install.json\"), \"utf8\")) as { version?: unknown })\n \t\t\t\t.version;\n \t\t} catch {\n-\t\t\tcontinue; // not installed, or no readable record\n+\t\t\treturn OLD_STATE_DIR; // installed, but no readable record: count it as old\n \t\t}\n \t\tif (typeof version !== \"string\" || !versionAtLeast(version, MOD_KNOWS_ABSO)) return OLD_STATE_DIR;\n \t}"}],"unmatched":[]}