=== BOTERNITY Agent-Ready ===
Contributors: boternity
Tags: ai, chatgpt, seo, woocommerce, badge
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.3.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

See how AI agents (ChatGPT, Claude, Perplexity, shopping agents) read your site: a grade out of 100, the fixes that matter, and an optional badge.

== Description ==

AI assistants now read websites for their users: they answer questions, compare products and, more and more, buy. This plugin tells you how well they can do that on your site.

* **One click test** from Tools → AI agents check: can AI agents get into your site, understand it and act on it?
* **Grade A–F and score out of 100**, with the fixes that earn the most points (robots.txt rules per AI bot, readable text, structured data, entry points for agents).
* **WooCommerce stores** automatically get the **Shop check**: can an AI shopping agent find your products, understand price, stock and shipping, and reach checkout?
* **A clear report**: score gauge, points per scenario (get in / understand / act, or find / understand / buy), what to fix first with the points each fix earns, every check in detail.
* **Ready-made structured data** for WooCommerce product pages when it is missing (copy and paste).
* **Score history** and an optional **weekly re-test**, with a dashboard warning if your score drops.
* **Badge** in 3 styles (flat, rounded, large) and 2 color themes, with or without the score: block, shortcode `[boternity_badge style="large" theme="light"]`, widget, or automatic placement (footer or floating corner). Shown once you choose to list your site on the public leaderboard.
* **Address to test** setting, handy on a staging site.
* Dashboard widget with your grade at a glance.

The test is read-only: it reads your public pages like an AI agent would. It never fills a cart or makes a payment.

== External services ==

This plugin connects to the BOTERNITY service (https://boternity.com), which runs the test and serves the badge.

* **When:** only when an administrator clicks "Test my site" or "List my site on the public leaderboard" in Tools → AI agents check; once a week if the administrator turns on "Weekly re-test" (off by default); and when a visitor views a page where you placed the badge (the badge image is loaded from boternity.com).
* **What is sent:** your site's home page address (for example https://example.com/). The test then reads your public pages. No personal data, no user data, no content from your database is sent. The badge image request is a normal image request from the visitor's browser.
* **Terms:** https://boternity.com/terms — **Privacy:** https://boternity.com/privacy — the scoring method is public: https://boternity.com/agent-check/method

== Installation ==

1. Upload the plugin and activate it.
2. Go to Tools → AI agents check and click "Test my site".
3. Optional: list your site on the leaderboard, then add `[boternity_badge]` where you want the badge.

== Frequently Asked Questions ==

= Does it slow down my site? =
No. Nothing runs on your pages except the optional badge image.

= My site is on localhost =
The test reads your public site, so run it once the site is online.

= How do I leave the leaderboard? =
Add the line `boternity-leaderboard: no` to your robots.txt.

== Changelog ==

= 0.3.0 =
* "Why it matters" and "Why show the badge" explained in the plugin. Translated into French, Spanish, German, Portuguese (Brazil), Italian, Japanese and Chinese (simplified).
* Report and badge links always open a valid page.

= 0.2.0 =
* New report design (gauge, scenarios, fixes with points, all checks), history, weekly re-test with score-drop warning, dashboard widget.
* Badge styles and themes, block, automatic placement, "address to test" setting.

= 0.1.0 =
* First version: test, grade, fixes, badge, WooCommerce Shop check.
