# --- ServerKit Consolidated .gitignore ---

# Node / Frontend
/frontend/node_modules/
/frontend/dist/
/frontend/npm-debug.log*
/frontend/yarn-debug.log*
/frontend/yarn-error.log*
/frontend/.eslintcache
/frontend/.stylelintcache
/frontend/coverage/
/frontend/.next/
/frontend/out/
/frontend/build/

# Python / Backend
/backend/venv/
/backend/instance/
/backend/__pycache__/
/backend/.pytest_cache/
/backend/.coverage
/backend/htmlcov/
/backend/.mypy_cache/
/backend/.tox/
/backend/*.pyc
/backend/*.pyo
/backend/*.pyd
/backend/.env
/backend/.venv
/backend/.venv-wsl/
/backend/pip-log.txt
/backend/pip-delete-this-directory.txt
/backend/dev-data/
/venv/

# Go / Agent
/agent/serverkit-agent
/agent/serverkit-agent.exe
/agent/dist/
/agent/vendor/
/agent/*.test
/agent/*.out
/agent/bin/
/dist/
# Release artifacts built by .github/workflows/agent-release.yml — these are
# published to GitHub Releases, not committed. (NOTE: the *.syso resource
# objects under agent/cmd/agent/ are build INPUTS, embedded by the Go
# toolchain at build time, and are intentionally tracked.)
/packages/
*.msi
*.wixpdb

# Environment / Secrets
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
*.key
*.pem
*.crt
*.csr
/backend/.env
/frontend/.env.local
/frontend/.env.development.local

# Docker
.docker-compose.untracked.yml
docker-compose.override.yml

# OS / IDE
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.idea/
.vscode/
*.swp
*.swo
*~
*.sublime-project
*.sublime-workspace

# Project Specific
.planning_old/
.mcp.json
new_templates/
/.marketing/
/template-icons/
/.pr/
/.reviews/
/.claude/settings.local.json
/serverkit.db
/backend/instance/serverkit.db

# Logs & Temp
*.log
*.tmp
*.temp
/logs/
/tmp/
nul
SECURITY_AUDIT.md
APP_IMPROVEMENTS.md
UI_REPORT.md
SECURITY_AND_CODE_AUDIT.md
# Scratch screenshots dropped at the repo root. Real image assets live under
# frontend/ or are force-included below (agent/internal/setupui/*).
*.png
*.jpeg
*.jpg
# …except the README screenshots, generated from mock data by the local
# `screenshots` skill — these are real committed assets.
!/docs/screenshots/
!/docs/screenshots/*.png

# MSI / build artifacts that should not be committed.
/agent/packaging/msi/output/
/agent/packaging/msi/*.wixpdb

# Release tarballs built by scripts/build-release.sh
/serverkit-*.tar.gz
/serverkit-*.tar.gz.sha256
/serverkit.bak

# Brand assets that the agent embeds at build time are generated by
# agent/packaging/icons/generate_icons.py from the SVG, but must be checked
# in so CI builds don't have to install cairo/Pillow.
!agent/internal/setupui/serverkit.ico
!agent/internal/setupui/serverkit_header.png
docs/PLAN_AGENT_FLEET.md
/docs/plans
/.agents
/.extension-platform-plan/
/.claude
/.github/skills
/.playwright-mcp
docs/UI_CONSISTENCY_AUDIT.md
docs/REMOTE_ACCESS_ROADMAP.md
docs/NOTIFICATIONS_ROADMAP.md
docs/ORCHESTRATION_ROADMAP.md
