Agentic Commerce Readiness Audit avatar

Agentic Commerce Readiness Audit

Pricing

from $0.00005 / actor start

Go to Apify Store
Agentic Commerce Readiness Audit

Agentic Commerce Readiness Audit

Rules-based storefront audit with mandatory UCP/ACP assessment, read-only browser evidence and optional merchant exports.

Pricing

from $0.00005 / actor start

Rating

0.0

(0)

Developer

Stallion S

Stallion S

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Features

Limited permissions

Share

A bounded, deterministic, read-only Apify Actor for one public HTTPS storefront per run. It combines HTTP evidence, optional guarded browser observations and viewport PNGs, mandatory UCP/ACP assessment, original scored checks, and three fixed evidence tasks. It uses no LLM and requires no merchant credentials.

This implementation is inspired by both documented reference Actors:

  • muhammadafzal/agentic-commerce-readiness-index: HTTP/protocol discovery, structured product/policy evidence, weighted categories, findings and a complete JSON report.
  • trovevault/ai-commerce-agent-readiness-auditor: browser/HTTP observations, bounded product/policy tasks, screenshots, per-task dataset rows and a run summary.

Both references hide their source. Their exact algorithms and the second reference's weights are unavailable. All check predicates, uncertainty arithmetic and task algorithms here are original, not reconstructed, score-compatible or certified by either reference. Neither paid reference Actor is a runtime dependency. See docs/reference-comparison.md and docs/scoring.md.

What is actually tested

Only public, robots-permitted HTTPS GET/HEAD observations. No clicks, forms, consent interactions, search submissions, login, account access, cart mutation, checkout/payment, inventory operations or advertised protocol service calls. interactionCount is always zero. Task steps describe recorded navigation, DOM inspection and fact extraction, never invented clicks.

Task IDCompletion predicate
product_price_availabilityAn observed PDP with matched product name, current price/currency and explicit availability; ambiguous price/stock fails the completion predicate.
delivery_informationReadable UK-applicable delivery text with a timing or charge statement. A link is insufficient.
returns_warranty_informationBoth returns window/conditions and warranty term/coverage, retaining qualifiers and event anchors. Only one produces partial evidence.

Outcomes are completed, partial, blocked, or error. Tasks are not general autonomous-shopping competence, legal advice, performance benchmarking or transaction certification. Custom shopping prose and unsupported task IDs are rejected.

Mandatory protocols

  • UCP: /.well-known/ucp is inspected early, with redirects disabled. Only 2026-04-08 has a verified bundled official JSON Schema 2020-12 dependency graph. Startup verifies hashes and compiles all local refs. Merchant validation targets #/$defs/business_profile, not the platform/business union. Pinned upstream commit: 9c9d6fce39ffa8bf7cb66309c378b79fb75b5382; provenance/hashes and Apache-2.0 attribution live under schemas/ucp/2026-04-08/. Semantic/key/HTTPS declaration checks are separate from schema validation. No merchant-advertised schemas or endpoints are fetched. Unsupported dated versions remain unassessed, not malformed. formal_valid means the business-profile schema validated, not full normative or operational certification.
  • ACP: always assesses /.well-known/acp.json and sanitized client connector declarations. That path is a reference-style heuristic, not a verified standard discovery requirement; 404 is path-specific evidence, not proof of absent ACP support. This release supports no verified official ACP static example contract schemas. Examples are unsupported/unassessed; valid JSON, a catalog export, or a connector declaration is not contract conformance. Operational verification is not_tested for both protocols.

Protocols run before storefront discovery/assets spend the shared request/body/time budget. Merchant declarations are sanitized before ACP receives them. Optional catalog/settings reads occur afterward and cannot consume remote probe budget.

Local release 0.3.1 / report schema 3.0.0

