Group a cycle's modules under cycle/, apart from claude_code/

This commit is contained in:
2026-09-29 11:55:53 +02:00
parent aba2a98d7e
commit 830ba331ca
10 changed files with 8 additions and 9 deletions
@@ -4,8 +4,8 @@ import subprocess
import typing
from loop_claude.claude_code.formats import structured_output
from loop_claude.cycle.retry import retried
from loop_claude.outcome import Failure
from loop_claude.retry import retried
JUDGE_RULES = (
"Decide whether the human must now be interrupted. interrupt=true when any of these appear:\n"
@@ -1,15 +1,15 @@
import dataclasses
from loop_claude.archive import archive
from loop_claude.claude_code.session import Session, delete_session, transcript_file
from loop_claude.claude_code.transcript import read, render
from loop_claude.claude_runs.interrupt import interrupt
from loop_claude.claude_runs.judge import judge
from loop_claude.claude_runs.worker import run_worker, worker_args
from loop_claude.cycle.archive import archive
from loop_claude.cycle.interrupt import interrupt
from loop_claude.cycle.judge import judge
from loop_claude.cycle.retry import retried
from loop_claude.cycle.worker import run_worker, worker_args
from loop_claude.outcome import Failure, Stop
from loop_claude.paths import Paths
from loop_claude.project.models import Models
from loop_claude.retry import retried
@dataclasses.dataclass(frozen=True)
+1 -1
View File
@@ -37,7 +37,7 @@ import dataclasses
import sys
from loop_claude.claude_code.session import session_for
from loop_claude.cycle import Cycle, run_cycle
from loop_claude.cycle.run import Cycle, run_cycle
from loop_claude.outcome import Stop
from loop_claude.project.checkout import checkout_root, project_name
from loop_claude.project.models import project_models
+1 -1
View File
@@ -10,7 +10,7 @@ sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))
from loop_claude import file_writes, main, reload
from loop_claude.claude_code import formats, transcript
from loop_claude.claude_runs import judge
from loop_claude.cycle import judge
from loop_claude.outcome import Failure, Stop
from loop_claude.project import premises
-1
View File
@@ -8,7 +8,6 @@ The rebuild lifts every dimension, one chunk per item, until the last item opens
The places the panel on `rebuild` at 2f9ab2f named (`docs/decisions.md`), capping dimension first:
- **Group `bin/loop_claude/`'s top-level modules, and name `claude_runs` apart from `claude_code`.** Two seats: eleven modules of mixed altitude side by side.
- **Say at `written_by_human` why a `<` prefix marks Claude Code's own entry, and at `trust` why a failure only warns.** Three seats found either only in `CHANGELOG.md`.
- **Say in the README why the tests run on the host and need `uv`.** Two seats: `CLAUDE.md` says never run a runtime on the host, and only `test_python_floor.py` says what `uv` is for.
- **Score `rebuild` with the four-seat panel at 7.0 or above on every dimension and the overall, none below the last run, and open its PR into main for the human.** ⚠️ Leave that PR ready and unmerged: only the human merges it, after approving the whole rebuild. A dimension under the floor gets its places filed above this item.