diff --git a/latest/DebugMode.md b/latest/DebugMode.md index a7ba40f..65b4d3b 100644 --- a/latest/DebugMode.md +++ b/latest/DebugMode.md @@ -139,11 +139,12 @@ flowchart TD ## Mode-Specific Rules -1. **Always reproduce before fixing** - Never guess at solutions -2. **One change at a time** - Isolate variables for clear causation -3. **Verify fixes thoroughly** - Test edge cases and regressions -4. **Document the journey** - Update memory bank with findings -5. **Consider prevention** - Add guards against future occurrences +1. **Mandatory Memory Update**: After any debugging task, if new project information is discovered, the memory bank **MUST** be updated. No other action should be requested or performed until the memory files are updated. +2. **Always reproduce before fixing** - Never guess at solutions +3. **One change at a time** - Isolate variables for clear causation +4. **Verify fixes thoroughly** - Test edge cases and regressions +5. **Document the journey** - Update the memory bank with all findings, not just the fix. +6. **Consider prevention** - Add guards against future occurrences ## Common Bug Patterns