{
  "captured": "2026-10-14T19:24:37.063452+00:00",
  "model": "jev-latest",
  "identity": {
    "fixed_sha256": "21021f145eaf298635ffe15383d573e42d9cf6cbd65cf50b3493fecb5ac0ada1",
    "broken_sha256": "847653669d4da589c993633fc78cd3c852c61b2ee9ae351cc0fc65691fb4ed39",
    "rule_sha256": "8f128290ab085d4d12b8b3628b1342d9d20b92a3e9e8360e00cb1bb8650133d5"
  },
  "rule": "The API cancellation must use tenantId from the required user session in its database mutation.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "server/api/orders/[id]/cancel.post.ts",
        "--rules",
        "nuxt-mutation-tenant-scope",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"server/api/orders/[id]/cancel.post.ts\",\n  \"name\": \"server/api/orders/[id]/cancel.post.ts\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"nuxt-mutation-tenant-scope\",\n      \"said\": \"The API cancellation must use tenantId from the required user session in its database mutation.\",\n      \"broken\": 0.86,\n      \"floor\": 0.5\n    }\n  ],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": false\n}\n",
      "stderr": ""
    },
    "fixed": {
      "command": [
        "perch",
        "check",
        "server/api/orders/[id]/cancel.post.ts",
        "--rules",
        "nuxt-mutation-tenant-scope",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"server/api/orders/[id]/cancel.post.ts\",\n  \"name\": \"server/api/orders/[id]/cancel.post.ts\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}
