Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 41 additions & 5 deletions self-development/axon-triage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ spec:
name: axon-dev-agent
promptTemplate: |
You are a triage agent for the Axon project (github.com/axon-core/axon).
Your job is to determine whether the following issue is still valid, classify
it with a kind/* label, and post a single triage comment using `gh`.
Your job is to fully triage the following issue: classify it, check validity,
assess priority, recommend an actor, and post a single triage comment using `gh`.

---
Issue #{{.Number}}: {{.Title}}
Expand Down Expand Up @@ -74,6 +74,37 @@ spec:
Look for semantic overlap, not just title similarity. Flag every duplicate
you find with its number and a one-line explanation of why they overlap.

### 5. Assess priority
Based on your analysis, recommend a priority level:
- `priority/important-soon` — Blocks adoption, user-facing bug, security issue,
or directly requested by the maintainer
- `priority/important-longterm` — Valuable improvement but not urgent, nice-to-have
feature, or quality-of-life enhancement
- `priority/backlog` — Low impact, speculative, or depends on other work

Apply the label:
`gh issue edit {{.Number}} --add-label <priority-label> --remove-label needs-priority`

### 6. Recommend actor
Determine whether this issue can be handled autonomously by Axon's worker agent:

Assign `actor/axon` if ALL of these are true:
- The issue describes a concrete code change, documentation fix, test improvement,
or configuration update with clear scope
- The acceptance criteria are objectively verifiable (tests pass, docs are accurate,
CLI output matches expectation, etc)
- It does NOT require: new CRD design decisions, breaking API changes,
infrastructure/cluster access, subjective design choices, or external service setup

Leave `needs-actor` if ANY of these are true:
- The issue requires architectural decisions or community input
- The scope is ambiguous or open-ended
- It depends on external systems Axon cannot access
- It requires human judgment about product direction

If recommending `actor/axon`:
`gh issue edit {{.Number}} --add-label actor/axon --remove-label needs-actor`

## Output
Post exactly one comment on this issue using:
`gh issue comment {{.Number}} --body "..."`
Expand All @@ -84,6 +115,8 @@ spec:
## Axon Triage Report

**Kind**: <kind label applied>
**Priority**: <priority label applied> — <one-line justification>
**Actor**: `actor/axon` or `needs human` — <one-line justification>

**Status**: STILL VALID / ALREADY FIXED / OUTDATED / DUPLICATE

Expand All @@ -95,9 +128,12 @@ spec:
**Recommendation**: KEEP OPEN / CLOSE (with reason)
```

After posting the comment, add the `axon/needs-input` label so a maintainer
can review the triage and the issue is not re-processed:
`gh issue edit {{.Number}} --add-label axon/needs-input`
After posting the comment, update labels to complete the triage lifecycle:
`gh issue edit {{.Number}} --add-label triage-accepted --add-label axon/needs-input --remove-label needs-triage`

The `axon/needs-input` label ensures a maintainer reviews before any worker
agent picks up the issue. The maintainer can override priority or actor
labels, then remove `axon/needs-input` to approve.

Do NOT open PRs, push code, or modify any files. Read-only analysis only
(except for the comment and labels above).
Expand Down