{"id":295150,"date":"2026-04-11T06:44:29","date_gmt":"2026-04-11T06:44:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/store-ai-health-monitor-recovery-engine\/"},"modified":"2026-04-11T06:44:02","modified_gmt":"2026-04-11T06:44:02","slug":"shoivehossain-store-ai-health-monitor-recovery-engine","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/shoivehossain-store-ai-health-monitor-recovery-engine\/","author":23473127,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.2","stable_tag":"trunk","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"shoivehossain Store AI Health Monitor & Recovery Engine","header_author":"Shoive Hossain","header_description":"AI-powered WooCommerce store health monitoring, automated diagnostics, and recovery engine. Lightweight, conflict-free, and WordPress.org compliant.","assets_banners_color":"9db2bd","last_updated":"2026-04-11 06:44:02","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.linkedin.com\/in\/ronaninstain\/","header_plugin_uri":"","header_author_uri":"https:\/\/www.linkedin.com\/in\/ronaninstain\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":222,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"shoivehossain","date":"2026-04-11 08:06:02"}},"upgrade_notice":{"1.0.2":"<p>Minor update \u2014 no upgrade required.<\/p>","1.0.1":"<p>Minor update \u2014 no upgrade required.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3503777,"resolution":"128x128","location":"assets","locale":"","width":1024,"height":1024},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3503777,"resolution":"256x256","location":"assets","locale":"","width":1024,"height":1024}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3503777,"resolution":"1544x500","location":"assets","locale":"","width":1824,"height":576},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3503777,"resolution":"772x250","location":"assets","locale":"","width":1824,"height":576}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3503777,"resolution":"1","location":"assets","locale":"","width":1709,"height":685},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3503777,"resolution":"2","location":"assets","locale":"","width":1717,"height":914}},"screenshots":{"1":"<strong>Main Dashboard<\/strong> \u2014 Health score ring, KPI counters, 14-day sparkline, and per-check status cards.","2":"<strong>AI Insights<\/strong> \u2014 One-click store analysis and AI chat assistant.","3":"<strong>Recovery Log<\/strong> \u2014 Audit trail of automated recovery actions.","4":"<strong>Alerts<\/strong> \u2014 Active alerts with per-alert dismiss.","5":"<strong>Settings<\/strong> \u2014 Configure API key, scan interval, notifications, and enabled checks."}},"plugin_section":[],"plugin_tags":[2353,259936,259934,259935,286],"plugin_category":[45],"plugin_contributors":[259937],"plugin_business_model":[],"class_list":["post-295150","plugin","type-plugin","status-publish","hentry","plugin_tags-ai","plugin_tags-automated-recovery","plugin_tags-health-monitor","plugin_tags-store-diagnostics","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-shoivehossain","plugin_committers-shoivehossain"],"banners":{"banner":"https:\/\/ps.w.org\/shoivehossain-store-ai-health-monitor-recovery-engine\/assets\/banner-772x250.png?rev=3503777","banner_2x":"https:\/\/ps.w.org\/shoivehossain-store-ai-health-monitor-recovery-engine\/assets\/banner-1544x500.png?rev=3503777","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/shoivehossain-store-ai-health-monitor-recovery-engine\/assets\/icon-128x128.png?rev=3503777","icon_2x":"https:\/\/ps.w.org\/shoivehossain-store-ai-health-monitor-recovery-engine\/assets\/icon-256x256.png?rev=3503777","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/shoivehossain-store-ai-health-monitor-recovery-engine\/assets\/screenshot-1.png?rev=3503777","caption":"<strong>Main Dashboard<\/strong> \u2014 Health score ring, KPI counters, 14-day sparkline, and per-check status cards."},{"src":"https:\/\/ps.w.org\/shoivehossain-store-ai-health-monitor-recovery-engine\/assets\/screenshot-2.png?rev=3503777","caption":"<strong>AI Insights<\/strong> \u2014 One-click store analysis and AI chat assistant."}],"raw_content":"<!--section=description-->\n<p><strong>shoivehossain Store AI Health Monitor &amp; Recovery Engine<\/strong> continuously watches your WooCommerce store for issues, automatically recovers from common problems, and uses Claude AI to provide intelligent diagnostics and actionable recommendations.<\/p>\n\n<p>Zero front-end performance impact \u2014 all code runs exclusively in wp-admin and WP-Cron. Assets are enqueued only on this plugin's own pages.<\/p>\n\n<h4>Key Features<\/h4>\n\n<p><strong>Health Monitoring<\/strong>\n* 11 built-in health checks covering orders, inventory, payments, configuration, and database performance\n* Real-time health score (0\u2013100) with 14-day trend sparkline\n* Per-check status cards with category tagging and time stamps<\/p>\n\n<p><strong>Automated Recovery Engine<\/strong>\n* Safely removes orphaned order items (no matching parent order)\n* Cleans expired WooCommerce sessions\n* Removes orphaned postmeta and stale transients\n* Resets active webhook failure counters\n* Full audit log of every action taken<\/p>\n\n<p><strong>AI-Powered Analysis (requires Anthropic API key)<\/strong>\n* One-click store analysis: executive summary, top-3 priority actions, root-cause patterns, estimated revenue impact\n* AI Chat assistant with full health context\n* Uses Anthropic Claude API \u2014 data sent only when you explicitly trigger analysis<\/p>\n\n<p><strong>Alerts<\/strong>\n* Dashboard notification banner for active issues\n* Email digest (throttled \u2014 max 1 per hour) for new warnings and critical issues\n* Auto-dismiss when the underlying check returns to healthy\n* Manual per-alert dismiss<\/p>\n\n<p><strong>Configuration<\/strong>\n* Enable\/disable individual checks\n* Scan frequency: hourly, every 6 hours, every 12 hours, daily\n* Configurable log retention (7\u2013365 days)\n* Separate alert email address<\/p>\n\n<h4>Health Checks<\/h4>\n\n<ul>\n<li><strong>Orphaned Order Items<\/strong> \u2014 order item rows with no parent order<\/li>\n<li><strong>Stock Sync<\/strong> \u2014 products with stock management enabled but no quantity set<\/li>\n<li><strong>Failed Payments<\/strong> \u2014 failed orders in the last 7 days<\/li>\n<li><strong>Abandoned Carts<\/strong> \u2014 expired sessions still holding cart data<\/li>\n<li><strong>Duplicate SKUs<\/strong> \u2014 same SKU assigned to multiple products\/variations<\/li>\n<li><strong>Tax Configuration<\/strong> \u2014 disabled tax calculation or missing rates<\/li>\n<li><strong>Shipping Zones<\/strong> \u2014 zones with no shipping methods assigned<\/li>\n<li><strong>Coupon Expiry<\/strong> \u2014 coupons expiring within 3 days<\/li>\n<li><strong>Database Performance<\/strong> \u2014 postmeta bloat, session table size, autoloaded options<\/li>\n<li><strong>Webhook Failures<\/strong> \u2014 webhooks with recorded delivery failures<\/li>\n<li><strong>Payment Gateway Status<\/strong> \u2014 verifies at least one gateway is active<\/li>\n<\/ul>\n\n<h4>WooCommerce Compatibility<\/h4>\n\n<ul>\n<li><strong>HPOS (High-Performance Order Storage)<\/strong>: Fully compatible. Order queries use <code>wc_get_orders()<\/code> and fall back gracefully between <code>wc_orders<\/code> and <code>wp_posts<\/code> tables.<\/li>\n<li><strong>Cart\/Checkout Blocks<\/strong>: Declares full block checkout compatibility.<\/li>\n<li><strong>WooCommerce Subscriptions, Bookings, Memberships, Points &amp; Rewards<\/strong>: Read-only queries \u2014 this plugin never modifies WooCommerce product, order, or subscription data.<\/li>\n<\/ul>\n\n<h4>Theme Compatibility<\/h4>\n\n<p>This plugin loads <strong>zero CSS or JavaScript on the front-end<\/strong> and on any admin page other than its own screens. It is fully compatible with:<\/p>\n\n<ul>\n<li>Astra, Astra Pro<\/li>\n<li>OceanWP<\/li>\n<li>GeneratePress<\/li>\n<li>Divi, Divi Builder<\/li>\n<li>Avada<\/li>\n<li>WPLMS (eLearning LMS theme)<\/li>\n<li>LearnDash (plugin + LMS themes)<\/li>\n<li>Elementor, Elementor Pro<\/li>\n<li>WPBakery Page Builder<\/li>\n<li>SeedProd, Beaver Builder<\/li>\n<li>Any other WordPress theme or page builder<\/li>\n<\/ul>\n\n<h4>Plugin Compatibility<\/h4>\n\n<p>The plugin uses prefixed hooks (<code>shoistai_<\/code>), prefixed option keys (<code>shoistai_<\/code>), prefixed table names (<code>shoistai_<\/code>), and a namespaced PHP codebase (<code>SHOISTAI\\<\/code>) to prevent conflicts with any other plugin, including:<\/p>\n\n<ul>\n<li>WooCommerce extensions (Stripe, PayPal, Klarna, etc.)<\/li>\n<li>WooCommerce Payments<\/li>\n<li>YITH WooCommerce plugins<\/li>\n<li>WooCommerce Google Analytics<\/li>\n<li>WPForms, Gravity Forms, Contact Form 7<\/li>\n<li>Rank Math, Yoast SEO<\/li>\n<li>WP Rocket, W3 Total Cache, LiteSpeed Cache<\/li>\n<li>Wordfence, Sucuri<\/li>\n<li>MonsterInsights, PixelYourSite<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<p>This plugin does <strong>not<\/strong> collect or transmit any personal data from your WordPress site. The optional AI analysis feature sends anonymised store health metric summaries to the Anthropic API only when triggered by an administrator. No customer names, emails, addresses, or order content are included.<\/p>\n\n<p><strong>Third-party service (Anthropic API):<\/strong>\nAI features make requests to <code>https:\/\/api.anthropic.com\/v1\/messages<\/code>.\n* This only happens when an administrator explicitly clicks \"Generate Analysis\" or sends a chat message.\n* No data is sent automatically, on page load, or without user intent.\n* Anthropic Privacy Policy: https:\/\/www.anthropic.com\/privacy\n* Anthropic Terms of Service: https:\/\/www.anthropic.com\/terms<\/p>\n\n<h3>Support<\/h3>\n\n<p>For questions, bug reports, or feature requests, please contact:<\/p>\n\n<ul>\n<li><strong>Email:<\/strong> shoivehossain100@gmail.com<\/li>\n<li><strong>LinkedIn:<\/strong> https:\/\/www.linkedin.com\/in\/ronaninstain\/<\/li>\n<\/ul>\n\n<p>When contacting support, please include your WordPress version, WooCommerce version, and a description of the issue.<\/p>\n\n<!--section=installation-->\n<h4>Automatic<\/h4>\n\n<ol>\n<li>Log in to your WordPress dashboard.<\/li>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Search for \"shoivehossain Store AI Health Monitor\".<\/li>\n<li>Click <strong>Install Now<\/strong>, then <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Manual<\/h4>\n\n<ol>\n<li>Download the plugin ZIP file.<\/li>\n<li>Go to <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>.<\/li>\n<li>Choose the ZIP file and click <strong>Install Now<\/strong>.<\/li>\n<li>Click <strong>Activate Plugin<\/strong>.<\/li>\n<\/ol>\n\n<h4>After Activation<\/h4>\n\n<ol>\n<li>Navigate to <strong>Store Health<\/strong> in the WordPress admin sidebar.<\/li>\n<li>Click <strong>Run Scan Now<\/strong> to perform your first health check.<\/li>\n<li><em>(Optional)<\/em> Go to <strong>Store Health \u2192 Settings<\/strong> and add your Anthropic API key to enable AI features.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20anthropic%20api%20key%3F\"><h3>Do I need an Anthropic API key?<\/h3><\/dt>\n<dd><p>No. All health checks, the automated Recovery Engine, dashboard, alerts, and email notifications work without any API key. The key is only required for the AI Analysis and AI Chat features.<\/p><\/dd>\n<dt id=\"how%20do%20i%20get%20an%20anthropic%20api%20key%3F\"><h3>How do I get an Anthropic API key?<\/h3><\/dt>\n<dd><p>Visit <a href=\"https:\/\/console.anthropic.com\">console.anthropic.com<\/a>, create an account, and generate an API key under API Keys.<\/p><\/dd>\n<dt id=\"will%20this%20plugin%20slow%20down%20my%20site%3F\"><h3>Will this plugin slow down my site?<\/h3><\/dt>\n<dd><p>No. The plugin is designed to have zero impact on front-end performance:\n* No CSS, JS, or PHP runs on your front-end pages.\n* Admin assets are enqueued <strong>only<\/strong> on this plugin's own pages.\n* Health checks run in WP-Cron (background), not on page load.\n* Results are cached in transients and the custom tables.<\/p><\/dd>\n<dt id=\"what%20does%20the%20recovery%20engine%20actually%20change%3F\"><h3>What does the Recovery Engine actually change?<\/h3><\/dt>\n<dd><p>The Recovery Engine only performs safe, targeted cleanups:\n1. Deletes order item rows whose parent order no longer exists.\n2. Deletes expired WooCommerce sessions (older than 2 hours past expiry).\n3. Removes postmeta rows for deleted posts and expired WordPress transients.\n4. Resets the <code>failure_count<\/code> column on active webhooks.<\/p>\n\n<p>It never modifies product data, order content, customer records, or WooCommerce settings.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20hpos%20%28woocommerce%20high-performance%20order%20storage%29%3F\"><h3>Is it compatible with HPOS (WooCommerce High-Performance Order Storage)?<\/h3><\/dt>\n<dd><p>Yes. All order queries use <code>wc_get_orders()<\/code> when WooCommerce's public API is available, and the orphaned-order-item check auto-detects whether to query <code>wc_orders<\/code> or <code>wp_posts<\/code>.<\/p><\/dd>\n<dt id=\"will%20it%20conflict%20with%20my%20caching%20plugin%3F\"><h3>Will it conflict with my caching plugin?<\/h3><\/dt>\n<dd><p>No. The plugin uses standard WordPress and WooCommerce data APIs. It registers its own WP-Cron hook and uses its own DB tables \u2014 it does not interfere with any caching layer.<\/p><\/dd>\n<dt id=\"can%20i%20disable%20specific%20health%20checks%3F\"><h3>Can I disable specific health checks?<\/h3><\/dt>\n<dd><p>Yes. Go to <strong>Store Health \u2192 Settings \u2192 Enabled Checks<\/strong> and toggle any check on or off.<\/p><\/dd>\n<dt id=\"where%20is%20data%20stored%3F\"><h3>Where is data stored?<\/h3><\/dt>\n<dd><p>All data is stored in three custom WordPress database tables:\n* <code>{prefix}shoistai_health_logs<\/code> \u2014 per-check scan results\n* <code>{prefix}shoistai_recovery_log<\/code> \u2014 recovery action audit log\n* <code>{prefix}shoistai_alerts<\/code> \u2014 active alerts<\/p>\n\n<p>Data is automatically cleaned up based on the configured retention period. All tables are removed when the plugin is deleted.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20on%20wordpress%20multisite%3F\"><h3>Does the plugin work on WordPress Multisite?<\/h3><\/dt>\n<dd><p>This version is designed for single sites. Multisite support is planned for a future release.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Addressed WordPress.org review feedback regarding plugin prefixes.<\/li>\n<li>Updated Chart.js to the latest stable release (v4.4.8).<\/li>\n<li>Pro options link configured for store.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Bundled dashboard charting asset to avoid external CDN usage.<\/li>\n<li>Fixed Settings persistence edge cases and coupon expiry check (no feature scope changes).<\/li>\n<li>Initial release.<\/li>\n<li>11 health checks covering orders, inventory, payments, configuration, and DB performance.<\/li>\n<li>Automated Recovery Engine with 4 safe recovery actions.<\/li>\n<li>AI Analysis and AI Chat powered by Anthropic Claude.<\/li>\n<li>Real-time dashboard with health score ring and sparkline.<\/li>\n<li>Email digest alerts (throttled, deduped).<\/li>\n<li>HPOS and Cart\/Checkout Blocks compatibility declarations.<\/li>\n<li>Full PHP 7.4\u20138.3 support.<\/li>\n<li>WordPress 5.8\u20136.7 tested.<\/li>\n<li>WooCommerce 6.0\u20139.5 tested.<\/li>\n<\/ul>","raw_excerpt":"AI-powered WooCommerce store health monitoring with automated recovery, real-time diagnostics, and Claude AI insights.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/295150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=295150"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shoivehossain"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=295150"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=295150"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=295150"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=295150"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=295150"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=295150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}