{
  "slug": "vercel-node-js-routing-middleware-supports-proxy-entrypoints-and-matchers-73f2d6589527",
  "title": "Vercel Node.js Routing Middleware supports proxy entrypoints and matchers",
  "tools": [
    "vercel"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-27T20:26:45.000Z",
  "announced_at": "2026-07-27T20:26:45.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When configuring Node.js Routing Middleware with a project entrypoint, set `proxy.entrypoint` in `vercel.json`; if path filtering is needed, set `proxy.matcher` in `vercel.json` or matcher config in the entrypoint, but not both.",
    "examples": [
      "{\"$schema\":\"https://openapi.vercel.sh/vercel.json\",\"proxy\":{\"entrypoint\":\"<path-to-entrypoint>\",\"matcher\":[\"<path-pattern>\"]}}",
      "export const config = { matcher: \"<path-pattern>\" };"
    ],
    "gotchas": [
      "Version: 58.0.0",
      "proxy.entrypoint (required): Path to the Routing Middleware entrypoint; set it in `vercel.json` to use a different filename or directory.",
      "proxy.matcher: A string or array of strings defining the paths on which the Routing Middleware runs; configure here or in the entrypoint, not both.",
      "config.matcher: A string or array of strings defining the paths on which the Routing Middleware runs when configured in the entrypoint source.",
      "The matcher may be configured in the entrypoint source or `vercel.json`, but not both."
    ]
  },
  "why_it_matters": "Configure Node.js Routing Middleware for a project entrypoint and optional path matching.",
  "sources": [
    "https://github.com/vercel/vercel/releases/tag/vercel%4058.0.0",
    "https://vercel.com/docs/routing-middleware/api"
  ],
  "rank": 0.93037,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "regrade-20261008",
    "verdict_id": "regrade-20261008:probe-vercel-20261006--item-18eb48a629a7af2794ad258c:gate",
    "evidence_hash": "810257cbbe3e27d63c771c25d323a975ff87551b7aed0ea1357905f434ebd001"
  },
  "review": {
    "draft_hash": "c37e4e221ea2fc5f5ca5563d86a41ced5440f5910fcea96ff962b6f36f2301ee",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "regrade-20261008:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.93 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
