mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-01-30 06:12:06 +00:00
feat: Add GitHub Actions CI for PR protection
- Add CI workflow with Python (ruff lint, security tests) and UI (ESLint, TypeScript, build) jobs - Add ruff, mypy, pytest to requirements.txt - Add pyproject.toml with ruff configuration - Fix import sorting across Python files (ruff --fix) - Fix test_security.py expectations to match actual security policy - Remove invalid 'eof' command from ALLOWED_COMMANDS 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,6 @@ Uses an allowlist approach - only explicitly permitted commands can run.
|
||||
import os
|
||||
import shlex
|
||||
|
||||
|
||||
# Allowed commands for development tasks
|
||||
# Minimal set needed for the autonomous coding demo
|
||||
ALLOWED_COMMANDS = {
|
||||
@@ -20,7 +19,6 @@ ALLOWED_COMMANDS = {
|
||||
"tail",
|
||||
"wc",
|
||||
"grep",
|
||||
"eof",
|
||||
# File operations (agent uses SDK tools for most file ops, but cp/mkdir needed occasionally)
|
||||
"cp",
|
||||
"mkdir",
|
||||
|
||||
Reference in New Issue
Block a user