Answer stability round 1: 0 🔴, 2 🟡 (0 misread); test the unreadable seat-prompts.md and correct prepare-scoring's help

This commit is contained in:
Lilleman
2026-11-19 22:55:34 +01:00
parent 7605094623
commit 4c109b3411
2 changed files with 11 additions and 2 deletions
+8
View File
@@ -203,6 +203,14 @@ class PrepareScoring(unittest.TestCase):
assert isinstance(unread, Failure), unread
self.assertTrue(unread.reason.startswith(f"cannot read {self.checkout}/AGENTS.md: "), unread.reason)
self.assertEqual(len(self.git("worktree", "list").splitlines()), 1)
own = self.checkout / "skills" / "comprehension-panel" / "seat-prompts.md"
own.parent.mkdir(parents=True)
own.write_bytes(b"\xff")
(self.checkout / "AGENTS.md").write_text("# Working rules, with no values\n")
unread = self.prepare()
assert isinstance(unread, Failure), unread
self.assertTrue(unread.reason.startswith(f"cannot read {own}: "), unread.reason)
self.assertEqual(len(self.git("worktree", "list").splitlines()), 1)
if __name__ == "__main__":