# Archive, dev, and drafts folders
_archive/
_dev/
drafts/

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

# Virtual environments
venv/
.venv/
.venv-mcp/
ENV/
env/

# Testing
.pytest_cache/
.coverage
htmlcov/
*.db

# IDEs
.vscode/
.idea/
*.swp
*.swo

# Empirica specific - user data (never commit)
.empirica/credentials.yaml
.empirica/sessions/
.empirica/chat_sessions/
.empirica/exports/
.empirica_reflex_logs/
*.api*
tmp_*
test_*.json

# Logs
*.log
chat_debug.log

# OS
.DS_Store
Thumbs.db

# Test and coverage artifacts
htmlcov/
.coverage
coverage.json
test_goals_session
*.db-journal

# Runtime data directories (project root)
.empirica/
.empirica_reflex_logs/
.empirica_sessions/
.agent_memory.json
.qdrant_data/
.beads/

# In-flight spec/proposal drafts — local-only ideation; once a spec ships
# its design content gets folded into docs/architecture/ as the canonical
# reference, so the original draft is intentionally not version-controlled.
docs/specs/

# AI-to-AI coordination prompts and autonomous-build plans — David-facing
# context that isn't part of the public docs surface. PROMPT_FOR_*.md
# files are tactical prompts passed between Claude instances; OVERNIGHT
# plans are personal autonomous-build briefs. Drop them anywhere under
# docs/ and they stay local.
docs/**/PROMPT_FOR_*.md
docs/**/*OVERNIGHT*PLAN*.md

# Security-sensitive files
*.pem
*.key
.env
.env.*

# AI identity keys (already covered by *.key above)
.empirica/identity/*.key

# Build artifacts
build/
dist/
*.egg-info/
**/*.egg-info/

# Internal business docs (live in empirica-internal repo)
DEV_ARTIFACTS_LOCATION.md
vsif-poc/
docs/MARKET_OPPORTUNITIES.md
docs/MARKET_STRATEGY.md
docs/WHY_BLUE_OCEAN.md
docs/MEETINGS_ADAPTER_DESIGN.md

# External projects (separate repos, don't commit)
empirica-epre/

# Deprecated/archived spec files
memory_compact_spec.md

# Temporary AI investigation docs (not committed)
tmp_investigation_*
docs/tmp_*
*_investigation_*.md

# Development/internal docs (not for public repo)
docs/research/
docs/FEATURE_STATUS.md
docs/SEMANTIC_INDEX.yaml
docs/reference/epistemic/

# Internal design work — proposals + ecosystem map stay local. Same shape
# as docs/specs/: design history is proprietary, shipped outcomes already
# live in docs/architecture/ as the canonical reference (e.g. CI_CD.md,
# EPP_ARCHITECTURE.md) or directly in code + CHANGELOG.
docs/superpowers/
docs/architecture/PROPOSAL_*.md
docs/architecture/ECOSYSTEM_MAP.md

# Session data files (never commit)
session_*.json

# Security resolution plans (contain vulnerability details)
SECURITY_RESOLUTION_PLAN.md
*RESOLUTION_PLAN*.md

# Auto-generated investigation branches (don't commit)
# These are created by empirica investigate-create-branch
*.kate-swp

# Security files (never commit)
SECURITY_RESOLUTION_PLAN.md

# Outreach materials (separate repo)
empirica-outreach/
.empirica/active_session
.breadcrumbs.yaml
specs/

# Claude Code local config
.claude/
.claude-backup/
claude-safe
