Move the next chunk's pick into one module, so git_repo only runs git and todo_table only parses the plan #316

Merged
lilleman merged 13 commits from item-177 into main 2026-10-18 11:10:19 +02:00
Owner

Moves the next chunk's pick into bin/chunk_pick.py, so git_repo only runs git and todo_table only parses the plan.

  • Pick is now one dataclass per standing: Next, Cut, Finished, Unplanned and Unknown.
  • standing names the earliest release named since the cut, and returns the next release.
  • chunk-preflight's finished and unplanned messages name that release.
  • "Work has landed" now has two names: unreleased_changes counts changes, and committed_since_release counts commits after the release tag.
  • chunk_preflight/gathered.py holds data only. Its pure choices moved to choices.py.
  • loop_claude's chunk_start hands routing its plan reader only after the preflight has run.
  • One release formatter remains: todo_table.version.

Review: architecture took 3 rounds and passes. Principles took 2 rounds: the README goals auditor approved, and the technical-principles auditor approved in round 2. Security found nothing. Stability took 2 rounds and passes; every mutant on the changed lines of standing, chunk_item and planned was killed. Product-owner approved. Prose took 1 round, and every finding was fixed. The overrides pass and the full scan did not fire. No CI and no auto-reviewer are configured; the local suite is green: 616 tests, mypy included.

Comprehension check: the paired ruling against 6e0fda4 is better. Mid A and the inherited architect both voted better on Navigation, Locality, Shape and Overall, and same on Self-sufficiency.

Moves the next chunk's pick into `bin/chunk_pick.py`, so `git_repo` only runs git and `todo_table` only parses the plan. - `Pick` is now one dataclass per standing: `Next`, `Cut`, `Finished`, `Unplanned` and `Unknown`. - `standing` names the earliest release named since the cut, and returns the next release. - chunk-preflight's finished and unplanned messages name that release. - "Work has landed" now has two names: `unreleased_changes` counts changes, and `committed_since_release` counts commits after the release tag. - `chunk_preflight/gathered.py` holds data only. Its pure choices moved to `choices.py`. - `loop_claude`'s `chunk_start` hands routing its plan reader only after the preflight has run. - One release formatter remains: `todo_table.version`. Review: architecture took 3 rounds and passes. Principles took 2 rounds: the README goals auditor approved, and the technical-principles auditor approved in round 2. Security found nothing. Stability took 2 rounds and passes; every mutant on the changed lines of `standing`, `chunk_item` and `planned` was killed. Product-owner approved. Prose took 1 round, and every finding was fixed. The overrides pass and the full scan did not fire. No CI and no auto-reviewer are configured; the local suite is green: 616 tests, mypy included. Comprehension check: the paired ruling against 6e0fda4 is better. Mid A and the inherited architect both voted better on Navigation, Locality, Shape and Overall, and same on Self-sufficiency.
lilleman added 2 commits 2026-10-18 10:33:52 +02:00
lilleman marked the pull request as work in progress 2026-10-18 10:33:56 +02:00
lilleman added 9 commits 2026-10-18 10:59:55 +02:00
lilleman marked the pull request as ready for review 2026-10-18 11:07:30 +02:00
lilleman added 1 commit 2026-10-18 11:07:31 +02:00
lilleman added 1 commit 2026-10-18 11:10:10 +02:00
lilleman merged commit 0462980bd4 into main 2026-10-18 11:10:19 +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#316