# ============================================================================
# Python - Generated Files
# ============================================================================
__pycache__/
*.py[cod]
*$py.class
*.so

# ============================================================================
# Python - C Extensions
# ============================================================================
*.pyc
*.pyo

# ============================================================================
# Python - Distribution / Packaging
# ============================================================================
build/
develop-eggs/
dist/
downloads/
eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
*.egg-info
installed.cfg
*.egg
MANIFEST
*.spec
*.whl

# ============================================================================
# Python - Unit Test / Coverage Reports
# ============================================================================
htmlcov/
tox/
.nox/
coverage
coverage.*
nosetests.xml
coverage.xml
coverage.json
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# ============================================================================
# Translations
# ============================================================================
*.mo
*.pot

# ============================================================================
# Python - Environments
# ============================================================================
.env
.venv
venv/
env/
venv/
ENV/
ENV/
env.bak/
venv.bak/

# ============================================================================
# Python - Type Checking & Linting
# ============================================================================
.mypy_cache/
.dmypy.json
dmypy.json
.ruff_cache/
.pyre/
.pytype/
.pytype/

# ============================================================================
# Python - Package Management
# ============================================================================
.pdm-python/
.pdm.toml
.pyscn/
.uv/
.uv-cache/

# ============================================================================
# IDEs
# ============================================================================
.idea/
.vscode/
*.swp
*.swo
*~

# ============================================================================
# Logs
# ============================================================================
*.log
logs/

# ============================================================================
# OS
# ============================================================================
.DS_Store
Thumbs.db

# ============================================================================
# Local Configuration
# ============================================================================
settings/local.yaml
settings/repos.yaml
settings/ecosystem.yaml
.envrc.local

# ============================================================================
# Sensitive Configuration Files
# ============================================================================
config.yaml
oneiric.yaml

# ============================================================================
# Crackerjack
# ============================================================================
.crackerjack/

# ============================================================================
# Archived Files
# ============================================================================
.archive/
tests/archived/

# ============================================================================
# Project-Specific
# ============================================================================
# Archived test/debug scripts
tests/archived/

# Backup Files (added by gitignore audit)
# ============================================================================
*.backup
*.backup.json
*.bak
/.backups/
/.backup/
.backups/
.backup/

# ============================================================================
# Tooling Artifacts (added by multi-agent workflows)
# ============================================================================
# Claude Code session state
.claude/
# Local MCP config (per-developer)
.mcp.json
# Obsidian vault cache
.obsidian/
# Oneiric resolver cache
.oneiric_cache/
# Skylos dead-code scanner output
.skylos/
# Lychee link-checker cache
.lycheecache
# Coverage quality gate
.cov_qual
# Coverage data file
.coverage
# FastBlocks runtime scaffolding (project-root anchored)
# Contains: backups/, config/, env/, migrations/, templates/
/.fastblocks/

# ============================================================================
# Refactor Backup Artifacts
# ============================================================================
# Refactor backup files (created by tooling during code rewrites)
*.backup.json
*.bak

# ============================================================================
# Runtime Scan & Test Artifacts (added 2026-08-20)
# ============================================================================
# Security scan reports (betterleaks, gitleaks, etc.) — ephemeral output
.cache/
# Test-artifacts staging area; resolver cache leftovers that auto-clean
docs/archive/test-artifacts/

# ============================================================================
# Bodai-wide gitignore patterns (added 2026-09-07; cross-repo cleanup sweep)
# ============================================================================
# Editor / pre-edit backups (foo.py.backup, foo.py.backup.json)
*.backup
*.backup.*
*.bak
*.tmpl
# XDG mistake dirs (env var expansion failed; literal names)
~
[{]HOME[}]
[{]XDG_DATA_HOME:-$HOME
# pytest-benchmark autosave cache (sibling of the tracked `benchmarks/` test suite)
.benchmarks/
# Vitest config timestamp cache
vitest.config.js.timestamp-*.mjs
# Playwright output cruft
playwright-junit.xml
playwright-report/
playwright-results.json
test-results/


# >>> bodai-shared-gitignore >>>
# Source of truth: crackerjack/templates/GITIGNORE_BODAI.md
# Enforced by: crackerjack check `gitignore-conformance`
# Fleet list: /Users/les/Projects/mahavishnu/BODAI_REPO_REGISTRY.md
# Do NOT remove the marker line above — `crackerjack gitignore sync` uses it
# to detect already-applied state.

# Local configuration overlay (per-machine / per-developer; never commit)
# Patterns mirror mahavishnu/.gitignore §Local Configuration so all Bodai
# repos ignore the same overlay set. The four files are: developer-local
# overrides (`local.yaml`), the legacy repo catalog (`repos.yaml`),
# the orchestrator-managed catalog (`ecosystem.yaml`), and the per-machine
# fleet registry overlay (`registry_metadata.local.yaml`, sibling of the
# tracked `registry_metadata.yaml`).
settings/local.yaml
settings/repos.yaml
settings/ecosystem.yaml
settings/registry_metadata.local.yaml

# Editor / pre-edit backups (foo.py.backup, foo.py.backup.json)
*.backup
*.backup.*
*.bak
*.tmpl
# XDG mistake dirs (env var expansion failed; literal names)
# Note: both `{` and `}` are escaped (`{` -> `[{]`, `}` -> `[}]`)
# because gitignore parsers interpret `${...}` as a brace-expansion
# alternate group; escaping only the open brace leaves a stray `}`.
~
[{]HOME[}]
[{]XDG_DATA_HOME:-$HOME[}]
# pytest-benchmark autosave cache (sibling of the tracked `benchmarks/` test suite)
.benchmarks/
# Vitest config timestamp cache
vitest.config.js.timestamp-*.mjs
# Playwright output cruft
playwright-junit.xml
playwright-report/
playwright-results.json
test-results/
# <<< bodai-shared-gitignore <<<
