Improve coding agent reliability
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-08-21 23:46:16 +02:00
parent ed7b88ade4
commit 2df37b671b
11 changed files with 31 additions and 8 deletions

View File

@@ -15,9 +15,12 @@ def test_policy_accepts_small_application_change() -> None:
def test_policy_rejects_secrets_and_vendor_paths() -> None:
result = evaluate_changes(ChangeSummary((".env", "vendor/foo.php"), 2, 0), settings())
result = evaluate_changes(
ChangeSummary((".env", "vendor/foo.php", ".aider.tags.cache.v4/cache.db"), 3, 0),
settings(),
)
assert not result.allowed
assert len(result.errors) == 2
assert len(result.errors) == 3
def test_direct_main_blocks_validator_and_migrations() -> None: