31 lines
868 B
Markdown
31 lines
868 B
Markdown
---
|
|
name: triage-findings
|
|
description: Triage findings, fix real issues, and exclude false positives.
|
|
---
|
|
|
|
# Triage Findings
|
|
|
|
## Use
|
|
|
|
直接輸入:`triage-findings 問題原始檔(文字或截圖)`
|
|
|
|
## Workflow
|
|
|
|
1. Merge all findings.
|
|
2. Sort by severity:
|
|
- critical
|
|
- warning
|
|
- info
|
|
3. Renumber from 1.
|
|
4. Fix real issues.
|
|
5. Put false positives into `.gitea/ai-review/exclusions.json` as a top-level JSON array, preserving the original wording, language, and semantics as much as possible. Do not wrap the array in `exclusions` or `excluded_findings`.
|
|
6. Add tests when behavior changes.
|
|
|
|
## Output Rules
|
|
|
|
- Keep the final list short.
|
|
- Keep numbering contiguous.
|
|
- Preserve file path, location, and fix.
|
|
- When writing exclusions, always output a top-level JSON array.
|
|
- When writing exclusions, prefer the original issue text over paraphrased rewrites.
|