# Root-level defense-in-depth gitignore.
# Each sub-repo (Omni_Localizer/, Omni_Re_Formatter/, Omni_Pre_Processor/)
# is its own git repo with its own .gitignore — see those for per-repo rules.

# ---- Sub-repos: each is its own git repo, never track them from here ----
Omni_Pre_Processor/
Omni_Localizer/
Omni_Re_Formatter/

# ---- Secrets / env files (also ignored per-sub-repo) ----
.env
.env.local
.env.*.local
*.env

# Common secret file extensions
*.key
*.pem
*.p12
*.pfx
api_key*
api_key.*
*_api_key*
*_api_key.*

# ---- Agent / editor runtime state (mirrors sub-repo rules) ----
.opencode/
.sisyphus/

# .omo is mostly runtime state, but plans are source — whitelist plans/
.omo/
!.omo/plans/
!.omo/plans/*.md

# ---- Real config overrides (templates are tracked, real values are not) ----
config/local.yaml
config/production.yaml
config/secret.yaml

# ---- Python bytecode / caches ----
__pycache__/
*.py[cod]
*.pyc
*.pyo
*.pyd
*.egg-info/
dist/
build/
*.egg
.pytest_cache/

# ---- Virtualenvs ----
.venv/
.venv_ol/
.venv312/
.env/

# ---- Test outputs / logs ----
test-artifacts/
test-output/
tmp*/
test_output/
logs/
*.log

# ---- Reports (keep templates, ignore auto-generated) ----
reports/*.md
!reports/TEMPLATE*.md

# ---- IDE / OS ----
.vscode/
.idea/
.DS_Store
Thumbs.db

# ---- Test artifacts from T13/T14 pipeline runs (generated at test time) ----
mcp_resources/
resources/
test_artifacts/

# ---- Heavy DOCX fixtures / binary outputs ----
# The （slim）* DOCX at suite root is a 14MB validation target for the
# slim-output-fixes post-mortem. Tracked test (tests/test_slim_e2e_regression.py)
# uses a synthesized tmp_path fixture and is @pytest.mark.slow, so the heavy
# source must NOT be in the repo. Output copies in final-out/ are also excluded.
（slim）*.docx
final-out/*.docx
*.pptx
!tests/fixtures/*.docx
test_fixtures/
tests/fixtures/

# ---- One-shot E2E run dumps (date-stamped) — auto-archived 2026-06-14 ----
/e2e_*/
production_pipeline_run_*/
final-out/_diagnostics/
opp_mcp_*_images/
omo_q7_repro_*/

# ---- Archive reports (auto-generated, not source) ----
reports/_archive/

# ---- Script pycache ----
scripts/**/__pycache__/
