Commit 5fb67a0
authored
Enhance triage skills with updated scoring (#6294)
* Update Generate-FeatureAreaReport.ps1 to only search for area-* feature areas
* Add Validate-FeatureAreaReport.ps1 to issue-triage-report skill
* Enhance triage skills with updated scoring, confidence, and P-scale labels
Scoring System:
- New weights: reactions=30%, age=30%, comments=30%, severity=10%
- P-scale severity labels: P0=critical, P1=high, P2=medium, P3=low
- Confidence scoring with grep-friendly [confidence:XX] format (0-100)
Label Consolidation:
- Merged Hot + Popular into Popular (>=5 reactions threshold)
Contact Schema:
- Simplified from {primary, secondary} to single {contact} field
- Removed legacy schema backward compatibility
Area Suggestions:
- Get-IssueDetails.ps1 dynamically fetches area labels via Get-RepositoryLabels.ps1
- area-Notifications covers all notification types (toast, badge, push, wns)
- Fixed area-PowerManagement naming
Documentation:
- Added PowerShell examples alongside Bash for confidence filtering
- Updated all SKILL.md files with new configuration details
* Revert trending criteria to include recency as a scoring factor
* Remove copy of ScoringConfig.json in favor of the filepath
* ReportLib.ps1: Remove defaults in Get-ScoringConfig and rely on ScoringConfig.json
* ReportLib.ps1: Remove defaults in Get-IssueScore and rely on ScoringConfig.json for severity labels
* ReportLib.ps1: Update Get-AreaContacts to rely on area-contacts.json, fails fast on errors
* GetHighlightScore.ps1: Use Get-Issue score for calculation. Let this script handle human-readable formatting
* ReportLib.ps1: Remove unused thresholds assignment from Get-IssueScore
* Skills: updates the label fetching code so Get-RepositoryLabels.ps1 is the source of truth
* Create area-keywords.json
* Update Get-IssueDetails.ps1 to reference area labels json
* Enforce trending_days recency check for Trending highlight label
- Add RawUpdateAgeDays to Get-IssueScore (computed from updatedAt)
- Require comments >= trending_comments AND updated within trending_days
in both Get-HighlightLabels (ReportLib) and Get-DetailedIssueScore
- Fix scoring-algorithm.md: comments >= 5 -> >= 10, add trending_days
to highlight table and thresholds reference
- Add missing trending_days to SKILL.md config example
* Update scoring-algorithm.md to walk through scripts and config files
* Remove sample json with hardcoded weight values
* Correct Validate-FeatureAreaReport.ps1 to use PSScriptRoot instead of System.Management.Automation.InvocationInfo.MyCommand.Path
* Remove security label from issue-triage-report skill
* Remove keyword classification on area labels and replace with agent instructions
* Clean up block word matching in ReportLib.ps1
* Convert script-based confidence scoring in issue-triage-report skill to LLM based confidence scoring (what we originally intended)
* Update Get-AreaContacts.ps1 and ReportLib.ps1 to use the contacts/notes schema
* Move severity and blocker determination to agent SKILL.md instead of PowerShell script
* Add agent assessments for severity and blockers
* Remove bucket scoring
* Scale weights to percentages and use double loading for point values
* Replace outdated severity labels with severity multipliers
* Update docs to reflect recent scoring changes
* Have human-edited IssueAssesments.json take scoring priority
* Fix indentation typo in SKILL.md for issue-triage-report
* Minor corrections in SKILL.md and scoring-algorithm.md
* Remove labelPriority
* Bringing back scores between 0 to 100
* Condense ReadAgentAssessments and ReadIssueAssessments into one ReadAssessments file
* Condense Get-AgentAssessmentsPath and Get-IssueAssessmentsPath into one Get-AssessmentsPath file
* Remove unused Test-HasLabelMatching
* Add Get-IssueScore docs
* Move Get-DetailedIssueScore into ReportLib.ps1
* Update Scoring Results section of scoring-algorithm.md
* Actually consolidate Read-IssueAssessments and Read-AgentAssessments into ReadAssessments in ReportLib.ps1
* Add instructions to persistent reasoning to files in SKILL.md1 parent 46b472b commit 5fb67a0
15 files changed
Lines changed: 1268 additions & 621 deletions
File tree
- .github/skills
- issue-triage-report
- references
- scripts
- triage-meeting-prep
- references
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 49 | + | |
68 | 50 | | |
69 | 51 | | |
70 | 52 | | |
| |||
146 | 128 | | |
147 | 129 | | |
148 | 130 | | |
149 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
150 | 156 | | |
151 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
155 | 163 | | |
156 | | - | |
157 | | - | |
158 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
159 | 167 | | |
160 | 168 | | |
161 | 169 | | |
| |||
173 | 181 | | |
174 | 182 | | |
175 | 183 | | |
176 | | - | |
| 184 | + | |
177 | 185 | | |
178 | 186 | | |
179 | 187 | | |
180 | 188 | | |
181 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
182 | 245 | | |
183 | 246 | | |
184 | 247 | | |
185 | | - | |
| 248 | + | |
186 | 249 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
192 | 261 | | |
193 | 262 | | |
194 | 263 | | |
195 | 264 | | |
196 | 265 | | |
197 | 266 | | |
198 | 267 | | |
199 | | - | |
| 268 | + | |
200 | 269 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 270 | + | |
205 | 271 | | |
206 | 272 | | |
207 | 273 | | |
| |||
210 | 276 | | |
211 | 277 | | |
212 | 278 | | |
213 | | - | |
214 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
215 | 292 | | |
216 | 293 | | |
217 | 294 | | |
218 | 295 | | |
219 | 296 | | |
220 | 297 | | |
221 | 298 | | |
222 | | - | |
223 | 299 | | |
224 | 300 | | |
225 | 301 | | |
226 | 302 | | |
227 | 303 | | |
228 | 304 | | |
229 | | - | |
| 305 | + | |
230 | 306 | | |
231 | 307 | | |
232 | 308 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
251 | 312 | | |
252 | 313 | | |
253 | 314 | | |
| |||
257 | 318 | | |
258 | 319 | | |
259 | 320 | | |
260 | | - | |
| 321 | + | |
261 | 322 | | |
262 | 323 | | |
263 | 324 | | |
264 | 325 | | |
265 | | - | |
266 | | - | |
| 326 | + | |
| 327 | + | |
267 | 328 | | |
268 | 329 | | |
269 | 330 | | |
| |||
278 | 339 | | |
279 | 340 | | |
280 | 341 | | |
281 | | - | |
| 342 | + | |
282 | 343 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments