Search by

qoliber / agent-readiness-audit

qoliber

Qoliber Agent Readiness Audit. Audit a store view's public storefront for AI agent readiness from Magento Admin.

Package info

github.com/qoliber/agent-readiness-audit

Documentation

Type:magento2-module

pkg:composer/qoliber/agent-readiness-audit

Statistics

Installs: 1

Dependents: 7

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:03:42 UTC


README

License: MIT Packagist

Adds the AI Readiness screen to Magento Admin and runs the checks that the check packages register. It lists the active store views, runs every installed check or a custom selection against the selected store view's public storefront, works out the readiness score and level, and keeps each report for one hour behind a report link. It also owns the probe transport the checks use: requests stay on the store view's public origin, follow same-origin redirects only, and share a 30-second budget. See Run an audit and Read the report.

Installation

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

On its own the audit has no checks to run: install the check packages too, or all of them at once with qoliber/ai-readiness-audit.

Configuration

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

Admin interface

  • System → Tools → AI Readiness: the audit screen and its reports.
  • Permission: AI Readiness Audit (Qoliber_AgentReadinessAudit::scan) under System → Tools.

Verified by tests

  • Unit tests: 71 tests in 11 classes. They cover the scanner and the provider contract, the readiness score, report storage, the request policy, the shared Link header parser, and the time budget: a name server that never answers, a response that never comes and a browser check that stalls all end within the budget.
  • Playwright: the package's own suite (Test/Playwright, 32 tests) covers the audit form and stylesheet, a full audit with score, level and totals, Customize checks, Audit details, the report link, results that need attention or warn, the validation and expired-report messages, a report too large to save, and access for signed-out visitors and administrators without the permission, including scan requests without the permission or the admin form key. It runs the scanner against six test storefronts, among them one that turns the audit away with 503, 429 and 403 and one slower than the audit allows, which must still end within 30 seconds with a complete report.
  • Production mode: the suite runs against compiled code and deployed static files, the stylesheet compiles with the LESS compiler setup:static-content:deploy uses for both admin themes, and an audit of a storefront that is not public is refused before a single request is sent.
  • 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 every check those modules implement and the readiness level, Verified level 4, Agent-Integrated.

Documentation

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

Extending

Add your own checks with Qoliber\AgentReadinessAudit\Api\CheckGroupInterface, registered with the scanner in di.xml; see Add your own checks. Every check follows one verdict rule.

Tests

Test/Unit runs with Magento's unit test bootstrap. Test/Playwright is the acceptance suite, for a test installation only:

cd vendor/qoliber/agent-readiness-audit/Test/Playwright
npm ci && npx playwright install chromium
AUDIT_QA_DATABASE=<your test database name> npx playwright test

See Tests for what it needs and does.

Contributing

Issues and pull requests are welcome at github.com/qoliber/agent-readiness-audit. 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.