Add AI disclaimer requirement for GitHub issue comments

This commit is contained in:
Test
2026-04-15 06:17:41 +01:00
parent 651eab033b
commit 1f25956a56
+8 -4
View File
@@ -7,6 +7,14 @@ description: Triage GitHub issues through a label-based state machine with inter
Triage issues in the current repo using a label-based state machine. Infer the repo from `git remote`. Use `gh` for all GitHub operations.
## AI Disclaimer
Every comment or issue posted to GitHub during triage **must** include the following disclaimer at the top of the comment body, before any other content:
```
> *This was generated by AI during triage.*
```
## Reference docs
- [AGENT-BRIEF.md](AGENT-BRIEF.md) — how to write durable agent briefs
@@ -113,8 +121,6 @@ If the issue needs to be fleshed out before it's ready for an agent, interview t
- Ask questions one at a time
- Provide a recommended answer for each question
- If a question can be answered by exploring the codebase, explore the codebase instead
- If there are prior triage notes on this issue, resume from where you left off — never re-ask questions that were already resolved
- For bugs: use the reproduction findings to ask targeted questions ("I confirmed this happens because X — should the fix be Y or Z?")
The goal is to reach a point where you can write a complete agent brief. Keep going until you have:
@@ -125,8 +131,6 @@ The goal is to reach a point where you can write a complete agent brief. Keep go
### Step 5: Apply the outcome
Before posting any comment or applying any label, show the maintainer a **preview** of exactly what will be posted and which labels will be applied/removed. Only proceed on confirmation.
Depending on the outcome:
- **ready-for-agent** — post an agent brief comment (see [AGENT-BRIEF.md](AGENT-BRIEF.md))