/principle-fix-root-causes
Repair the cause while preserving the feature the user needs.
- created by
- Lauren TanSoftware engineer at xAI and a React Compiler core team member.
- plugin
- pstack
- step
- DebugReproduce the failure and find its cause before changing the code.
- used in
- Lesson 18, Local means localUse it when a local command can accidentally target a live service.
- try
- /principle-fix-root-causes Find why this local tool can reach a remote target. Fix the cause and prove remote URLs fail before a network call.
- used in
- Lesson 24, Scar tissueUse it after a serious failure reveals a missing rule or check.
- try
- /principle-fix-root-causes Identify the failure pattern and its cause. Add the smallest lasting rule or check that catches it without removing the intended feature.