Name the loop's states with one transition function, and inject its side effects #182

Merged
lilleman merged 9 commits from loop-state-machine into main 2026-10-01 23:42:15 +02:00
Owner

A cycle walks named states — Fresh, Resuming, Judging, Interrupting, Finishing — through one transition function. The verdict is Interrupt, Finished or Unfinished. subprocess, sleep, input, the terminal check and execv come in as Effects, so the cycle, the retries, the interrupt and the model prompt are unit-tested.

A cycle walks named states — Fresh, Resuming, Judging, Interrupting, Finishing — through one transition function. The verdict is Interrupt, Finished or Unfinished. subprocess, sleep, input, the terminal check and execv come in as Effects, so the cycle, the retries, the interrupt and the model prompt are unit-tested.
lilleman added 1 commit 2026-10-01 23:12:39 +02:00
lilleman added 1 commit 2026-10-01 23:19:13 +02:00
lilleman added 1 commit 2026-10-01 23:21:00 +02:00
lilleman added 1 commit 2026-10-01 23:29:53 +02:00
lilleman added 1 commit 2026-10-01 23:30:44 +02:00
lilleman added 1 commit 2026-10-01 23:34:44 +02:00
lilleman added 1 commit 2026-10-01 23:38:09 +02:00
lilleman added 1 commit 2026-10-01 23:40:52 +02:00
lilleman marked the pull request as ready for review 2026-10-01 23:42:14 +02:00
lilleman merged commit 70ad9a9caa into main 2026-10-01 23:42:15 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#182