Title: Codiecool Action Guard for AI Agents
Author: codiecool
Published: <strong>30 de juliol de 2026</strong>
Last modified: 30 de juliol de 2026

---

Cerca extensions

![](https://ps.w.org/codiecool-action-guard-ai-agents/assets/banner-772x250.png?
rev=3628452)

![](https://ps.w.org/codiecool-action-guard-ai-agents/assets/icon-256x256.png?rev
=3628452)

# Codiecool Action Guard for AI Agents

 Per [codiecool](https://profiles.wordpress.org/codiecool/)

[Baixa](https://downloads.wordpress.org/plugin/codiecool-action-guard-ai-agents.1.0.3.zip)

 * [Detalls](https://ca.wordpress.org/plugins/codiecool-action-guard-ai-agents/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/codiecool-action-guard-ai-agents/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/codiecool-action-guard-ai-agents/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/codiecool-action-guard-ai-agents/#developers)

 [Suport](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/)

## Descripció

**Codiecool Action Guard for AI Agents** is the governance layer for AI on WordPress.

MCP connectors and AI agents can edit your site. This plugin does not replace them—
it sits beside them and makes sure **publish, delete, settings, and role changes**
go through a human first when you want them to.

#### Features

 * Intercept publish, trash/delete, media delete, watched options, and role changes
 * Detect Application Password / Basic-auth REST traffic and watched roles (including`
   cagai_ai_agent`)
 * Per-action modes: Allow / Ask first / Block
 * Pending queue with human-readable before/after summary
 * Soft-held deletes (redirect + notice — no scary error page)
 * Audit log with one-click undo
 * First-run setup checklist (plugins screen / plugin pages only)
 * Configurable retention (up to 365 days)
 * REST API for queue review workflows

Works alongside any MCP or AI plugin. The filter `cagai_is_agent_request` lets connectors
mark requests as agent-driven.

## Captures

[⌊Pending Queue — review AI and watched-role writes before they go live⌉⌊Pending
Queue — review AI and watched-role writes before they go live⌉[

Pending Queue — review AI and watched-role writes before they go live

[⌊Settings — Allow / Ask first / Block modes for each action family⌉⌊Settings — 
Allow / Ask first / Block modes for each action family⌉[

Settings — Allow / Ask first / Block modes for each action family

[⌊Audit Log — approved actions with one-click undo when available⌉⌊Audit Log — approved
actions with one-click undo when available⌉[

Audit Log — approved actions with one-click undo when available

[⌊First-run onboarding checklist for AI Agent users⌉⌊First-run onboarding checklist
for AI Agent users⌉[

First-run onboarding checklist for AI Agent users

## Instal·lació

 1. Upload the `codiecool-action-guard-ai-agents` folder to `/wp-content/plugins/`
 2. Activate **Codiecool Action Guard for AI Agents** through the Plugins menu
 3. Follow the welcome checklist (AI Agent user + Application Password)
 4. Open **Codiecool Action Guard  Settings** and confirm Publish/Delete are set to**
    Ask first**

## PMF

### Does this include an MCP server?

No. This plugin is the approval and audit layer only. Use the official WordPress
MCP Adapter or any third-party MCP/AI plugin for connectivity.

### Will it block my normal editing?

By default, only watched roles and Application Password requests are governed. Draft
updates default to Allow. Turn on Paranoid mode only if you want every user watched.

### Who can approve queued actions?

Administrators (users with `manage_options`).

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Codiecool Action Guard for AI Agents» és programari de codi obert. La següent gent
ha col·laborat en aquesta extensió.

Col·laboradors

 *   [ codiecool ](https://profiles.wordpress.org/codiecool/)

[Traduïu «Codiecool Action Guard for AI Agents» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/codiecool-action-guard-ai-agents)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/codiecool-action-guard-ai-agents/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/codiecool-action-guard-ai-agents/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/codiecool-action-guard-ai-agents/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/codiecool-action-guard-ai-agents/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.3

 * Fix fatal error on Pending Queue when multiple items were listed (kind mapper
   variable clash)

#### 1.0.2

 * Unique 5-character prefix (cagai / CAGAI) for defines, options, hooks, caps, 
   tables, and assets
 * Namespace moved to Codiecool\ActionGuardAiAgents to avoid collisions

#### 1.0.1

 * Distinctive plugin name and slug for WordPress.org guidelines
 * Limit admin notices to dashboard / plugin screens (Guideline 11)
 * Text domain and admin menu slugs aligned with the new permalink

#### 1.0.0

 * Initial release
 * Approval queue for publish, delete, media, settings, and role changes
 * Human-readable before/after summaries
 * Soft-held deletes with redirect notices
 * Audit log with undo
 * Allow / Ask first / Block modes
 * Application Password and watched-role detection
 * Modern admin UI with confirm dialogs and snackbars

## Meta

 *  Versió **1.0.3**
 *  Darrera actualització **fa 3 setmanes**
 *  Instal·lacions actives **Menys de 10**
 *  Versió del WordPress ** 6.4 o posterior **
 *  Provada fins a **7.0.4**
 *  Versió del PHP ** 8.0 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/codiecool-action-guard-ai-agents/)
 * Etiquetes
 * [AI](https://ca.wordpress.org/plugins/tags/ai/)[approval](https://ca.wordpress.org/plugins/tags/approval/)
   [audit](https://ca.wordpress.org/plugins/tags/audit/)[mcp](https://ca.wordpress.org/plugins/tags/mcp/)
   [security](https://ca.wordpress.org/plugins/tags/security/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/codiecool-action-guard-ai-agents/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[La vostra ressenya](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/reviews/#new-post)

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/reviews/)

## Col·laboradors

 *   [ codiecool ](https://profiles.wordpress.org/codiecool/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/codiecool-action-guard-ai-agents/)