You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add case-insensitive dedup check to Toolnames checkup workflow
When the 'Toolnames checkup' label is applied to an issue, the workflow
now performs a case-insensitive lookup in addition to the exact match.
Tool names that differ only in capitalisation from an existing entry are
surfaced in a new '⚠️ Case variant' section and explicitly flagged as
'do not add', preventing the agent from creating duplicate PascalCase
entries (e.g. Grep when grep already exists).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
if already_added and not needs_adding and not case_variants:
123
144
lines.append("> **All tool names in this issue are already mapped.** This issue may be a duplicate — consider closing it.")
145
+
elif case_variants and not needs_adding:
146
+
lines.append("> **All unmapped tool names are case variants of existing entries.** No new entries should be added. Consider closing this issue.")
124
147
elif needs_adding:
125
148
lines.append(f"> **{len(needs_adding)} tool name(s) still need to be added.** Please use the `tool-names` custom agent or update `vscode-extension/src/toolNames.json` manually.")
0 commit comments