{"id":133,"date":"2026-08-06T15:24:29","date_gmt":"2026-08-06T05:24:29","guid":{"rendered":"https:\/\/web.bird.digital\/wingmind-ai\/audit-log-and-rollbacks\/"},"modified":"2026-08-25T10:23:41","modified_gmt":"2026-08-25T00:23:41","slug":"audit-log-and-rollbacks","status":"publish","type":"page","link":"https:\/\/web.bird.digital\/wingmind-ai\/audit-log-and-rollbacks\/","title":{"rendered":"Audit Log &#038; Rollbacks"},"content":{"rendered":"\n<div class=\"wp-block-group alignfull has-base-color has-contrast-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-8fd8c4d7 wp-block-group-is-layout-constrained\" style=\"padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--30)\">\n<h1 class=\"wp-block-heading has-text-align-center has-base-color has-text-color\">AI Audit Log: safety, snapshots, and rollback<\/h1>\n\n\n\n<p class=\"has-text-align-center has-base-color has-text-color has-large-font-size wp-block-paragraph\">WingMind AI records every AI-driven mutation in a durable <strong>AI Audit Log<\/strong> so administrators can inspect what changed, when, and by whom \u2014 and launch a guided rollback when needed. This sits alongside live safety controls that try to prevent unwanted changes in the first place.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignfull has-contrast-color has-tertiary-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-0c801483 wp-block-group-is-layout-constrained\" style=\"padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--30)\">\n<h2 class=\"wp-block-heading has-text-align-center\">Complete Accountability &amp; Peace of Mind<\/h2>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">Every time WingMind AI changes your site, it leaves a paper trail. The AI Audit Log captures who made the change, what tool ran, and before-and-after snapshots of the affected content \u2014 with credentials stripped out and entries kept for 90 days. Destructive actions require your explicit approval before they execute, and Ask Mode lets you inspect freely with zero write access. When something needs reversing, open the log, review the snapshots, and launch a one-click <strong>Rollback with Agent<\/strong> that restores the prior state and marks the entry complete.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group alignfull has-contrast-color has-base-background-color has-text-color has-background has-global-padding is-layout-constrained wp-container-core-group-is-layout-455911f0 wp-block-group-is-layout-constrained\" style=\"padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--30)\">\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">How the safety layers fit together<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WingMind AI uses a multi-layered defense model to ensure complete control and site safety from prompt to execution:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Agent modes:<\/strong> Ask Mode blocks all site writes; Agent and Site Editor modes allow authorized changes.<\/li>\n\n\n\n<li><strong>Destructive confirmation:<\/strong> Prompts you to explicitly approve high-impact actions before they execute.<\/li>\n\n\n\n<li><strong>Capability checks:<\/strong> Native WordPress permissions are enforced on every server tool.<\/li>\n\n\n\n<li><strong>AI Audit Log:<\/strong> Creates a durable before-and-after snapshot of every modification.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Note: Read-only operations (such as inspecting posts or listing users) are never logged \u2014 only actions that modify your site.<\/em><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">Safety tools (prevention)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Ask Mode \u2014 write protection<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>Ask Mode<\/strong>, write tools are removed from the model\u2019s tool list and blocked at execution time. The agent can inspect the site but cannot change anything. This is the safest mode for exploration and Q&amp;A.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Destructive action confirmation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before high-impact tools run, WingMind AI shows a <strong>Confirm destructive action<\/strong> modal with the tool name and arguments. If you cancel, the tool does not run and nothing is logged as applied.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples of actions that require confirmation:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deleting posts, terms, media, users, menus, templates, plugins<\/li>\n\n\n\n<li>Switching themes, updating global styles, changing site settings<\/li>\n\n\n\n<li>Installing or activating plugins<\/li>\n\n\n\n<li>Creating users, restoring revisions<\/li>\n\n\n\n<li>Most WooCommerce and Gravity Forms delete operations<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Some tools use <strong>status-gated<\/strong> confirmation \u2014 for example, <code>delete_post<\/code> only prompts when the post is published or scheduled, not when it\u2019s already a draft.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. In-turn Undo (block editor sidebar only)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">While using the <strong>block editor sidebar<\/strong>, WingMind AI records reversible steps during each agent turn. An <strong>Undo<\/strong> button appears after edits, letting you revert all document changes from that turn immediately \u2014 without opening the audit log.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a fast, local safety net. The fullscreen agent does not offer the same in-turn undo; it relies on the durable audit log and rollback flow instead.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">Snapshot tracking (what gets recorded)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Every site modification creates a record in the audit log, storing essential details like who made the change, what was modified, sanitized arguments, and full before-and-after state snapshots.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What snapshots contain<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Posts, Pages &amp; other content:<\/strong> Title, content, publication status, slug, excerpt, and key meta (templates, thumbnails, SEO descriptions).<\/li>\n\n\n\n<li><strong>Categories &amp; Tags:<\/strong> Term names, taxonomy types, slugs, descriptions, and hierarchy.<\/li>\n\n\n\n<li><strong>Users &amp; Roles:<\/strong> Profile updates, display names, and assigned user roles (passwords and sensitive data are excluded).<\/li>\n\n\n\n<li><strong>Site Settings &amp; Styles:<\/strong> Global configuration updates, navigation menus, and theme stylesheet references.<\/li>\n\n\n\n<li><strong>Block Editor Modifications:<\/strong> Serialized block markup, client IDs, and content deltas.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Rollbackability ratings<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Full Rollback (Yes):<\/strong> Complete before-and-after snapshots stored. WingMind AI can restore the exact prior state (e.g. updates to posts, terms, site settings, theme activation).<\/li>\n\n\n\n<li><strong>Partial Rollback:<\/strong> Reversible with specific caveats (e.g. creations are rolled back by deleting the new item; deleted items are restored from trash).<\/li>\n\n\n\n<li><strong>Manual Reversal Required:<\/strong> Rare structural changes that require guided manual restoration steps.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Retention &amp; Limits:<\/strong> Audit records are stored for <strong>90 days<\/strong> before automatic cleanup. Passwords and API secrets are automatically redacted from stored arguments to safeguard credentials.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">Inspecting changes (read-only audit review)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Location:<\/strong> WordPress admin \u2192 <strong>Tools \u2192 AI Audit Log<\/strong><br><strong>Access:<\/strong> Administrators only (<code>manage_options<\/code>)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">List view<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Browse all recorded mutations with columns for ID, tool, entity, user, timestamp (UTC), rollbackability, and status.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Filters available:<\/strong><br>\u2022 Tool name, entity type, session ID, user ID<br>\u2022 Status (<code>applied<\/code>, <code>rolled_back<\/code>, <code>failed<\/code>)<br>\u2022 Rollbackability (<code>yes<\/code>, <code>partial<\/code>, <code>no<\/code>)<br>\u2022 Date range<br>\u2022 <strong>Rollbackable only<\/strong> checkbox (applied + yes\/partial)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Detail view<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Click any entry to see:<br>\u2022 Full metadata (tool, entity, user, session link, timestamps)<br>\u2022 Sanitized <strong>Args<\/strong><br>\u2022 Side-by-side <strong>Before<\/strong> and <strong>After<\/strong> JSON snapshots<br>\u2022 Rollbackability rating and note<br>\u2022 Whether the snapshot was truncated<br>\u2022 Whether the change was client-side (block editor) or server-side (REST)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is a <strong>read-only inspection<\/strong> surface \u2014 viewing the log never changes the site.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">Undoing changes (rollback)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are two distinct undo paths depending on where and when you need to revert changes:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Immediate Undo \u2014 block editor sidebar<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Available during the same agent turn in the block editor sidebar<\/li>\n\n\n\n<li>Reverts all document tool steps from that turn in reverse order<\/li>\n\n\n\n<li>Does not require the audit log<\/li>\n\n\n\n<li><strong>Best for:<\/strong> \u201cWait, undo what you just did on this page\u201d<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. Audit Log rollback \u2014 fullscreen agent<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For changes recorded in the audit log (including earlier sessions):<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <strong>Tools \u2192 AI Audit Log<\/strong> and find the entry<\/li>\n\n\n\n<li>Click <strong>Rollback with Agent<\/strong> (available when status is <code>applied<\/code> and rollbackability is <code>yes<\/code> or <code>partial<\/code>)<\/li>\n\n\n\n<li>WingMind AI opens in <strong>Site Editor Mode<\/strong> and auto-starts a rollback turn with the full before\/after snapshots and sanitized args embedded in the prompt<\/li>\n\n\n\n<li>The agent reverses the change using the appropriate tools<\/li>\n\n\n\n<li>When complete, it sets the entry\u2019s status to <code>rolled_back<\/code><\/li>\n<\/ol>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important rollback caveats:<\/strong><br>\u2022 <strong>Deletes<\/strong> have no before snapshot \u2014 rollback means restoring from trash, not reconstructing deleted content<br>\u2022 <strong>Creates<\/strong> are rolled back by removing the newly created entity<br>\u2022 <strong>Plugin\/theme installs<\/strong> may require manual reversal (reinstall prior version, deactivate, etc.)<br>\u2022 <strong>Partial<\/strong> entries include a note explaining what the agent can and cannot safely restore<br>\u2022 Rollback runs without asking for confirmation again \u2014 it\u2019s treated as an intentional admin action<br>\u2022 Failed tool calls are logged with status <code>failed<\/code> but are not rollbackable<\/p>\n<\/blockquote>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">What is NOT in the audit log<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Read-only inquiries:<\/strong> Searching or inspecting posts, listing users, or retrieving settings does not alter site state and is not logged.<\/li>\n\n\n\n<li><strong>Blocked or cancelled actions:<\/strong> Actions prevented by Ask Mode or cancelled in confirmation popups are never executed.<\/li>\n\n\n\n<li><strong>Chat conversations:<\/strong> General AI conversation history is saved separately in chat sessions, keeping the audit log focused strictly on site mutations.<\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-container-core-group-is-layout-405d0695 wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading has-primary-color has-text-color\">Quick Selection Guide<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>To explore your site without risk:<\/strong> Use <strong>Ask Mode<\/strong>.<\/li>\n\n\n\n<li><strong>To approve or block dangerous actions:<\/strong> Use the <strong>Destructive Confirmation Modal<\/strong>.<\/li>\n\n\n\n<li><strong>To quickly undo recent edits on the current page:<\/strong> Use <strong>Sidebar Undo<\/strong> in the block editor.<\/li>\n\n\n\n<li><strong>To review past changes and history:<\/strong> Go to <strong>Tools \u2192 AI Audit Log<\/strong>.<\/li>\n\n\n\n<li><strong>To restore a previous state automatically:<\/strong> Use <strong>Rollback with Agent<\/strong> from the audit detail view.<\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-e047e638 wp-block-buttons-is-layout-flex\" style=\"margin-top:var(--wp--preset--spacing--30)\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-base-color has-primary-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/web.bird.digital\/wingmind-ai\/documentation\/\" style=\"border-radius:0px\">\u2190 Back to Documentation<\/a><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>AI Audit Log: safety, snapshots, and rollback WingMind AI records every AI-driven mutation in a durable AI Audit Log so administrators can inspect what changed, when, and by whom \u2014 and launch a guided rollback when needed. This sits alongside live safety controls that try to prevent unwanted changes in the first place. Complete Accountability [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-notitle","meta":{"footnotes":""},"class_list":["post-133","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/pages\/133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/comments?post=133"}],"version-history":[{"count":7,"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/pages\/133\/revisions"}],"predecessor-version":[{"id":211,"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/pages\/133\/revisions\/211"}],"wp:attachment":[{"href":"https:\/\/web.bird.digital\/wingmind-ai\/wp-json\/wp\/v2\/media?parent=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}