# 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 Orchestration & Private Workspace (Zero-Leak Governance)
# ────────────────────────────────────────────────────────────────────────────
# Private Tech Lead workspace (formerly .draft)
.architect/
# Local AI routing rules (Trade Secret)
.clinerules
# Cursor AI rules (Trade Secret)
.cursorrules
# AI Primers and Memory ledgers
.github/agents/
# Legacy draft vaults
.draft/
/drafts/

zenzic.code-workspace
.gemini/
.copilot/
.cursor/
.ai/
.claude/
.agent/
.deepcode/
.redteam/

# ────────────────────────────────────────────────────────────────────────────
# Python Build & Distribution
# ────────────────────────────────────────────────────────────────────────────
__pycache__/
*.py[cod]
*$py.class
*.so
*.egg
*.egg-info/
build/
dist/
MANIFEST
.installed.cfg
*.manifest
*.spec

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

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

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

# ────────────────────────────────────────────────────────────────────────────
# Type Checking, Linting & Reports
# ────────────────────────────────────────────────────────────────────────────
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.ruff_cache/
.cache/
# Optional HTML report exports from zenzic
zenzic_report/
# Zenzic local cache (e.g., external links)
.zenzic_cache/
# Zenzic quality scores — derived local metadata
.zenzic-score.json
# SARIF outputs — generated by `zenzic check --format sarif`
*.sarif

# ────────────────────────────────────────────────────────────────────────────
# Documentation build caches
# ────────────────────────────────────────────────────────────────────────────
site/
pdf/
.mkdocs_cache/
.zensical_cache/

# ────────────────────────────────────────────────────────────────────────────
# Web & JS
# ────────────────────────────────────────────────────────────────────────────
node_modules/
.npm/
package-lock.json

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

# ────────────────────────────────────────────────────────────────────────────
# IDEs & Editors
# ────────────────────────────────────────────────────────────────────────────
.vscode/
!.vscode/extensions.json
!.vscode/settings.json
.idea/
*.iml
*.swp
*.swo
*~
.*.sw?
\#*\#
.\#*

# ────────────────────────────────────────────────────────────────────────────
# Operating System
# ────────────────────────────────────────────────────────────────────────────
.DS_Store
.AppleDouble
.LSOverride
._*
Thumbs.db
ehthumbs.db
Desktop.ini
.Trash-*/
*.ps
/sys

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

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

# AI Agent Private Memory
.clinerules
.github/agents/

# AI Agents Configuration
.github/agents/
.clinerules

# Architect Planning Sandbox
.architect/
