Kill the surviving mutants of the spend, the setup version and the reversal count, and keep a subagent's type on one line

This commit is contained in:
2026-11-12 10:03:47 +01:00
parent 3c4cedd389
commit 1fc7bf0f52
4 changed files with 86 additions and 6 deletions
@@ -131,7 +131,9 @@ class Outcomes(unittest.TestCase):
self.assertIsNone(write.archive(kept, str(transcript), "Do it.", outcomes.unfinished("w", "e", "j", "", record=outcomes.Record("c", "Spent since the chunk began, in tokens of x:\n- worker, m: 1")), NOW))
self.assertIsNone(write.archive(kept, str(transcript), "Do it.", outcomes.stopped("w", "Ctrl-C"), NOW + 1))
self.assertEqual(read.last_spent(kept, str(transcript)), utc(NOW))
self.assertIsInstance(read.last_spent(kept, str(pathlib.Path(root, "gone.jsonl"))), Failure)
gone = read.last_spent(kept, str(pathlib.Path(root, "gone.jsonl")))
self.assertIsInstance(gone, Failure)
self.assertTrue(gone.reason.startswith(f"could not read the archive {kept}: "), gone.reason)
class Location(unittest.TestCase):