You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/__tests__/CodexACPAgent/data/guardian-approval-review-flow.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@
14
14
"type": "content",
15
15
"content": {
16
16
"type": "text",
17
-
"text": "Status: In progress\nAction: exec /bin/ls -l\nRisk: medium\nRationale: Checking whether this command should run automatically."
17
+
"text": "Status: In progress\nAction: exec /bin/ls -l\nRisk: medium\nAuthorization: unknown\nRationale: Checking whether this command should run automatically."
18
18
}
19
19
}
20
20
],
@@ -59,7 +59,7 @@
59
59
"type": "content",
60
60
"content": {
61
61
"type": "text",
62
-
"text": "Status: Approved\nAction: exec /bin/ls -l\nRisk: low\nRationale: The command only lists files."
62
+
"text": "Status: Approved\nAction: exec /bin/ls -l\nRisk: low\nAuthorization: medium\nRationale: The command only lists files."
it("ignores Guardian warnings that are not approval review summaries",async()=>{
136
+
constwarning: ServerNotification={
137
+
method: "guardianWarning",
138
+
params: {
139
+
threadId: sessionId,
140
+
message: "Automatic approval review rejected too many approval requests for this turn (3 consecutive, 5 in the last 10 reviews); interrupting the turn.",
0 commit comments