Give "record", "outcome" and "places" one meaning each across bin/, and rename larv_review/git.py by what it holds #367

Merged
lilleman merged 9 commits from item-125 into main 2026-10-23 11:16:34 +02:00
Owner

Gives each word one meaning in bin/:

  • An outcome is an entry of loop-claude's archive.
  • A record is a document that tools or people keep entries in.
  • A place is what a comprehension seat names.

The decision is recorded in docs/decisions.md → bin/: an outcome is ….

Renames:

  • score-outcomes: Outcome → Result, in the module results.py.
  • rule-hook: Outcome/verdict() → Checked/check().
  • reading-cost: Reading.places → Reading.files.
  • model_routing: Record/Route.record() → WorkerLine/Route.worker_line().
  • judge-replay: on_record → archived_kind.
  • Modules: larv_review/record.py → history_commands.py, and larv_review/git.py → history_changes.py.

On-disk formats are unchanged. The only output change: judge-replay's miss lines say "archived" where they said "on record".

Stability raised two 🟡s for hard places this change touches without making them easier: loop-claude --help and review_replay/main.py code_of. Both changed by one word, as part of the renames. Making them easier to read is outside this item's scope.

Comprehension check: the paired ruling against dcbdc97 is better. Mid A and the inherited architect both voted better overall.

Gives each word one meaning in `bin/`: - An outcome is an entry of loop-claude's archive. - A record is a document that tools or people keep entries in. - A place is what a comprehension seat names. The decision is recorded in `docs/decisions.md` → `bin/: an outcome is …`. Renames: - score-outcomes: `Outcome` → `Result`, in the module `results.py`. - rule-hook: `Outcome`/`verdict()` → `Checked`/`check()`. - reading-cost: `Reading.places` → `Reading.files`. - model_routing: `Record`/`Route.record()` → `WorkerLine`/`Route.worker_line()`. - judge-replay: `on_record` → `archived_kind`. - Modules: `larv_review/record.py` → `history_commands.py`, and `larv_review/git.py` → `history_changes.py`. On-disk formats are unchanged. The only output change: judge-replay's miss lines say "archived" where they said "on record". Stability raised two 🟡s for hard places this change touches without making them easier: `loop-claude --help` and `review_replay/main.py` `code_of`. Both changed by one word, as part of the renames. Making them easier to read is outside this item's scope. Comprehension check: the paired ruling against dcbdc97 is **better**. Mid A and the inherited architect both voted better overall.
lilleman added 1 commit 2026-10-23 10:42:09 +02:00
lilleman added 7 commits 2026-10-23 11:13:54 +02:00
lilleman added 1 commit 2026-10-23 11:16:25 +02:00
lilleman marked the pull request as ready for review 2026-10-23 11:16:33 +02:00
lilleman merged commit 4a0ba59210 into main 2026-10-23 11:16:34 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lilleman/claude-config#367