# Interface TrinityResult

Result of TRINITY coordination.

interface TrinityResult {
success: boolean;
finalOutput: string;
thinkerOutput: ThinkerOutput;
workerOutput: WorkerOutput;
verifierOutput: VerifierOutput;
iterations: number;
totalDurationMs: number;
history: TrinityPhaseResult[];
stopReason: "error" | "timeout" | "max_iterations" | "verified";
}

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:185

##### Index

### Properties

success
finalOutput
thinkerOutput
workerOutput
verifierOutput
iterations
totalDurationMs
history
stopReason

## Properties

### `Readonly` success

success: boolean

Whether coordination succeeded

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:187

### `Readonly` finalOutput

finalOutput: string

Final output after all phases

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:189

### `Readonly` thinkerOutput

thinkerOutput: ThinkerOutput

Thinker's analysis

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:191

### `Readonly` workerOutput

workerOutput: WorkerOutput

Worker's implementation

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:193

### `Readonly` verifierOutput

verifierOutput: VerifierOutput

Verifier's final assessment

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:195

### `Readonly` iterations

iterations: number

Number of think-work-verify iterations

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:197

### `Readonly` totalDurationMs

totalDurationMs: number

Total duration in milliseconds

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:199

### `Readonly` history

history: TrinityPhaseResult[]

Phase execution history

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:201

### `Readonly` stopReason

stopReason: "error" | "timeout" | "max_iterations" | "verified"

Stop reason

- Defined in packages/nexus-agents/src/agents/collaboration/trinity-types.ts:203