Make debug mode update memory bank more often

This commit is contained in:
Nikhil Mundra 2025-06-11 17:37:19 +05:30
parent c7893a0f20
commit 0eda87707a

View file

@ -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