From 277beec2c88c4a78c568f0332e40cfedef1726af Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 29 Sep 2026 12:03:44 +0200 Subject: [PATCH] Sort main's imports after the move, and file sorting imports on their first binding --- bin/loop_claude/loop/main.py | 2 +- todo.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/loop_claude/loop/main.py b/bin/loop_claude/loop/main.py index b831f64b..8277213e 100644 --- a/bin/loop_claude/loop/main.py +++ b/bin/loop_claude/loop/main.py @@ -38,11 +38,11 @@ import sys from loop_claude.claude_code.session import session_for from loop_claude.cycle.steps import Cycle, run_cycle +from loop_claude.loop.reload import RELOAD_FLAG, LoopState, decode_state, exec_if_edited, fingerprint from loop_claude.outcome import Stop from loop_claude.project.checkout import checkout_root, project_name from loop_claude.project.models import project_models from loop_claude.project.premises import read_premises -from loop_claude.loop.reload import RELOAD_FLAG, LoopState, decode_state, exec_if_edited, fingerprint def main(argv, env, paths, launcher, cwd): diff --git a/todo.md b/todo.md index 30ae1786..9092f541 100644 --- a/todo.md +++ b/todo.md @@ -14,6 +14,7 @@ The places the panel on `rebuild` at 2f9ab2f named (`docs/decisions.md`), cappin ## 0.2.0 +- **Sort `bin/`'s imports on their first binding, per `CLAUDE.md` → "Code style".** Today they sort by path, so a module move reorders unchanged lines. - **Reword `CLAUDE.md` → "One spelling per goal" so a copy in code is derived from its owner, and drop the README-caveat sentence and the scope list.** A prose pass found "reject at load" fits only copied config, and the scope list reads as excluding internal code. - **Name CLI flags and exit codes among larv-review's external contracts, or record that they do not fire the architecture pass.** A prose pass found the product-owner row names the CLI and the architecture row does not. - **Show the judge's reply when `loop-claude` rejects its verdict.** Its stdout is discarded, so a judge that failed three times running leaves nothing to diagnose.