Inspiration

Issue triage is important, but it often turns into repetitive overhead. We kept seeing the same delay: a new issue arrives, and someone has to manually summarize it, guess severity, explain impact, and suggest next steps before real fixing can even begin. Issue Triage Narrator was inspired by that gap. We wanted to automate the first response so teams can move faster without sacrificing triage quality.

What it does

Issue Triage Narrator is a GitLab Duo agent + flow that triggers from an issue mention and posts a structured triage note. For each triggered issue, it creates a comment with:

  1. Problem Summary
  2. Severity
  3. Impact
  4. Next Actions
  5. Missing Info It is designed as single-issue-per-trigger to keep behavior reliable and predictable.

How we built it

We built this as a custom public hackathon project using:

  1. agents/agent.yml for the triage agent behavior
  2. flows/flow.yml for workflow orchestration and tool calls
  3. Markdown guides for end-to-end testing and submission validation

Implementation approach:

  1. Parse issue context from the trigger payload.
  2. Use guarded prompt instructions to enforce structured output.
  3. Post one triage note to the triggered issue.
  4. Stop immediately after completion.
  5. We iterated through multiple runtime tests using GitLab workload logs and versioned tags, then stabilized on the current single-issue design.

Challenges we ran into

  1. The biggest challenge was runtime consistency, not initial setup.
  2. Some runs completed with Tool completed: 0 (no action taken).
  3. Some sessions used older catalog-synced configs instead of the newest repo state.
  4. Bulk triage experiments caused loop-like behavior and unpredictable outcomes.
  5. We had to repeatedly compare live DUO_WORKFLOW_FLOW_CONFIG logs against local definitions to isolate version drift.

Accomplishments that we're proud of

  1. Built a working issue-triggered automation that takes real action, not just chat responses.
  2. Shipped a clean, structured triage output format that is immediately useful to maintainers.
  3. Diagnosed and resolved multiple production-like workflow issues under time pressure.
  4. Simplified the final architecture to prioritize reliability.
  5. Published and validated the project with public repo, instructions, and open-source MIT licensing.

What we learned

  1. Reliability beats feature count in workflow automation.
  2. Clear guardrails in prompts are essential for predictable tool use.
  3. Catalog/version sync visibility matters as much as code correctness.
  4. Iterative testing with real logs is the fastest path to a stable flow.
  5. A narrow, well-executed automation creates more value than a broad but flaky one.

What's next for Issue Triage Narrator

  1. Add configurable triage templates by issue type (bug, incident, feature request).
  2. Improve severity scoring with lightweight heuristics from issue metadata.
  3. Add optional label suggestions (for human approval) based on triage content.
  4. Introduce better observability signals so stale config/version drift is easier to detect.
  5. Expand from single-issue reliability toward safe batch processing only after strict loop controls are proven.

Built With

Share this project:

Updates