feat(pre-push-safety-net): retain bounded change and rename context

This commit is contained in:
Marius Ciepluch
2026-09-12 21:12:45 +02:00
parent 97fd6336f1
commit 948ee020db
21 changed files with 1078 additions and 119 deletions
+4 -1
View File
@@ -122,7 +122,10 @@ def _case(
and record.get("coverage") == "complete"
)
negative = any(
q.get("status") == "answered" and q.get("outcome") == "negative" and q.get("target") == target and isinstance(q.get("witness"), str)
q.get("status") == "answered"
and q.get("outcome") == "negative"
and q.get("target") == target
and isinstance(q.get("witness"), str)
and bool(q["witness"].strip())
for q in queries.values()
)