Answer architecture round 1: 0 🔴, 2 🟡; keep stepped_from through the typed answer, name the events HumanTyped and HumanTalked, parse the answer from the prompt's start, and say why the judge decides release_ready

This commit is contained in:
2026-10-17 23:16:34 +02:00
parent 831b9c63b6
commit 96834412c7
7 changed files with 90 additions and 96 deletions
+1 -1
View File
@@ -664,7 +664,7 @@ class Interrupt(unittest.TestCase):
self.assertIn("A or B?\nAnswer (/talk opens claude, Enter stops the loop): ", run.stderr)
resumed = run.calls[2]["argv"]
self.assertEqual(argument(run.calls[2], "--resume"), argument(run.calls[0], "--session-id"))
self.assertEqual(resumed[resumed.index("-p") + 1], "Your question: A or B?\n\nThe human answers it at loop-claude's terminal:\n\nB\n\nContinue the task.")
self.assertEqual(resumed[resumed.index("-p") + 1], "The human answered your question at loop-claude's terminal:\nB\n\nYour question was: A or B?\n\nContinue the task.")
self.assertIn("[human] B\n\nUsing B.", run.calls[3]["stdin"])
for transcript in checkout.transcripts():