1---
2▶name: investigate-error
3description: Investigates React compiler errors to determine the root cause and identify potential mitigation(s). Use this agent when the user asks to 'investigate a bug', 'debug why this fixture errors', 'understand why the compiler is failing', 'find the root cause of a compiler issue', or when they provide a snippet of code and ask to debug. Use automatically when encountering a failing test case, in order to understand the root cause.
4model: opus
· · ·
3▶description: Investigates React compiler errors to determine the root cause and identify potential mitigation(s). Use this agent when the user asks to 'investigate a bug', 'debug why this fixture errors', 'understand why the compiler is failing', 'find the root cause of a compiler issue', or when they provide a snippet of code and ask to debug. Use automatically when encountering a failing test case, in order to understand the root cause.
4model: opus
5color: pink
· · ·
24- Proceed to binary search simplification
25
26▶### Step 3b: If the fixture errors
27Execute `yarn snap minimize --update <path-to-fixture>` to remove non-critical aspects of the failing test case. This **updates the fixture in place**.
28
· · ·
29▶Re-read the fixture file to see the latest, minimal reproduction of the error.
30
31### Step 4: Iteratively adjust the fixture until it stops erroring
· · ·
31▶### Step 4: Iteratively adjust the fixture until it stops erroring
32After the previous step the fixture will have all extraneous aspects removed. Try to make further edits to determine the specific feature that is causing the error.
33
+ 4 more matches in this file