Today an unrecognized verb silently resolves to "help" (src/github/commands.ts:173) with no hint that the typed verb was unknown. As the command surface grows to review/pause/resume/resolve/configuration/explain (#1960), a maintainer who types @gittensory reveiw gets a generic help card. Add a PURE did-you-mean suggester (nearest-verb by simple edit distance over the known command names) and surface a one-line hint in the help fallback when the raw verb was non-empty but unrecognized.
Deliverables
References
src/github/commands.ts:173 (unknown→help downgrade)
src/github/commands.ts:223 (buildPublicAgentCommandComment)
test/unit/github-commands.test.ts
#1960
Part of #1960.
size: XS · held for later release (gittensor:bug once activated)
Today an unrecognized verb silently resolves to "help" (src/github/commands.ts:173) with no hint that the typed verb was unknown. As the command surface grows to review/pause/resume/resolve/configuration/explain (#1960), a maintainer who types
@gittensory reveiwgets a generic help card. Add a PURE did-you-mean suggester (nearest-verb by simple edit distance over the known command names) and surface a one-line hint in the help fallback when the raw verb was non-empty but unrecognized.Deliverables
Did you mean @gittensory <x>?line; a bare @gittensory (no verb) shows no suggestionReferences
src/github/commands.ts:173 (unknown→help downgrade)src/github/commands.ts:223 (buildPublicAgentCommandComment)test/unit/github-commands.test.ts#1960Part of #1960.
size: XS · held for later release (gittensor:bug once activated)