Move loop-claude's cycle, judge, interrupt, tmux and routing into agent_cycle #609

Merged
lilleman merged 10 commits from item-401 into main 2026-11-18 17:15:35 +01:00
Owner

Moves the cycle, its judge, interrupt, tmux window and routing from bin/loop_claude/ into bin/agent_cycle/, a package a second entry point can drive; loop-claude's behaviour and prompts are unchanged.

  • An entry point hands the cycle its prompts and file names (WorkerPrompts) and its reading of the items a worker took in (Cycle.taken_in).
  • escalation_mark, quotes, hand_over and direct_message moved too, since the judge, routing and interrupt import them; a test holds agent_cycle to importing no entry point's package.
  • routed_item stays in loop_claude, in a module of its own.
Moves the cycle, its judge, interrupt, tmux window and routing from `bin/loop_claude/` into `bin/agent_cycle/`, a package a second entry point can drive; loop-claude's behaviour and prompts are unchanged. - An entry point hands the cycle its prompts and file names (`WorkerPrompts`) and its reading of the items a worker took in (`Cycle.taken_in`). - `escalation_mark`, `quotes`, `hand_over` and `direct_message` moved too, since the judge, routing and interrupt import them; a test holds `agent_cycle` to importing no entry point's package. - `routed_item` stays in `loop_claude`, in a module of its own.
lilleman added 2 commits 2026-11-18 16:21:45 +01:00
lilleman marked the pull request as ready for review 2026-11-18 17:12:25 +01:00
lilleman added 7 commits 2026-11-18 17:12:26 +01:00
lilleman added 1 commit 2026-11-18 17:12:33 +01:00
Finish item 401 in the plan
CI / tests (pull_request) Successful in 2m57s
3574154a3b
lilleman merged commit 3574154a3b into main 2026-11-18 17:15:35 +01:00
lilleman deleted branch item-401 2026-11-18 17:15:35 +01: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#609