> Every playbook: https://protuno.com/playbooks.md · Site map for AI agents: https://protuno.com/llms.txt

# Plugin Safe Update

Checks readiness and compatibility, applies plugin updates one at a time, then checks the site and its key pages and reports.

- Agent: Wren (Care)
- Steps: 8
- Changes the site: yes, in step 5
- Backup: Saves a backup or snapshot in step 2 (Smart Backup), before step 5 changes the site. Step 5 is also marked backup first.
- Connector: No connector needed
- You get: A written Markdown report of which plugins were updated, which were held back and how the site checked out afterwards.
- Looks at: Which plugin updates are waiting; Whether each update looks fine to apply now; Site health and key pages after the updates
- Page: https://protuno.com/playbooks/plugin-safe-update
- Ask: "Wren, run Plugin Safe Update on my site."

## Steps

1. **Preflight Readiness**: Checks that updates are pending, the site is healthy, at least 200 MB is free and no other run is active, and records which plugins are active. It stops here if any check fails.
2. **Smart Backup**: Creates a labeled backup of your wp-content folder and your database before any plugin is touched.
3. **Verify Backup Integrity**: Checks the backup files open and the database copy is complete before any update runs.
4. **Assess Compatibility And Build Queue**: Queues only the updates that look safe. Plugins with a known vulnerability go first. Releases under 7 days old, major version jumps, plugins not on wordpress.org and page builder or shop plugins (Elementor, WooCommerce, WPML and similar) are held back.
5. **Apply Updates One At A Time**: Updates the chosen plugins one at a time, checking the site after each. If an update breaks the site, it puts that plugin back and stops, leaving the remaining plugins untouched. `changes the site` `backup first`
6. **Onsite Functional Verification**: Checks plugin state, error logs and the front end after the updates, and compares active plugins with the start.
7. **Smoke Test Critical Pages**: Reloads the pages that matter and checks each returns real content with no critical error.
8. **Final Report And Release Lock**: Writes the final report, releases the run lock and notifies your channel if one is set.

## Good to know

- Runs when you ask for it in your AI app. On Pro and Agency you can also put it on a routine.
- Needs no connector.
- Updates plugins in one step (step 5 of 8). Small housekeeping writes, such as a run lock, happen in steps 1 and 8.
- No plugin is updated unless the backup was created and verified. If the backup fails, the run stops.
- Plugins that need a decision or are held back are not updated.
- When it runs depends on the agent's mode: after you press Approve in Protuno in Approval mode, or on its own in Auto mode.
- Roll back in the app can undo a run.

## How to run it
In an AI app connected to Protuno: `ask_agent` with the site and "Plugin Safe Update", then `propose_agent_plan`. In Approval mode, ask the user to press Approve in Protuno; in Auto mode the run starts when you propose it.
