{"version":"2.1.292","anchor":"agent-and-file-at-mention-regexes-now-use-a-shared-whitespace","canonical_anchor":"agent-and-file-at-mention-regexes-now-use-a-shared-whitespace","heading":"Agent @-mentions use a shared rule for what may come before the @","tier":"internal","area":"Prompt Input","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/agent-and-file-at-mention-regexes-now-use-a-shared-whitespace","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### Agent @-mentions use a shared rule for what may come before the @\n\nAgent @-mentions are now recognised using a shared list of characters allowed before the @, instead of a fixed one\n\n**Unclear.** Whether the shared list differs from the old fixed one, and so whether any mention behaves differently, is not clear.\n\n**What**\n\nYou can mention an agent in your prompt with @ followed by its name. Claude Code only treats it as a mention when the @ starts the text or follows certain characters. That list used to be fixed: a space, or the Chinese and Japanese punctuation marks \u3002\u3001\uff1f\uff01. It now comes from a list shared with other mention rules.\n\n**Why**\n\nThe characters that may come before an @ mention may now differ from before.\n\n- Area: Prompt Input\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}