Skip to content

Type Alias: ReviewFinding

Makaio Framework


Makaio Framework / contracts / ReviewFinding

ReviewFinding = z.infer<typeof ReviewFindingSchema>

Defined in: ../../../packages/contracts/src/capabilities/review/schemas.ts:99

  • ReviewFinding
    • z.infer<typeof ReviewFindingSchema>
      • typeof ReviewFindingSchema
type ReviewFinding = {
id: string;
target: { repository: string; prNumber?: number | undefined; branch?: string | undefined; headSha?: string | undefined; };
sourceId: string;
reviewer: string;
origin: 'agent' | 'inline' | 'review-body' | 'issue-comment' | 'cli-output';
threadId: string | null;
severity: 'critical' | 'major' | 'minor' | 'nitpick';
file: string | null;
startLine: number | null;
endLine: number | null;
message: string;
agentPrompt: string | null;
suggestedChanges: Array<{ file: string; oldCode: string; newCode: string; }>;
status: 'open' | 'addressed' | 'verified' | 'dismissed' | 'deferred';
addressedBy: string | null;
addressedAt: number | null;
verifiedAt: number | null;
dismissedReason: string | null;
createdAt: number;
updatedAt: number;
rawCommentId: number | null;
};