Vercel GitHub-connected project deletes files after prompt / redeploy Description My project is hosted on Vercel and connected to GitHub. Starting yesterday, every time I run a prompt (via Vercel v0), the system removes most of the project files, leaving only a small subset of changed files and causing import/module not found errors. Steps to Reproduce Create or open a Vercel project connected to GitHub Ensure the repository contains a full, working codebase Run a prompt / redeploy using Vercel (v0) Observe that most files are removed after the prompt completes Expected Behavior The prompt should only modify or add the files relevant to the change, without deleting unrelated files or the existing project structure. Actual Behavior Large portions of the codebase are deleted Import errors occur due to missing files Re-deploying or forking from main does not restore the files Creating a brand-new Vercel project with the same repo results in the same issue What I’ve Tried Re-deploying from main Reverting to stable commits Creating a new Vercel project Reconnecting the GitHub repository Impact This blocks development entirely, as every prompt causes destructive changes to the project and makes the deployment unusable. Additional Notes This behavior started recently (from yesterday). The same repository and setup worked correctly before that



I connected to the Vercel Project and it automatically connected to the git associated with it