Agent changes, previews and undo

This manual is for LMS Blueprint 0.47.19

Core Complete 0.47.0

Every change your AI agent makes on your site is written down, so you can see it, preview it and undo it. This page is about that record. To connect an agent in the first place, see Connect your own AI agent.

Drafts change at once; live things are staged

  • A draft changes at once. Nobody but you and your editors can see a draft, so when your agent edits one, the change is made straight away. It is still written down, so you can undo it.
  • Anything live is staged. A published course, module, lesson, quiz or workbook is live: your students or visitors can see it. When your agent changes one, the change is saved but not made. What students see stays exactly as it was until the change is applied.
  • A staged change goes live when you press Apply on the Changes tab, or when an app you gave the Publish permission applies it.

Your agent is told which of the two happened each time: its answer says written or staged, and gives a change_set_id it can undo with undo_change.

Previews before anything goes live

Each staged change comes with a preview link: the page’s own address with a code added to the end. Open it to see the page as it will look once the change is applied.

  • The page shows a bar saying Preview of changes that are not live yet.
  • Anyone who has the link can open it without signing in, so you can send it to someone. A lesson still shows only what that person could see: open a lesson preview while you are signed in.
  • A link works for 7 days. After that, or after you withdraw it, it shows the live page.
  • Your agent can also give you one link that shows several staged changes together, such as a page and the header above it (preview_changes). It lasts 7 days, like the others, and stops showing a change once that change is applied, discarded or its link withdrawn.
  • Preview pages ask search sites not to list them, and ask browsers and caches not to keep them.

The Changes tab

The Changes tab with its filters, Apply selected, Discard selected and Select all, the empty change list, Undo everything since, Revoke preview links and Unused uploads.
The Changes tab and its filters: status, app, kind, dates, course, lesson or page.

Go to School → Agent access and open the Changes tab. It lists every change an agent made, newest first: when, through which app, the action, what it changed (linked to its editor) and its status. Click Show to see which fields changed. The list never shows the words your agent wrote.

On each row:

  1. Preview opens the staged change on its own page, with a new 7-day preview link.
  2. Apply makes a staged change live. If someone has changed the same thing since your agent staged it, nothing is written and the screen names what changed.
  3. Undo puts things back as they were. For a staged change, it just drops it.

Use the boxes at the top to narrow the list: Status (staged, applied, undone, or conflict: staged changes whose page someone has changed since, which Apply would skip), Through (the app that made it), Kind, From and To dates, Course (the course and its modules and lessons), Lesson or page (an ID or words from its title) and Note or lane (the label a set carries, if any).

Apply or discard many at once

When an agent stages a batch (twenty, fifty), you don’t have to go down the list one by one.

  1. Filter the list to the ones you want, for example Status staged and Through the app that made them.
  2. Tick the box on each row you want, or the box in the header to tick every row on the page, or Select all … that match this filter to take every match, on every page.
  3. Click Apply selected or Discard selected. Nothing happens yet: the screen asks once, with the count, for example «Apply 39 change sets?». Click Apply them (or Discard them) to go ahead, or Cancel.

What happens to each one:

  • Apply applies each change on its own, exactly as its own Apply button would. One that someone has changed since it was staged is skipped, with nothing written for it; one whose page breaks once it is live is undone at once (see the check after a change goes live). Neither stops the others.
  • Discard undoes each staged change without it ever going live. Nothing is deleted: each one stays in the list, marked undone. A change that is already live isn’t touched by Discard; use its Undo.
  • A long batch runs in steps. If the batch can’t finish within one page load, the screen shows how far it has got («12 of 39 done») and carries on by itself; keep the page open. Stop here stops before the next one, and the ones not reached are listed as Not run, still staged.
  • Afterwards, one line per change: Applied, Conflict, Rolled back, Error, Discarded, or Skipped, each with its Preview and Undo.
  • Your site’s page cache (LiteSpeed Cache) is cleared once at the end of each batch, not once per change.

Only people with the Publish permission see the boxes and the bulk buttons, or the Apply button on a row.

