import { readFileSync } from 'node:fs';
import type { Brief } from './types';

export function loadBrief(path: string): Brief {
  const raw = readFileSync(path, 'utf-8');
  return JSON.parse(raw) as Brief;
}