{
  "captured": "2026-10-14T19:32:25.881739+00:00",
  "model": "jev-latest",
  "identity": {
    "fixed_sha256": "ba3ea4bfce6240d87c4ff17ead4bd58ddf1eb7d609718ad901a3eb55a654d860",
    "broken_sha256": "8d5be6ad8841a5713022530ebb5272e106cb6b2abcecad9449bcb16067f74ab3",
    "rule_sha256": "b39cc766cf1d7632ea99ecc18d482b9cc5004332234e5bd30f99595eb34e03ce"
  },
  "rule": "confirm must use Multi.insert(:audit, Audit.changeset(...)) in the Multi. A Multi.run callback returning skipped instead of persisting the audit violates this requirement.",
  "results": {
    "broken": {
      "command": [
        "perch",
        "check",
        "lib/shop/orders.ex",
        "--rules",
        "confirmation-records-audit",
        "--json"
      ],
      "exit_code": 3,
      "stdout": "{\n  \"path\": \"lib/shop/orders.ex\",\n  \"name\": \"lib/shop/orders.ex\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [\n    {\n      \"rule\": \"confirmation-records-audit\",\n      \"said\": \"confirm must use Multi.insert(:audit, Audit.changeset(...)) in the Multi. A Multi.run callback returning skipped instead of persisting the audit violates this requirement.\",\n      \"broken\": 0.92,\n      \"floor\": 0.5\n    }\n  ],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": false\n}\n",
      "stderr": ""
    },
    "fixed": {
      "command": [
        "perch",
        "check",
        "lib/shop/orders.ex",
        "--rules",
        "confirmation-records-audit",
        "--json"
      ],
      "exit_code": 0,
      "stdout": "{\n  \"path\": \"lib/shop/orders.ex\",\n  \"name\": \"lib/shop/orders.ex\",\n  \"line\": 1,\n  \"checked\": 1,\n  \"broken\": [],\n  \"issues\": null,\n  \"note\": null,\n  \"clean\": true\n}\n",
      "stderr": ""
    }
  }
}
