=== AutoRepair AI ===
Contributors: tetsu0321
Tags: site health, rollback, diagnostics, recovery, maintenance
Requires at least: 6.2
Requires PHP: 7.4
Tested up to: 7.1

Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Diagnose common WordPress failures, apply low-risk repairs, and create recoverable plugin updates.

== Description ==

AutoRepair AI is a safety-first WordPress recovery assistant.

Version 0.1.0 includes:

* A ten-point health scan for the front page, REST API, database, HTTPS, disk, filesystem, cron, maintenance mode, plugin updates, and recent fatal-error markers.
* A local explainable expert system that identifies common failure patterns without sending site data to an external AI service.
* Whitelisted repairs for object cache, permalink rules, update cache, the plugin health cron, and stale maintenance locks.
* Restore points before plugin updates when direct filesystem access is available.
* Manual rollback from a restore point.
* Optional automatic rollback only after a confirmed HTTP 5xx response.
* A capped local activity log.

The MVP intentionally does not change posts, users, theme settings, plugin settings, or the database schema.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
2. Activate AutoRepair AI.
3. Open AutoRepair AI in the WordPress admin menu.
4. Run the first health scan.
5. Create a manual restore point before enabling automatic rollback.

== Frequently Asked Questions ==

= Does the plugin send my site data to an AI provider? =

No. Version 0.1.0 uses a local rule-based expert system and makes only loopback health requests to the site's own Home and REST URLs.

= Will it disable plugins automatically? =

No. The MVP never disables a plugin. Automatic rollback restores only the plugin that was just updated and only after a confirmed front-page HTTP 5xx response.

= Is this a full backup product? =

No. Restore points contain plugin files only. Continue using a separate full-site database and file backup.

= Why was a restore point skipped? =

The plugin may exceed the configured size limit, or the host may require interactive FTP credentials. The update is not blocked when a restore point cannot be created.

== Screenshots ==

1. Site health score and AI assessment with suggested safe actions after a scan.

== Changelog ==

= 0.1.0 =
* Initial safety-first MVP.

== Upgrade Notice ==

= 0.1.0 =
Initial release.
