# External reference repos (shallow clones, not Ampion source)
reference/

# Environment files — never commit these
.env
.env.local
.env.*.local
infrastructure/docker/.env

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

# Local-only run artifacts (autonomous session logs, MCP server caches,
# Playwright traces, pilot dry-run iteration outputs, generic temp dir).
# These are regenerated per session and must not be committed.
tmp/
test-results/
.playwright-mcp/
scripts/pilot_dry_run/iter_e2e/
scripts/pilot_dry_run/iter_e2e_pre/
scripts/pilot_dry_run/iter_e2e_post/

# Node / React
node_modules/
build/
.next/
*.tsbuildinfo

# IDE
.vscode/settings.json
.idea/

# OS
.DS_Store
Thumbs.db

# Logs
*.log
/logs/

# Local Netlify folder
.netlify

# MemPalace per-project files (issue #185)
mempalace.yaml
entities.json

# Tournament dataset artifacts — regeneratable, large
# Ignore contents (not the directory itself) so we can re-include static/ below.
datasets/*
datasets/**/*
*.parquet
*.xlsx

# Pilot starter fixtures bundled into the Railway Docker image so the SDK
# `download_train()` / `download_live()` calls don't 503 on a fresh prod boot.
# Tiny (~150KB total) v0.3.1-compatible fixtures; replaced post-pilot when a
# Railway persistent volume is attached for the full v0.4 dataset.
!backend/auth/datasets/
!backend/auth/datasets/**/*.parquet

# Frozen v0.4.1 static splits — small, canonical, must be in git
!datasets/static/
!datasets/static/**
.claude/settings.local.json

# archive/ — committed area for retired artifacts.
# Default-ignore the heavy bits (parquets, the 80MB train_1961d HTML, the orchestrator
# staging partials), but un-ignore the small text artifacts that are useful to keep
# in git: the README, the .checkpoint.json files, the run logs, and the small
# HTML/XLSX previews.
archive/data/test-staging/
archive/data/test-snapshots/train_1961d_20260517_0823.html
!archive/README.md
!archive/**/.checkpoint.json
!archive/logs/**/*.log
!archive/data/test_v03/*.html
!archive/data/test_v03/*.xlsx
!archive/data/test_7d_2021/*.html
!archive/data/test_7d_2021/*.xlsx
!archive/misc/**
