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

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

# ============================================================================
# Backup Files
# ============================================================================
*.backup
*.backup.json
*.bak

# ============================================================================
# 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
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/
*.crackerjack.bak
crackerjack-debug-*.log
crackerjack-ai-debug-*.log
# Old distribution directories (should not be in repo)
crackerjack-*/

# ============================================================================
# Skyros Cache (mcp-common runtime cache)
# ============================================================================
.skylos/

# ============================================================================
# Build/Distribution
# ============================================================================
# Caches
# Coverage
# Crackerjack specific
# Development
# Temporary and working files

# ============================================================================
# Test/Benchmarks
# ============================================================================
.benchmarks/
/tests/.benchmarks/

# ============================================================================
# Crackerjack Patterns
# ============================================================================

# ============================================================================
# Adapter Output Files (centralized in .crackerjack/outputs/)
# ============================================================================
# Note: Individual adapters may create timestamped results
.crackerjack/outputs/

# ============================================================================
# Development Artifacts (evaluate periodically)
# ============================================================================
# Implementation markdown files
feature-implementation-*.md
test-implementation-*.md

# Session handoff documentation
session_handoff_*.md

# ============================================================================
# Tool Caches and Databases
# ============================================================================

# ============================================================================
# Configuration Files (project-specific)
# ============================================================================
.mcp.json

# Claude Code Settings
.claude/
**/.claude/settings.local.json

# Crackerjack State
.crackerjack-state/
.crackerjack-hooks-updated/
.crackerjack-mcp/
# Legacy .crackerjack/ directory (deprecated)
.crackerjack/

# ============================================================================
# Archived Documentation (excluded from quality checks)
# ============================================================================
docs/archive/

# ============================================================================
# Archived Files
# ============================================================================
.archive/

# ============================================================================
# Complexipy Results (temporary complexity analysis output)
# ============================================================================
complexipy_results*.json

# Complexipy cache (added to prevent tracking cache files)
.complexipy_cache/

# ============================================================================
# Lychee link checker
# ============================================================================
.lycheeignore

# ============================================================================
# Obsidian (excluded from git - user note directory)
# ============================================================================
.obsidian/
.obsidian/

# XDG - Cache directories
.pytest_cache/
.ruff_cache/
.mypy_cache/
.oneiric_cache/
.complexipy_cache/
.cache/lychee/
.cache/gitleaks-report.json

# XDG - State directories
.claude/
.session-buddy/
.crackerjack/

# XDG - DELETE candidates
.obsidian/

/.oneiric_cache/
/.archive/
/.backups/
/.archive/
/archive/
settings.local.json

# Database files
*.db

# Canonical runtime-artifact patterns (bodai cleanup 2026-08-20)
.pyscn/

# lychee + pytest-hypothesis caches (canonical sweep 2026-08-20)
.lycheecache
.hypothesis/

# ============================================================================
# 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.

# 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/

# ============================================================================
# Documentation — image assets
# ============================================================================
# Tracked images live under docs/assets/images/. Session scratch outputs
# (named like "*-v4.png", "*-window.png", or anything dropped in
# .scratch/) are local-only and must not be committed. The dot-prefix on
# `.scratch` is load-bearing — the gitignore rule only matches with it.
docs/assets/images/.scratch/
docs/assets/images/.scratch/**
# <<< bodai-shared-gitignore <<<
