Skip to content

Complete triage lifecycle with priority, actor, and label cleanup#444

Open
axon-agent[bot] wants to merge 1 commit intomainfrom
axon-task-437
Open

Complete triage lifecycle with priority, actor, and label cleanup#444
axon-agent[bot] wants to merge 1 commit intomainfrom
axon-task-437

Conversation

@axon-agent
Copy link

@axon-agent axon-agent bot commented Feb 26, 2026

Summary

Extend the axon-triage promptTemplate to handle the full triage lifecycle instead of stopping after kind classification:

  • Add priority assessment (task 5) with correctly-spelled priority/* labels (priority/important-soon, priority/important-longterm, priority/backlog) and clear criteria for each level
  • Add actor recommendation (task 6) with explicit criteria for actor/axon vs needs-actor
  • Update label management to swap needs-triagetriage-accepted after posting the triage comment
  • Update the triage comment format to include Priority and Actor fields with justifications
  • Rename misspelled GitHub labels (priority/imporant-soonpriority/important-soon, priority/import-longtermpriority/important-longterm)

Before: Triage agent classifies (kind/*) and checks validity, then stops. Maintainer must manually assess priority, assign actor, and update 3-4 labels per issue.

After: Triage agent completes all label operations. Maintainer reviews the triage comment (now includes priority + actor justification) and removes axon/needs-input to approve — a single operation instead of 5.

Test plan

  • Verify YAML is valid and the promptTemplate parses correctly
  • Verify the triage agent correctly applies priority labels on a test issue
  • Verify the triage agent correctly assesses actor suitability
  • Verify the triage agent swaps needs-triagetriage-accepted
  • Verify axon/needs-input is still applied as the human review gate

Closes #437

🤖 Generated with Claude Code

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved 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:80">
P2: Priority label names are misspelled ("imporant" / "import") which will cause the triage agent to apply incorrect labels instead of the intended "important" priority labels.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Copy link
Member

@gjkim42 gjkim42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/reset-worker

Comment on lines 79 to 82
- `priority/critical-urgent` — Security vulnerability, data loss, or complete breakage
- `priority/imporant-soon` — Blocks adoption, user-facing bug, or significant usability issue
- `priority/import-longterm` — Valuable improvement but not urgent
- `priority/backlog` — Nice to have, low impact
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think #438 is better on this.
update the PR based on #438

@axon-agent axon-agent bot force-pushed the axon-task-437 branch 2 times, most recently from 96f7010 to ab9fd26 Compare February 26, 2026 17:46
Copy link
Member

@gjkim42 gjkim42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And squash commits.
/reset-worker

Based on your analysis, recommend a priority level:
- `priority/imporant-soon` — Blocks adoption, user-facing bug, security issue,
or directly requested by the maintainer
- `priority/import-longterm` — Valuable improvement but not urgent, nice-to-have
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The label name seems wrong.

@axon-agent axon-agent bot force-pushed the axon-task-437 branch 3 times, most recently from ec44eb0 to 055b8e5 Compare February 26, 2026 23:36
Extend the axon-triage promptTemplate to handle the full triage lifecycle:

- Add priority assessment (task 5) with correctly-spelled priority/* labels
  and clear criteria for each level
- Add actor recommendation (task 6) with explicit criteria for actor/axon
  vs needs-actor
- Update label management to swap needs-triage -> triage-accepted after
  posting the triage comment
- Update the triage comment format to include Priority and Actor fields
- Rename misspelled GitHub labels (priority/imporant-soon ->
  priority/important-soon, priority/import-longterm ->
  priority/important-longterm)

Closes #437

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workflow: Triage agent should complete the full triage lifecycle (priority, actor, label cleanup)

1 participant