{
  "captured": "2026-10-14T19:19:03.806030+00:00",
  "model": "jev-latest",
  "identity": {
    "fixed_sha256": "11cb902f65e7e62f16cdb247cefb76cb6ec336885cf7d4683dd51d93d8869c61",
    "broken_sha256": "e14aa9bf669f08e9e6f1101e01e81dab4fd92d26b78e4cd5813db27f54e886f0",
    "rule_sha256": "12b43b20844dd2f98dfe0b08f1615daf3fdf71c4aa505d166a1db2d1462d7b4c"
  },
  "rule": "The order update and outbox insertion stay in the same transaction. The function must not explicitly commit inside the session.begin block before it finishes successfully.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "confirmation.py",
        "--rules",
        "outbox-no-early-commit",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"confirmation.py\",\n  \"name\": \"confirmation.py\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"outbox-no-early-commit\",\n      \"said\": \"The order update and outbox insertion stay in the same transaction. The function must not explicitly commit inside the session.begin block before it finishes successfully.\",\n      \"broken\": 0.91,\n      \"floor\": 0.5\n    }\n  ],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": false\n}\n",
      "stderr": ""
    },
    "fixed": {
      "command": [
        "perch",
        "check",
        "confirmation.py",
        "--rules",
        "outbox-no-early-commit",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"confirmation.py\",\n  \"name\": \"confirmation.py\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}
