diff --git a/docs/memory/solutions_learned.jsonl b/docs/memory/solutions_learned.jsonl index 096e3d5..ecc3f5a 100644 --- a/docs/memory/solutions_learned.jsonl +++ b/docs/memory/solutions_learned.jsonl @@ -46,3 +46,11 @@ {"error_type": "FileNotFoundError", "error_message": "config.json not found", "solution": "Create config.json in project root", "session": "session_1", "timestamp": "2025-11-11T18:36:41.381639"} {"test_name": "test_reflexion_marker_integration", "error_type": "IntegrationTestError", "error_message": "Testing reflexion integration", "timestamp": "2025-11-11T18:36:41.383655"} {"test_name": "test_reflexion_with_real_exception", "error_type": "ZeroDivisionError", "error_message": "division by zero", "traceback": "simulated traceback", "solution": "Check denominator is not zero before division", "timestamp": "2025-11-11T18:36:41.385124"} +{"test_name": "test_feature", "error_type": "AssertionError", "error_message": "Expected 5, got 3", "traceback": "File test.py, line 10...", "timestamp": "2025-11-14T14:27:24.515213"} +{"test_name": "test_database_connection", "error_type": "ConnectionError", "error_message": "Could not connect to database", "solution": "Ensure database is running and credentials are correct", "timestamp": "2025-11-14T14:27:24.516216"} +{"error_type": "ImportError", "error_message": "No module named 'pytest'", "solution": "Install pytest: pip install pytest", "timestamp": "2025-11-14T14:27:24.517303"} +{"error_type": "TypeError", "error_message": "expected str, got int", "solution": "Convert int to str using str()", "timestamp": "2025-11-14T14:27:24.519006"} +{"error_type": "TypeError", "error_message": "expected int, got str", "solution": "Convert str to int using int()", "timestamp": "2025-11-14T14:27:24.519215"} +{"error_type": "FileNotFoundError", "error_message": "config.json not found", "solution": "Create config.json in project root", "session": "session_1", "timestamp": "2025-11-14T14:27:24.523965"} +{"test_name": "test_reflexion_marker_integration", "error_type": "IntegrationTestError", "error_message": "Testing reflexion integration", "timestamp": "2025-11-14T14:27:24.525993"} +{"test_name": "test_reflexion_with_real_exception", "error_type": "ZeroDivisionError", "error_message": "division by zero", "traceback": "simulated traceback", "solution": "Check denominator is not zero before division", "timestamp": "2025-11-14T14:27:24.527061"} diff --git a/docs/mistakes/test_database_connection-2025-11-14.md b/docs/mistakes/test_database_connection-2025-11-14.md new file mode 100644 index 0000000..3a7b643 --- /dev/null +++ b/docs/mistakes/test_database_connection-2025-11-14.md @@ -0,0 +1,44 @@ +# Mistake Record: test_database_connection + +**Date**: 2025-11-14 +**Error Type**: ConnectionError + +--- + +## ❌ What Happened + +Could not connect to database + +``` +No traceback +``` + +--- + +## 🔍 Root Cause + +Not analyzed + +--- + +## 🤔 Why Missed + +Not analyzed + +--- + +## ✅ Fix Applied + +Ensure database is running and credentials are correct + +--- + +## 🛡️ Prevention Checklist + +Not documented + +--- + +## 💡 Lesson Learned + +Not documented diff --git a/docs/mistakes/test_reflexion_with_real_exception-2025-11-14.md b/docs/mistakes/test_reflexion_with_real_exception-2025-11-14.md new file mode 100644 index 0000000..62d5fb0 --- /dev/null +++ b/docs/mistakes/test_reflexion_with_real_exception-2025-11-14.md @@ -0,0 +1,44 @@ +# Mistake Record: test_reflexion_with_real_exception + +**Date**: 2025-11-14 +**Error Type**: ZeroDivisionError + +--- + +## ❌ What Happened + +division by zero + +``` +simulated traceback +``` + +--- + +## 🔍 Root Cause + +Not analyzed + +--- + +## 🤔 Why Missed + +Not analyzed + +--- + +## ✅ Fix Applied + +Check denominator is not zero before division + +--- + +## 🛡️ Prevention Checklist + +Not documented + +--- + +## 💡 Lesson Learned + +Not documented diff --git a/docs/mistakes/unknown-2025-11-14.md b/docs/mistakes/unknown-2025-11-14.md new file mode 100644 index 0000000..be1a2d9 --- /dev/null +++ b/docs/mistakes/unknown-2025-11-14.md @@ -0,0 +1,44 @@ +# Mistake Record: unknown + +**Date**: 2025-11-14 +**Error Type**: FileNotFoundError + +--- + +## ❌ What Happened + +config.json not found + +``` +No traceback +``` + +--- + +## 🔍 Root Cause + +Not analyzed + +--- + +## 🤔 Why Missed + +Not analyzed + +--- + +## ✅ Fix Applied + +Create config.json in project root + +--- + +## 🛡️ Prevention Checklist + +Not documented + +--- + +## 💡 Lesson Learned + +Not documented