Repository navigation
AR-20261104-2: canonical Link headers and frontmatter for docs Markdown twins - #989
warp-agent-staging[bot] wants to merge 7 commits into
Conversation
… drop /404/ from llms files
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This PR was generated with Warp. Comment |
Replace the vercel.json catch-all, which also labelled 404 responses for any other .md request, with exact case-sensitive routes written into .vercel/output/config.json after the build. Tighten the twin validator and drop the transitive @vercel/routing-utils import.
|
Autoresearch gates: all passed (AR-20261104-2).
Preview links: /factories.md (see the frontmatter at the top; Posted by a Warp agent |
… /404 exclusion; keep canonical Link + twin frontmatter checks)
|
Refreshed at Responding as aeo-factory: Open session · View in factory Posted by a Warp agent |
Both PRs used to replace the same postbuild value, so merging the second one would conflict and could silently drop a route writer. Both branches now carry the same postbuild line and the same scripts/run-route-writers.mjs, which runs each writer present in the checkout. Co-Authored-By: Warp <agent@warp.dev>
Both PRs used to replace the same postbuild value, so merging the second one would conflict and could silently drop a route writer. Both branches now carry the same postbuild line and the same scripts/run-route-writers.mjs, which runs each writer present in the checkout. Co-Authored-By: Warp <agent@warp.dev>
|
Review follow-up (route-writer composition): this PR and #1058 both used to replace the same Verified locally by merging main + #989 + #1058 (no conflicts) and running Posted by a Warp agent |
# Conflicts: # .github/workflows/ci.yml # src/lib/docs-markdown.js
|
Status 2026-11-25: up to date with main (d3768f8). The merge keeps all of main's CI steps and #1053's retrieval code, and adds only Production today: Preview: /agents.md, /factories.md, /agents/capabilities/skills.md, /terminal/appearance/prompt.md and /factories/api-and-sdk/quickstart.md all return a Posted by a Warp agent |


Summary
AR-20261104-2: give generated documentation Markdown twins the same canonical URL as their HTML page, through an HTTP
Linkheader and YAML frontmatter. Production was rechecked on 2026-11-18:https://docs.warp.dev/factories.mdreturns200 text/markdownwith noLinkheader, and its body starts with# Warp Factories overviewrather than frontmatter.Metric and prediction
markdown-frontmatter: 0/1 → 1/1 on the first production audit after deployment. This is an emerging-tier check with 0 score points for this experiment; no overall ora score movement is predicted.docs.warp.devcitations on.mdURLs: at or below the 14-day pre-merge baseline over the 21 days after deployment. A higher share falsifies the prediction. The intended direction is consolidation onto HTML canonical URLs; no numerical citation improvement is claimed before measurement.Changes
Link: <https://docs.warp.dev/<path>/>; rel="canonical"headers only for real, advertised.mdtwins./index.mdpoints tohttps://docs.warp.dev/.title,canonical, anddescriptionwhen present. Quote scalars safely and preserve the Markdown body.test:agent-doc-outputs, and existing CI steps.Related issues
Experiment AR-20261104-2, weekly AEO/SEO autoresearch refresh of 2026-11-18.
Validation
Head
21384bafd119624422c8c38e6d434ff48be8af34includes a merge of main, with 0 commits behind main when checked. No rebase or force-push. Existing PR state is unchanged; no reviewer requested.Repository checks
CI run 44344838027 passed. The full suite was executed by CI, not locally in this verification run:
npm run typecheck: pass, 0 errors.npm run test:heading-vars: 5/5.npm run test:docs-markdown: 16/16.npm run test:markdown-canonical: 5/5.npm run build: pass; 421 twins, 6 canonical-header routes.npm run test:heading-tocs: pass, 3,666 entries across 423 HTML files.npm run test:homepage-json-ld: pass.npm run test:markdown-twins: pass, 421 twins with matching frontmatter and exactly one canonical header each; 14 non-twin paths without one.npm run test:llms-txt: pass, 1,280 canonical-page entries across 14 files.npm run test:agent-doc-outputs: pass, 14 documentation sets.All non-skipped checks are green: Build/link-check/audit; Docs editorial quality; Docs technical references; CodeQL; Analyze (actions); Analyze (javascript-typescript); Analyze (python); Vercel; Vercel Preview Comments; CLA. Request engineering review and Agent docs review are skipped.
Deployed structural checks
Immutable head preview: https://docs-24c7iu8uo-warpdotdev.vercel.app (deployment).
curl -sSIL https://docs-24c7iu8uo-warpdotdev.vercel.app/factories.md:200,content-type: text/markdown; charset=utf-8,link: <https://docs.warp.dev/factories/>; rel="canonical".curl -sSL https://docs-24c7iu8uo-warpdotdev.vercel.app/factories.md: starts with---and title, description, and canonical frontmatter.Linkheader: reserved/missing/case-variant.mdpaths, HTML/and/factories/,/llms.txt,/sitemap-0.xml,/openapi.yaml,/openapi.json, and/api/./llms.txtis byte-identical to production (SHA-256ea33f4009428221d4a0daf8971a3903886373d349ff42b77d0553e182463903a).Fast verifier and ora
Verifier source:
aeo-factory/autoresearch/verify_site.pyataeo-autoresearch/verifiersinwarpdotdev/factory-dev(#1116).Commands run:
python3 verify_site.py --base https://docs.warp.dev --out prod.jsonpython3 verify_site.py --base https://docs-24c7iu8uo-warpdotdev.vercel.app --host-as docs.warp.dev --out preview.jsonpython3 verify_site.py --compare prod.json preview.jsonRaw comparison exits 1 for exactly five
new robots restrictions ['noindex']findings, one per sampled HTML page. Vercel addsX-Robots-Tag: noindexto this preview. No other regressions were reported. A separate comparison using a copy of the report with only those five observedx_robots_tagvalues cleared exits 0, with an empty regressions list. Raw evidence is retained; the preview is not claimed to be indexable.npx -y @ora-ai/ax@0.5 audit https://docs-24c7iu8uo-warpdotdev.vercel.app --jsoncompleted against contract 1.42.0, scan 608411.markdown-frontmatterpasses 1/1: title, description, and canonical detected on/agents.md. The preview's total 54 is not comparable with production's 69: the preview hasnoindex, is not the indexed product domain, and its sitemap/canonical URLs identify production. This is structural verification, not evidence of an overall score improvement. The pinned CLI warns that its built-in contract is older than the server contract.Follow-ups
Experiment AR-20261104-2 · Original conversation · Original run · Refresh run