Retire the section-headers decision, reject an interrupt without a question, and name file_writes by what it does

This commit is contained in:
2026-09-28 16:46:18 +02:00
parent 9bfb2fe173
commit b40893bc70
9 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -27,5 +27,5 @@ def interrupt(root, session_id, model, path, question, paths):
if isinstance(entries, Failure):
return Stop(1, f"could not tell whether you typed anything: {entries.reason}")
if human_turns(entries) <= before:
return human.needed(TO, "the interrupt ended without you typing anything")
return human.needed(TO, "the interrupt ended with nothing typed")
return None