{"name":"USERNAME","slug":"username","family":"env","title":"Environment variables","noun":"environment variable","description":"Session cleanup now tracks which machine a process belongs to, so container ids stop colliding.","description_source":"entry","described_by":{"version":"2.1.246","anchor":"stale-session-cleanup-no-longer-confuses-process-ids-from-di"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.295","anchor":"skip-some-identity-lookups-in-remote-mode","heading":"Username lookup is skipped in one more case","line":"One way Claude Code looks up your username now returns nothing in some modes instead of reading `GITHUB_ACTOR`, `USER` or `USERNAME`","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text"},{"version":"2.1.284","anchor":"diskless-launch-mode-skips-statusline-and-filesuggestion-com","heading":"Diskless launches skip status line and file suggestion commands","line":"When Claude Code is launched in diskless mode, your `statusLine` and `fileSuggestion` commands no longer run","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.246","anchor":"stale-session-cleanup-no-longer-confuses-process-ids-from-di","heading":"Stale-session cleanup no longer confuses process ids from different containers","line":"Session cleanup now tracks which machine a process belongs to, so container ids stop colliding.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.140","anchor":"user-identity-added-to-branch-pattern-context","heading":"User Identity Added to Branch Pattern Context","line":null,"released_at":"2026-05-12 19:50:28","reason":"found in this entry's text"},{"version":"2.0.35","anchor":"expanded-windows-path-security","heading":"Expanded Windows Path Security","line":null,"released_at":"2025-11-06 20:25:20","reason":"found in this entry's text"}],"entries_total":5,"docs":[{"source":"api","path":"agents-and-tools\/tool-use\/browser-use-sdk","title":"browser-use-sdk","documented":false},{"source":"api","path":"agents-and-tools\/tool-use\/computer-use-tool","title":"computer-use-tool","documented":false},{"source":"api","path":"api\/beta\/organization\/telemetry_destinations","title":"Telemetry Destinations","documented":false},{"source":"api","path":"api\/beta\/organization\/telemetry_destinations\/create","title":"Create a Telemetry Destination","documented":false},{"source":"api","path":"cli-sdks-libraries\/cli\/using","title":"using","documented":false},{"source":"api","path":"release-notes\/system-prompts\/claude-fable-5-1","title":"claude-fable-5-1","documented":false},{"source":"api","path":"test-and-evaluate\/strengthen-guardrails\/increase-consistency","title":"increase-consistency","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"channels","title":"Push events into a running session with channels","documented":false},{"source":"claude-code","path":"claude-apps-gateway-config","title":"Claude apps gateway configuration","documented":false}],"docs_total":12,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/username","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}