Skip to content

[AR-20261028-1] Publish an ARD catalog at /.well-known/ard.json - #963

Merged
vikvang merged 3 commits into
mainfrom
factory/ar-20261028-1-docs-ard
Oct 29, 2026
Merged

vikvang merged 3 commits into
mainfrom
factory/ar-20261028-1-docs-ard

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Publishes an Agentic Resource Discovery (ARD) catalog at https://docs.warp.dev/.well-known/ard.json, listing the resources docs.warp.dev already hosts for agents:

  • the documentation MCP server manifest (/.well-known/mcp.json)
  • the Agent API OpenAPI description (/openapi.json, OpenAPI 3.2)
  • the LLM text index (/llms.txt)

The first two use the same urn:air:warp.dev:* identifiers as the catalog on www.warp.dev, so clients that read both can de-duplicate them. A second, separable commit (6994e5b) changes the mcp.json description to match www.warp.dev's wording. The old wording still said "the agentic development environment and Oz".

A small node --test check (npm run test:agent-discovery, added to CI before the build) validates the entry shape. It checks HTTPS URLs, unique identifiers, and 2–5 example queries, confirms that the OpenAPI media-type version matches developers/agent-api-openapi.yaml, and fails on retired Oz wording in both manifests.

Why (AR-20261028-1, weekly AEO autoresearch)

  • Metric: ora.ai agent-experience score for docs.warp.dev. Production reads 68/C (contract 1.37, 2026-10-28T16:03Z), with ard-catalog (required tier) at 0/1. www.warp.dev passes the same check with its catalog.
  • Prediction: ard-catalog goes from 0/1 to 1/1 and canonical from 68 to about 70 on the first ora scan after deploy. If ard-catalog still fails, the prediction is falsified.
  • Scope: this moves ora's score. I'm not claiming any effect on ChatGPT, AI Mode or Perplexity citations. ARD is an open spec, and the catalog only points at files docs already serves.
  • Second check of the gap: with redirects followed, curl -sI https://docs.warp.dev/.well-known/ard.json returns 404. Static files in public/.well-known/ already get Access-Control-Allow-Origin: *, as mcp.json does.

Verification

  • npm ci, npm run typecheck: pass.
  • npm run test:agent-discovery: 5/5 pass. Changing the media-type version to 3.0 makes it fail, as intended.
  • npm run build: 401 pages built, and .vercel/output/static/.well-known/ard.json is byte-identical to the source. test:heading-vars, test:heading-tocs, test:tracking-redirect, test:tracking-routes and test:homepage-json-ld pass.
  • Preview checks (ARD served as JSON, ora compared with a control preview) are posted in a comment below.

No page content changes.

List the docs MCP server manifest, the Warp Agent API OpenAPI spec, and
the docs llms.txt in an Agentic Resource Discovery catalog, mirroring the
catalog on www.warp.dev. Identifiers match www for shared resources.

Add test:agent-discovery (node --test) that validates entry shape,
checks the OpenAPI media-type version against the spec, and blocks
retired Oz wording. Run it in CI before the build.
Drop the retired Oz name and the agentic development environment framing
from /.well-known/mcp.json, which the ARD catalog now references, and
extend the Oz wording check to cover it.
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 28, 2026 4:27pm UTC

Request Review

@cla-bot cla-bot Bot added the cla-signed label Oct 28, 2026
@warp-agent-staging warp-agent-staging Bot added the factory:aeo-factory AEO factory experiments label Oct 28, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

Gate summary (autoresearch AR-20261028-1)

  • Review fixes (9d2fdef): the MCP entry now uses application/mcp-server-card+json, since ARD v0.91 deprecated application/mcp-server+json (ADR-0008). The OpenAPI entry now uses the registered application/openapi+json;version=3.2 instead of the deprecated application/vnd.oai.openapi+json alias. The test no longer insists that entries is the only root key. npm run test:agent-discovery passes 5/5.
  • Preview serving: /.well-known/ard.json returns 200 with application/json; charset=utf-8 and Access-Control-Allow-Origin: *. All three entry URLs resolve on production.
  • ora: compared this preview with a control preview built from recent main (docs#957's branch), using a forced fresh scan at 16:28Z on contract 1.37:
    • canonical 58 → 62, required-tier 59.2% → 60.5%
    • ard-catalog 0/1 → 1/1, ard-entries-valid n/a → 2/2
    • ard-trust-manifest goes from n/a to fail at 0/2 on both sides, so no points are lost; www.warp.dev fails it the same way.
    • Preview hostnames score below production for host-specific reasons such as noindex, so only the difference between the two previews means anything.
  • CI: green on the previous head; re-running on 9d2fdef.

Prediction: docs.warp.dev ora ard-catalog passes and canonical rises from 68 to about 70 on the first production scan after merge.

Posted by a Warp agent

@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review October 28, 2026 16:29
@warp-agent-staging
warp-agent-staging Bot requested a review from vikvang October 28, 2026 16:29
@vikvang
vikvang requested a review from hongyi-chen October 29, 2026 18:57
@vikvang
vikvang merged commit e226b16 into main Oct 29, 2026
17 checks passed
@vikvang
vikvang deleted the factory/ar-20261028-1-docs-ard branch October 29, 2026 19:16

This branch was successfully deployed

1 active deployment
Preview — 9d2fdef4 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:aeo-factory AEO factory experiments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants