# ══════════════════════════════════════════════════════════════════════════════
# OLAV Platform .gitignore
#
# AUTO-GENERATED from ownership_manifest.yaml
# Do not edit manually — run: uv run python scripts/gen_gitignore.py --write
# ══════════════════════════════════════════════════════════════════════════════

# ── python ──
__pycache__/
*.py[cod]
*.so
*.egg-info/
*.egg
build/
sdist/
wheels/
MANIFEST

# ── venv ──
venv/
env/

# ── ide ──
.idea/
*.swp
*.swo
*~
.DS_Store

# ── lint_cache ──
htmlcov/
.tox/
.hypothesis/
.mypy_cache/
.pyright_cache/
MagicMock/

# ── misc ──
*.log
logs/
agent_outputs/
node_modules/

# ── root_artifacts ──
_graph.html
backup-summary.json
export_*.json
r*_links.json
r*_analysis.json
*_analysis.json

# ── temp_scripts ──
demo_*.py
parse_test.py
fix_openconfig_closure.py
test_playwright.py
test_watermark_integration.py
WATERMARK_IMPLEMENTATION_REPORT.md
TRAINING_DATA_*.md

# ── Paths ignored by manifest rules ──

# platform
uv.lock
ownership_manifest.yaml
CLAUDE.md
PARTNERS.md
.dockerignore
/tools/
/run/
.github/copilot-instructions.md
/.vscode/
/.claude/

# generated
src/olav/data/workspace/*/*/references/
src/olav/web/node_modules/
src/olav/web/.next/
src/olav/web/out/
src/olav/web/next-env.d.ts
/dist/
/exports/
/tmp/
.coverage
/.pytest_cache/
/.ruff_cache/
/.venv/
/.agent/
/.langgraph_api/
/olav-post/
olav-netops/exports/
olav-doc/site/
olav-web/dist/
olav-web/node_modules/
olav-web/.wrangler/
.olav/automations/
.olav/databases/
.olav/logs/
.olav/workspace/netops/
.olav/workspace/ops/
.olav/workspace/devops/
.olav/workspace/audit/
.olav/config/unsupported.json
.olav/workspace/core/
.olav/workspace/services/
.olav/workspace/admin/

# legacy
/_legacy_archived/

# netops
/labs/
/olav-netops/
olav-netops/.olav/workspace/devops/

# enterprise
/olav-ent/

# docs
/olav-doc/

# website
/olav-web/

# runtime-workspace
/.olav/
.olav/config/approval_rules.yaml

# collector
/olav-collector/

# ── Whitelist (tracked paths inside ignored parents) ──
!olav-netops/
olav-netops/*
!olav-netops/.olav/
olav-netops/.olav/*
!olav-netops/.olav/workspace/
olav-netops/.olav/workspace/*
!olav-netops/.olav/workspace/kb_audit/
!olav-netops/.olav/workspace/netops/
!olav-netops/.olav/workspace/audit/
!.olav/
.olav/*
!.olav/config/
!.olav/config/*.example
!.olav/config/schemas/

# ── Secrets (NEVER commit) ──
.env
.pypirc
.pypirc_test
olav-netops/.olav/workspace/netops/collect/config/nornir/defaults.yaml
.olav/config/api.json
.olav/config/services.yaml
.olav/config/nornir/
.env.local
.env.*.local
*.token
*.key
*.pem