The 0.3 diagnostics remain non-scoring and reside in OUTPUT.acp.declarations.descriptorDiagnostics, OUTPUT.collection.pages[].diagnostics.openGraph and OUTPUT.collection.diagnostics.llmsTxt. ACP diagnostics reuse the already retrieved descriptor and allowlist protocol/version, API-base, REST/checkout, services, extension URLs and Cache-Control metadata. Open Graph assesses head-only title/type/image/url and recommended description without fetching images. /llms.txt receives at most one guarded, non-redirecting GET after core collection and optional imports; only structural counts are retained, never instructions or linked resources.

Local 0.3.1 corrects Open Graph extraction to use parsed head boundaries rather than the position of the written </head> alone. When a parser-located body-content start token implicitly closes the original head, only declarations before that boundary are assessed. Later metadata recovered into the head by the HTML parser is excluded, even when it appears before a written </head>; it does not supply missing fields or create duplicates/conflicts. Pre-boundary declarations remain assessable, including when a later <div><style>...</style></div> causes parser recovery. The diagnostic notice is: “The original head closed implicitly at a parser-located body-content start token; only declarations before that boundary were assessed.”

These diagnostics do not change finding lists, score weights or rubric versions. OnlineBusiness is now recognized as a public organization declaration and may resolve the existing two-point business-name finding; it does not prove ownership or legal identity. Stripe declared in UCP is not evidence of ACP implementation or verified tokenized payments.

Compatibility: local actor/package 0.3.1, Actor source version 0.3 and strict report schema 3.0.0; compact dataset/summary fields, scoring rubrics and checkpoint envelope version 1 are unchanged. Strict actor-version validation makes old actor 0.3.0 reports/checkpoints incompatible recovery inputs despite the unchanged report schema; old schema 2.0.0/1.0.0 inputs remain incompatible. Historical run records are not rewritten. The historical private cloud build numbered 0.3.1 contains actor/package 0.3.0: a cloud build number is not the embedded actor version. Local actor 0.3.1 has not been deployed; these edits imply no new cloud build or live audit.

See docs/bigcommerce-checklist-coverage.md for the boundary between sampled public evidence and working agentic checkout.

Retained 0.2 improvements

This release fixes false same-product conflicts caused by missing versus known complementary fields, and corrects the scope of “do not deliver outside the United Kingdom” without weakening actual UK-exclusion checks. Original JSON-LD assertion evidence remains retained. Genuine incompatible known values remain conflicts.

Breaking report change: OUTPUT.ucp.declarations.capabilities is now an object with cart, checkout, discount, fulfillment, and order booleans. The previous registry-summary array is retained as capabilityDeclarations. transports.rest and transports.mcp identify declared endpoints accepted by the static audit policy. paymentHandlers[].provider is stripe or null, and instrument is google_pay or null, using exact allowlisted aliases; arbitrary configuration is never copied. Dataset rows remain compact protocol-state projections; consume these detailed fields from OUTPUT.

Endpoint declarations are classified without DNS or service calls. Credentials, sensitive/nested query parameters, sensitive paths, fragments, custom ports, IP literals, local/private/reserved host names and reserved example domains receive no readiness credit. Sanitized display URLs remove credentials, queries and fragments. String classification does not prove that a hostname resolves to public addresses or is reachable, and the stricter audit policy is not itself a pinned normative UCP requirement.

Recognized P-256 public-key coordinates are imported offline using Node crypto. This checks valid public curve-point structure, not signature validity, key ownership, authentication, or operational checkout. A sanitized Nextbase declaration-shape fixture uses replacement public keys and omits live identifiers/configuration secrets. See docs/nextbase-expected-results.md for the distinction between discoverability and operational verification. Scoring weights and rubric versions remain unchanged; changed outcomes reflect corrected evidence predicates, not a new weighting scheme. The local 0.3.1 release retains these corrections. Its stricter report-version compatibility is documented above; old run records remain unchanged.

Scores and uncertainty

Primary agenticReadiness uses UCP 30, ACP 25, product/AI discovery 20, trust 15 and technical 10. Separate storefrontReadiness uses access 20, discovery 15, product completeness 30, consistency 15 and policies 20. Exact original checks/allocations are published in code and docs/scoring.md.

