Answer prose round 1: 0 🔴, 4 🟡 (0 misread); take the reviewer's rewrites

This commit is contained in:
Lilleman
2026-11-19 22:20:43 +01:00
parent ceacc86a88
commit 470be28759
9 changed files with 23 additions and 22 deletions
+2 -2
View File
@@ -29,11 +29,11 @@ def render(found: Gathered) -> list[str]:
def merge_lines(found: Gathered) -> list[str]:
"""What `merge = "human"` leaves for the worker to know: each worktree a merged pull request left, the items passed over since their pull request awaits a person's merge, and why those could not be read."""
"""What `merge = "human"` leaves for the worker to know: each worktree a merged pull request left, the items passed over since their pull request awaits a person's merge, or why those pull requests could not be read."""
left = [f"- The worktree {worktree.path}, on the branch {worktree.branch}, is left from pull request #{worktree.pull}, which has merged: run `~/.claude/bin/chunk-pr clean` in it as this chunk's first step." for worktree in found.left]
items = found.item.plan.items if isinstance(found.item, ItemFacts) else []
passed = [f"item {item.id}, by pull request {item.awaits_merge}" for item in items if item.awaits_merge]
over = [f"- Passed over, since each is finished on a branch whose pull request is ready and awaits a person's merge: {'; '.join(passed)}. No chunk takes one."] if passed else []
over = [f"- Items passed over, each finished on a branch whose ready pull request awaits a person's merge: {'; '.join(passed)}. No chunk takes one."] if passed else []
unread = [f"- The pull requests that await a person's merge cannot be read, so no item is passed over for one: {found.merges_unread.reason}"] if found.merges_unread else []
return [*left, *over, *unread]