{"draft":null,"from":24,"to":25,"files":[{"path":"worker/project/path-rules.ts","added":7,"removed":4,"diff":"--- a/worker/project/path-rules.ts\n+++ b/worker/project/path-rules.ts\n@@ -46,15 +46,18 @@\n function reservedKey(seg: string): string {\n \treturn pathKey(seg.replace(/[\\u200C-\\u200F\\u202A-\\u202E\\u206A-\\u206F\\uFEFF]/g, \"\"));\n }\n-const AVCS_KEY = pathKey(\".avcs\");\n+/** The client's folder: .abso, and .avcs from before the rename (224). */\n+const SETTINGS_KEYS = new Set([pathKey(\".abso\"), pathKey(\".avcs\")]);\n \n-/** For writes: the path must be canonical, and not under .avcs/ in any spelling, at any depth. */\n+/** For writes: the path must be canonical, and not under .abso/ or .avcs/ in any spelling, at any depth. */\n export function checkPath(path: string): void {\n \tconst problem = pathProblem(path);\n \tif (problem) throw new ProjectError(\"bad-request\", `bad file path ${JSON.stringify(path)}: ${problem}`);\n \t// The client's settings stay in the agent's folder and are never published.\n-\tif (path.split(\"/\").some((seg) => reservedKey(seg) === AVCS_KEY)) {\n-\t\tthrow new ProjectError(\"bad-request\", `${path} is under .avcs/, which stays in the agent's folder`);\n+\tconst settings = path.split(\"/\").find((seg) => SETTINGS_KEYS.has(reservedKey(seg)));\n+\tif (settings !== undefined) {\n+\t\tconst folder = reservedKey(settings) === pathKey(\".abso\") ? \".abso\" : \".avcs\";\n+\t\tthrow new ProjectError(\"bad-request\", `${path} is under ${folder}/, which stays in the agent's folder`);\n \t}\n }\n "}],"unmatched":[]}