# ============================================================
# HotPlex Gateway — .gitignore
# ============================================================

# --- Core & Binaries ---
bin/
hotplex
hotplex-*
hotplex.pid
!cmd/hotplex
.docs-patrol-baseline
!.agent/skills/hotplex-*/
*.test
*.out
*.so
*.dylib
*.exe
*.dll
*.pdf
*.zip
*.rar
*.7z
*.tar.gz
*.tgz

# --- Go Development ---
vendor/
go.work
go.work.sum
coverage.txt
coverage.html
coverage/

# --- Node.js / Next.js (Webchat) ---
node_modules/
.next/
out/
build/
dist/
.npm
.pnpm-debug.log*
pnpm-lock.yaml
.eslintcache
.stylelintcache
next-env.d.ts
.turbo/

# --- Database & Persistence ---
data/
*.db
*.db-shm
*.db-wal
hotplex-worker.db*
*.sqlite

# --- Logs & Runtime ---
*.log
logs/
*.pid
tmp/
temp/
.sisyphus
test_output.txt

# --- Configs & Secrets ---
.env
.env.*
!.env.example
*.local.yaml
*.local.yml
.agent/settings.local.json
*.pem
*.key
*.cert
*.crt

# --- IDEs & Editors ---
.idea/
*.iml
.vscode/
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/launch.json
*.swp
*.swo
*~
.history/
.project
.settings/
.classpath

# --- OS Specific ---
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Desktop.ini

# --- Test Artifacts ---
test-results/
e2e/test-results/
playwright-report/
.playwright-mcp
.playwright-cli
.loki/
.ruff_cache
__pycache__

# --- Agent & Session State ---
.agent/skills/*
!.agent/skills/hotplex-*/
.agent/skills/hotplex-docs-patrol/.patrol-baseline
.agents/
/skills/
skills-lock.json
.agent/scheduled_tasks.lock
.agent/source-study-progress.json
.agent/arch-analysis/progress.json

# --- Miscellaneous ---
/.worktrees/
*.bak
*.tmp
# Ignore temporary png files but keep intentional assets
./*.png
webchat/*.png

# --- Embedded Webchat (build artifact) ---
internal/webchat/out/
!internal/webchat/out/index.html
build-docs
