Answer the principles audit: keep every session file under session/, and stop on a folder the archive cannot read
This commit is contained in:
@@ -350,6 +350,7 @@ class Cycles(unittest.TestCase):
|
||||
self.assertEqual(sorted(copies), ["Stopped: Ctrl-C\n", "Verdict: finished\n", "Verdict: unfinished\n"])
|
||||
self.assertIn('"text": "landed-it"', copies["Verdict: finished\n"])
|
||||
self.assertIn('"text": "next chunk"', copies["Stopped: Ctrl-C\n"])
|
||||
self.assertEqual(len(list(checkout.archive().glob(f"proj/*/session/{session}.orphaned-1-ab.jsonl"))), 1)
|
||||
|
||||
def test_exits_1_when_the_transcript_cannot_be_archived_and_resumes_on_the_next_run(self):
|
||||
checkout = Checkout(self)
|
||||
|
||||
Reference in New Issue
Block a user