Unknown evidence keeps its weight: for applicable weight W, earned E and unresolved U, bounds are 100*E/W to 100*(E+U)/W, and coverage is 100*(W-U)/W. Exact named scores are null until all applicable checks resolve. Blocked/unavailable evidence is not automatically a zero or proven absence. Storefront results stay separate from unresolved ACP support. A grade requires the documented coverage/sample/access gates; small or ambiguous samples may have no grade.

Every task row repeats the same site-level scores. Never sum or average the repeated site score across task rows. RUN_SUMMARY.siteCount is 1, even with three rows.

Run input

In Apify Console, choose the one storefront and deterministic tasks, then start the private Actor after it has been built. Its Console-friendly .actor/input_schema.json is intentionally separate from .actor/runtime_input_schema.json: the latter enforces nested formats, task enums, finite caps and unknown-field rejection inside the Actor.

{
"startUrls": [{ "url": "https://nextbase.co.uk/", "label": "Nextbase UK" }],
"auditTasks": ["product_price_availability", "delivery_information", "returns_warranty_information"],
"renderMode": "auto",
"captureScreenshots": true,
"maxPagesPerSite": 8,
"maxProductPages": 2,
"maxBrowserPages": 2,
"maxNetworkRequests": 120,
"maxDurationSecs": 300
}

This is an input example, not a claim that Nextbase was audited successfully. Public HTTP evidence or a planning observation is not a verified Actor run/result.

Local development

Requires Node 22+, pinned dependencies and the Playwright version's matching Chromium with a usable browser sandbox. Missing/unavailable guarded rendering is reported as incomplete; do not bypass access restrictions or disable sandbox to obtain evidence.

npm ci
npm run typecheck
npm test
npm run build
apify validate-schema

The default test suite uses synthetic fixtures/injected transport and storage; it makes no real-site/cloud requests or authenticated operations. scripts/offline-main-smoke.mjs additionally drives actual dist/main.js with real local Apify storage in a fresh network-disabled container; its established mount is /home/myuser/offline-main-smoke.mjs beside dist/. It checks exactly eight synthetic destinations, no browser/service calls, diagnostic output, three rows and coherent finalized JSON/Markdown/checkpoint delivery. Its homepage/PDP fixtures put Open Graph declarations before a body-content <div><style>...</style></div> before the written </head>, and assert completeness plus the implicit-head-boundary notice. This is synthetic application verification, not a merchant audit. Actual Chromium tests are skipped unless AUDIT_RUN_BROWSER_TESTS=1 is explicitly set in an authorized, sandbox-capable environment; do not set that flag to work around a browser permission denial. Put local input into storage/key_value_stores/default/INPUT.json, use fresh storage, and run npm start only when actual public collection is intended. Local persistent storage is private working data and excluded from the Actor upload. HTTP-only mode (renderMode: "http", captureScreenshots: false) needs no browser launch. A runtime deadline bounds collection; final storage writes take additional time.

API and JavaScript client

The following documents how an operator can execute an already deployed private Actor; it does not deploy or publish anything. Use your authenticated Apify CLI/client and authorized run limits. Never put tokens in Actor input, source or optional evidence.

apify api POST /v2/actors/ACTOR_ID/runs --params '{"build":"SUCCESSFUL_BUILD_NUMBER","memory":1024,"timeout":300,"maxTotalChargeUsd":1}' --body '{"startUrls":[{"url":"https://nextbase.co.uk/"}],"maxPagesPerSite":8,"maxProductPages":2,"maxNetworkRequests":120}'
apify api GET /v2/actor-runs/RUN_ID
apify api GET /v2/datasets/DEFAULT_DATASET_ID/items
apify api GET /v2/key-value-stores/DEFAULT_STORE_ID/records/OUTPUT

