# Python-generated files
__pycache__/
*.py[oc]
*.pyc
build/
dist/
wheels/
*.egg-info
*.egg-info/
.DS_Store
.DS_STORE

# Virtual environments
.venv
.venv/

# Tool caches
.pytest_cache/
.ruff_cache/
.mypy_cache/
.hypothesis/
.idea/
.skylos/
.oneiric_cache/
.complexipy_cache/
.cache/
.lycheecache
.lycheecache/
.pyscn/
.pyscn

# Coverage reports
.coverage
.coverage*
.coverage.*
coverage.xml
coverage.json
htmlcov/

# Logs
logs/
crackerjack-ai-debug-*.log
crackerjack-debug-*.log

# Crackerjack
.crackerjack-*
.crackerjack/

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

# XDG - DELETE candidates
.obsidian/

# Misc root files (anchored to repo root)
/NOTES.md
/.mcp_test_results.md
/.jbeval/
/.benchmarks/
/.smart-env/

# Archive directories
.archive/
.archives/
.backup/
.backups/

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

# ============================================================================
# Node.js - Wave-11 mermaid CI guard
# ============================================================================
# jsdom is the dev dep for the wave-11 mermaid CI guard (see
# oneiric/tools/mermaid_validator/validate_mermaid.mjs). The package.json
# + package-lock.json ARE committed; only the resolved artifacts are excluded.
node_modules/
# Allow the empty placeholder so a fresh clone gets a usable `npm install`.
!node_modules/.gitkeep

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