# --- OS ---
.DS_Store

# --- Node ---
node_modules/
dist/
.astro/
.wrangler
.vite-cache/

# --- Python ---
__pycache__/
*.py[cod]
.venv/
venv/
*.egg-info/
.pytest_cache/
.mypy_cache/

# --- Raw & processed data (never committed — too large, regenerated locally) ---
# Leading slash anchors these to the project root — unanchored 'data/' also
# matched src/data/ (industry-page content), silently untracking it.
# No trailing slash so it also ignores the /data symlink (git sees a symlink
# as a file, and a trailing-slash pattern only matches directories).
/data
/backups/
.tmp/
*.nc
*.nc.zip
*.grib
*.parquet

# --- Databases & catalogs (generated) ---
*.sqlite
*.sqlite3
*.db

# --- Logs & reports (generated) ---
*.log
logs/

# --- Credentials ---
# `.cdsapirc` alone missed the real files: the multi-account submitter reads
# ~/.cdsapirc-account1..4, and a copy placed in the repo would have been tracked.
# A live CDS key reached a commit that way on 2026-08-03 (docs/SECRET-REMEDIATION-2026-08-03.md).
.cdsapirc
.cdsapirc-*
*.cdsapirc
# The placeholder template is the one file that must stay tracked.
!era5_submitter/cdsapirc.example
.env
.env.*
.dev.vars
.dev.vars.local

# site-health-check.mjs output (scripts/site-health-check.mjs)
/reports/

# --- Personal working notes (never committed) ---
Ignore_Sandeep_Notes

# Per-country D1 sync payloads written to the repo root by
# scripts/builder/sync_d1_countries.py. Generated artifacts, not source: the US
# one is ~90k statements / 6MB, and it is regenerated from the local mirror
# every run. Anchored to the root because that is where the script writes them
# (output_file = f"d1_remote_{cc}.sql", relative to the working directory).
/d1_remote_*.sql

# Local dev links to the external drive (see memory: data lives on D:).
# Committed by accident once — these are absolute D:\ paths, broken anywhere else.
# (The actual rule is /data at the top of this file — a bare `data` used to
# live here too, which matches that name at ANY depth and was silently
# blocking every file under src/data/ from ever being tracked. Found when
# ehabDefaults.js never showed up in git status despite existing on disk.)
.wrangler

# Vendored Tailwind docs pulled by .agents/skills/tailwind-4-docs's
# sync_tailwind_docs.py — 236 third-party .mdx files (~5MB) regenerated on
# demand from the upstream repo, so it is a local cache, not source. The
# skill's own notes and docs-source.txt (which pins the synced commit) ARE
# tracked; only the payload is ignored.
.agents/skills/tailwind-4-docs/references/docs/
.agents/skills/tailwind-4-docs/references/docs-index.tsx
.batch-drafts

# Timestamped local backups taken before destructive edits. Never committed.
.backups/
