# Node
node_modules
node_modules_old_*
node_modules_old_*/
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Backup files
*.backup
*.backup-*
*.bak
*.bak*
package.json.backup*
package-lock.json.backup*
.backups/

# TypeScript
dist/
*.tsbuildinfo
.tsbuildinfo-*
.tsconfig.scoped.json
*.d.ts
!src/types/**/*.d.ts
# Committed hand-written .d.ts outside src/types/. Without these
# un-ignores the prettier CLI silently skips them — it reads .gitignore
# by default in 3.x — while eslint-plugin-prettier (which passes its own
# ignorePath) still flags them, producing the divergence in #5913.
!src/renderer/global-types.d.ts
!src/renderer/i18n/i18n.d.ts
!apps/web/src/vite-env.d.ts
!apps/website/src/vite-env.d.ts
!apps/agent-portal/types/*.d.ts
*.d.ts.map
*.js.map

# Electron
out/
dist-app/
electron-builder.yml

# Testing
coverage/
.nyc_output/
*.lcov
tests/header-test-results-*.json
tests/results/*-darwin-*.json
tests/results/latest-results.json
tests/results/latest-comprehensive-results.json
tests/results/testing-progress.json
tests/results/failure-analysis.json
tests/results/COMPREHENSIVE_FAILURE_ANALYSIS.md
tests/results/playwright-*.json
tests/results/playwright-*.xml
tests/results/playwright-report/
tests/results/history/
!tests/results/baseline.json
tests/ui/screenshots/
test-results/
# Agent Portal Playwright (#7725 L6-A) — local report + browser cache
apps/agent-portal/e2e-report/
apps/agent-portal/playwright-report/
apps/agent-portal/.playwright/

# Lighthouse CI
.lighthouseci/

# Database files
*.db

# Analysis output (generated)
analysis-output/

# Generated documentation
docs-site/*.pdf
docs-site/*.html
!docs-site/app/**/*.html

# Codemod reports
scripts/codemods/*-migration-report.json

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
downloads/
eggs/
.eggs/
# Anchored to the Python packaging roots (#7522): the template's bare `lib/`
# rule swallowed TS source dirs named lib/ — a file could build locally
# forever while existing in NO checkout (#7509) — and had accreted 11
# re-includes. Only these roots can produce Python lib/ artifacts
# (setup.py / pyproject.toml locations); venvs are ignored separately.
adk/python-sdk/lib/
adk/python-sdk/lib64/
backend/pcwv/lib/
backend/pcwv/lib64/
cloud-run/pcwv/lib/
cloud-run/pcwv/lib64/
cloud-run/pcwv/backend/pcwv/lib/
cloud-run/pcwv/backend/pcwv/lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.pytest_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.venv/
venv/
ENV/
env/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

# Environment variables
.env
.env.local
.env.*.local

# GCP Service Account Keys (SECURITY: Never commit credentials)
**/gcp-keys/**
**/*-key.json
**/service-account-key*.json

# Logs
logs/
*.log

# Temporary files
*.tmp
*.temp

# Debug files
debug-electron.js
test-electron.js
crash-log.txt

# Terraform
.terraform/
.terraform.lock.hcl
*.tfstate
*.tfstate.backup
*.tfplan
.terraformrc
terraform.rc

# Excel files
*.xlsx
*.xls
venv/

*storybook.log
storybook-static

# Generated bundle files
public/agent-builder-bundle.js
public/agent-builder-bundle.css
public/agent-builder-panels.js
public/agent-builder-split-loader.js  
public/load-real-agent-builder.js
public/panel-integration-loader.js
public/unified-agent-builder-loader.js
public/*-bundle.js
public/*-bundle.css
bridgecore-source/
bridgecore-clone/

# License tier configurations (generated, not committed)
config/license-tiers/
backups/
.mcp.json
worktrees/
.env.development
.vercel
.env*.local
# Generated test artifacts
tests/results/test-cases/
tests/results/deficiency-reports/
pr-review-temp/

# Cloud Functions (deployed separately)
cloud-functions/
.husky/_/
packages/conformance-sidecar/.cb-sidecar/
# Per-package venvs anywhere (covers .venv/, .venv-test/, .venv-dev/, etc.).
**/.venv*/
# Demo orchestration writes minted enrollment tokens here (chmod 600).
scripts/demo/.managed-agent-tokens.env
# Bytecode caches anywhere in the tree
**/__pycache__/
