feat: Add filesystem nodes to complement code graph nodes#5
Merged
Conversation
- Add new node types: FILESYSTEM, FILESYSTEM_FILE, FILESYSTEM_DIRECTORY - Add new relationship types: IMPLEMENTS, DEPENDS_ON, FILESYSTEM_CONTAINS, REFERENCED_BY_DESCRIPTION - Create FilesystemFileNode and FilesystemDirectoryNode classes - Implement FilesystemGraphGenerator for traversing and creating filesystem nodes - Integrate filesystem generation into ProjectGraphCreator - Add enable_filesystem_nodes parameter to GraphBuilder - Create IMPLEMENTS relationships between filesystem files and code nodes - Support detection of file references in LLM descriptions The feature provides a complementary view of the codebase from a filesystem perspective, enabling queries about file organization and dependencies. Closes #4 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
…agents/ These files were accidentally removed and have now been restored from commit 175caf7
- Added comprehensive git safety instructions to prevent accidental file deletion - Instructions cover checking git status, preserving uncommitted files, and recovery steps - Added .github to .blarignore to exclude GitHub-specific files from graph analysis
- Created BlarPlusGitignore.md with detailed instructions - Includes problem statement, technical analysis, and implementation plan - Specifies testing requirements and success criteria - Follows the established prompt format from other files in prompts/
rysweet
added a commit
that referenced
this pull request
Aug 3, 2025
feat: Add filesystem nodes to complement code graph nodes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements filesystem nodes feature to provide a complementary view of the codebase from a filesystem perspective. This feature creates nodes representing files and directories in the filesystem and connects them to existing code nodes.
Implementation
New Node Types
FILESYSTEM: Base type for filesystem nodesFILESYSTEM_FILE: Represents a file in the filesystemFILESYSTEM_DIRECTORY: Represents a directoryNew Relationship Types
IMPLEMENTS: Connects filesystem files to the code nodes they containDEPENDS_ON: For file dependencies (future use)FILESYSTEM_CONTAINS: Parent directory -> child file/directoryREFERENCED_BY_DESCRIPTION: When LLM descriptions mention file pathsKey Components
Features
Testing
Configuration
Enable via environment variable:
Or programmatically:
Benefits
Example Output
Closes #4
🤖 Generated with Claude Code