Repository navigation
Conversation
Architecture-Review: unchanged; review recovery still requires exact live publication evidence and only restores the existing human summary. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on c5de192dfe4c00dbd4fbf954b85b2e9541690082, 24.7s: 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.
| match = pattern.search(body) | ||
| if not match: | ||
| return f"{body.rstrip()}\n\n## Review\n{line}\n" | ||
| if line in match.group(2).splitlines(): |
There was a problem hiding this comment.
suggestion: Idempotence check also changes non-recovery reposts; consider a direct unit test
The new early return in _append_review applies to every caller, not just confirmed recovery. Today _finish_review is the only caller, so an explicit --repost that posts a new review with the same kind, family, head and verdict no longer adds a second identical Review line. That looks intended, but the only test for it goes through the full recovery flow (test_repost_after_lost_summary_reply_does_not_patch_again). A short table test of _append_review would pin this contract down cheaply. It should cover: a placeholder-only section, a section that already has the line, a different line next to the same head, and a section followed by another ## heading.
Architecture-Review: unchanged; recovered and ordinary review summaries share the existing serialized PR body update. Co-Authored-By: Codex <noreply@openai.com>
Repair missing PR summaries when recovering a published review
Context and goal
Closes #1326
Acceptance
Notes
Base
Base: b69efec
Validation
(no
loopzero checkrun recorded)Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review