Merge pull request 'fix: agent应该要会自学:自我修正阻拦automode的项 - Closes #106' (#107) from dev/issue-106-automode-config into main
CI / test (push) Successful in 19s

This commit was merged in pull request #107.
This commit is contained in:
2026-06-08 09:55:58 +08:00
+8 -3
View File
@@ -4,14 +4,19 @@
"allow": [
"Bash(git *)",
"Bash(python scripts/agent_poller.py *)",
"Bash(GITEA_USER=* 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 *)"
]
},
"autoMode": {
"allow": [
"$defaults",
"Running agent_poller.py with GITEA_USER env var to interact with Gitea (comment, close-issue, create-pr, merge-pr, create-issue, reopen-issue)",
"Running Gitea API operations via scripts (agent_poller.py, create_failure_issue.py)"
]
}
}