{
  "captured": "2026-10-14T18:39:14.315502+00:00",
  "model": "jev-latest",
  "rule": "The update policy grants access only when the authenticated user id equals the order user_id. It must not return true for a different user.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "app/Policies/OrderPolicy.php",
        "--rules",
        "order-owner-required",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"app/Policies/OrderPolicy.php\",\n  \"name\": \"app/Policies/OrderPolicy.php\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"order-owner-required\",\n      \"said\": \"The update policy grants access only when the authenticated user id equals the order user_id. It must not return true for a different user.\",\n      \"broken\": 0.97,\n      \"floor\": 0.5\n    }\n  ],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": false\n}\n",
      "stderr": ""
    },
    "fixed": {
      "command": [
        "perch",
        "check",
        "app/Policies/OrderPolicy.php",
        "--rules",
        "order-owner-required",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"app/Policies/OrderPolicy.php\",\n  \"name\": \"app/Policies/OrderPolicy.php\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}