# Interface IScmUserInfo

User info trait — user metadata for reputation assessment.

Implemented by platforms supporting user profile queries. Consumers declare this trait when they need author reputation data.

interface IScmUserInfo {
fetchUserMetadata(
username: string,
): Promise<Result<ScmUserMetadata, ScmError>>;
}

#### Implemented by

- GitHubUserInfo

- Defined in packages/nexus-agents/src/scm/types.ts:245

##### Index

### Methods

fetchUserMetadata

## Methods

### fetchUserMetadata

- fetchUserMetadata(username: string): Promise<Result<ScmUserMetadata, ScmError>>

  Fetch user metadata for reputation assessment.

  #### Parameters

  - username: string

  #### Returns Promise<Result<ScmUserMetadata, ScmError>>

  - Defined in packages/nexus-agents/src/scm/types.ts:247