Skip to content

fix: fix prompt for prejudge.#20

Merged
LeiGuo622 merged 1 commit into
mainfrom
feat/fix-prompt
May 15, 2026
Merged

fix: fix prompt for prejudge.#20
LeiGuo622 merged 1 commit into
mainfrom
feat/fix-prompt

Conversation

@LeiGuo622
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 15, 2026 15:23
@LeiGuo622 LeiGuo622 merged commit fa7c3ef into main May 15, 2026
4 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts one bullet in the prejudge judge prompt: the third "NO" criterion is changed from a statement about CONFIG-protected features not being enabled to one about the vulnerable code having been significantly refactored/rewritten or fixed differently, making the patch irrelevant.

Changes:

  • Replace the third "NO" condition in the backporting judge prompt to focus on refactor/rewrite/alternate fix instead of CONFIG enablement.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

1. The vulnerable code/function/feature NEVER existed in the downstream kernel, OR
2. The code was removed before the current version, OR
3. The feature protected by CONFIG options is clearly NOT enabled in any supported architecture
3. The vulnerable code have been significantly refactored/rewritten or fixed in a different way that makes the patch irrelevant
@LeiGuo622 LeiGuo622 deleted the feat/fix-prompt branch May 15, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants