Commit Graph

54 Commits

Author SHA1 Message Date
lilleman 830ba331ca Group a cycle's modules under cycle/, apart from claude_code/ 2026-09-29 11:55:53 +02:00
lilleman aba2a98d7e Name formats.py's samples by what they are, put Session's lifetime on Session, and file the prose pass's places 2026-09-29 11:53:46 +02:00
lilleman c2be13efd5 Name formats.models_in by what it returns, and read the catalog in one function 2026-09-29 11:50:16 +02:00
lilleman 29495b1e7d Read the model catalog in claude_code/catalog.py 2026-09-29 11:48:54 +02:00
lilleman 5e84736672 Keep formats.py to Claude Code's shapes, with paths and file reads at their callers 2026-09-29 11:47:23 +02:00
lilleman 969bb26668 Tell a user entry the human wrote apart with one predicate 2026-09-29 11:43:59 +02:00
lilleman ea29be4046 Name sections' list blocks 2026-09-29 11:38:03 +02:00
lilleman 69b093d1a7 Build premises.sections without filling found through an alias 2026-09-29 11:36:43 +02:00
lilleman e7b0479092 Hand run_cycle and judge_through_interrupts one cycle context 2026-09-29 11:33:49 +02:00
lilleman 7604ec4fa7 Declare LoopState beside decode_state, as the state a reload carries 2026-09-29 11:31:07 +02:00
lilleman 917f150fd1 Say in --help that a run is retried within its cycle, and drop the cut-over from the changelog 2026-09-29 11:10:19 +02:00
lilleman fb221787d6 Retry the worker and the judge through one counter, in retry.py 2026-09-29 11:02:57 +02:00
lilleman 2f9ab2fb7d Name human_needed.py for the exit-2 stops it holds 2026-09-29 10:41:11 +02:00
lilleman f602b94aff Name the field claude_code_transcripts and build Session by keyword 2026-09-29 10:38:47 +02:00
lilleman 99d9996b75 Rename Paths.projects and Session.projects to claude_transcripts 2026-09-29 10:36:30 +02:00
lilleman 75ad040204 Say when a failed run stops being retried 2026-09-29 10:32:02 +02:00
lilleman 80edf5e695 State in outcome.py what the loop does with each outcome 2026-09-29 10:31:48 +02:00
lilleman d9058d2d7e Resolve decode_state's field types from string annotations too 2026-09-29 10:29:08 +02:00
lilleman b69b37b334 Name the records mark_trusted adds 2026-09-29 10:27:03 +02:00
lilleman 4aaad015f6 Return the updated ~/.claude.json from mark_trusted 2026-09-29 10:24:57 +02:00
lilleman 4d74622617 Derive the judge's schema from Verdict 2026-09-28 22:02:10 +02:00
lilleman 8b45f1f39b Return a typed verdict from the judge 2026-09-28 22:00:16 +02:00
lilleman 7f9de5c19f Show the judge a reply the human types while claude works 2026-09-28 21:49:06 +02:00
lilleman cca0b67b8b Name the project once in main, and give the archive its own module 2026-09-28 21:32:27 +02:00
lilleman 998cc3ac85 Group loop_claude's modules into claude_code, claude_runs and project, and move the findings document beside larv-review 2026-09-28 21:28:41 +02:00
lilleman 8f34915bb8 Name the retry helper's and the judge's message reason 2026-09-28 21:24:10 +02:00
lilleman 0fc6afd1e7 Give failure one spelling 2026-09-28 21:21:35 +02:00
lilleman 194601aeda Join a human entry's text where it is classified 2026-09-28 21:17:59 +02:00
lilleman 089d8fa1dc Name the retry module by what it holds 2026-09-28 21:15:26 +02:00
lilleman 4cd79e5b1a Name the minute's sleep and the exec at their call sites 2026-09-28 21:13:09 +02:00
lilleman 2602231b23 Return the verdict from run_cycle's judge–interrupt loop 2026-09-28 21:08:25 +02:00
lilleman 20db779a0d Correct --help's end of the loop and drop prose the code or the log already holds 2026-09-28 20:31:56 +02:00
lilleman 4adcefdc21 Let only a typed entry's leading < pass as the human's 2026-09-28 20:28:28 +02:00
lilleman 8e15ff7f37 Classify a string user entry by promptSource before its leading < 2026-09-28 20:26:34 +02:00
lilleman 424f83c5c6 Return Claude Code's locations positionally 2026-09-28 20:22:36 +02:00
lilleman 711d13b71b Keep loop-claude's rendering out of the adapter and Claude Code's locations in it 2026-09-28 20:21:01 +02:00
lilleman 80629fc6d9 Gather every Claude Code format loop-claude reads into claude_code.py, verified on 2.1.284 2026-09-28 20:17:39 +02:00
lilleman 80a8e214b1 Name the archive file a write failed on 2026-09-28 17:01:56 +02:00
lilleman a4b63e436e Name the path an archive failed on 2026-09-28 17:00:41 +02:00
lilleman 6e31e0a833 Archive the raw transcript by content hash with its verdict, and stop on a failed archive 2026-09-28 16:57:24 +02:00
lilleman 5e3b66232b Keep the judge's CLAUDE.md load beside its args 2026-09-28 16:53:38 +02:00
lilleman 44cf712dc8 Move the Claude Code internals from --help beside the modules relying on them 2026-09-28 16:52:30 +02:00
lilleman 1be6ae8187 Name why a verdict is incomplete, say how to proceed off a terminal, and which claude could not start 2026-09-28 16:49:17 +02:00
lilleman cd9c0fe4a6 Sort the file_writes imports and drop a docstring restating project_models 2026-09-28 16:47:36 +02:00
lilleman b40893bc70 Retire the section-headers decision, reject an interrupt without a question, and name file_writes by what it does 2026-09-28 16:46:18 +02:00
lilleman b0afcfab57 Move the judge, the interrupt, trust and model resolution into their own modules 2026-09-28 16:42:32 +02:00
lilleman 9659f70efd Decode the worker's stream leniently, name UserEntryKind's members only, and restore the section-headers decision's citation 2026-09-28 16:28:43 +02:00
lilleman dfb7ae294c Move the transcript, the session and the worker into their own modules 2026-09-28 16:24:26 +02:00
lilleman d8331d5c34 Bring the decisions and the plan in line with the package 2026-09-28 11:19:45 +02:00
lilleman 7e65d070b8 Name the files a reload watches in --help 2026-09-28 11:19:45 +02:00