Poll run status until terminal. SUCCEEDED means execution finished, not a passing readiness score. Check OUTPUT.outcome, separate score coverage/bounds, protocol states and evidence restrictions. Async requests return run metadata and default storage IDs; retrieve RUN_SUMMARY, REPORT.md and referenced PNG keys from that default store.

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('ACTOR_ID').start({
startUrls: [{ url: 'https://nextbase.co.uk/' }],
maxPagesPerSite: 8, maxProductPages: 2, maxNetworkRequests: 120,
}, { build: 'SUCCESSFUL_BUILD_NUMBER', memory: 1024, timeout: 300, maxTotalChargeUsd: 1 });
const terminal = await client.run(run.id).waitForFinish({ waitSecs: 360 });
if (!terminal || terminal.status !== 'SUCCEEDED') throw new Error('Inspect run status and partial checkpoint before interpreting results.');
const rows = await client.dataset(terminal.defaultDatasetId).listItems();
const output = await client.keyValueStore(terminal.defaultKeyValueStoreId).getRecord('OUTPUT');

Use SDK/API controls supported by your installed client; do not pass run-charge controls as audit input. A run spending cap does not guarantee a whole-project budget: builds, storage and other platform charges can be additional.

Optional BigCommerce/client evidence

Catalog imports accept exactly one explicit default key-value-store record key OR a scoped same-store public HTTPS CSV/JSON URL. URL imports run after mandatory protocols through the shared guarded HTTPS/DNS/redirect/robots/network-budget transport. Attachment references use default-store keys only. No named/foreign stores, local paths, archives or executable content. Public documentation URLs in declarations are interpreted as strings, not fetched. Imported evidence never supplies missing observed public fields or proves UCP/ACP support. Normalization is implemented, but automatic public/import price/stock comparison is not (comparisonStatus: not_compared).

Upload a bounded CSV/JSON record before starting and refer to it with catalogImport: {"key":"CATALOG","contentType":"text/csv"}. Use catalogColumnMap for explicit header mapping; no universal native BigCommerce export column set is assumed. Limits: 5 MiB per import, 500 product rows; up to three 5 MiB PNG/JPEG attachment references with structured declarations. MIME/signatures are checked. Attachment pixels are not copied/published, interpreted or OCR'd because redaction cannot be verified automatically.

Client checklist:

  1. Selected product/variant IDs, SKU, name, public URL, GTIN/MPN separately, regular/sale price, inventory-tracking mode and stock/availability.
  2. Export capture date, matching UK storefront/channel, currency, tax treatment and price-list context. Variant inheritance, converted currencies and price-list semantics may make comparisons noncomparable; absent fields stay unknown.
  3. UCP/ACP connector/app name/version, protocol version, enabled declaration, capture date and public documentation/profile references. Optional sanitized developer examples need exact schema metadata, but ACP schema validation is currently unsupported.
  4. No customer/order/payment records, credentials, cookies, authorization headers, private keys or unredacted sensitive settings. Inputs/imports are rejected or redacted; do not rely on automated redaction as permission to upload secrets.

See docs/client-evidence-checklist.md. Imports are optional and can be supplied in a later fresh run.

Limits and network scope

Defaults: 20 unique HTML attempts, 5 frozen product slots, at most 2 rendered pages, 5 sitemap files, 500 candidate URLs, 4 page redirects, 20-second request timeout, 300-second collection deadline, 3 MiB decoded text/response, 30 MiB total remote bodies, 200 network attempts and 40 browser requests/page. PNG/static assets have a 5 MiB cap. One primary page fetch is paced by at least 2 seconds or longer applicable robots delay; static resources have separate bounded pacing/concurrency (maximum four). Recommended hybrid memory: 1024 MiB.

