Frontmatter
| id | 9774 |
| title | Refactor AI SDK and Build Scripts for Memory Core Module Decoupling |
| state | Closed |
| labels | enhancementaibuild |
| assignees | tobiu |
| createdAt | Apr 8, 2026, 12:40 AM |
| updatedAt | Apr 8, 2026, 12:42 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9774 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 8, 2026, 12:42 AM |
Refactor AI SDK and Build Scripts for Memory Core Module Decoupling
Closedenhancementaibuild
tobiu assigned to @tobiu on Apr 8, 2026, 12:40 AM

tobiu
Apr 8, 2026, 12:42 AM
Refactored the Memory Core AI SDK downstream references by establishing a SystemLifecycleService facade, protecting downstream consumers. Modified integration code locally and verified startup dependencies across build scripts and examples.
tobiu closed this issue on Apr 8, 2026, 12:42 AM
Problem
The legacy
DatabaseLifecycleServiceinside the Memory Core was recently decoupled intoChromaLifecycleServiceandInferenceLifecycleService. Several downstream consumers acrossbuildScripts/ai/andai/examples/were left statically referencing the deleted service, breaking core SDK functions.Solution
SystemLifecycleServiceinsidememory-core/services/lifecyclethat orchestrates both internal services.ai/services.mjsasMemory_LifecycleServiceto preserve compatibility.