Commit Graph

84 Commits

Author SHA1 Message Date
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 bbf4636fcc Pin the judge's rules, the interrupt's checkout root, no name on resume, and a failed replace leaving nothing staged 2026-09-28 19:26:35 +02:00
lilleman 0e587d75df Move loop-claude's internal-function tests into the black-box tests, keeping unit tests of the pure parsers 2026-09-28 19:17:13 +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 7b1ee20c7c Pin a reason per incomplete verdict, the rerun hint off a terminal, and which claude could not start 2026-09-28 16:48:46 +02:00
lilleman 9bfb2fe173 Pin an interrupt verdict without a question as incomplete, and one person in the empty-interrupt message 2026-09-28 16:45:46 +02:00
lilleman a1c5e8a16b Pin evidence on every verdict, a named non-object trust entry, one spelling of the human being needed, and a claude the judge or interrupt cannot start 2026-09-28 16:37:55 +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 4171a1ecbe Give the reload and the strike their own modules 2026-09-28 11:19:45 +02:00
lilleman 5de7e0fc9c Pin that an edited package file reloads the loop 2026-09-28 11:19:45 +02:00
lilleman 5a681948be Lay out loop-claude as a launcher over the loop_claude package 2026-09-28 11:19:45 +02:00
lilleman 2cab114cc3 Close every file loop-claude and its tests open 2026-09-28 00:53:28 +02:00
lilleman 53b6ffdff1 Name the test class ProjectName and the argv helper model_args 2026-09-27 22:49:43 +02:00
lilleman 37d31b9ab1 Rename granted, model and project for what they hold and return 2026-09-27 22:48:36 +02:00
lilleman a0e2ac08c1 Expect an unquoted verdict's failure to name its question 2026-09-27 17:09:42 +02:00
lilleman 53438fd75d Expect an unquoted verdict's failure to name the interrupt 2026-09-27 17:08:37 +02:00
lilleman d2401599a7 Expect the judge's verdict to name the interrupt field 2026-09-27 17:06:33 +02:00
lilleman 70d816c830 Test the judge's and the transcript's Stop from run_cycle 2026-09-27 16:54:39 +02:00
lilleman 23dd9956ea Test that every failure returns to main and exits only there 2026-09-27 16:52:10 +02:00
lilleman 63c37c54c9 Build and validate the reload state in one unit 2026-09-27 16:50:32 +02:00
lilleman 82f1a208bf Keep the mode of ~/.claude.json and the models file when loop-claude rewrites them 2026-09-27 15:07:09 +02:00
lilleman e5921c7ef1 Test in its own module that every bin/ file compiles on the Python README names 2026-09-27 14:34:07 +02:00
lilleman 7ef4ff95b0 Test that every bin/ file compiles on the Python the decision log names as the floor 2026-09-27 14:34:07 +02:00
lilleman a670bcee7b Show the headless hint as the object to merge into the models file 2026-09-26 20:00:24 +02:00
lilleman 413aa2f638 Pin that one override still asks, and say where the catalog and the entry go 2026-09-26 19:59:43 +02:00
lilleman d1ef542114 Echo the saved model, skip the ask when both overrides are set, and say when no catalog is cached 2026-09-26 19:58:05 +02:00
lilleman 17960e9bf3 Keep models another loop saved, exit when the save fails, and survive a malformed catalog 2026-09-26 19:53:11 +02:00
lilleman 99dc0cf0da Run loop-claude on a model saved per project, asking for it on the first run 2026-09-26 19:45:33 +02:00
lilleman 7d99d49ffb Quote the projects key in the wrong-shape message and record the one-message decline 2026-09-26 15:17:37 +02:00
lilleman df2b010fee Test that a trust file of the wrong shape is reported as unreadable 2026-09-26 15:13:11 +02:00
lilleman 885d35b808 Assert the line, not the byte, of a non-UTF-8 README.md 2026-09-26 15:02:55 +02:00
lilleman 825872acc2 Exit with a message when README.md is not UTF-8 2026-09-26 14:59:30 +02:00
lilleman e86b15888e Name the transcript deletion for what it does: delete_transcript_files, not end_session 2026-09-26 14:41:53 +02:00
lilleman 99dd74c55b Say the reload cannot read the loop's state in one wording across the message, --help and the changelog 2026-09-26 13:42:32 +02:00
lilleman 805eb868db Name the reload exit for what it checks, gate --help only on a typed task, drop the outlived todo caveat 2026-09-26 13:39:09 +02:00
lilleman a64461f2c1 Carry the reload state as one JSON argument and exit naming a reload without a task 2026-09-26 13:35:50 +02:00
lilleman bd7a41a57b Expect the loop's own prompts, promptSource sdk, to be no human turn 2026-09-26 13:28:17 +02:00
lilleman b20a7e349b Expect render to carry the human's typed turns 2026-09-26 13:22:44 +02:00
lilleman 3e4c30281e Test that a whitespace-only quote grounds nothing 2026-09-25 18:24:07 +02:00
lilleman f0ae9b1209 Pin the fresh start resolving the root 2026-09-25 18:18:16 +02:00
lilleman 0d2bea9af9 Carry the root across a reload; the tests tell it from the cwd 2026-09-25 18:15:38 +02:00
lilleman 24ebeb0f94 Run the claude children at the root, and pin the root the tests hand on 2026-09-25 18:11:27 +02:00
lilleman d64eaef9e7 Pass the checkout root to project, read_premises and checkouts 2026-09-25 18:06:11 +02:00
lilleman b956228fd1 Say why the worker failed: the exit code, or exit 0 without a result event 2026-09-25 18:03:27 +02:00
lilleman 11aad9b72c Carry the reload counters on argv, off the LOOP_CLAUDE_ names --help documents 2026-09-25 17:35:24 +02:00
lilleman 2a2fff8fad Assert the write failure's line, widen the filed shape, drop the premise stated twice 2026-09-25 17:31:46 +02:00
lilleman 159cecaa1f Print the OS error's text once, the way read_premises does 2026-09-25 17:27:09 +02:00
lilleman 40f0b73a19 Say why trust cannot read ~/.claude.json and look up trust without inserting entries 2026-09-25 17:24:16 +02:00