Dashboard › craft › WorkspaceSchema __proto__ Zod record lo…
01a04843-b9b1-758e-90cf-319718644b9eTrap: allowing __proto__ under workspaces looks safe because it matches the ASCII key regex and passes Zod validation, but Zod record output silently drops it. getWorkspaceNames() then returns no such workspace, and Object.keys(workspaces) makes the root github.projectPath guard think no workspaces exist. Fix: explicitly reject prototype-sensitive workspace keys (__proto__, and defensively other inherited names) before relying on record output; test selection and root-projectPath validation with each key.