# ─────────────────────────────────────────────────────────────
# Dependencies
# ─────────────────────────────────────────────────────────────
node_modules/
jspm_packages/

# Python
.venv/
venv/
env/
__pycache__/
*.py[cod]
*.egg-info/
.pytest_cache/
.ipynb_checkpoints/

# ─────────────────────────────────────────────────────────────
# Build output & caches
# ─────────────────────────────────────────────────────────────
dist/
build/
out/
.cache/
.parcel-cache/
.npm/
.eslintcache
.stylelintcache
*.tsbuildinfo

# ─────────────────────────────────────────────────────────────
# Logs
# ─────────────────────────────────────────────────────────────
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# ─────────────────────────────────────────────────────────────
# Environment & secrets
# ─────────────────────────────────────────────────────────────
.env
.env.*
!.env.example
!.env.template
*.pem
*.key

# ─────────────────────────────────────────────────────────────
# OS / editor / IDE junk
# ─────────────────────────────────────────────────────────────
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
desktop.ini

# Editor
*.swp
*.swo
*~
.vscode/*
!.vscode/settings.json
!.vscode/extensions.json
!.vscode/tasks.json
!.vscode/launch.json
.idea/
*.sublime-workspace
*.sublime-project

# ─────────────────────────────────────────────────────────────
# Testing & coverage
# ─────────────────────────────────────────────────────────────
coverage/
*.lcov
.nyc_output/

# ─────────────────────────────────────────────────────────────
# AI agent tooling — LOCAL state only
# (Project-level config like skills/prompts/rules/commands is tracked;
#  per-machine state, caches, sessions and databases are ignored.)
# ─────────────────────────────────────────────────────────────

# Local agent settings (override files, never shared)
**/settings.local.json
**/settings.local.*
**/.local.json

# pi agent local runtime
.pi/sessions/
.pi/cache/
.pi/state/
.pi/logs/

# Claude Code local runtime
.claude/settings.local.json
.claude/sessions/
.claude/cache/
.claude/logs/
.claude/.local/

# Comet workflow local runtime
.comet/sessions/
.comet/cache/
.comet/state/
.comet/logs/
.comet/.dirty

# Superpowers brainstorm sessions (per-machine runtime state)
.superpowers/

# CodeGraph databases & caches (local to each machine)
.codegraph/*.db
.codegraph/*.db-wal
.codegraph/*.db-shm
.codegraph/cache/
.codegraph/*.log
.codegraph/.dirty

# Misc agent-generated scratch / context dumps
.context/
.context-*/
tmp/
.temp/
