=== WP Agent Bridge ===
Contributors: wpagentbridge
Tags: ai, api, rest, automation, woocommerce
Requires at least: 6.0
Requires PHP: 8.0
Stable tag: 0.4.29

Secure AI operations bridge for WordPress.

== Installation ==
1. Upload wp-agent-bridge.zip under Plugins > Add Plugin > Upload Plugin.
2. Activate it.
3. Open Tools > WP Agent Bridge.
4. Generate a connection token only when you are ready to connect a trusted service.

== Security ==
External access requires HTTPS and a revocable bearer token. Never paste the token into chat. Rotate or revoke it from Tools > WP Agent Bridge.

Version 0.4.17: Queued native campaigns can be cancelled before dispatch begins using the same database lock as email transport. Cancellation is owner-approved through WPDoer, does not undo delivered or accepted messages, and does not claim to reverse irreversible effects.

Version 0.4.16: verified pre-change revisions, content snapshots and SHA-256 hashes. Rollback requires expected_after_hash and restores content only. Content changes require the posts table to use InnoDB. Row locks protect the content check and update. Batch atomic means prevalidation only; successful operations remain committed if a later operation fails. WordPress hooks may trigger effects outside the database transaction: staging verification is required before live use. No token is generated by installing or activating this plugin.

Version 0.4.22: Generic Cloud executions can save a durable local claim before invocation and identifier-only success receipts afterward. Cloud retrieves successful recorded identifiers after response loss and independently verifies the saved resource. Claims use a separate database connection so provider transactions cannot roll them back. Identifier access expires after 30 days; daily cleanup erases expired payloads while retaining replay-prevention tombstones. Pending/failed/expired receipts never authorize automatic retries. Requires the matching Cloud execution path; older clients without execution IDs retain their previous behavior. This does not undo irreversible effects or provide a tamper-proof archive.

Version 0.4.23: Advertises and enforces a 128 KiB generic invocation input limit measured as UTF-8 JSON. Matching Cloud structured-document workflows can edit bounded JSON/JSON-string leaf values, preserve the remaining structure and use independent full-document readback. Compatible interfaces and owner authorization remain required. No universal proprietary builder or visual verification claim.

Version 0.4.24: Adds schema-declared homepage read/set abilities on WordPress 6.9+ and complete registered input schemas for the first-party campaign create/schedule API. Homepage changes accept only published page selections, an exact current source fingerprint and administrator authority. No generic option/permission write interface.

== Persistent private theme workspaces ==
Bridge 0.4.26 stores new private drafts in an owner-only directory beside the website document root instead of the operating-system temporary directory. For hosts without a writable parent, define WPAB_PRIVATE_DRAFT_DIR in wp-config.php to an existing or creatable absolute directory outside the WordPress and public document roots. Symlinked and public destinations are refused. Existing intact legacy temporary drafts migrate before the next authorized private file edit; the original copy is retained. Lost files cannot be reconstructed from metadata. Recovery cleanup remains a separate exact owner decision and does not complete or publish the original content request. No ongoing permission is granted by installing this update.

Version 0.4.27: clearer website connection and native-tool authorization setup. Existing authorization rules, tokens and execution engine are unchanged.

Version 0.4.28: bounded site-settings Abilities for exact owner-approved Cloud execution and independent selected-field readback when the WordPress Abilities API is available. Privileged generic REST blocking, administrator checks, source fingerprints and emergency stop remain enforced. Installation grants no new standing authority and does not require regenerating the connection token.

Version 0.4.29: shared capability schema integrity, bounded input and durable verification, scoped internal verification and registered Elementor document providers. Native permissions remain enforced.
