Workflow: Add issue triage TaskSpawner to self-development#361
Workflow: Add issue triage TaskSpawner to self-development#361axon-agent[bot] wants to merge 1 commit intomainfrom
Conversation
Add axon-triage.yaml that automates the issue triage bottleneck by watching for issues labeled needs-triage and applying appropriate kind/*, priority/*, and actor/* labels. This closes the gap between issue creation and agent pickup in the self-development pipeline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
2 issues found across 2 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="self-development/axon-triage.yaml">
<violation number="1" location="self-development/axon-triage.yaml:64">
P1: Typo in priority label: `priority/imporant-soon` should be `priority/important-soon`. The agent will apply a misspelled label that won't match any existing GitHub label or downstream automation. This same typo also appears on line 85 in the decision guidelines.</violation>
<violation number="2" location="self-development/axon-triage.yaml:65">
P1: Typo in priority label: `priority/import-longterm` should be `priority/important-longterm`. The agent will apply a misspelled label that won't match any existing GitHub label or downstream automation. This same typo also appears on line 86 in the decision guidelines.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
| ### Priority (exactly one required) | ||
| - `priority/critical-urgent` — Blocks usage or development; must fix immediately | ||
| - `priority/imporant-soon` — Should be addressed in the next development cycle | ||
| - `priority/import-longterm` — Valuable but not time-sensitive |
There was a problem hiding this comment.
P1: Typo in priority label: priority/import-longterm should be priority/important-longterm. The agent will apply a misspelled label that won't match any existing GitHub label or downstream automation. This same typo also appears on line 86 in the decision guidelines.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At self-development/axon-triage.yaml, line 65:
<comment>Typo in priority label: `priority/import-longterm` should be `priority/important-longterm`. The agent will apply a misspelled label that won't match any existing GitHub label or downstream automation. This same typo also appears on line 86 in the decision guidelines.</comment>
<file context>
@@ -0,0 +1,116 @@
+ ### Priority (exactly one required)
+ - `priority/critical-urgent` — Blocks usage or development; must fix immediately
+ - `priority/imporant-soon` — Should be addressed in the next development cycle
+ - `priority/import-longterm` — Valuable but not time-sensitive
+ - `priority/backlog` — Nice to have; may or may not be addressed
+
</file context>
|
|
||
| ### Priority (exactly one required) | ||
| - `priority/critical-urgent` — Blocks usage or development; must fix immediately | ||
| - `priority/imporant-soon` — Should be addressed in the next development cycle |
There was a problem hiding this comment.
P1: Typo in priority label: priority/imporant-soon should be priority/important-soon. The agent will apply a misspelled label that won't match any existing GitHub label or downstream automation. This same typo also appears on line 85 in the decision guidelines.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At self-development/axon-triage.yaml, line 64:
<comment>Typo in priority label: `priority/imporant-soon` should be `priority/important-soon`. The agent will apply a misspelled label that won't match any existing GitHub label or downstream automation. This same typo also appears on line 85 in the decision guidelines.</comment>
<file context>
@@ -0,0 +1,116 @@
+
+ ### Priority (exactly one required)
+ - `priority/critical-urgent` — Blocks usage or development; must fix immediately
+ - `priority/imporant-soon` — Should be addressed in the next development cycle
+ - `priority/import-longterm` — Valuable but not time-sensitive
+ - `priority/backlog` — Nice to have; may or may not be addressed
</file context>
🤖 Axon Agent @gjkim42
Summary
Adds
axon-triage.yaml— a new self-development TaskSpawner that automates the issue triage bottleneck in the Axon development pipeline.Problem
The self-development pipeline has a manual bottleneck at the triage step:
Every new issue gets
needs-triage,needs-kind,needs-priority, andneeds-actorlabels automatically (via.github/workflows/label.yaml). A human must then read each issue and applytriage-accepted,kind/*,priority/*, andactor/*labels before theaxon-workersspawner can pick it up. Currently there are 21 open issues stuck atneeds-triage.Solution
A new TaskSpawner that watches
needs-triageissues and applies labels automatically:Design decisions:
maxConcurrency: 1— avoids race conditions on label applicationexcludeLabels: [triage-accepted, axon/needs-input]— won't re-triage already-triaged issuesactor/axonassignment — prompt instructs the agent to only assignactor/axonwhen the fix is clearly within agent capabilitiesaxon/needs-input— when the issue is ambiguous, asks for human clarification instead of guessingLabel taxonomy in the prompt matches the project's existing labels exactly:
kind/bug,kind/feature,kind/api,kind/docspriority/critical-urgent,priority/imporant-soon,priority/import-longterm,priority/backlogactor/axon,actor/humangood first issue(optional)Changes
self-development/axon-triage.yaml— New TaskSpawner configself-development/README.md— Documentation for the new spawnerTest plan
triage-acceptedlabel triggersneeds-triageremoval via label.yaml🤖 Generated with Claude Code
Summary by cubic
Automates issue triage with a new TaskSpawner that reads new issues, applies labels, and marks them as triaged to unblock axon-workers. This removes the manual triage bottleneck.
New Features
Migration
Written for commit 0a1b31d. Summary will update on new commits.