Determine whether an autopilot-shaped LinkedPR is stalled.
True when:
the PR is open, AND
updatedAt is set, AND
the elapsed time since updatedAt is at least thresholdDays.
Returns false for closed/merged PRs, missing updatedAt, or invalid
timestamps. Reimplemented locally rather than delegating to scout's
helper so this module owns autopilot's LinkedPR shape contract end
to end (avoids a runtime import dependency on scout's internal type).
Determine whether an autopilot-shaped
LinkedPRis stalled.True when:
updatedAtis set, ANDupdatedAtis at leastthresholdDays.Returns false for closed/merged PRs, missing
updatedAt, or invalid timestamps. Reimplemented locally rather than delegating to scout's helper so this module owns autopilot'sLinkedPRshape contract end to end (avoids a runtime import dependency on scout's internal type).