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
pr-body-contract refuses a fix for an issue in another portfolio repository #5086
.claude/scripts/pr-body-contract.sh check accepts an issue relationship only in the same-repository form Fixes #N / Part of #N. In this portfolio the issue a change resolves often lives in a different repository from the fix: a platform issue whose producer-side fix belongs in devantler-tech/.github, for example. The contract then refuses Fixes devantler-tech/platform#6378, the only link GitHub would honour across repositories. The engineer has to file a duplicate local issue just to pass the check.
Steps to Reproduce
Seed a body for a devantler-tech/.github PR, then set its relationship line to Fixes devantler-tech/platform#6378.
Run pr-body-contract.sh check --repo devantler-tech/.github --body-file <file>.
It fails with body must contain exactly one issue relationship.
A relationship to an issue in another devantler-tech repository (Fixes devantler-tech/<repo>#N, and the same for Part of) satisfies the single-relationship rule. Issues outside the organisation are still refused.
Acceptance Criteria
check accepts exactly one Fixes/Part of line that names a devantler-tech/<repo>#N issue, with the existing pairing rule for one Fixes plus one Part of.
Another owner, or a malformed reference, is still refused; the self-test covers both.
Activity