-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When running sirchmunk init, a data/ directory is created as part of the working directory structure (cli/cli.py:216-224):
directories = [
work_path,
work_path / "data", # <-- this one
work_path / "logs",
work_path / ".cache",
work_path / ".cache" / "models",
work_path / ".cache" / "knowledge",
work_path / ".cache" / "history",
work_path / ".cache" / "settings",
]However, this data/ directory appears to be unused and undocumented:
- No code references: No other part of the codebase reads from or writes to this directory. It is only created during
init. - Not a default search path:
SIRCHMUNK_SEARCH_PATHSdoes not default todata/, so Sirchmunk won't automatically search files placed there. - Missing from documentation: The README's "Data Storage" section documents the
.cache/structure but does not mentiondata/.
Suggestion
Either:
- Option A: Remove the
data/directory frominitif it serves no purpose, to keep the workspace clean. - Option B: Give it a clear role — e.g., make it a default search path, document it as the recommended location for user files, and mention it in the README.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working