Repository navigation
Conversation
Architecture-Review: unchanged; recovered and ordinary review summaries share the existing serialized PR body update. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on bb56e0bf06d972da6de5b0c623843843991846b0, 23.4s: approve (0 critical, 0 important, 1 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
| if verdict == 5: | ||
| files = ["api", f"repos/{REPO}/pulls/7/files"] | ||
| assert sum(call["argv"][:2] == files for call in gh.calls) == 2 | ||
|
|
There was a problem hiding this comment.
suggestion: No test for an interruption after an accepted POST but before the PATCH
The acceptance criteria name two cases: a lost review POST reply, and an interruption before the PATCH. The tests cover a POST that is accepted and then interrupted or times out (interrupted=True / "timeout"), and a lost PATCH reply (summary_timeout). No test covers a POST that succeeds normally, followed by a KeyboardInterrupt or crash before _finish_review runs the PATCH, followed by --repost. The code should handle this through the same _recover_review → _finish_review path, but no test checks it. Smallest fix: add a lost_reply variant that returns the POST response and raises KeyboardInterrupt on the PATCH before recording it. Then assert that --repost produces exactly one review and one summary PATCH, using assert_review_and_summary.
|
Closing on Lean's decision from the test-line supply audit (#575 (comment)): this PR's test and source cost on a full cap outweighs its measured benefit. The approved work stays in the branch history. Reopen or replace it only with new evidence of a material, measured saving or failure. |
Repair missing PR summaries when recovering a published review
Context and goal
Closes #1326
Acceptance
Notes
Replaces Repair missing PR summaries when recovering a published review #1350. Loop Zero declined a delta review after the conflict resolution that integrated the shared PR-body lock.
The GitHub fake records accepted reviews and accepted summary PATCHes before losing the response.
Base
Base: c5232bb
Validation
(no
loopzero checkrun recorded)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review