When undo stops

Undo writes the old version back only while the thing still holds exactly what the agent wrote. If you or someone else has changed it since, undo stops and says it “was changed by someone since, so it was left as it is”. Nothing is overwritten. The earlier versions of a lesson or a workbook are in its editor, under revisions.

An undo is itself a change, so you can undo an undo.

Undo everything this app did since…

Under Undo everything this app did since…, each connected app has its own row. Pick a date and time and click Undo everything since. It undoes that app’s changes newest first, and stops at the first one someone has edited since, leaving the older ones as they are.

Withdraw every preview at once

Click Revoke preview links to stop every preview link at once.

Unused uploads

When your agent adds a picture and the change is undone, the picture stays in your media library and is listed under Unused uploads. Agents never delete files: open one and delete it yourself if you don’t want it.

The bin

Your agent can move a course, module, lesson, quiz, workbook, page or product to the bin, and take one out again. It never deletes anything for good.

  • Something live can go to the bin only through an app with the Publish permission.
  • A course with enrolled students is never moved to the bin by an agent.
  • Something taken out of the bin comes back as a draft, never straight to live.
  • WordPress empties the bin after 30 days by default.

Settings, emails and products

  • Every settings change is staged. Settings change what visitors and students get, so an agent’s change to one waits on the Changes tab until you apply it. Its preview link shows your site with the new setting.
  • Currency and the promotion-code box need the Publish permission.
  • Your agent edits emails, never sends them. An email’s preview link shows it filled with sample values.
  • Products start as drafts. On a live product, a new price needs the Publish permission. The file a product sells, its Stripe price, subscriptions and toolkits stay yours to set.
  • Keys stay hidden. When your agent reads settings, a payment, email-service or AI key shows only whether it is set.

Course settings, addresses, pages and collections

  • The course settings box. Your agent can set a course’s catalogue cover, category, featured tick, catalogue status, focus mode, how its lessons read (scroll or cards, and whether students may switch), the courses to finish first, and whether each quiz must be passed to move on. Each is saved the way the course screen saves it, so the screen shows what your agent set.
  • A loop of prerequisites is refused, as on the course screen: a course can’t require a course that requires it. If two live courses are each staged to need the other, the second is refused when it is applied.
  • Modules open on a schedule too. A module takes the same release rules as a lesson: at once, a number of days after the student enrols, or on a date.
  • Addresses. It can change the address (slug) of a course, lesson or page. If another item already has that address, WordPress picks a unique one and your agent is told which. On something live the new address is staged; links to the old address redirect only if WordPress finds them.
  • Page settings. Change a page’s settings sets a page’s title, address, template (only your theme’s page templates), parent page, featured picture and order. A page can’t be put under one of its own sub-pages.
  • Collections. Your agent can put a product in your store’s collections by name; a new name makes a new collection. Undo takes the product out again and leaves the new collection in place, empty.
  • AI feedback settings (a course’s feedback tone, focus, what students submit first and the daily limit; a lesson’s AI feedback and style; a quiz’s AI coaching) are there only while LMS Blueprint AI is active. The Changes tab marks them «affects AI spend».
  • Overview of the site reads how much of each kind there is by status, the style pack and motion, the changes waiting to be applied, the last health check and what agents can’t do, with no customer data and no keys.
  • The site’s name, tagline, logo and icon. With Design, your agent can change them; like every design change they are staged with a preview link and go live only when applied. The icon must be a square picture of at least 512 pixels.
  • Which page is the home page needs Publish too. It changes what every visitor lands on, so it is staged and needs the Publish permission; the page must already be published.
  • Your agent sign-in screen keeps the LMS Blueprint mark, whatever logo your site uses.
  • The header and the footer. Your agent can change them block by block: layout, text, the menu, the site’s title, tagline and logo, and search. The header always keeps its menu, and code or raw HTML is refused. Once applied, the change is saved as your site’s own header or footer, the same way the Site Editor saves it. Reset goes back to your theme’s own, and undo puts back what was there, moving your agent’s version to the bin. Whole page templates stay yours to change in the Site Editor.
  • Pictures from your computer. An agent that runs on your computer can send a picture it holds there as data, up to 5 MB, with the same checks as a picture from an address: JPEG, PNG, WebP, GIF or AVIF only, no SVG, and the same upload limits.

