designpaca/build/eval/interview/lib/followups.mjs
Yun Chan 9bcb45cbd3 feat(core,cli): harden install engine and extend skill lint and interview eval
- update only touches the recorded project root; project installs do not
  follow symlinks or junctions; repeated --force rotates .orig backups;
  uninstall never deletes outside the recorded root
- run npm/npx without a shell on Windows and pin optional tool versions
- skip the update check in CI and non-interactive output
- lint: cross-document section pointers, preflight row ids, gate rule
  numbers, per-document size budgets, gate copy equality
- eval: scenarios S19-S21, route and read-cost rejudging, interpretation
  card judging, temp-dir previews and table-form cards no longer fail
2026-10-06 16:55:38 +09:00

9 lines
424 B
JavaScript

import fs from "node:fs";
/** --follow-ups 로 받은 JSON 파일(문자열 배열)을 읽는다. 없으면 빈 배열. */
export function readFollowUps(file) {
if (!file || file === true) return [];
const v = JSON.parse(fs.readFileSync(file, "utf8"));
if (!Array.isArray(v) || !v.every((x) => typeof x === "string")) throw new Error(`--follow-ups 는 문자열 배열 JSON 이어야 한다: ${file}`);
return v;
}