# ============================================================================
# Knowledge Graph System - Git Ignore Rules
# ============================================================================

# ----------------------------------------------------------------------------
# Environment & Secrets
# ----------------------------------------------------------------------------
.env
.env.local
.env.*.local
*.key
secrets/

# ----------------------------------------------------------------------------
# Python
# ----------------------------------------------------------------------------
venv/
env/
ENV/
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
*.so
*.egg
*.egg-info/
dist/
build/
!scripts/development/build/
# graph_accel pre-built extension artifacts (committed for Docker builds)
!graph-accel/dist/
!graph-accel/dist/pg17/
!graph-accel/dist/pg17/amd64/
!graph-accel/dist/pg17/amd64/*.so
!graph-accel/dist/pg17/amd64/*.control
!graph-accel/dist/pg17/amd64/*.sql
!graph-accel/dist/pg17/arm64/
!graph-accel/dist/pg17/arm64/*.so
!graph-accel/dist/pg17/arm64/*.control
!graph-accel/dist/pg17/arm64/*.sql
.pytest_cache/
.coverage
htmlcov/
.tox/
.mypy_cache/
.dmypy.json
dmypy.json

# ----------------------------------------------------------------------------
# Node.js / TypeScript
# ----------------------------------------------------------------------------
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm
.yarn-integrity
*.tsbuildinfo

# ----------------------------------------------------------------------------
# IDEs & Editors
# ----------------------------------------------------------------------------
.vscode/
.idea/
*.swp
*.swo
*~

# ----------------------------------------------------------------------------
# Database & Logs
# ----------------------------------------------------------------------------
*.log
logs/
postgres_data/
postgres_import/
*.db
*.sqlite
backups/
ingestion_logs/

# ----------------------------------------------------------------------------
# Temporary Files
# ----------------------------------------------------------------------------
tmp/
temp/
*.tmp
*.bak
*.cache

# ----------------------------------------------------------------------------
# OS Files
# ----------------------------------------------------------------------------
.DS_Store
.AppleDouble
.LSOverride
._*
Desktop.ini
Thumbs.db
$RECYCLE.BIN/
# Obsidian workspace files (any level)
**/.obsidian/

# ----------------------------------------------------------------------------
# MkDocs
# ----------------------------------------------------------------------------
site/
docs/.venv/
.cache/
docs/.obsidian/
.operator.conf