Configured/consumed/exhausted budgets and truncation reasons are published. One shared guarded transport accounts for protocols, robots, redirects, sitemap documents, pages and browser assets. HTTP compression and gzip sitemap files share the decoded-body budget; decoder-chunk overshoot is separately observed, never admitted above that budget. The collector checks every redirect and connection-time DNS; protocols do not follow redirects. Public HTTPS only: no private/reserved/IP-literal destinations, credentials, custom ports or commerce-action routes/queries. Only the submitted host and verified same-store apex/www counterpart are storefront scope, using offline public-suffix classification. Verified same-page aliases are deduplicated without stripping query identity. Browser static assets must be explicitly discovered/scoped; analytics/ads/content APIs, downloads, service workers and WebSockets are blocked. Robots failures/challenges/429 stop affected collection; no browser retry, stealth/proxy/CAPTCHA bypass or automatic access-denial retries.

Robots matching is case-insensitive and merges applicable groups, with wildcard fallback and the longest applicable delay. This Actor conservatively also honors shorter product tokens contained in its chosen crawler name; that is audit policy, not an asserted RFC requirement. Shorter-name rules cannot relax the chosen token's exact restrictions. Pacing is checked at actual dispatch after DNS, including concurrent static-resource lanes.

Outputs and interruption semantics

All default storage writes are awaited:

  • Dataset: one strict, bounded row/site/task with original schema/rubric versions, shared scores/bounds, protocol summaries, actual steps, zero interactions, evidence/PNG references and report keys. Console has summary and evidence views.
  • OUTPUT: complete single-site JSON report, checks/tasks/protocol evidence, samples, imports, budgets and limitations. No raw HTML, cookies or private key material.
  • RUN_SUMMARY: one site, task outcome counts, separately named score intervals, imported provenance, report links and explicit finalization/delivery status.
  • REPORT.md: escaped readable findings, verified-failure actions and unknown-evidence follow-ups.
  • SCREENSHOT-*: bounded generated PNG records; appearance only.
  • AUDIT_CHECKPOINT: partial report, stage, audit identity, stored PNG keys and delivery intent.

Publication retains at most 2,000 entries per array and 2,000 steps per task, with additional 4 MiB task-step and 512 KiB repeated-citation/limitation budgets. Dataset rows are validated against an 8 MiB cap before append. Dependent evidence/PNG references and published step counts remain coherent. Truncation discloses original counts and makes an otherwise complete audit partial; task outcomes and scores still use the original observations, not the retained publication sample.

persistState, migration/abort and process interruption preserve completed HTTP observations and known persisted PNG keys where storage/time permit. Lifecycle writes share restoration initialization; stored reports/checkpoints are strictly validated and accepted recovered evidence is sanitized again. Interruption stops admission of late evidence and cancels the real HTTP broker's pending work; arbitrary injected noncooperative producers cannot be forcibly stopped. Finalization need not wait for a stalled collector, and status updates never block durability. Collector internal selection/browser state may be incomplete; this is not a fully resumable crawl. On restoration, a compatible snapshot may be finalized as partial without recrawling. A single process shares its finalization promise. Dataset append and checkpoint writes are not atomic: pending delivery is marked inflight before append; interrupted inflight delivery or a lost append acknowledgement is ambiguous, an explicit manual-reconciliation summary is written where possible, and automatic replay is refused. Inspect/reconcile dataset auditId/taskId manually. No cross-process exactly-once or duplicate-prevention guarantee is made. Abrupt termination, in-flight requests and storage failures can prevent the latest evidence from being preserved; reports/checkpoints explicitly expose partial status.

Known release limitations

Collection currently uses bounded serial in-memory scheduling, not the initially proposed Crawlee BasicCrawler/RequestQueue. This is an implementation deviation: there is no durable crawl queue or crawl-resumption guarantee. Apify storage/lifecycle and the shared guarded transport are used; the installed Crawlee dependency does not establish that its scheduler is in use.

ACP official example-contract validation and all operational transaction verification are unsupported. General shopping, whole-catalog coverage, legal certification and real performance benchmarking are outside scope. Missing sandbox/browser support produces incomplete requested hybrid evidence, not silent success. Synthetic test outcomes do not establish any real merchant's readiness; deployment, private visibility and cloud results must be verified independently by an authorized operator.