brainy/src/vfs
David Snelling fbf26051b5 fix: add includeVFS to initializeRoot() - prevents duplicate root creation
CRITICAL BUG FIX: VFS.initializeRoot() was calling brain.find() without
includeVFS: true, causing it to exclude VFS entities. This meant it could
never find an existing VFS root, and would create a new one on every init.

This directly caused the Workshop team's issue with ~10 duplicate roots!

All VFS internal methods that call brain.find() or brain.similar() now
correctly use includeVFS: true:
-  initializeRoot() (line 171) - JUST FIXED
-  search() (line 958)
-  findSimilar() (line 1009)
-  searchEntities() (line 2327)
2025-10-24 12:31:42 -07:00
..
importers feat: implement complete VFS with Knowledge Layer integration 2025-09-24 17:31:48 -07:00
semantic fix: wire up includeVFS parameter to ALL VFS-related APIs (6 critical bugs) 2025-10-24 12:04:13 -07:00
streams feat: implement complete VFS with Knowledge Layer integration 2025-09-24 17:31:48 -07:00
FSCompat.ts feat: implement complete VFS with Knowledge Layer integration 2025-09-24 17:31:48 -07:00
index.ts feat: add neural extraction APIs with NounType taxonomy 2025-09-29 13:51:47 -07:00
PathResolver.ts fix: VFS where clause field names + isVFS flag 2025-10-24 11:12:27 -07:00
TreeUtils.ts fix: handle symlink type in TreeNode creation 2025-09-26 10:19:37 -07:00
types.ts fix: VFS where clause field names + isVFS flag 2025-10-24 11:12:27 -07:00
VirtualFileSystem.ts fix: add includeVFS to initializeRoot() - prevents duplicate root creation 2025-10-24 12:31:42 -07:00