Skip to content

Commit c49eb7f

Browse files
chagongCopilot
andcommitted
fix: improve issuelens labeling rules
- Apply 'needs more info' label for out-of-scope issues instead of stopping labeling immediately - Always apply 'ai-triaged' label after triage is complete Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 918fb22 commit c49eb7f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/agents/issuelens.agent.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ def close_as_duplicate(owner, repo, issue_number):
9898
close_as_duplicate("<owner>", "<repo>", <issue_number>)
9999
```
100100

101+
## Step 4: Apply the `ai-triaged` Label
102+
103+
After completing all triage steps, always apply the `ai-triaged` label to the issue to indicate it has been processed by the AI agent.
104+
101105
## Notes
102106
- Use `gh` CLI as a fallback if you encounter issues with MCP tools.
103107
- Always use available tools to complete each step before moving to the next.

.github/llms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Extension Pack for Java is a collection of popular extensions that can help writ
2323
## Label
2424
When labeling an issue, follow the rules below per label category:
2525
### General Rules
26-
- Analyze if the issue is related with the scope of using extensions for Java development. If not, STOP labelling IMMEDIATELY.
26+
- Analyze if the issue is related with the scope of using extensions for Java development. If not, apply the `needs more info` label and stop labelling other categories.
2727
- Assign label per category.
2828
- If a category is not applicable or you're unsure, you may skip it.
2929
- Do not assign multiple labels within the same category, unless explicitly allowed as an exception.

0 commit comments

Comments
 (0)