# Dependencies
node_modules
.npm-stage

# Local Verdaccio registry (build_and_install_locally.sh)
.verdaccio/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Environment files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Build outputs
packages/*/dist/
dist/
# transient tsc output: packages/core's build emits it, then rm -rf's it at the end
dist-types/
build/
apps/browser/public

# Testing
coverage/
*.lcov
.nyc_output
test-results.json
playwright-report/
test-results/

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*~
.project
.settings/
*.sublime-project
*.sublime-workspace

# Temporary files
tmp/
temp/
*.tmp
*.temp

# Cache directories
.cache/
.parcel-cache/
.eslintcache

# TypeScript
*.tsbuildinfo

# Generated types and copied specs (NOT the source OpenAPI spec!)
packages/core/openapi.json
packages/core/src/types.ts
packages/core/src/generated/
packages/core/src/config/config.types.ts

# Python: an environment, and what the interpreter and its tools cache
.venv/
__pycache__/
.mypy_cache/
.pytest_cache/
.ruff_cache/

# Generated OpenAPI bundle (source is specs/src/)
specs/openapi.json
specs/archivist.openapi.json

# Compiled scripts (should use tsx, not tsc)
packages/*/scripts/*.js
packages/*/scripts/*.js.map
packages/*/scripts/*.d.ts
packages/*/scripts/*.d.ts.map
# Note: apps/*/scripts/*.js removed - these are actual source JS files, not compiled output
apps/*/scripts/*.js.map
apps/*/scripts/*.d.ts
apps/*/scripts/*.d.ts.map

# Ephemeral Planning Documents
.plans

# Assembled by scripts/release/notes-context.sh; quotes .plans content verbatim
.release-notes-context.md

# Compliance audit generated files
**/scripts/symbols.json
# Generated compliance reports (all of them — never enumerate outputs by hand)
.compliance/

# tesseract.js language data — fetched at runtime into the working directory.
# NOT a source artifact: the images vendor it at build time (OCR is core and
# must never CDN-fetch in production; SMELTER-MEDIA-TYPES decision 8).
*.traineddata

# Backups written beside .env.local by tooling
.env*.backup*

# Cargo's build output, for the whole Rust workspace (Cargo.toml).
/target
