# =============================================================================
# Rust
# =============================================================================
target/
.target/
target-pgrx/
**/*.rs.bk
*.pdb
.cargo-target/

# pgrx build artifacts
.pgrx/

# =============================================================================
# Node / Bun
# =============================================================================
node_modules/
crates/*/packages/*/node_modules/
.npm
.yarn/
.pnpm-store/

# Only the root bun.lock is authoritative — workspace members must not have their own
crates/*/packages/*/bun.lock

# npm/yarn lockfiles should not exist (this is a Bun repo)
package-lock.json
yarn.lock

# =============================================================================
# Build artifacts
# =============================================================================
dist/
build/
*.so
*.dylib
*.dll

# SDK build outputs
packages/typescript/dist/

# Generated OpenAPI client (regenerate from openapi.json)
openapi.json
openapi.html

# =============================================================================
# Python SDK
# =============================================================================
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
.pytest_cache/
.coverage
htmlcov/
packages/python/**/__pycache__/

# =============================================================================
# Test artifacts
# =============================================================================
*.profraw
*.profdata
lcov.info
coverage/

# Fuzz corpus and crash artifacts (machine-generated, not source)
crates/fuzz/corpus/
crates/fuzz/artifacts/

# =============================================================================
# Environment / secrets
# =============================================================================
.env
.env.local
.env.*.local
*.pem
*.key
secrets.yaml

# =============================================================================
# IDEs
# =============================================================================
.vscode/
.idea/
.vercel/

# Editor swap / temp files
*.swp
*.swo
*~

# Claude desktop app
.claude/

# =============================================================================
# OS
# =============================================================================
.DS_Store
Thumbs.db
.Spotlight-V100
.Trashes

# =============================================================================
# Logs
# =============================================================================
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.github/.logs/*

# =============================================================================
# Release artifacts
# =============================================================================
*.tar.gz
*.zip
*.deb
*.rpm

# =============================================================================
# Misc local / scratch
# =============================================================================
tmp/
temp/
*.tmp
.scratch/
.worktrees/
.todos/
_depg/
_depg_results/
analysis_out

# Local audit scripts (generated, not source)
scripts/repo_audit_rust.py
scripts/repo_features_matrix.py

# pgvector local data directory
pgvector/

# Documentation builds
docs/_build/

# =============================================================================
# AI workflow tools (user-local, not shared)
# =============================================================================
docs/ai-workflow/.openai/
docs/ai-workflow/.claude/
docs/ai-workflow/.kiro/
docs/ai-workflow/.serena/
docs/ai-workflow/.cursor/
._/