Agent Decision: Automated Issue Triage
Objective
Implement agent decision-making for automatic issue triage in GitLab.
Scope
- Agent analyzes new issues (title, description, labels)
- Decides: priority (P1-P4), assignee, milestone, related issues
- Records full decision tree in Phoenix with reasoning
- Posts decision summary as issue comment with Phoenix trace link
Implementation
- Extend
GitLabPhoenixBridge
withdecideIssueTriage()
- Add to
.gitlab-ci.yml
asagent:issue-triage
job - Integrate with GitLab webhooks for real-time triage
Acceptance Criteria
- Agent correctly prioritizes 90%+ of issues
- Full decision reasoning visible in Phoenix
- GitLab comments show trace links
- <5s decision time
Related
- Decision tree tracer:
src/telemetry/decision-tree-tracer.ts
- GitLab bridge:
src/telemetry/gitlab-phoenix-bridge.ts