Context
#73 added the snapshot-v2 collector fields needed for richer relationship analysis: per-issue closing_prs is present by default and comments is available through --with-comments. The collector is ready, but triage-relate.js still emits only body-based mentions/blocks/depends-on and title duplicate candidates.
Desired change
Teach triage-relate.js to use snapshot-v2 fields conservatively.
Suggested signals:
- comment-based mentions when
comments is present
- a closing-PR relationship signal when
closing_prs contains merged PR metadata
Acceptance Criteria
Context
#73 added the snapshot-v2 collector fields needed for richer relationship analysis: per-issue
closing_prsis present by default andcommentsis available through--with-comments. The collector is ready, buttriage-relate.jsstill emits only body-based mentions/blocks/depends-on and title duplicate candidates.Desired change
Teach
triage-relate.jsto use snapshot-v2 fields conservatively.Suggested signals:
commentsis presentclosing_prscontains merged PR metadataAcceptance Criteria
commentsarrays are present.closing_prsand do not imply an automatic close recommendation by themselves.