# ── Python ───────────────────────────────────────────────────────────────────
__pycache__/
*.py[cod]
*$py.class
*.so

# Distribution / packaging
.eggs/
*.egg-info/
dist/
build/
.installed.cfg
lib/
!site/src/lib/
!frontend/src/lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg
MANIFEST

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.python-version

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# ── Testing ──────────────────────────────────────────────────────────────────
.pytest_cache/
.tox/
.nox/
htmlcov/
.coverage
.coverage.*
coverage.xml
*.cover
*.py,cover
nosetests.xml
test-results/
junit.xml

# ── Type checking ─────────────────────────────────────────────────────────────
.mypy_cache/
.dmypy.json
dmypy.json
.pytype/

# ── Linting ──────────────────────────────────────────────────────────────────
.ruff_cache/

# ── Jupyter ──────────────────────────────────────────────────────────────────
.ipynb_checkpoints
*.ipynb

# ── Environment & secrets ─────────────────────────────────────────────────────
.env
.env.*
!.env.example
*.pem
*.key
secrets/

# ── IDEs ─────────────────────────────────────────────────────────────────────
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# ── Node / frontend ──────────────────────────────────────────────────────────
node_modules/
.next/
.nuxt/
out/
frontend/.env.local
frontend/.env.production

# ── Docker ───────────────────────────────────────────────────────────────────
*.override.yml

# ── Database ─────────────────────────────────────────────────────────────────
*.db
*.sqlite3

# ── Logs ─────────────────────────────────────────────────────────────────────
*.log
logs/

# ── Build artifacts ──────────────────────────────────────────────────────────
*.mo
*.pot

# ── Docs build ────────────────────────────────────────────────────────────────
docs/_build/

# ── TypeScript build info ─────────────────────────────────────────────────────
*.tsbuildinfo

# ── Claude Code (private config) ─────────────────────────────────────────────
.claude/

# ── Aigis runtime artifacts (demo keys, local logs) ──────────────────────────
.aigis/
backend/.aigis/

# ── Legacy / internal copies (not for OSS release) ───────────────────────────
sdk/python/

# ── Office / lock files ──────────────────────────────────────────────────────
.~lock.*#
~$*

# ── Local-only backups & temp scratches ──────────────────────────────────────
*.local-backup
_tmp_*

# ── Article authoring (managed locally; published via qiita-cli / zenn-cli) ──
# zenn-cli managed — articles/<slug>.md is read by Zenn via GitHub integration,
# so it MUST be tracked. (Was previously gitignored by mistake — Zenn drafts
# were never reaching the dashboard.)
# /articles/  ← do not re-add this line
# zenn-cli public assets directory
/public/
# local drafts / weekly / monthly review notes
/content/articles/
/content/weekly/
/content/weekly_reports/
/content/monthly_reviews/
/content/zenn_draft.md
/content/content_insights.md
/content/hn_show_hn_v1.0.0.md

# Local working notes
_temp/

# Auto-improvement loop scratch (never commit failed-push diffs)
auto-improvement/_unpushed_*.patch
auto-improvement/_failed_*.patch
