Stop a loop running main's script once at the cut-over, and tick off the item

This commit is contained in:
2026-09-29 11:07:44 +02:00
parent fb221787d6
commit d4d8621ab4
5 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -68,9 +68,9 @@
2026-09-28, lilleman, for the rebuild. Serves goals 2 and 4: saving each transcript locally is the first step of backing it up, and it shows afterwards what an unattended run did. A copy of the `.jsonl`, deduplicated by content hash, with the verdict beside it; a rendering drops tool results, and a second-resolution stamp names two states within one second as one file. A failed archive exits 1, since a loop that loses its record silently fails the backup goal. Valid while transcripts stay small enough to copy whole.
## loop-claude: the rebuild keeps main's `--reloaded` state
## loop-claude: a loop running main's script stops once at the cut-over
2026-09-28, lilleman, for the rebuild. Serves goal 4. A loop running main's script reloads into the rebuilt one at its next cycle boundary and carries on; `decode_state` accepts only JSON whose keys and value types match `LoopState` exactly, so renaming, adding, dropping or retyping a field breaks that reload, and no code exists only for the cut-over. Valid until the rebuild merges.
2026-09-29, lilleman. Serves goal 4. The rebuild retries the worker within its cycle, so `LoopState` carries no failure count and rejects main's state; the loop exits 1 naming the rerun, one rerun for a one-human audience, and no code exists only for the cut-over. Valid until the rebuild merges.
## rebuild: a chunk into `rebuild` takes no comprehension scoring run