{
  "captured": "2026-10-14T19:22:46.546680+00:00",
  "model": "jev-latest",
  "identity": {
    "fixed_sha256": "d6504c602bc709218f9da895f5f52963380bf54f435006df0a720542e2247d7e",
    "broken_sha256": "b6885a537ca673df15dc2d0d18d85c687c916c54163f619d77fcdc8e15557f28",
    "rule_sha256": "f8420072a8e7588bdd5a13b074ebbcb071079fce7f52c92b9b826eac38933283"
  },
  "rule": "If resource authorization fails, Cancel must return Forbid before changing the order or calling SaveChangesAsync.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "Controllers/OrdersController.cs",
        "--rules",
        "resource-authorization-before-save",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"Controllers/OrdersController.cs\",\n  \"name\": \"Controllers/OrdersController.cs\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"resource-authorization-before-save\",\n      \"said\": \"If resource authorization fails, Cancel must return Forbid before changing the order or calling SaveChangesAsync.\",\n      \"broken\": 0.6599999999999999,\n      \"floor\": 0.5\n    }\n  ],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": false\n}\n",
      "stderr": ""
    },
    "fixed": {
      "command": [
        "perch",
        "check",
        "Controllers/OrdersController.cs",
        "--rules",
        "resource-authorization-before-save",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"Controllers/OrdersController.cs\",\n  \"name\": \"Controllers/OrdersController.cs\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}
