Sort the imports the move reordered

This commit is contained in:
2026-11-18 16:24:27 +01:00
parent 54fc339fb0
commit a7153c78fd
10 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
"""What loop-claude says to the worker each cycle. model_routing.review_choice chooses where the reviews run. review_launches and reruns put that choice into sentences, and escalation says where escalated subagents run; rung_sentences returns the sentences of all three. In a chunk's first prompt, routed_by places them after its routing sentences where an item routed the chunk, and fresh places them alone otherwise. rungs_held repeats them at the end of a prompt after a step-up or an unfinished verdict."""
from model_routing.review_choice import chosen, ReviewChoice
from agent_cycle.worker_prompts import answers_recorded, WorkerPrompts
from model_routing.review_choice import chosen, ReviewChoice
from loop_claude.cycle.chunk_items import CHUNK_ITEMS
from model_routing.route import ESCALATION_MARKER, Route
from agent_cycle.routing import escalation_rungs
+1 -1
View File
@@ -7,7 +7,6 @@ from release_plan.release_standing import DefaultPlan, project_plan, UNSEEN_RELE
from loop_effects.effects import Effects, say
from failure import Failure
from agent_cycle.routing import first_route, kept
from loop_claude.routed_item import routed_item
from loop_claude.loop.chunk_windows import held_beside, item_of
from chunk_preflight.main import ITEM
from plan.todo_table import Item
@@ -18,6 +17,7 @@ from plan_store.plans import Plan
from model_routing.ladder import ProjectRung, Rung
from loop_claude.cycle import prompts
from model_routing.route import Route, route_from
from loop_claude.routed_item import routed_item
from claude_code.session import session_open, transcript_file
# Seconds routing waits for origin to name its default branch, asked only where the checkout records none; past them, the chunk runs on the project's rung.
+1 -1
View File
@@ -3,11 +3,11 @@ import pathlib
import typing
from transcript_archive.location import archive_root, project_archive
from loop_claude.cycle import chunk_items, prompts
from loop_claude.loop.chunk_start import archived_route, chunk_start, plan_item, routed, scored_plan
from loop_claude.loop.routing_check import check_routing
from loop_claude.project.checkout import checkout_root
from loop_claude.loop.chunk_windows import CHUNK_FLAG, chunk_session, item_of, start_chunks
from loop_claude.cycle import chunk_items, prompts
from loop_claude.loop.close import closed_cycle
from agent_cycle.run import Cycle, run_cycle
from loop_claude.loop.reload import decode_handed, exec_if_edited, fingerprint, LoopRun, RELOAD_FLAG
+1 -1
View File
@@ -1,8 +1,8 @@
"""The plan item that routes a fresh chunk of loop-claude's: agent_cycle/routing.py's first_route picks the worker's rung from its L."""
from release_plan.release_standing import chunk_item, LastCut, Next
from failure import Failure
from plan.todo_table import Item, NoItemsTable
from plan_store.plans import Plan
from release_plan.release_standing import chunk_item, LastCut, Next
def routed_item(plan: Plan | Failure, cut: LastCut, item_id: int | None = None) -> Item | Failure | None:
+2 -2
View File
@@ -32,9 +32,8 @@ from failure import Failure
from agent_cycle.verdicts import Finished, Interrupt, Judged, QuotedAnswer, TakenIn, Unfinished
from git_cli.git_repo import git
from agent_cycle import interrupt, judge, retry, run, spend, states, worker, worker_prompts
import loop_claude.routed_item
from loop_claude.cycle import prompts
from claude_code.reply import Limited
import loop_claude.routed_item
from loop_claude.loop import main, reload, routing_check, this_loop, usage
from machine_load import memory
from release_plan import next_chunk
@@ -43,6 +42,7 @@ from loop_state import paths
from plan_store.todo_md import plan_of
from transcript_archive.location import project_archive
from model_routing.ladder import ProjectRung, Rung
from loop_claude.cycle import prompts
from model_routing.ladder_file import read_ladder, SHIPPED
from model_routing.route import Route, route_from, WorkerLine
from agent_cycle import routing