Given the first linked PR on an issue, decide how it affects whether
the issue is actionable for the current user. Previously described as
prose in agents/issue-scout.md; extracted here as a pure function so
the classification is unit-testable and uniform across callers.
Integration with the vet flow is deferred — scout does not yet surface
linked-PR metadata on IssueCandidate, so consumers need to fetch the
linked PR themselves (e.g. via Octokit) and hand the shape to this
function. See #978 for the upstream data-contract work.
Linked-PR classification (#910, #978).
Given the first linked PR on an issue, decide how it affects whether the issue is actionable for the current user. Previously described as prose in agents/issue-scout.md; extracted here as a pure function so the classification is unit-testable and uniform across callers.
Integration with the vet flow is deferred — scout does not yet surface linked-PR metadata on
IssueCandidate, so consumers need to fetch the linked PR themselves (e.g. via Octokit) and hand the shape to this function. See #978 for the upstream data-contract work.