You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(memory): address Copilot review feedback on reflection-engine
- Use nullish coalescing (??) instead of || for durationMs, lesson,
context fields to correctly preserve falsy values like 0
- Add null check for p.tags in injectContext() to prevent TypeError
when patterns lack tags
- Add _recomputePatterns() method that rebuilds patterns from remaining
reflections after pruning
- Call _recomputePatterns() in prune() and after maxReflections eviction
to keep patterns consistent with remaining data
- Copy reflection-engine.js to .aiox-core/core/memory/ for rebranded
package path compatibility (keeps .aios-core version too)
0 commit comments