# Personal files (keep in 'personal' branch only - not in master)
# These are gitignored to prevent accidental commits to master
basb-system/
stack-management/
PERSONAL_USE_PRIORITIES.md
.serena/

# BASB (Building a Second Brain) - Keep books/PDFs local only
*.pdf

# Temporary files
*.tmp
*.temp
.DS_Store
Thumbs.db

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Build artifacts
result
result-*

# Git worktrees (used by scripts/claude-autonomous.sh and ad-hoc work)
.worktrees/

# Sandbox bind-mount leakage (bwrap deny-mounts left as char devices in cwd)
/etc/
/home/
/.nix-store/
/.nix-cache-eval/

# Python cache files
__pycache__/
*.py[cod]
*$py.class
*.so
.Python

# Personal notes and drafts (if any)
drafts/
personal-notes/

# Claude automation backup files
.backups/
CLAUDE*.backup-*
docs/automation/backup-strategy.md
docs/automation/claude-backup-legacy.md

# Claude Code per-user / per-machine state (not declarative)
# .mcp.json is tracked — see /.mcp.json at repo root for MCP-NixOS wiring.
# Per-user MCP secrets belong in ~/.claude/settings.json.mcpServers, not here.
.claude/CLAUDE.local.md
.claude/agents
.claude/sessions/
.claude.json

# Auto-generated files (regenerated on each rebuild)
.claude/mcp-analytics.md
.claude/tool-analytics.md
.claude/settings.local.json
.claude/.changelog-last-processed
# CLAUDE.md is tracked — shared rules for all machines/Claude instances

# Demo recordings (personal, large binary files)
docs/assets/*.gif
docs/assets/*.tape

# Data and model files
data/models/**/*.bin
data/models/**/*.ggml

# DevEnv environment files (but NOT lock files - those should be committed)
.devenv/
.devenv.*/
.devenv.flake.nix
# devenv.lock - REMOVED: lock files should be committed for reproducibility
scripts/.devenv/
# scripts/devenv.lock - REMOVED: lock files should be committed

# DevEnv runtime artifacts - specific patterns
scripts/.devenv/gc/
scripts/.devenv/load-exports
scripts/.devenv/profile
scripts/.devenv/nix-eval-cache.db*
scripts/.devenv/tasks.db*

# Python cache and environments
__pycache__/
*/__pycache__/
*.pyc
*.pyo
*.pyd
.Python
.env
.venv/
env/
venv/

# UV Python package manager
.uv-cache/
.aider*

# Playwright MCP browser automation artifacts
.playwright-mcp/

# Secrets and credentials
*.key
*.pem
*.crt
credentials.json
secrets.json
*.secret

# Git submodule config (empty, not used)
.gitmodules

# Ripgrep config (local preference)
.ripgreprc

# Shell dotfiles (not part of NixOS config)
.bash_profile
.bashrc
.zshrc
.zprofile
.profile
.gitconfig
.gstack/
