fix: improve static script review and default to model judgement

This commit is contained in:
ji ruo committed 2026-10-13 14:08:00 +08:00
1 parent e47f367a7d
commit 6aa0c56d81
21 files changed
+2594 -101

No files matched your search

+1 -1
View File
@@ -2514,7 +2514,7 @@ function route(m: string, path: string, seg: string[], q: URLSearchParams, b: Re
fail_action: "allow",
ask_timeout_seconds: 300,
ask_timeout_action: "deny",
incomplete_script_action: "ask",
incomplete_script_action: "model",
};
if (path === "/intercept/judge" && m === "PUT") return { ok: true };
if (path === "/intercept/judge/usage" && m === "GET")
+1
View File
@@ -1487,6 +1487,7 @@ export interface InterceptReviewInput {
script_capture_status?: "not_applicable" | "complete" | "incomplete";
script_files?: {
path: string;
source?: "file" | "command";
sha256?: string;
bytes?: number;
content?: string;