{
  "jira_key": "AN-88",
  "passed": false,
  "cycle": 1,
  "findings": [
    {
      "severity": "high",
      "category": "acceptance_criteria",
      "file": "force-app/main/default/classes/OpportunityContactRoleCloseWonHandler.cls",
      "line": 14,
      "message": "The rule is not limited to UI edits and does not exclude standard integration users. The handler skips only AutomatedProcess; trigger executions from other API or integration users are subject to the same validation.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/OpportunityContactRoleCloseWonHandler.cls",
      "line": 13,
      "message": "ARCH-02: The handler contains the business rule and its SOQL data access instead of delegating the rule to a service class. Separate these responsibilities in line with the required architecture.",
      "fixable": true
    }
  ],
  "summary": "The Contact Role check is bulkified and uses user-mode SOQL, but the implementation does not meet the specified UI/integration-user scope and violates the required service-layer architecture.",
  "static_analysis_status": "passed",
  "notes": null
}