{
  "captured": "2026-10-14T19:24:37.062080+00:00",
  "model": "jev-latest",
  "identity": {
    "fixed_sha256": "7476b4b27aa2819c5a1c76dd90c90a85a94ba7c4ee7b52d19208478498404a34",
    "broken_sha256": "f65858712e1ff8cc6822ad36f1b68480fd4e9e25142457d6821bf2db23f60ca0",
    "rule_sha256": "e211af8a1163721c902399875e69735e824eab6d8589c13a86eee688f3de91e5"
  },
  "rule": "The cancellation action must pass locals.user.tenantId to the conditional database mutation, not only orderId and ownerId.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "src/routes/orders/[id]/+page.server.ts",
        "--rules",
        "action-tenant-predicate",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"src/routes/orders/[id]/+page.server.ts\",\n  \"name\": \"src/routes/orders/[id]/+page.server.ts\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"action-tenant-predicate\",\n      \"said\": \"The cancellation action must pass locals.user.tenantId to the conditional database mutation, not only orderId and ownerId.\",\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",
        "src/routes/orders/[id]/+page.server.ts",
        "--rules",
        "action-tenant-predicate",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"src/routes/orders/[id]/+page.server.ts\",\n  \"name\": \"src/routes/orders/[id]/+page.server.ts\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}
