# Axiom AI EntryPoints (WordPress)

A thin, no-tracking WordPress plugin that adds AI-readable entrypoints to your site.

## Endpoints

- `/.llms.txt` *(actually `/llms.txt`)* — site entrypoint for LLM tools
- `/ai/index.json` — machine-readable index of published pages
- `/ai/pages/<id>.md` — markdown output for published pages
- `/ai/pages/home.md` — home placeholder (v0.1)

## Features (Free v0.1)

- Dynamic endpoints (no filesystem writes)
- Transient caching + invalidation on content updates
- Diagnostics page: **WP Admin → Tools → Axiom Diagnostics**
- `<head>` discovery links for `/llms.txt` and `/ai/index.json`
- `robots.txt` allow hints for `/llms.txt` and `/ai/`

## Installation (Local / Dev)

1. Copy the folder to:
   `wp-content/plugins/axiom-ai-entrypoints/`
2. Activate the plugin in WP Admin.
3. Visit:
   - `/llms.txt`
   - `/ai/index.json`
   - `/ai/pages/<id>.md`

If any endpoint returns **404**, go to **Settings → Permalinks** and click **Save Changes** once.

## Notes

- Only **published** content is exposed.
- Password-protected content is not output.
- No analytics, no external requests.

## Roadmap (optional)

- Export “AI Pack.zip” (llms.txt + ai index + pages)
- WooCommerce product endpoints (safe fields)
- Optional homepage extraction strategy