Name the loop's states with one transition function, and inject its side effects #182
Reference in New Issue
Block a user
Delete Branch "loop-state-machine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.