Publishing, scheduling and applying

An app you gave the Publish permission can make things live itself. Your app asks you before each of these actions.

  • Publish or take down. It can put one course, module, lesson, quiz, workbook, page, product or learning path live, or take it back to a draft.
  • A course goes live on its own. Its draft modules and lessons stay drafts. Your agent is told which ones, and publishes them too only when asked.
  • A course with students stays up unless your agent confirms how many. To take it down, it has to give the number of students enrolled.
  • A product with a price needs Stripe. It isn’t put live while your store has no Stripe key. Your agent only learns whether a key is set, never the key.
  • Schedule. It can set a time from a minute to 365 days ahead, and WordPress publishes it then. Until then, undo keeps it a draft.
  • Apply staged changes. It can apply staged changes, up to 50 in one go, the same way your Apply button does. A change another app staged is applied only when your agent says so. If it runs out of time part-way, it is told which ones are left to send again.

Each of these is a change on the Changes tab, and you can undo it there.

The check after a change goes live

Whenever a change goes live (your Apply, or an app’s publish or apply), your site opens the pages it touches, as a visitor would, before and after.

  • If a page answers with a server error, shows a PHP error, shrinks to under 30 % of its size, or loses its main content area or the site header, the change is undone straight away.
  • Your agent is told «Applied, then rolled back: the page returned an error.» The Changes tab shows Rolled back with the reason, and a notice at the top of Agent access says what happened.
  • Some hosts don’t let a site call itself. Then the check can’t run: the change stays live, the Changes tab says the check couldn’t run, and you should look at the page yourself.

What your agent can’t do

Your agent is told these limits, and gets the same list when it asks. Each one is something you do yourself, on the screen named after it:

  • See or change payment or Stripe keys, or the store’s webhook secret. Instead: School, Settings, Payments, and Store Settings.
  • See or change email-service keys, mail delivery (SMTP) or event endpoints, or send email. Instead: School, Email and Events, and Mail delivery.
  • See or change AI keys, or run the AI add-on’s own features. Instead: School, AI Settings.
  • See licence keys, orders or customers. Instead: Store, Orders and Licences.
  • Manage users, roles, passwords or application passwords. Instead: Users.
  • Install or edit plugins, themes or code; write raw HTML or scripts; add web apps or entitled files; import a folder or zip. Instead: Plugins, Appearance, Web Apps, Entitled files and Import.
  • Delete anything permanently. It can only move things to the bin, which WordPress empties after 30 days by default. Instead: The bin on each list screen.
  • Enrol or remove students, or see who they are. Instead: School, Students.
  • Make coupons. They are made in your Stripe dashboard; an agent with the Publish permission can switch on the promotion-code box at checkout. Instead: Your Stripe dashboard, and Store, Settings, Coupons.
  • Change Agent access or its own permissions. Instead: School, Agent access.
  • Read or change a student’s notes. Instead: Only the student sees them, in their own lessons.
  • See a student’s own flashcards, or what they got right and when their cards come back. Instead: Only the student sees them, in their Study hub.
  • Reset or change when a student’s cards come back. Instead: Nobody can: it follows the student’s own answers.
  • Send study reminders. Instead: The Study hub sends none: students come back when they choose.
  • Change anything live without the Publish permission: changes to live things are staged until someone with that permission applies them. Instead: School, Agent access, Changes.

How long the record is kept

  • Changes are kept for 90 days, or the last 2,000 changes, whichever is more.
  • A staged change that nobody applies is dropped after 30 days.
  • Unlike Recent actions, this record holds what the agent wrote, because undo needs it. If you tick «Delete all LMS Blueprint data when the plugin is deleted», it is removed when you delete the plugin.