Answer prose round 1: 0 🔴, 11 🟡 (0 misread); loop-claude and do-epic are entry points everywhere, and each new sentence holds one idea
CI / tests (pull_request) Successful in 3m40s

This commit is contained in:
2026-11-19 13:44:20 +01:00
parent 2806a8edc9
commit aafe75e16f
10 changed files with 26 additions and 27 deletions
+3 -3
View File
@@ -68,11 +68,11 @@ class PullView:
# Empty where its branch protection asks for no review.
decision: str
reviews: tuple[Review, ...]
# When its author submitted each review and made each comment. A review the author has yet to submit has no time: it is empty, and answers nobody.
# When its author submitted each review and made each comment. A review the author has yet to submit has an empty time, and doesn't answer anyone.
said: tuple[str, ...]
# What `held` gives where the answer lacks the key asked for: no text, so the check of the field refuses it.
# What `held` gives where the answer lacks the key asked for: of no type a field may have, so each field's check refuses it.
MISSING = object()
@@ -116,7 +116,7 @@ def pull_view(printed: str) -> PullView | Failure:
def answered(pull: PullView, head: str) -> bool:
"""Whether the worker answered the newest review that requested changes on pull, whose head commit is head: the head is no longer the commit that review was made on, or the pull request's author commented or replied in a thread after it. False where pull lists no review that requested changes.
The review names its commit, so no clock tells whether the worker pushed: a commit's date says when it was made, never when it was pushed.
The review names the commit it was made on, so a head that differs shows the worker pushed. A commit's date cannot show that: it says when the commit was made, never when it was pushed.
"""
asked = max((review for review in pull.reviews if review.state == CHANGES_REQUESTED), key=lambda review: review.submitted_at, default=None)
if asked is None: