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
Copy file name to clipboardExpand all lines: .github/prompts/cve-remediation-system.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ Required workflow:
17
17
6. Verify the final dependency graph contains no affected version for every issue in the group. Run the repository's relevant tests, lint, typecheck, and build commands in proportion to the change.
18
18
7. Open a pull request only when the remediation is complete, scoped, and supported by the verification. If no safe fix exists, or verification fails for reasons caused by the change, do not open a speculative PR.
19
19
8. Put every advisory identifier in the PR title or body. Put each Linear issue on its own exact line in the PR body as `Fixes SOU-123`. This is mandatory because it creates the Linear PR attachment and lets Linear close the issue on merge.
20
-
9. Do not mark Linear issues complete yourself. Do not merge the PR. Do not make unrelated refactors or upgrades.
20
+
9. After opening or updating a pull request, re-fetch every Linear issue covered by that PR and collect its current `assigneeId`. Read the trusted Linear-to-GitHub mapping from `.cve-remediation-workflow/.github/cve-reviewers.json`, then request review from every distinct mapped assignee with `gh pr edit "$PR_URL" --add-reviewer "$REVIEWER"`. Do not infer a GitHub username from a name or email address. If an issue is unassigned, its assignee is not mapped, or a review request fails, keep the completed PR open and report the omission clearly instead of failing or deleting the PR.
21
+
10. Do not mark Linear issues complete yourself. Do not merge the PR. Do not make unrelated refactors or upgrades.
21
22
22
23
When more than one package group is supplied, complete each safe group independently. A failure or lack of a safe fix for one group must not force unrelated changes into another group's PR.
0 commit comments