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
@@ -21,7 +22,7 @@ handoffs:
21
22
send: false
22
23
- label: "2. Implement Fix"
23
24
agent: bug-fixing-implementer-agent
24
-
prompt: "Read the bug report and the existing failing test. Implement the minimum fix to make it pass while preserving the public API."
25
+
prompt: "Use the Bug Knowledge block below to implement the minimum fix. Skip your own investigation — the orchestrator has already done it."
25
26
send: false
26
27
- label: "3. Apply Theming / Styles"
27
28
agent: theming-styles-agent
@@ -89,13 +90,16 @@ Do not restate the bug as:
89
90
90
91
## Delegation Format
91
92
92
-
When delegating to another agent, use only this structure:
93
+
When delegating to another agent, always include a **Bug Knowledge** block:
93
94
94
-
-**Bug report**: one short sentence
95
-
-**Root cause**: one short sentence
96
-
-**Affected files**: concise path list
95
+
-**Bug report**: one short sentence summarizing expected vs. actual behavior
96
+
-**Root cause**: one short sentence explaining why the bug occurs
97
+
-**Affected files**: concise path list of source files relevant to the fix
98
+
-**Failing test**: path and description of the reproduction test (if written by `tdd-test-writer-agent`)
97
99
-**Impact notes**: only relevant flags such as breaking change, i18n, accessibility, styles/theming, changelog, README, multi-branch
98
100
101
+
This block is what downstream agents (especially `bug-fixing-implementer-agent`) use to skip redundant investigation.
102
+
99
103
Do not add sections such as:
100
104
-`Fix Requirements`
101
105
-`Expected Test Coverage`
@@ -176,12 +180,13 @@ If a demo/sample is relevant, ask explicitly:
176
180
177
181
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.
178
182
179
-
For each subagent call, send only this minimal context:
180
-
- the original bug report
181
-
- root cause finding
182
-
- affected component(s) and file path(s)
183
-
- whether breaking-change, i18n, accessibility, styles/theming, changelog, or README follow-through may apply
184
-
- the likely test suite
183
+
For each subagent call, send a **Bug Knowledge** block containing:
184
+
-**Bug report**: summary of expected vs. actual behavior
185
+
-**Root cause**: identified root cause
186
+
-**Affected files**: source file paths relevant to the fix
187
+
-**Failing test**: path and description (once the test agent has written it)
0 commit comments