← Back to wkappbot-core
wkappbot-core ★★☆

# suggest resolve CMD guard: word-boundary key extraction fix

CMD guard extracts affected commands from suggest text using HasCmdToken helper that checks word boundary after match, preventing short CommandHelpMap keys (e.g. 'com') from false-positiving on longer words ('commands', '--commit') in suggest titles.

user/developer

## Steps

1. Use HasCmdToken(text, prefix, key) instead o...
2. Example false-positive fixed: 'a11y commands...
3. Example false-positive fixed: '--commit' no...
4. Location: SuggestCommand.Resolve.cs, in 'Non...
5. If new short CommandHelpMap keys are added,...
6. Fix location: SuggestCommand.Resolve.cs -- r...
7. Verified 2026-04-24: test-suggest-list-cmd-g...