Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions dashboard/backend/brain_repo/job_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,19 @@ def _load_config_snapshot(flask_app, user_id: int) -> dict | None:
".pytest_cache",
".mypy_cache",
".ruff_cache",
# Per-machine editor / tool config directories. These get created when a user
# opens one of the watched paths inside an editor or note-taking app (e.g.
# opening memory/ as an Obsidian vault writes memory/.obsidian/; opening the
# workspace in VS Code writes .vscode/; JetBrains writes .idea/). The content
# is local UI state (open tabs, window geometry, plugin enablement) that
# should never propagate across machines via the brain repo.
#
# Each entry is unambiguously tied to a single application — no generic
# names (e.g. ".trash"), since those could plausibly be legitimate user
# content that the mirror would silently hide.
".obsidian",
".vscode",
".idea",
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
}

# Files above this size skip the mirror entirely. GitHub refuses >100 MB; we
Expand Down