What changed
On 16 November, Lovable announced drafts. A draft is a copy of your project with its own chat and its own preview. You prompt in it as usual, compare it with the main version, and when you like it you accept it. Accepting adds its edits to your project as unpublished changes. Nothing reaches your live app until you publish from the main version, which is the only place the Publish button lives.
The practical details, from Lovable's help page on drafts:
- You open one by clicking the project name at the top of the editor, then New draft.
- Drafts are on every plan. Creating, updating, accepting and deleting a draft costs no credits. Messages in a draft cost what they cost in main.
- A draft you never edit is removed after 24 hours.
- If the main version moves on while you work, Lovable updates the draft first, then accepts it. Drafts are accepted one at a time.
For anyone still working only inside Lovable, this is a real improvement. Until now, every prompt landed straight on the version you'd publish next.
The part to read twice: your data
The announcement says a draft copies your app "from design to database" and that test data is cleared when you accept or delete the draft. Lovable's help page on drafts, checked the same day, says the opposite: a draft has no backend of its own, it uses the same database, files and settings as your project, and records you add, edit or delete while testing are real. Deleting the draft doesn't undo them.
We can't tell you which one is current. Until the two agree, assume the stricter one. In practice:
- Never edit or delete an existing customer, order or booking while testing in a draft. The help page warns that this changes the published app too.
- Create your own test records, with an obvious name like
test-draft-anna, so you can find and remove them later. - Don't test anything that sends real emails or touches payments from a draft. Payments, email sending, sign-in methods, secrets and storage settings can only be changed from the main version anyway.
One more detail matters for the database itself. Lovable doesn't add tables or columns while you work in a draft. It prepares the change and applies it when you accept. Drafts also can't rename or remove existing tables or columns, or change a column's type.
Drafts and GitHub don't meet yet
If you've connected your project to GitHub so a coding agent can work on it (our guide on moving a Lovable project to GitHub walks through it), this is the line that matters: Lovable's Git sync page says drafts don't support Git sync yet. A draft doesn't show up as a branch in your repository. Its code reaches GitHub only after you accept it, and then it lands on the branch Lovable syncs, usually main, like any other Lovable edit.
So a draft is not a git branch, and your agent can't see it. If you work in a draft for an hour while Claude Code or Codex works on a branch in your repository, neither knows about the other until one of you merges.
How we'd use the two together
Our opinion: drafts are for trying things in Lovable, git branches are for anything your agent builds. Mixing the two on the same feature is where you'll lose an afternoon.
1. Pick one place per feature
A quick layout change, a new color, a copy edit: try it in a draft, accept it, done. A feature with logic, a new API route or a change to how data is stored: give it to your agent on its own branch.
git switch main
git pull
git switch -c booking-reminders
Don't start the same feature in both. You'd end up merging two versions of the same files.
2. Accept drafts before you merge agent work
Accepted draft edits are commits on main. Before merging your agent's pull request, accept or delete any open draft that touches the same pages, then pull main into your branch so the pull request shows the real difference:
git switch booking-reminders
git pull origin main
If git reports a conflict here, it's telling you a draft and your agent changed the same lines. Ask the agent to resolve it and explain what it kept.
3. Don't point Lovable at your agent's branch
Lovable syncs one branch at a time, and its GitHub settings let you switch that branch. It's tempting to switch Lovable to your agent's branch to preview the work. We wouldn't: you now have two editors writing to one branch, which is the problem we warned about with main. Preview the branch locally with npm run dev instead.
4. Remember that a branch doesn't copy your database either
This catches people who assume git keeps them safe. Lovable's Git sync page says the repository's .env file holds the URL and publishable key of your project's backend, so an app you run locally from any branch reads and writes the same data as your live app. A git branch doesn't give you a separate database. The same rule as drafts applies: create test records, never edit real ones.
5. Database changes from your agent need one more step
When your agent writes a new migration file and you merge it, Lovable syncs the code but doesn't run the migration or deploy a changed Edge Function. You ask for it in Lovable's chat, or run the SQL yourself. Pushing to GitHub doesn't publish either: Lovable updates its preview and waits for you to hit Publish.
What to do this week
If you use Lovable alone, start using drafts for anything you're not sure about. If you use Lovable with a coding agent, keep your branch routine, accept or delete open drafts before you merge, and make "never edit real records while testing" a rule for both. If you want a second check on what your agent changed before you merge, our guide on checking what your coding agent changed takes about ten minutes per feature.