Answer stability round 1: 0 🔴, 2 🟡 (0 misread); refuse a change whose variable the environment holds, and pin the refusal's path

This commit is contained in:
2026-11-18 15:54:24 +01:00
parent 897fe3ed1a
commit 033989f6be
3 changed files with 26 additions and 11 deletions
+3 -1
View File
@@ -1511,7 +1511,9 @@ class TranscriptRead(unittest.TestCase):
def test_the_refusal_names_the_file_and_what_to_use_instead(self):
found = breaches_of(Call("Read", {"file_path": self.TRANSCRIPT}, "/r"), self.HOME, {})
self.assertEqual([breach.detail for breach in found[2] if breach.rule == "transcript-read"], [f"the call reads {self.TRANSCRIPT}, a session transcript that holds every tool result of its session; print only the lines you need with grep or jq"])
[detail] = [breach.detail for breach in found[2] if breach.rule == "transcript-read"]
self.assertIn(self.TRANSCRIPT, detail)
self.assertIn("grep or jq", detail)
def test_the_refusal_is_logged_in_the_checkout_of_the_working_directory(self):
found = breaches_of(Call("Read", {"file_path": self.TRANSCRIPT}, "/r"), self.HOME, {})