Sign the supervisor gate note

Co-Authored-By: PI[gpt-5.6-sol] <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
wassname
2026-09-05 19:34:51 +08:00
co-authored by PI[gpt-5.6-sol]
parent 96399ec3e4
commit a44cd26c1d
+1 -1
View File
@@ -676,7 +676,7 @@ function isPlanningReadOnlyCommand(command: string): boolean {
});
}
/** This blocks direct writes, not side effects hidden in allowed project scripts or custom tools. */
/** This blocks direct writes, not side effects hidden in allowed project scripts or custom tools. -- PI[gpt-5.6-sol] */
export function isSupervisorReadOnlyCommand(command: string): boolean {
if (/[|><`$\n\r]/.test(command)) return false;
const safeArgs = "(?:\\s+[A-Za-z0-9_./:=,'\"@+%-]+)*";