From e9e130cb776da35d90312e98e21404560a05936e Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 28 Oct 2026 14:57:43 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=203:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=200=20=F0=9F=9F=A1=20(0=20misread);=20keep=20the?= =?UTF-8?q?=20Edit-refusal=20comment=20above=20the=20tests=20it=20explains?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/rule_hook/test_rule_hook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rule_hook/test_rule_hook.py b/bin/rule_hook/test_rule_hook.py index c7f7c44c..8b5b3782 100644 --- a/bin/rule_hook/test_rule_hook.py +++ b/bin/rule_hook/test_rule_hook.py @@ -429,13 +429,13 @@ class RepeatRead(unittest.TestCase): self.read(2, 11) self.assertEqual(self.found("Read", {"file_path": self.file, "limit": 10}), []) - # Claude Code's Edit refuses a file changed since the agent last read it with Read, or wrote it with Edit or Write, until it reads it again. def test_calls_that_neither_read_nor_write_the_file_are_passed_over(self): self.used("Grep", {"pattern": "line", "path": self.folder}, "f.txt") self.used("Bash", {"command": "ls"}, "f.txt") self.read(1, 10) self.assertEqual(rules(self.found("Read", {"file_path": self.file, "offset": 1, "limit": 10})), ["repeat-read"]) + # Claude Code's Edit refuses a file changed since the agent last read it with Read, or wrote it with Edit or Write, until it reads it again. def test_a_change_in_the_millisecond_of_the_last_read_counts_as_before_it(self): self.read(1, 10) at = datetime.datetime(2026, 6, 1, tzinfo=datetime.UTC).timestamp()