fix: block temporary agent artifacts
Some checks failed
CI / test (push) Has been cancelled
CI / test (pull_request) Has been cancelled

This commit is contained in:
Christian Meyer
2026-08-31 03:06:17 +02:00
parent c2028fa256
commit badb8bb730
2 changed files with 10 additions and 0 deletions

View File

@@ -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: