File size: 1,481 Bytes
8b02e7c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: "Bug Triage & Fix"
description: "Systematic bug investigation and resolution"

steps:
  - id: reproduce
    agent: gemini
    task: "Attempt to reproduce this bug: {{ bug_description }}. Document the exact steps and conditions."
    output: reproduction_steps
    description: "Reproduce the bug"

  - id: investigate
    agent: claude
    task: "Analyze the root cause of this bug. Reproduction: {{ reproduction_steps }}. Examine the codebase and identify the issue."
    output: root_cause
    condition: "{{ reproduction_steps | length > 0 }}"
    description: "Investigate root cause"

  - id: fix
    agent: aider
    task: "Fix this bug: {{ root_cause }}. Make minimal, targeted changes."
    output: bug_fix
    condition: "{{ root_cause | length > 0 }}"
    description: "Implement bug fix"

  - id: test
    agent: gemini
    task: "Test the bug fix to ensure it resolves the issue. Original bug: {{ bug_description }}. Fix: {{ bug_fix }}"
    output: test_result
    condition: "{{ bug_fix | length > 0 }}"
    description: "Verify fix works"

  - id: document
    agent: claude
    task: "Document this bug fix for the changelog. Include: what was broken, root cause, and fix applied. Bug: {{ bug_description }}"
    output: changelog_entry
    condition: "{{ test_result | length > 0 }}"
    description: "Document the fix"

metadata:
  category: maintenance
  difficulty: intermediate
  estimated_duration: 240
  tags:
    - bugfix
    - debugging
    - testing