Felipe Cardoso
535e0055e1
style(memory): apply ruff formatting and linting fixes
...
Auto-fixed linting errors and formatting issues:
- Removed unused imports (F401): pytest, Any, AnalysisType, MemoryType, OutcomeType
- Removed unused variable (F841): hooks variable in test
- Applied consistent formatting across memory service and test files
2026-01-05 14:07:48 +01:00
Felipe Cardoso
05b75de21f
feat(memory): implement memory reflection service ( #99 )
...
Add reflection layer for memory system with pattern detection, success/failure
factor analysis, anomaly detection, and insights generation. Enables agents to
learn from past experiences and identify optimization opportunities.
Key components:
- Pattern detection: recurring success/failure, action sequences, temporal, efficiency
- Factor analysis: action, context, timing, resource, preceding state factors
- Anomaly detection: unusual duration, token usage, failure rates, action patterns
- Insight generation: optimization, warning, learning, recommendation, trend insights
Also fixes pre-existing timezone issues in test_types.py (datetime.now() -> datetime.now(UTC)).
2026-01-05 04:22:23 +01:00