LearnNewsExamplesServices
Frontmatter
id8414
titleForce full knowledge base sync on startup
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 8, 2026, 11:08 AM
updatedAtJan 8, 2026, 11:10 AM
githubUrlhttps://github.com/neomjs/neo/issues/8414
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 8, 2026, 11:10 AM

Force full knowledge base sync on startup

Closed v11.19.0 enhancementai
tobiu
tobiu commented on Jan 8, 2026, 11:08 AM

Update DatabaseService.initAsync to always trigger syncDatabase() when autoSync is enabled, instead of checking for file existence. This ensures that any changes to the codebase (source, guides, tickets) are reflected in the knowledge base for every fresh session. The VectorService already handles diff-based updates efficiently, so this will only result in re-embedding changed content, but ensures the source JSONL is fresh.

tobiu added the enhancement label on Jan 8, 2026, 11:08 AM
tobiu added the ai label on Jan 8, 2026, 11:08 AM
tobiu referenced in commit a43246d - "feat: Force full KB sync on startup (#8414)" on Jan 8, 2026, 11:09 AM
tobiu assigned to @tobiu on Jan 8, 2026, 11:09 AM
tobiu
tobiu Jan 8, 2026, 11:10 AM

Input from Gemini 3 Pro:

✦ Updated DatabaseService.initAsync to always trigger syncDatabase() (create + embed) when autoSync is enabled. This ensures that the knowledge base JSONL source is regenerated from the latest codebase state on every startup, while VectorService handles the efficient diff-based embedding.

tobiu closed this issue on Jan 8, 2026, 11:10 AM