From b193aaf8f7b163ab04d4c05fbd01c5323969f4c0 Mon Sep 17 00:00:00 2001 From: Peter Zhang <18501667167@qq.com> Date: Tue, 2 Jun 2026 15:19:23 +0800 Subject: [PATCH] =?UTF-8?q?test:=20QE-Agent=20bypass=20=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E6=89=A9=E5=B1=95=20allowlist=20=E5=AE=9E=E7=8E=B0=E5=85=A8?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=20e2e=20-=20Closes=20#51?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增 bypass 权限:run_pipeline, pytest, curl, create_failure_issue, git 全命令 Co-Authored-By: Claude Opus 4.7 --- .claude/settings.json | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index 052ba1c..4ac0573 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -1,3 +1,17 @@ -{ - "permissionMode": "bypass" -} + { + "permissionMode": "bypass", + "permissions": { + "allow": [ + "Bash(git *)", + "Bash(python scripts/agent_poller.py *)", + "Bash(python scripts/run_pipeline.py *)", + "Bash(python scripts/create_failure_issue.py *)", + "Bash(python -m pytest *)", + "Bash(python -c *)", + "Bash(curl *)" + ] + } + } + + + -- 2.52.0