resolve_ref
Resolve fuzzy queries and nicknames into ranked candidate refs by checking exact slugs, aliases, and substrings.
Instructions
Resolve a fuzzy query ("the gateway", "gw", "auth-gw") to candidate refs.
Checks exact slug, exact alias, and case-insensitive name substring. Returns ranked candidates [{ref, source, score}] — call this before writing if the user refers to something by nickname or description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | free text. | |
| type_filter | No | optional — restrict to "component"|"repo"|"task"|"governance". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |