{"version":"2.1.120","anchor":"username-validation","canonical_anchor":"username-validation","heading":"Username Validation","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.120\/e\/username-validation","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.120","markdown":"### Username Validation\n\nThe `getUsername()` function now validates the system username against a safe regex pattern and falls back to `\"claude-code-user\"` if it contains unexpected characters, preventing potential issues with unusual usernames.\n\n**Evidence**\n\nUsername validation with regex test \u2014 function `xe()` at line ~104573"}