# SPDX-FileCopyrightText: 2026 PythonWoods <dev@pythonwoods.dev>
# SPDX-License-Identifier: Apache-2.0

# ============================================================================
# Zenzic — Git Ignore Rules
# ============================================================================

# ────────────────────────────────────────────────────────────────────────────
# Environment Configuration
# ────────────────────────────────────────────────────────────────────────────
.env
.env.local
.env.*.local
!.env.example
!.env.template
.zenzic.local.toml

# ────────────────────────────────────────────────────────────────────────────
# AI Tools & IDE Integrations
# ────────────────────────────────────────────────────────────────────────────
.gemini/
.copilot/
.cursor/
.ai/
.claude/
.agent/
.deepcode/
.redteam/

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

# Distribution / packaging
build/
dist/
*.egg-info/

# Zenzic: Drafts
.draft
drafts/
Draft/
*.egg
MANIFEST
.installed.cfg

# PyInstaller
*.manifest
*.spec

# ────────────────────────────────────────────────────────────────────────────
# Virtual Environments
# ────────────────────────────────────────────────────────────────────────────
.venv/
venv/
env/
ENV/

# ────────────────────────────────────────────────────────────────────────────
# uv
# ────────────────────────────────────────────────────────────────────────────
# uv.lock is committed (application lock file — do not ignore)
.python-version
.uv/                 # uv internal cache

# ────────────────────────────────────────────────────────────────────────────
# Hatch
# ────────────────────────────────────────────────────────────────────────────
.hatch/

# ────────────────────────────────────────────────────────────────────────────
# Testing & Coverage
# ────────────────────────────────────────────────────────────────────────────
.pytest_cache/
.pytest_tmp/
.hypothesis/
.coverage
.coverage.*
htmlcov/
coverage/
coverage.xml
coverage-*.xml
coverage-*.json
coverage.json
.tox/
.nox/

# --- Ephemeral Artifacts (Machine Silence) ---
zenzic-results.sarif
mutmut*
.mutmut-cache/
.pytest_cache/

mutants/

# ────────────────────────────────────────────────────────────────────────────
# Type Checking, Linting & Reports
# ────────────────────────────────────────────────────────────────────────────
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.ruff_cache/
.cache/
zenzic_report/      # Optional HTML report exports from zenzic
.zenzic_cache/      # Reserved for a future linter cache
# Zenzic quality scores — derived local metadata, never committed
.zenzic-score.json

# ────────────────────────────────────────────────────────────────────────────
# Documentation build caches (user projects, not Zenzic's own docs)
# ────────────────────────────────────────────────────────────────────────────
site/
pdf/
.mkdocs_cache/
.zensical_cache/

# ────────────────────────────────────────────────────────────────────────────
# Web & JS (Optional but recommended)
# ────────────────────────────────────────────────────────────────────────────
node_modules/
.npm/
package-lock.json

# ────────────────────────────────────────────────────────────────────────────
# Logs & Temporary Files
# ────────────────────────────────────────────────────────────────────────────
*.log
logs/
*.tmp
tmp/
temp/
.artifacts/
artifacts/

# ────────────────────────────────────────────────────────────────────────────
# IDEs & Editors
# ────────────────────────────────────────────────────────────────────────────
# Visual Studio Code
.vscode/
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/mcp.json

# IntelliJ IDEA / PyCharm
.idea/
*.iml

# Vim
*.swp
*.swo
*~
.*.sw?

# Emacs
\#*\#
.\#*

# ────────────────────────────────────────────────────────────────────────────
# Operating System
# ────────────────────────────────────────────────────────────────────────────
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini

# Linux
.Trash-*/

# ────────────────────────────────────────────────────────────────────────────
# CI/CD
# ────────────────────────────────────────────────────────────────────────────
.github/workflows/.secrets
.gitlab-ci-local/
.wrangler/              # Cloudflare Wrangler local cache

# SARIF output — generated by `zenzic check --format sarif`; not a source file
*.sarif

# ────────────────────────────────────────────────────────────────────────────
# Migration staging area (v0.6.0a1 — Clean Harbor)
# ────────────────────────────────────────────────────────────────────────────
.temp/

# ============================================================================
# End of .gitignore
# ============================================================================

# EPOCH 4 — draft vault (git-ignored, local reference only)
.draft/
zenzic.code-workspace

# ImageMagick / tooling artifacts
*.ps
/sys
