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
This commit is contained in:
parent
ee3bef2ce5
commit
9bcb45cbd3
122 changed files with 5836 additions and 831 deletions
9
build/eval/interview/lib/followups.mjs
Normal file
9
build/eval/interview/lib/followups.mjs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue