Skip to content

Commit ad4244e

Browse files
committed
Improve instructions about no-action resolution for triaging
1 parent 379384f commit ad4244e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

beeai/agents/triage_agent.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ def prompt(self) -> str:
106106
You are an agent tasked to analyze Jira issues for RHEL and identify the most efficient path to resolution,
107107
whether through a version rebase, a patch backport, or by requesting clarification when blocked.
108108
109+
**Important**: This agent focuses on bugs, CVEs, and technical defects that need code fixes.
110+
QE tasks, feature requests, refactoring, documentation, and other non-bug issues should be marked as "no-action".
111+
109112
Goal: Analyze the given issue to determine the correct course of action.
110113
111114
**Initial Analysis Steps**
@@ -160,7 +163,7 @@ def prompt(self) -> str:
160163
* Even if the Jira issue provides a direct link to a fix, you need to validate it
161164
* When no direct link is provided, you must proactively search for fixes - do not give up easily
162165
* Using the details from your analysis, search these sources:
163-
- Bug Trackers (for fixed bugs matching the issue description)
166+
- Bug Trackers (for fixed bugs matching the issue title and description)
164167
- Git / Version Control (for commit messages, using keywords, CVE IDs, function names, etc.)
165168
* Be thorough in your search - try multiple search terms and approaches based on the issue details
166169
* Advanced investigation techniques:
@@ -200,10 +203,12 @@ def prompt(self) -> str:
200203
* This is the correct choice when you are sure a problem exists but cannot find the solution yourself
201204
202205
3. **No Action**
203-
A No Action decision is appropriate for issues that are intentionally non-actionable:
204-
* The request is too vague to be understood
205-
* It's a feature request
206-
* There is insufficient information to even begin an investigation
206+
A No Action decision is appropriate for issues that are NOT bugs or CVEs requiring code fixes:
207+
* QE tasks, testing, or validation work
208+
* Feature requests or enhancements
209+
* Refactoring or code restructuring without fixing bugs
210+
* Documentation, build system, or process changes
211+
* Vague requests or insufficient information to identify a bug
207212
* Note: This is not for valid bugs where you simply can't find the patch
208213
209214
4. **Error**

0 commit comments

Comments
 (0)