# macOS system files
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db

# Environment variables & secrets
.env
.env.local
.env.production
*.pem
*.key
*.crt
vps-ssh.txt

# Go build binaries & logs
/labs-system/backend/labs-api
/labs-system/cmd/vibelab/vibelab
backend/backend/bin/
/bin/
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
go.work

# Node & Cloudflare Wrangler
node_modules/
.wrangler/
dist/
build/
out/
.next/
_next/
frontend-mockup/out/
frontend-mockup/.next/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Docker & Database Data
pgdata/
docker-data/
*.db
*.sqlite
benchmark_results/

# Cloudflare Tunnel credentials
cloudflared/

# Secrets and machine-local tool state.
#
# This section previously ignored *.json wholesale with a hand-maintained list of `!` exceptions.
# That is backwards: every NEW json file in the repo -- course data, a config, a fixture -- was
# silently untracked until somebody noticed and added another exception. It had already bitten:
# frontend-mockup/public/labs/incident_blueprints.json was untracked while the root copy of the
# same file was tracked, so the static-mirror build source was missing its blueprint data.
# Ignore the specific things that must not be committed instead.
.mcp.json
.claude/settings.local.json
.claude/launch.json
.agentsroom/*.json
.agents/mcp_config.json
.obsidian/
signature-mapping.json

# Generated Lighthouse audit output (one-off artifacts, not source).
lighthouse-report*.json

!openspec.yaml
!.openspec.yaml

# IDE & Editor files
.idea/
.vscode/
*.swp
*.swo
*~
dump.rdb

# Python bytecode & cache
__pycache__/
*.py[cod]
*$py.class
.pytest_cache/
.venv/
venv/

# External tools & standalone repos
dockscope/
public-repos/

.mcp.json
.agentsroom/handoff-transcript-*.txt
.agentsroom/handoff-summary-*.md
.agents/mcp_config.json

# Local research books and PDFs
books/
