# ==============================================================================
# CapFence — Git Ignore Configuration
# ==============================================================================

# --- Documentation Whitelist & Strategy Exclusions ---
# Protect root-level markdown strategy notes from public tracking.
*.md
!README.md
!CHANGELOG.md
!CONTRIBUTING.md
!CODE_OF_CONDUCT.md
!SECURITY.md
!docs/*.md
!docs/**/*.md
!docs-dev/*.md
!docs-dev/**/*.md
!.github/**/*.md
!case-studies/*.md
!case-studies/**/*.md
!policies/packs/**/*.md

# Block potential future local review artifacts
docs/CODE_REVIEW_*.md
docs/REVIEW_*.md
docs/*_REVIEW.md
docs/INTERNAL_*.md

# --- Corporate & Enterprise Exclusions ---
capfence-cloud/   # Proprietary enterprise cloud repository

# --- Hard Security & Proprietary Protection ---
# Never check in credentials, keys, patents, or trade-secrets.
.env
.env.*
key.txt
*.age
*patent*
*Patent*
*PROVISIONAL*
TRADE_SECRET*

# --- Python & Build Environments ---
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/
.eggs/
*.egg

# --- Tool & Execution Caches ---
.mypy_cache/
.pytest_cache/
.ruff_cache/

# --- Virtual Environments ---
venv/
.venv/
env/
ENV/

# --- IDE & OS Cache Files ---
.vscode/
.idea/
*.swp
*.swo
.DS_Store
Thumbs.db
# Local built static documentation output
site/

# --- Local Demonstration & Sandbox Files ---
capfence-demo/capfence-assessment-report.html
capfence-demo/audit.db
capfence-demo/approvals.db
