# =============================================================================
# SOMA CORE - Git Ignore Configuration
# Following cybersecurity best practices
# =============================================================================

# =============================================================================
# RUST BUILD ARTIFACTS & DEPENDENCIES
# =============================================================================

# Compiled output and build artifacts
/target/
**/target/
Cargo.lock

# Build artifacts from different profiles
/debug/
/release/
/deps/

# Generated documentation
/doc/

# =============================================================================
# CYBERSECURITY - SENSITIVE FILES (CRITICAL)
# =============================================================================

# API Keys and Secrets
*.key
*.pem
*.p12
*.pfx
*.crt
*.cert
*.cer
.env
.env.*
!.env.example
secrets.json
secrets.yml
secrets.yaml
config/secrets*
api_keys*
credentials*
auth.json
token*
*.secret

# Configuration files that may contain sensitive data
config.json
config.yml
config.yaml
settings.json
settings.yml
settings.yaml
local.json
local.yml
local.yaml

# Database files and dumps
*.db
*.sqlite
*.sqlite3
*.sql
database.url
db_backup*
dump.sql

# Log files that may contain sensitive information
*.log
logs/
*.log.*
log/
crash.log
error.log
debug.log

# =============================================================================
# DEVELOPMENT & IDE FILES
# =============================================================================

# Visual Studio Code
.vscode/
*.code-workspace

# JetBrains IDEs (IntelliJ IDEA, CLion, etc.)
.idea/
*.iml
*.ipr
*.iws

# Sublime Text
*.sublime-project
*.sublime-workspace

# Vim
*.swp
*.swo
*~
.viminfo

# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# =============================================================================
# OPERATING SYSTEM FILES
# =============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon?
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.tmp
*.temp
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*

# =============================================================================
# BACKUP & TEMPORARY FILES
# =============================================================================

# Backup files
*.bak
*.backup
*.old
*.orig
*.save
*.swp
*.tmp
*~

# Archive files
*.7z
*.rar
*.zip
*.tar
*.tar.gz
*.tgz
*.tar.bz2
*.tbz2
*.tar.xz
*.txz

# =============================================================================
# RUNTIME & PROCESS FILES
# =============================================================================

# Process IDs
*.pid
*.lock
.pids/

# Coverage reports and profiling
coverage/
*.gcda
*.gcno
*.prof
*.profraw

# =============================================================================
# SECURITY TESTING & PENTESTING FILES
# =============================================================================

# Security scan results
*.sarif
security-report*
vulnerability-report*
penetration-test*
audit-report*

# Fuzzing artifacts
fuzz/corpus/
fuzz/artifacts/
crashes/
hangs/

# =============================================================================
# DOCKER & CONTAINERIZATION
# =============================================================================

# Docker
Dockerfile.prod
docker-compose.override.yml
.dockerignore

# =============================================================================
# AI/LLM INTEGRATION FILES (Future)
# =============================================================================

# Model files and caches
*.model
*.bin
models/
cache/
.cache/

# API response caches
api_cache/
llm_cache/
responses/

# =============================================================================
# DOCUMENTATION BUILD ARTIFACTS
# =============================================================================

# Generated documentation
book/
mdbook/
site/
dist/

# =============================================================================
# TESTING & BENCHMARKING
# =============================================================================

# Test artifacts
test-results/
benchmark-results/
*.toc
*.aux
*.out

# =============================================================================
# PACKAGE MANAGERS & DEPENDENCIES
# =============================================================================

# Rust specific (additional)
**/*.rs.bk
*.pdb

# Node.js (if frontend components are added)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm
.yarn-integrity

# Python (if Python scripts are used)
__pycache__/
*.py[cod]
*$py.class
.Python
venv/
env/
.venv/
.env/

# =============================================================================
# CUSTOM PROJECT EXCLUSIONS
# =============================================================================

# SOMA-specific temporary files
soma_temp/
agent_logs/
collaboration_history/
edit_backups/
consensus_logs/

# Testing artifacts specific to SOMA
test_output/
demo_results/
simulation_data/

# =============================================================================
# SAFE EXAMPLES (DO NOT IGNORE)
# =============================================================================

# Explicitly include example files that should be tracked
!examples/
!examples/*.rs
!*.example
!template.*

# Added by Claude Task Master
# Logs
logs
dev-debug.log
# Dependency directories
# Environment variables
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# OS specific
# Task files
tasks.json
tasks/ 