Context: The tag ai_agent_automated_resolution is automatically added when a ticket is marked as resolved by a requester.
Problem 1: It is added even if, in the meantime, the requester or an agent reopens the ticket and public replies are exchanged. This happens regardless of whether the ticket is resolved or not.
Problem 2: It is not removed if, after resolution, the requester or an agent reopens the ticket and public responses are exchanged. This is true even if the ticket is set to Incident Type and Resolved by a Problem ticket (the tag should be automatically removed either when the ticket is reopened or when the next public response is made by an agent).
Underlying problem: tickets are considered resolved by AI even though the final response is provided by a human agent.
= AI resolution is counted in the automatic resolution counter (unless I am mistaken).
Solutions: change the criteria for adding the ai_agent_automated_resolution tag and create system triggers that remove the tag when a human agent takes over