# 환경 변수
.env
*.env
.env.*
*.env.*
!.env.example
!*.env.example
mcp_agent.config.yaml
mcp_agent.secrets.yaml
config.py
.mcp.json

# Python virtual environments
venv/
.venv/
.venv-bt/
env/
ENV/

# Databases (keep none tracked; use *.example if a schema sample is needed)
*.db
*.db-shm
*.db-wal

# System files
.DS_Store
.python-version

# Claude Code plugin state
.omc/
.omx/

# Internal working docs (handoffs, strategy notes, ops runbooks) — never publish
tasks/

# Logs
*.log

# Jeon Ingu Trading 출력 파일 및 데이터
events/*
!events/JEONINGU_TRADING.md
!events/jeoningu_trading.py
!events/jeoningu_trading_db.py
!events/jeoningu_price_fetcher.py
!events/logs/
!events/transcripts/
!events/audio_temp/

# 하위 디렉토리 안의 실제 파일들은 무시
events/logs/*
events/transcripts/*
events/audio_temp/*

# Python cache files
__pycache__/
*.py[cod]
*$py.class
*.so
.Python

# IntelliJ IDEA project files
.idea/

# trading/.gitignore
trading/config/KIS*
trading/config/*.token*
trading/config/*.key
trading/config/kis_devlp.yaml
trading/config/kis_*.yaml

# Build artifacts
.next/
dist/
node_modules/
*.tsbuildinfo

# examples/.gitignore
examples/dashboard/build/
examples/dashboard/dist/
examples/dashboard/node_modules/

# Generated reports & data
reports/
pdf_reports/
telegram_messages/
*.sqlite
*.pdf
*_report*.md
*_full_report*

# Dashboard generated data
examples/dashboard/public/*_dashboard_data*.json
examples/dashboard/public/dashboard_data*.json

# MCP servers (should be installed separately)
perplexity-ask/

# Generated docs
docs/GEEKNEWS_POST_FINAL.md
docs/TELEGRAM_JOURNAL_GUIDE.md

# Logs directory
logs/

# prism-us generated files
prism-us/reports/
prism-us/*.log

# tests generated files
tests/*.log

# Sensitive files - NEVER commit these
*_cookies.txt
*cookies*.txt
*.cookies
youtube_cookies.txt

# Generated trigger results
trigger_results_*.json

# SQLite MCP server data files (keep Dockerfile, README, pyproject.toml, src/)
sqlite/stock_tracking_db

# Backup files
*.bak
*.backup
*~

# SSH keys and certificates
*.pem
*.key
*.p12
id_rsa*
id_ed25519*

# Local development files
.vscode/
*.local
archive.db
archive.db-shm
archive.db-wal

# prism-btc local state
prism-btc/state/
prism-btc/backtest/results/
!prism-btc/engine/config.py
