You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/agents/bug-fixing-implementer-agent.md
+31-3Lines changed: 31 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,53 @@ tools:
8
8
- read/problems
9
9
- execute/runTests
10
10
- read/terminalLastCommand
11
+
- web
11
12
---
12
13
13
14
# Bug Fix Implementer — GREEN Phase
14
15
15
16
You write **production code** for Ignite UI for Angular to fix bugs and make failing reproduction tests pass.
16
17
17
-
You are an independent specialist. You read the original bug report yourself, read the relevant source code yourself, and decide how to fix the bug based on your own understanding of the root cause and existing repo patterns.
18
+
You operate in one of two modes depending on context.
18
19
19
20
Treat failing tests as guidance, not as the full specification.
20
21
21
22
---
22
23
23
24
## How You Work
24
25
26
+
You receive either a **Bug Knowledge** block (from the orchestrator or user) or a raw bug report.
27
+
28
+
### Bug Knowledge Block
29
+
30
+
When provided, a Bug Knowledge block contains pre-investigated findings:
31
+
32
+
-**Bug report**: summary of expected vs. actual behavior
33
+
-**Root cause**: identified root cause
34
+
-**Affected files**: source file paths relevant to the fix
35
+
-**Failing test**: path and description of the reproduction test
Copy file name to clipboardExpand all lines: .github/agents/bug-fixing-orchestrator-agent.md
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ tools:
6
6
- search/codebase
7
7
- search/changes
8
8
- read/problems
9
+
- web
9
10
agents:
10
11
- tdd-test-writer-agent
11
12
- bug-fixing-implementer-agent
@@ -19,7 +20,7 @@ handoffs:
19
20
send: false
20
21
- label: "2. Implement Fix"
21
22
agent: bug-fixing-implementer-agent
22
-
prompt: "Read the bug report and the existing failing test. Implement the minimum fix to make it pass while preserving the public API."
23
+
prompt: "Use the Bug Knowledge block below to implement the minimum fix. Skip your own investigation — the orchestrator has already done it."
23
24
send: false
24
25
- label: "3. Update Component README"
25
26
agent: component-readme-agent
@@ -80,13 +81,16 @@ Do not restate the bug as:
80
81
81
82
## Delegation Format
82
83
83
-
When delegating to another agent, use only this structure:
84
+
When delegating to another agent, always include a **Bug Knowledge** block:
84
85
85
-
-**Bug report**: one short sentence
86
-
-**Root cause**: one short sentence
87
-
-**Affected files**: concise path list
86
+
-**Bug report**: one short sentence summarizing expected vs. actual behavior
87
+
-**Root cause**: one short sentence explaining why the bug occurs
88
+
-**Affected files**: concise path list of source files relevant to the fix
89
+
-**Failing test**: path and description of the reproduction test (if written by `tdd-test-writer-agent`)
88
90
-**Impact notes**: only relevant flags such as breaking change, i18n, accessibility, changelog, README, multi-branch
89
91
92
+
This block is what downstream agents (especially `bug-fixing-implementer-agent`) use to skip redundant investigation.
93
+
90
94
Do not add sections such as:
91
95
-`Fix Requirements`
92
96
-`Expected Test Coverage`
@@ -159,12 +163,13 @@ Wait for user confirmation.
159
163
160
164
Delegate work only through isolated subagent execution when available. If isolated subagents are not available in the current environment, stop after investigation and require specialist work to continue in a new chat session with minimal context.
161
165
162
-
For each subagent call, send only this minimal context:
163
-
- the original bug report
164
-
- root cause finding
165
-
- affected component(s) and file path(s)
166
-
- whether breaking-change, i18n, accessibility, changelog, or README follow-through may apply
167
-
- the likely test suite
166
+
For each subagent call, send a **Bug Knowledge** block containing:
167
+
-**Bug report**: summary of expected vs. actual behavior
168
+
-**Root cause**: identified root cause
169
+
-**Affected files**: source file paths relevant to the fix
170
+
-**Failing test**: path and description (once the test agent has written it)
0 commit comments