# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
venv/
.venv
ENV/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

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

# Testing and Coverage
.pytest_cache/
.coverage
.coverage.*
coverage.xml
coverage.json
htmlcov/
htmlcov_logging/
.testmondata

# Healthcare Wizards (top-level only - keep plugin wizards)
/wizards/

# Root-level test files (should be in tests/)
/test_*.py
test_env/
test*.json
!tests/**/*.json

# Redis dumps
*.rdb

# Security
security_scan_results.json
pip_audit_results.json
*.audit.json
.env
**/.env
**/tests/.env
*.env.local
*.env.*.local
.env.test
.pypirc

# MemDocs
.memdocs/
.memdocs-context.md

# Code Quality
.mypy_cache/
.ruff_cache/

# Website (Next.js) - Keep source, exclude builds
website/node_modules/
website/.next/
website/out/
website/.env.local
website/.env.production.local
website/build/
!website/lib/

# Working files (reminders, drafts, planning docs)
BADGES_REMINDER.md
POST_HACKERNEWS_REMINDER.md
SEND_LANGCHAIN_EMAIL.md
HN_ARTICLE_EMPATHY_MEMDOCS.md
OUTREACH_EMAILS.md
TODO_BADGES.md
COMPREHENSIVE_COMPLETION_PLAN.md
COMMERCIAL_READINESS.md

# Pitch Deck Materials (generated/working files)
PITCH_DECK.md
PITCH_DECK_README.md
pitch_deck_assets/
pitch_deck_exports/
convert_pitch_deck.sh

# Logs
logs/

# MCP Registry tokens (credentials)
.mcpregistry_*

# Server configuration (may contain secrets)
server.json

# Embedded git repositories
10_9_2025_ai_nurse_florence/
anthropic-cookbook/

# Generated book files
dist/empathy-book.*
ebook-site/
book-indesign/
book-indesign alias*

# MkDocs build output
site/

# Local runtime data (session state)
.empathy/
.attune/

# Pattern storage (generated runtime data)
patterns/debugging_demo/
patterns/repo_test/
patterns/security/
patterns/security_demo/
patterns/tech_debt/
patterns/tech_debt_demo/
patterns/debugging/workflow_*.json
patterns/code_review_memory.json
patterns/debugging/all_patterns.json
patterns/refactoring_memory.json

# Word temp files
~$*

# Node modules lock duplicates
**/node_modules/.package-lock.json

# Consolidated wizards (working directory)
wizards_consolidated/

# Marketing (internal/admin only)
docs/marketing/

# VS Code extension telemetry panel (separate project)
vscode-telemetry-panel/

# Test reports and analysis (generated files)
fallback_test_report_*.json
usage_analysis.json
FALLBACK_TEST_REPORT.md
TIER_FALLBACK_TEST_REPORT.md
.vercel

# macOS Finder duplicate files
* 2.py
* 2.ts
* 2.tsx
* 2.js
* 2.jsx
* 2.json
* 2.md
* 2.mdx
* 2.yaml
* 2.yml
* 2/
* 3.json
* 3.md
* 3.yaml
* 3.yml
* 3.py
* 3.txt
* 4.template

# Example applications (not part of framework distribution)
examples/craps-dice-tracker/

# Local data files
memdocs_storage/
metrics.db
benchmarks/profiles/*.prof
benchmarks/profiles/*.dat

# Test artifacts
test_wizard_risk_analysis.json
test.json

# Profiling output (root level)
/profiles/
*.prof

# Generated local files
/aliases.sh
/KEYBOARD_SHORTCUTS.md

# Plugin eval reports (development artifacts, not distributed)
plugin/evals/
docs/internal/evals/

# Claude Code local settings (user-specific, not shared)
.claude/settings.local.json

# Claude Code auto-memory (personal, not shared)
/memory/

# Claude Code worktrees (session temp state)
.claude/worktrees/

# Dev scripts (local only)
/scripts/profile_workflows.py
/planning/
!plugin/skills/planning/

# Healthcare plugin (moved to separate fork)
attune_healthcare/
attune-healthcare-plugin/
attune-healthcare-fork/
src/attune/healthcare/
src/attune/agents/healthcare/
tests/unit/healthcare/
tests/unit/agents/healthcare/
tests/integration/healthcare/

# VS Code memory panel (separate project)
vscode-memory-panel/

# Workflow scaffolding (code generation templates)
workflow_scaffolding/

# PhysioNet / clinical data (large binary datasets)
data/

# Compiled binaries (MCP publisher, etc.)
mcp-publisher

# React dashboard build output (generated from dashboard/)
src/attune/dashboard/static/react/

# Dashboard frontend dev dependencies
dashboard/node_modules/
dashboard/dist/
.claude/scheduled_tasks.lock

# Generated benchmark cache (regenerates on every cache-writer run)
.help/benchmarks/

# Test leak — tests that stringify a MagicMock into a filesystem path
# create stray MagicMock/mock.attune_dir/<id>/ trees. Ignore them as a
# safety net; ideally the underlying tests should be fixed to use tmp_path.
MagicMock/

# Personal IDE launch configs (per-dev-machine; not portable)
.claude/launch.json
