LearnNewsExamplesServices
Frontmatter
id7697
titlefeat(ai): Automate knowledge base embedding on server startup
stateClosed
labels
enhancementai
assigneestobiu
createdAtNov 3, 2025, 12:37 PM
updatedAtNov 3, 2025, 1:05 PM
githubUrlhttps://github.com/neomjs/neo/issues/7697
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtNov 3, 2025, 1:05 PM

feat(ai): Automate knowledge base embedding on server startup

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Nov 3, 2025, 12:37 PM

The AI knowledge-base server should proactively ensure it's up-to-date when it starts. This improves the agent's initial experience and ensures health checks are accurate.

Acceptance Criteria

  • On startup, the knowledge-base MCP server will check for the existence of the dist/ai-knowledge-base.jsonl file.
  • If the file does not exist, the server will trigger and await the completion of the full syncDatabase process (create + embed).
  • If the file does exist, the server will trigger and await the completion of the embedKnowledgeBase process to sync any changes.
  • This process must complete before the initial health check is performed, so the server's status reflects the result of the synchronization.
  • The server startup logs should clearly indicate which process is running (sync or embed) and its outcome.
tobiu added the enhancement label on Nov 3, 2025, 12:37 PM
tobiu added the ai label on Nov 3, 2025, 12:37 PM
tobiu assigned to @tobiu on Nov 3, 2025, 12:37 PM
tobiu referenced in commit 25e7857 - "feat(ai): Automate knowledge base embedding on server startup #7697" on Nov 3, 2025, 1:05 PM
tobiu closed this issue on Nov 3, 2025, 1:05 PM