# Interface ClassifyResult

Result of trust classification.

interface ClassifyResult {
trustTier: "1" | "2" | "3" | "4";
userRole:
| "unknown"
| "owner"
| "maintainer"
| "collaborator"
| "contributor"
| "member";
isAllowlisted: boolean;
wasDowngraded: boolean;
reason: string;
}

- Defined in packages/nexus-agents/src/security/trust-classifier.ts:66

##### Index

### Properties

trustTier
userRole
isAllowlisted
wasDowngraded
reason

## Properties

### `Readonly` trustTier

trustTier: "1" | "2" | "3" | "4"

Assigned trust tier.

- Defined in packages/nexus-agents/src/security/trust-classifier.ts:68

### `Readonly` userRole

userRole:
| "unknown"
| "owner"
| "maintainer"
| "collaborator"
| "contributor"
| "member"

GitHub user role.

- Defined in packages/nexus-agents/src/security/trust-classifier.ts:70

### `Readonly` isAllowlisted

isAllowlisted: boolean

Whether the user is on the maintainer allowlist.

- Defined in packages/nexus-agents/src/security/trust-classifier.ts:72

### `Readonly` wasDowngraded

wasDowngraded: boolean

Whether content triggered a trust downgrade.

- Defined in packages/nexus-agents/src/security/trust-classifier.ts:74

### `Readonly` reason

reason: string

Reason for the assigned tier.

- Defined in packages/nexus-agents/src/security/trust-classifier.ts:76