You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] review: recognise Linear issue identifiers in reviewScopeContract #14909
Teach reviewScopeContract (src/pkg/github/client.go) to recognise a Linear issue identifier as the PR's scope contract when the repository's work source is Linear (or a Linear team key is mapped to the repo). Sources, in order:
a Linear magic word in the body (Fixes / Closes / Part of ONB-n);
a leading [ONB-n] in the PR title;
the head branch name (…/onb-3872-…).
Matches are restricted to the team keys configured for the repo; unknown keys are ignored. The contract string returned is linked Linear issue ONB-3872 so scopeContractSection can distinguish it from a GitHub issue. Existing GitHub closing-keyword and Hive-Run / Hive-Plan lease behaviour is unchanged.
Tests
reviewScopeContract finds ONB-3872 from each of the three sources.
An identifier with an unconfigured team key yields no contract.
Existing GitHub-issue and lease-task contracts still win when present.
Why
Today a PR whose only contract is a Linear issue gets an empty contract and the reviewer is told to treat title plus diff as the spec. This child only adds recognition; fetching the issue text and rendering it in the kick are the sibling children of #14906.
Decision taken by hive: split #14906 along the three steps in its own proposal so each PR stays reviewable; this child is independent of the Linear API and can land first.
🔒 Claimed by @Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Activity
hivecommons-hive commentedon Oct 28, 2026
🔒 Claimed by @Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply
/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 28, 2026
🔓 Claim by @Karibhou released (lease revoked).
✨ feature: recognise Linear review scope contracts