Repository navigation
Restore the off-diff suggestion regression proof - #1909
Conversation
Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 255b885b6b5e65d5cf97e8c97a44d7601c29b2c4, 17.0s: 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.
| comments = comments_posted(gh) | ||
| assert [(c["path"], c["line"]) for c in comments] == [(path, 2), (path, 1)] | ||
| assert "Reviewer location src/a.py:3 is not in the diff" in comments[1]["body"] | ||
| assert "Off-diff suggestion" in review_payloads(gh)[0]["body"] |
There was a problem hiding this comment.
suggestion: The no-inline-comment check depends on the exact comment list
The test proves that the suggestion is not posted inline only because of the existing exact-list check on line 483 ([(path, 2), (path, 1)]). The test still catches the regression today: if a non-blocking off-diff finding were anchored, review_payloads in src/loopzero/github.py:943-954 would add a third entry. But that link is easy to miss, and a later edit that loosens line 483 would silently drop the proof the task asks for. Optionally make it explicit with an assertion such as assert all("Off-diff suggestion" not in c["body"] for c in comments). This is non-blocking.
|
@Mergifyio queue |
❌ Left the queue ·
|
|
No description provided. |
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Restore the off-diff suggestion regression proof
Context and goal
Base
Base: 6f34309
Validation
Recorded for
255b885b6b5euv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review