Commit graph

1 commit

Author SHA1 Message Date
5a245f95f8 feat(vfs): add comprehensive VFS root debugging script
Add diagnostic tools to help Workshop team identify why vfs.readdir('/')
returns empty despite 608 Contains relationships existing:

- debug-vfs-root.js: Script that shows VFS root ID, all collections,
  and outgoing Contains relationships from each directory
- VFS_DEBUG_INSTRUCTIONS.md: Step-by-step instructions for running
  the debug script and interpreting results

This will help identify if the bug is:
1. VFS using wrong root entity ID
2. Duplicate root entities (VFS using empty root, files under different root)
3. Root entity doesn't exist in database
4. Contains relationships exist but aren't FROM the root
5. v4.7.1 optimization not being triggered

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-27 11:54:12 -07:00