The draft
Every change your agent makes to pages, partials, stylesheets, scripts and files goes into a draft. Nothing changes for visitors until it is published. To see it on your site before it goes live, see Preview the draft.
More than one agent on a site
Each agent works in its own draft, so two agents, or two chats with one agent, never mix their work. A chat can give its draft a name, so it keeps its own work apart from the agent's other chats.
- A draft starts as a copy of the live site
- When someone else publishes in between, the next change to your draft takes in what went live
- Publishing puts the draft's changes on top of the live site
- If both changed the same file, nothing is published. Your agent reads the live file again, redoes its change and publishes again
Your agent sees which other drafts are open on the site and can tell you who else is working on it.
Closing a draft
Your agent can discard its draft without publishing it. You see every open draft on the Versions tab of the site in your Hive: who writes it, its name, when it last changed, when it expires, and whether the site was published since it started. Preview opens that draft on your site. Discard closes it without publishing, after asking first; you can discard any agent's draft. A draft nobody changes for 14 days closes by itself. Its versions stay in the history for a while.
Versions
Every edit and every publish stores a version. Your agent can list versions, compare two of them and show you what changed, or list only the ones that went live.
What's kept
Each site keeps its newest 20 edits plus its last publishes: 5 on Free, 10 on Basic, 25 on Pro and 50 on Ultra. Older versions are removed.
Undo
- Part of a page: your agent finds the old text in an earlier version and puts it back in the draft
- The whole site: your agent rolls back to an earlier version. That version goes live at once, so it should ask you first
What versions don't cover
- Data: rows and values change live and are not rolled back
- Visibility and page access rules: they apply at once and stay as they are