# ============================================================================
# Multi-stack .gitignore for dev-framework projects
# ============================================================================

# -- Environment & Secrets --
.env
.env.local
.env.*.local
*.pem
*.key

# -- Security-sensitive docs (kept in ~/Documents/dev-framework-private/) --
*THREAT-MODEL*
*.secret
credentials.json

# -- Private/IP content (per global convention: drafts, scratch, hackathon ground-truth) --
/private/

# -- Hook runtime state (read by branch-check.py / branch-tracker.py) --
/.claude/expected-branch.txt

# -- Python --
__pycache__/
*.py[cod]
*$py.class
*.so
venv/
.venv/
env/
.Python
build/
develop-eggs/
dist/
eggs/
*.egg-info/
.eggs/
*.egg
.pytest_cache/
htmlcov/
.coverage
.mypy_cache/
.ruff_cache/

# -- Node.js --
node_modules/
.next/
out/
.nuxt/
.output/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
.turbo/

# -- Go --
/vendor/
*.exe
*.exe~
*.dll
*.dylib

# -- Rust --
/target/
Cargo.lock

# -- IDE --
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# -- Docker --
docker-compose.override.yml

# -- Threat Models (private — security posture, not policy) --
*THREAT-MODEL*
*threat-model*

# -- Prompt Snapshots --
prompt_snapshots/

# -- Claude State --
.claude/state/*
!.claude/state/.gitkeep
.claude/settings.local.json
.claude-port
.git-env

# -- Framework Metrics & Generated Dashboards (local-only) --
.context/metrics/
.context/insights.html
.context/.narrative-cache/

# -- QA Reports --
.qa-reports/

# -- Build & Coverage --
coverage/
*.lcov
.nyc_output/

# -- Logs --
*.log
logs/

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