{"version":"2.1.330","anchor":"recurring-agent-definition-collision-wording-changed-in-doct","canonical_anchor":"recurring-agent-definition-collision-wording-changed-in-doct","heading":"Diagnostic now says the last agent file in path order wins a name clash","tier":"notice","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/recurring-agent-definition-collision-wording-changed-in-doct","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Diagnostic now says the last agent file in path order wins a name clash\n\nWhen two agent files in one folder share a name, the diagnostic now says the last one in path order wins, not that it varies by machine\n\n**Unclear.** Whether the way Claude Code loads agent files changed, or only the diagnostic's wording, is not shown.\n\n**What**\n\nAgents are defined in files, and two files in the same folder can give an agent the same name. Claude Code's diagnostic prompt explains which one is used in that case. It now says the last file in path order wins. Before, it said the winner followed an unsorted file listing, so the definition in use could differ between machines.\n\n**Why**\n\nThe diagnostic no longer warns that the same setup can pick a different definition on different machines.\n\n- Area: Agents\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}