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) |
||
|---|---|---|
| .. | ||
| importers | ||
| semantic | ||
| streams | ||
| FSCompat.ts | ||
| index.ts | ||
| PathResolver.ts | ||
| TreeUtils.ts | ||
| types.ts | ||
| VirtualFileSystem.ts | ||