Reviewer reports must verify linked issue consistency for the selected PR #314

Closed
opened 2026-07-07 01:16:25 -05:00 by jcwalker3 · 0 comments
Owner

A reviewer report for PR #280 stated that the selected linked issue was Issue #275, but the read-only diagnostics section referenced viewing Issue #260.

Problem

Stale linked-issue text from a previous PR can leak into final reports. This makes it unclear whether the linked issue status was actually verified for the selected PR.

Required behavior

  1. For every selected PR, fetch or verify the linked issue live.
  2. Report the linked issue number and status consistently.
  3. If no linked issue is verified, say:
    Linked issue status: not verified in this session
  4. Final-report validation must fail if:
    • selected PR references one issue but diagnostics mention another
    • linked issue status is claimed without live proof
    • stale issue numbers appear in the final report

Acceptance criteria

  • Reports for PR #280 cannot mention Issue #260 unless it is actually relevant.
  • Linked issue status must match the selected PR.
  • Tests cover correct linked issue, stale previous issue, missing issue proof, and multiple linked issues.
A reviewer report for PR #280 stated that the selected linked issue was Issue #275, but the read-only diagnostics section referenced viewing Issue #260. ## Problem Stale linked-issue text from a previous PR can leak into final reports. This makes it unclear whether the linked issue status was actually verified for the selected PR. ## Required behavior 1. For every selected PR, fetch or verify the linked issue live. 2. Report the linked issue number and status consistently. 3. If no linked issue is verified, say: `Linked issue status: not verified in this session` 4. Final-report validation must fail if: - selected PR references one issue but diagnostics mention another - linked issue status is claimed without live proof - stale issue numbers appear in the final report ## Acceptance criteria - [ ] Reports for PR #280 cannot mention Issue #260 unless it is actually relevant. - [ ] Linked issue status must match the selected PR. - [ ] Tests cover correct linked issue, stale previous issue, missing issue proof, and multiple linked issues.
jcwalker3 added the status:in-progress label 2026-07-07 04:16:53 -05:00
sysadmin removed the status:in-progress label 2026-07-07 04:45:12 -05:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#314