Search by

qoliber / agent-readiness-discoverability

qoliber

Qoliber Agent Readiness. Audit robots.txt, sitemaps, HTTP Link discovery, and DNS-AID.

Package info

github.com/qoliber/agent-readiness-discoverability

Documentation

Type:magento2-module

pkg:composer/qoliber/agent-readiness-discoverability

Statistics

Installs: 1

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-11-30 11:51 UTC

This package is auto-updated.

Last update: 2026-11-30 12:04:00 UTC


README

License: MIT Packagist

Adds the Discoverability group to the audit: whether agents can find your pages and discovery documents. Its results appear in Read the report.

Installation

composer require qoliber/agent-readiness-discoverability
bin/magento setup:upgrade

This package adds one group of checks to qoliber/agent-readiness-audit, which Composer installs with it. To install all five check groups at once, require qoliber/ai-readiness-audit instead.

Configuration

This module has no configuration fields. Who can run audits is set by a role permission: see Configuration.

Checks

Check Core or optional What it looks for
robots.txt Core A UTF-8 /robots.txt with at least one valid User-agent line, served as text/plain
Sitemap Core An XML sitemap or sitemap index, plain or gzip, with an HTTP or HTTPS location. It passes when robots.txt declares it, and gives a warning when only /sitemap.xml exists. Large sitemaps are read from a 256 KB sample
Link headers Core A Link header on the storefront with a discovery relation such as api-catalog, service-desc, service-doc, describedby or sitemap
DNS for AI Discovery (DNS-AID) Core A DNSSEC-signed SVCB or HTTPS record for _index, _a2a or _mcp under _agents. plus the store's host, naming an agent endpoint, that is not a wildcard answer. Looked up through Cloudflare's public DNS resolver

Verified by tests

  • Unit tests: 40 tests in 3 classes. VerdictMatrixTest proves every check of this module three ways: it passes on a storefront that publishes what it looks for, needs attention on one that conclusively does not or serves an invalid document, and stays unverified when the storefront answers 503, 429 or 403 or times out.
  • Playwright: Test/Playwright/verdicts.json declares what each check reports on the six test storefronts of the audit package's suite, which runs every check through Magento's scanner and asserts each result exactly; the admin report tests confirm each result row. DNS for AI Discovery needs public DNS, which the test storefronts lack, so there it is expected to be Unverified; the unit tests prove its pass and fail.
  • Real Magento storefront: the integration suite of qoliber/ai-readiness-suite audits a Magento storefront running Qoliber's storefront modules (Agent Readiness with its Markdown and UCP companions, Markdown Content, UCP and UCP MCP), with robots.txt rules set in Magento's own configuration, and asserts that robots.txt (from Magento's robots.txt) and Link headers (from Agent Readiness) pass. With all of them enabled the storefront reaches Verified level 4, Agent-Integrated.

Documentation

The full documentation lives in qoliber/ai-readiness-audit: installation, configuration, usage, troubleshooting and the developer guide.

Contributing

Issues and pull requests are welcome at github.com/qoliber/agent-readiness-discoverability. See CONTRIBUTING.md; AGENTS.md has the same guidance for AI coding agents.

Security

Report vulnerabilities privately as described in SECURITY.md, never in a public issue.

License

MIT © Qoliber. Commercial support and custom work: qoliber.com.