Frontmatter
| id | 7902 |
| title | Refactor Knowledge Base parsing logic into domain-specific Singletons |
| state | Closed |
| labels | airefactoring |
| assignees | tobiu |
| createdAt | Nov 25, 2025, 3:57 PM |
| updatedAt | Nov 25, 2025, 4:33 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7902 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 25, 2025, 4:33 PM |
Goal: Decompose the "God Class"
DatabaseService.mjsby extracting parsing logic into dedicated, domain-intent focused classes.Architecture:
Neo.ai.mcp.server.knowledge_base.parser.New Classes:
parser/TestParser.mjs:parseTestFilelogic andacorndependency here.parser/DocumentationParser.mjs:parser/ApiParser.mjs:docs/output/all.jsonprocessing logic here.Impact:
DatabaseService.mjsshould become an orchestrator that delegates to these services, significantly reducing its LOC and complexity to a manageable level.