{"record":{"id":"eccf18f99cb2e42c","repo":"multica-ai/multica","slug":"no-s-found-matching-q","errorCode":null,"errorMessage":"no %s found matching %q","messagePattern":"no (.+?) found matching %q","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_issue.go","lineNumber":2570,"sourceCode":"\tcase 0:\n\t\treturn \"<none>\"\n\tcase 1:\n\t\treturn parts[0]\n\tcase 2:\n\t\treturn parts[0] + \" or \" + parts[1]\n\tdefault:\n\t\treturn strings.Join(parts[:len(parts)-1], \", \") + \", or \" + parts[len(parts)-1]\n\t}\n}\n\nfunc resolveAssignee(ctx context.Context, client *cli.APIClient, name string, kinds assigneeKinds) (string, string, error) {\n\tif client.WorkspaceID == \"\" {\n\t\treturn \"\", \"\", fmt.Errorf(\"workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID\")\n\t}\n\n\tinput := normalizeAssigneeLookupInput(name)\n\tif input == \"\" {\n\t\treturn \"\", \"\", fmt.Errorf(\"no %s found matching %q\", kinds.describe(), name)\n\t}\n\tinputLower := strings.ToLower(input)\n\n\t// Matches are collected into three priority buckets. Higher-priority buckets\n\t// short-circuit lower-priority matching so that, e.g., an exact name match\n\t// always wins over a substring collision with another candidate.\n\t//   1. idMatches        — full UUID or 8-char ShortID (as shown by `truncateID`).\n\t//   2. exactMatches     — case-insensitive full name equality.\n\t//   3. substringMatches — preserves the existing partial-name UX.\n\tvar idMatches, exactMatches, substringMatches []assigneeMatch\n\tvar errs []error\n\tvar fetchAttempts int\n\n\tclassify := func(entityType, id, displayName string) {\n\t\tmatch := assigneeMatch{Type: entityType, ID: id, Name: displayName}\n\t\tif id != \"\" && (strings.EqualFold(id, input) || strings.EqualFold(truncateID(id), input)) {\n\t\t\tidMatches = append(idMatches, match)\n\t\t\treturn","sourceCodeStart":2552,"sourceCodeEnd":2588,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_issue.go#L2552-L2588","documentation":"Lookup failure in resolveAssignee: fires when a workspace-scoped search over members/agents (and squads, per kinds) returns no match for the normalized assignee input. The kind name and the original input are interpolated so the user can correct the name or ID.","triggerScenarios":"Thrown at server/cmd/multica/cmd_issue.go:2570 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the name or ID spelling; run the list command to see available options."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}