Bug: AI Review Tab displays latest review score for all listed Criteria
<!-- Please search existing work items before filing to avoid duplicates. --> ## Summary After creating multiple Rules, and checking the **AI Review** tab at **/node/1/ai-review** - I noticed that whenever you run a _single_ review for a criteria, **all** rows will be updated and display the same score that this latest criteria got. The issue persists when you reload the page. Investigating the actual results themselves, the issue does not seem to be related to how the score is stored, but rather only a visual bug based on how the scores are loaded from `loadLatestRecords` A quick AI-assisted debugging session pointed to the following problem: > ... That one line — keying $latest by getCriterionId() (the plugin id) — is the root. Since both your criteria use the agent_based plugin, they share the key, so the map holds only one record for both.<br> ...getCriterionId() returns only the plugin id, so two criteria using agent_based map to the same key and the array keeps just one record. ![Screenshot_2026-06-05_at_14.45.21](/uploads/f3965cd56ecfd00c3ec3c858df28f5db/Screenshot_2026-06-05_at_14.45.21.png){width=700} ## Steps to reproduce 1. Create multiple agents at **/admin/config/ai/agents** and assign them to different review rules at **/admin/config/ai/content-review/rules** 2. Navigate to any node and go to the AI Review tab 3. Run any single criteria, observe that all will be updated with the same score ## Expected result - Each criteria only displays their own latest score
issue