Items 250, 253, 256, 258 - Move repeat-read's reads into repeat_read.py, split waiting.py by role, name an untagged release's review, fix release-review findings in-release

This commit is contained in:
2026-10-30 12:41:48 +01:00
parent 36b38cc133
commit 59697806ee
25 changed files with 468 additions and 372 deletions
+15
View File
@@ -0,0 +1,15 @@
"""The files by which a loop-claude shows its interrupt in loop-inbox, and takes an answer typed there.
A waiting loop keeps its ask in <session>.json in Paths.waiting: the question, with an id new for each question.
<session> is the worker's session id, so a loop lists one question at a time. The loop removes the ask once the question
is answered or the loop stops. loop-inbox lists an ask only while the loop holds the session's lock (running_loops.py),
and removes one whose lock is free. loop-inbox answers by replacing <session>.answer, which names the
ask's id. So an answer meant for an earlier question, or sent as the loop took an answer on its terminal,
never answers a later one.
One module per role, each importing only those before it:
- ask.py: the ask, its state and the file format.
- answers.py: what loop-inbox sends, and the answer file.
- listing.py: the ask's file in the folder, and which asks are listed.
- talk.py: the /talk handshake.
"""