Kill the surviving mutants of the replay comparison and the transcript-read rule
This commit is contained in:
@@ -1513,6 +1513,10 @@ class TranscriptRead(unittest.TestCase):
|
||||
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"])
|
||||
|
||||
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, {})
|
||||
self.assertEqual([breach.directory for breach in found[2] if breach.rule == "transcript-read"], ["/r"])
|
||||
|
||||
def test_a_read_of_a_long_result_claude_code_saved_to_a_file_or_of_a_memory_file_passes(self):
|
||||
for path in ("/home/h/.claude/projects/-home-h-code-acme/abc-123/tool-results/b3ij9u144.txt", "/home/h/.claude/projects/-home-h-code-acme/memory/MEMORY.md"):
|
||||
with self.subTest(path):
|
||||
|
||||
Reference in New Issue
Block a user