Skip to content

Commit 7041fd5

Browse files
henrylove0claude
andcommitted
fix: sanitize internal employee name from JSDoc comment
Replace "yoshi-exe1" with generic "worker1-exe1" in code comment to avoid leaking internal team names in published source. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8e651a6 commit 7041fd5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/menubar-json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function loadSessionAgentMap(): Map<string, string> {
138138
const raw = readFileSync(join(cacheDir, file), 'utf-8')
139139
const data = JSON.parse(raw) as { agentId?: string }
140140
if (data.agentId) {
141-
// Normalize: strip session suffixes like "yoshi-exe1" → "yoshi"
141+
// Normalize: strip session suffixes like "worker1-exe1" → "worker1"
142142
const baseId = data.agentId.replace(/-exe\d+$/, '')
143143
map.set(sessionId, baseId)
144144
}

0 commit comments

Comments
 (0)