PR reconciliation handoffs must prove linked issue status before reporting it #300

Closed
opened 2026-07-07 00:38:10 -05:00 by jcwalker3 · 1 comment
Owner

Reviewer reconciliation handoffs may report linked issue status without proving that the issue was fetched live in the current session.

Observed behavior

An already-landed PR reconciliation handoff reported:

  • Linked Issue Status: Issue #263 (open)

However, the visible transcript did not show a live gitea_view_issue call for issue #263 in that session.

Problem

Linked issue state can change. Reconciliation handoffs must not report issue status unless it was fetched live during the current session.

Required behavior

  1. If a PR claims to close or link an issue, reconciliation handoffs must fetch the linked issue live before reporting status.

  2. If the linked issue cannot be fetched, report:

    • Linked issue status: not verified in this session
  3. Any recommended issue close/reopen/comment action must require exact capability proof.

  4. Final-report validation must reject linked issue status claims without a corresponding live issue-fetch proof.

Acceptance criteria

  • Reconciliation handoffs include live linked issue proof or mark issue status as unverified.
  • Reports cannot claim issue open, issue closed, or issue resolved without proof.
  • Tests cover linked issue open, linked issue closed, missing issue, and no linked issue.
Reviewer reconciliation handoffs may report linked issue status without proving that the issue was fetched live in the current session. ## Observed behavior An already-landed PR reconciliation handoff reported: * `Linked Issue Status: Issue #263 (open)` However, the visible transcript did not show a live `gitea_view_issue` call for issue #263 in that session. ## Problem Linked issue state can change. Reconciliation handoffs must not report issue status unless it was fetched live during the current session. ## Required behavior 1. If a PR claims to close or link an issue, reconciliation handoffs must fetch the linked issue live before reporting status. 2. If the linked issue cannot be fetched, report: * `Linked issue status: not verified in this session` 3. Any recommended issue close/reopen/comment action must require exact capability proof. 4. Final-report validation must reject linked issue status claims without a corresponding live issue-fetch proof. ## Acceptance criteria * Reconciliation handoffs include live linked issue proof or mark issue status as unverified. * Reports cannot claim `issue open`, `issue closed`, or `issue resolved` without proof. * Tests cover linked issue open, linked issue closed, missing issue, and no linked issue.
jcwalker3 added the status:in-progress label 2026-07-07 04:44:31 -05:00
Author
Owner

Implementation ready for review in PR #372.

Adds assess_reconcile_linked_issue_report() to require live gitea_view_issue proof before reporting linked issue open/closed/resolved status in reconciliation handoffs.

Implementation ready for review in PR #372. Adds `assess_reconcile_linked_issue_report()` to require live `gitea_view_issue` proof before reporting linked issue open/closed/resolved status in reconciliation handoffs.
sysadmin removed the status:in-progress label 2026-07-07 09:19:03 -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#300