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
+1 -1
View File
@@ -66,7 +66,7 @@ def step(cycle: Cycle, state: Active) -> Event | Stop:
def work(cycle: Cycle, answered: AnsweredFromRecords | None) -> WorkerRan | Stop:
if answered is not None:
print(f"\n=== README.md or the records answered: {answered.question} ===\n{answered.answer}", flush=True)
print(f"\n=== README.md, AGENTS.md or docs/decisions.md answered: {answered.question} ===\n{answered.answer}", flush=True)
# session_open runs inside the lambda: a failed attempt may have opened the session.
if stop := retried("worker", lambda: run_worker(cycle.root, worker_args(cycle.task, cycle.session, cycle.models.worker, session_open(cycle.session), answered), cycle.effects), cycle.effects):
return stop
+1 -1
View File
@@ -72,7 +72,7 @@ def transition(state: State, event: Event) -> State:
case Judging(_, records_answers), Ruled(AnsweredFromRecords() as answered) if records_answers < RECORDS_ANSWERS_PER_CYCLE:
return Working(answered, records_answers + 1)
case Judging(transcript_path, records_answers), Ruled(AnsweredFromRecords(question=question, answer=answer)):
return Interrupting(transcript_path, f"{question}\n\nREADME.md or the project's records say:\n{answer}\n\nREADME.md or the records answered {records_answers} questions this cycle, so this one comes to you.", records_answers)
return Interrupting(transcript_path, f"{question}\n\nREADME.md, AGENTS.md or docs/decisions.md say:\n{answer}\n\nREADME.md, AGENTS.md or docs/decisions.md answered {records_answers} questions this cycle, so this one comes to you.", records_answers)
case Judging(transcript_path, records_answers), Ruled(Interrupt(question=question)):
return Interrupting(transcript_path, question, records_answers)
case Judging(transcript_path, _), Ruled(Finished() | Unfinished() as verdict):