Answer the prose pass's second round: the quote goes with the fourth question only, name the three files the human sees

This commit is contained in:
2026-10-03 01:51:47 +02:00
parent 0eb97e9e88
commit 03cccd24f4
6 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -135,7 +135,7 @@ class Transitions(unittest.TestCase):
(states.Judging("/t", 3), states.Ruled(Interrupt("e", "Which one?")), states.Interrupting("/t", "Which one?", 3)),
(states.Judging("/t"), answered, states.Working(AnsweredFromRecords("e", "Which one?", "A."), 1)),
(states.Judging("/t", 2), answered, states.Working(AnsweredFromRecords("e", "Which one?", "A."), 3)),
(states.Judging("/t", 3), answered, states.Interrupting("/t", "Which one?\n\nREADME.md or the project's records say:\nA.\n\nREADME.md or the records answered 3 questions this cycle, so this one comes to you.", 3)),
(states.Judging("/t", 3), answered, states.Interrupting("/t", "Which one?\n\nREADME.md, AGENTS.md or docs/decisions.md say:\nA.\n\nREADME.md, AGENTS.md or docs/decisions.md answered 3 questions this cycle, so this one comes to you.", 3)),
(states.Judging("/t"), states.Ruled(Finished("e")), states.Closing("/t", Finished("e"))),
(states.Judging("/t", 3), states.Ruled(Finished("e")), states.Closing("/t", Finished("e"))),
(states.Judging("/t"), states.Ruled(Unfinished("e")), states.Closing("/t", Unfinished("e"))),
@@ -252,8 +252,8 @@ class Cycles(unittest.TestCase):
resumed = fake.made("stream_claude")[1]
self.assertEqual(resumed[resumed.index("-p") + 1], "Your question: Which one?\n\nREADME.md or the project's records answer it:\n\nUse *A*.\n\nContinue the task.")
self.assertEqual(len(fake.made("stream_claude")), 4)
self.assertEqual(printed.getvalue().count("=== README.md or the records answered: Which one? ===\nUse *A*."), 3)
self.assertIn("Which one?\n\nREADME.md or the project's records say:\nUse *A*.\n\nREADME.md or the records answered 3 questions this cycle", said.getvalue())
self.assertEqual(printed.getvalue().count("=== README.md, AGENTS.md or docs/decisions.md answered: Which one? ===\nUse *A*."), 3)
self.assertIn("Which one?\n\nREADME.md, AGENTS.md or docs/decisions.md say:\nUse *A*.\n\nREADME.md, AGENTS.md or docs/decisions.md answered 3 questions this cycle", said.getvalue())
def test_an_answer_the_records_do_not_hold_is_dropped_and_the_question_goes_to_the_human(self):
fake = FakeEffects(streams=[Worker(self.paths.claude_code_transcripts.parent)], claude=[judged("interrupt", answer="Use B.")], on_terminal_claude=[0], git=[ran()])