/** Shared types for reviewer personas. */ export type FindingSeverity = "critical" | "major" | "minor"; export interface PersonaCheckItem { /** Short identifier, e.g. "M1" for Methodologist item 1 */ id: string; /** What to verify in the paper */ check: string; /** How severe a violation of this check is */ severity: FindingSeverity; /** Where to look in the paper (section names or concepts) */ evidence: string; } export interface Persona { /** Stable id used in tool calls, e.g. "methodologist" */ id: string; /** Display label, e.g. "Methodologist" */ label: string; /** One-line role summary, shown in the MCP tool description */ role: string; /** Full instruction block handed to the host agent */ instruction: string; /** Structured checklist the agent must run through */ checklist: PersonaCheckItem[]; } export interface ReviewFinding { /** Persona id that produced this finding */ persona: string; /** severity: critical | major | minor */ severity: FindingSeverity; /** Short issue title */ title: string; /** Exact quote or location from the paper */ quote: string; /** Why this is a problem */ issue: string; /** Concrete fix suggestion */ suggestion: string; }