# Secrets
.env
.env.*
!.env.example
*.key
*.pem
*.pfx
*.p12
*token*
*secret*

# Python
__pycache__/
.pytest_cache/
.ruff_cache/
.mypy_cache/
.venv/
venv/

# Runtime state
data/*.db
data/*.sqlite
data/*.sqlite3
onec-repository-locks.json

# Node
node_modules/
dist/
build/

# Local model and dataset artifacts
models/
artifacts/
checkpoints/
outputs/
runs/
wandb/
reports/
*.safetensors
*.gguf
*.bin
*.pt
*.pth
*.onnx
*.ckpt
*.arrow
*.parquet

# Large/private datasets are stored outside git.
datasets/raw/*
datasets/prepared/*
plugins/*/datasets/raw/*
plugins/*/datasets/prepared/*
plugins/1c/rag/sources/*
plugins/1c/rag/official-docs/raw/*
plugins/1c/rag/official-docs/normalized/*
plugins/1c/rag/official-docs/media/*
plugins/1c/rag/official-docs/static/*
plugins/1c/rag/official-docs/.local/*
plugins/1c/metadata/snapshots/*
plugins/1c/training/raw/*
plugins/1c/training/prepared/*

# Keep directory placeholders.
!datasets/raw/.gitkeep
!datasets/prepared/.gitkeep
!plugins/*/datasets/.gitkeep
!plugins/*/datasets/raw/.gitkeep
!plugins/*/datasets/prepared/.gitkeep
!plugins/*/datasets/README.md
!plugins/1c/rag/sources/.gitkeep
!plugins/1c/rag/official-docs/raw/.gitkeep
!plugins/1c/rag/official-docs/normalized/.gitkeep
!plugins/1c/rag/official-docs/media/.gitkeep
!plugins/1c/rag/official-docs/static/.gitkeep
!plugins/1c/rag/official-docs/.local/.gitkeep
!plugins/1c/metadata/snapshots/.gitkeep
!plugins/1c/training/raw/.gitkeep
!plugins/1c/training/prepared/.gitkeep

# OS/editor
.DS_Store
Thumbs.db
.idea/
.vscode/
