fix: block temporary agent artifacts
This commit is contained in:
@@ -48,6 +48,9 @@ def test_environment_rejects_cwd_outside_repository(tmp_path: Path) -> None:
|
||||
"cd .. && pwd",
|
||||
"php -S 127.0.0.1:8000",
|
||||
"php artisan serve &",
|
||||
"cp config/app.php config/app.php.bak",
|
||||
"printf debug > test_debug.php",
|
||||
"touch scratch.py",
|
||||
],
|
||||
)
|
||||
def test_environment_rejects_unsafe_commands(tmp_path: Path, command: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user