Make every AI edit land as a draft for review

MaintenanceIntermediate~10 minUpdated

Before you start

A connected site with content reads on and the create-draft write ability enabled, plus Update post if you want the agent to edit existing posts. Publishing stays a human step, so the agent never needs a publish capability for this. The agent reads the post and keeps its current body in the chat before it edits. The Changes tab in wp-admin records the edit as well, and can revert it unless someone has edited the post in the meantime.

The safest agent workflow is the one where the agent proposes and a person decides. Instead of letting it publish and then hoping you catch the mistakes, you flip the order: the agent proposes, in a form you can see, and a human decides what actually goes live.

This is less a single task than a habit you hand your agent. New work arrives as a draft, never published. Changes to existing posts come with a kept copy of the original and, if the post was saved before, a revision trail, so you can read the before-and-after and roll back. The new-post path writes only a draft, which is a proposal by design.

The prompt
From now on, work draft-first on this site. When I ask you to write
something new, create it as a draft, never published, and hand me the
draft ID with a short summary of what you wrote so I can open it and
publish it myself. When I ask you to change an existing post, first read it
as raw block markup and keep its current body in your reply, then make the edit, then list the
revisions on that post and show me the revision that holds the change. WordPress
stores a revision after each save, so after a first edit of a post with no
earlier revisions the only revision holds the new text, and the original is the
copy you kept. Do not publish
anything, and do not roll back on your own. You draft and show your
work; I decide what goes live.

Why this is safe to run

The one write here is create-draft, and a draft is not a published page. It sits in the same holding area a human writer’s unfinished work sits in, invisible to visitors until someone with a publish capability decides to ship it. The agent does not hold that capability in this workflow, so it structurally cannot cross the line from proposing to publishing.

The review half is entirely reads. list-revisions shows the history of a post as metadata only, and get-revision pulls the body of any one revision with an optional diff against what is live now. That means every change the agent makes to existing content leaves a paper trail you can open and read: the original body the agent kept, and the saved revisions. A first edit to a post with no earlier revisions leaves only the new text in revisions, which is why the agent keeps the original in the chat. The decision to keep or discard stays with you, at the post’s own Revisions screen or the Changes tab. Draft in, review, publish by hand: the agent never gets the last word.

Already connected? Skip the paste. Ask your agent to adopt the “draft-first change-review” habit, or just tell it to draft and never publish, and it works this way on your own site.

How it works

  1. Ask the agent to write new content as a draft, never published.
  2. Have it hand you the draft ID and a summary of what it wrote.
  3. Before it edits an existing post, have it read the post and keep the current body in the chat.
  4. After the edit, have it list the revisions on that post and read the one that holds the change.
  5. You publish or roll back by hand once you are satisfied.

Questions

Does the agent ever publish on its own here?
No. create-draft can only create a draft; publishing is a separate ability with its own capability gate. The agent drafts and you publish, so a new post does not go live without a person deciding. Edits to a post that is already live take effect immediately, so keep the update ability off or connect the agent as a Contributor if you want those reviewed first.
How do I undo an edit I don't like?
The agent keeps the body it read before the edit, so you always have the original text. WordPress also saves a revision after each save, so list-revisions and get-revision show the saved text, with an optional diff against the current version. The first edit to a post with no earlier revisions leaves only the new text, so the earlier version shows up in revisions from the second edit on. To roll back, click Revert on the edit in the Changes tab (up to 30 days, as long as nobody has edited the post since), restore from the post's Revisions screen once an earlier revision exists, or paste the kept original back.