# --- General --- #
# OS-specific files
.DS_Store
Thumbs.db

# Log files
*.log

# Backup files
*.backup
*.bak
*~

# Local configuration overrides
*.local.yaml
.ai-rulez/config.local.*
.env
.env.*
!.env.example
bin/

# --- Go --- #
# Binaries
/ai-rulez
/ai-rulez-*
**/ai-rulez-*
/main
!docs/assets/ai-rulez-demo.gif
!docs/assets/ai-rulez-banner.png
!docs/assets/ai-rulez-banner.svg
!docs/assets/ai-rulez-python-demo.gif
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test & Coverage Artifacts
*.out
*.test
*.cover
*.coverprofile
coverage.*

# Release Artifacts
/dist/
# /release/ is tracked for npm/pypi publishing, but ignore generated artifacts
/release/**/dist/
/release/**/build/
/release/**/*.egg-info/
/release/**/*.tgz
/release/**/README.md
!/release/npm/README.md
!/release/pypi/README.md

# Dependencies
/vendor/
go.work
go.work.sum
.cache/


# --- Python --- #
# Environments & Caches
__pycache__/
.venv/
env/
.eggs/
.tox/
.hypothesis/
.pytest_cache/
.ruff_cache/
.polylint/

# Package artifacts
*.py[cod]
*.egg-info/
*.egg

# Dependency metadata
pip-log.txt
pip-delete-this-directory.txt


# --- Node.js --- #
# Dependencies
node_modules/

# Lockfiles & Logs
package-lock.json
.pnpm-debug.log*


# --- IDE / Editor --- #
.idea/
.vscode/
*.swp
*.swo


# --- AI Assistant Configuration Files --- #
# Generated by ai-rulez and other AI coding assistants

# Claude AI
CLAUDE.md
claude.md
.claude/
.mcp.json

# Cursor AI
.cursor/
.cursorrules
.cursorrules/
.cursorignore
.cursorindexingignore

# Devin AI
.devin/
.devinignore

# GitHub Copilot
.github/copilot-instructions.md
.github/agents.md
.copilotignore

# Google Gemini
GEMINI.md
gemini.md

# Amp/Codex AI
AGENTS.md
agents.md

# Cline AI
.clinerules
.clinerules/
.clineignore

# Generic AI assistant files
ai-rules.md
.aiignore

# Ignore generated AI assistant files within the testing directory
testing/**/CLAUDE.md
testing/**/claude.md
testing/**/.cursorrules
testing/**/.cursor/
testing/**/.devin/
testing/**/.clinerules
testing/**/.clinerules/
testing/**/GEMINI.md
testing/**/AGENTS.md
testing/**/.github/copilot-instructions.md
testing/**/.github/agents.md
testing/**/.mcp.json

# V3 Configuration Directory (source of truth - NOT ignored)
# .ai-rulez/
.gemini/

# BEGIN ai-rulez (DO NOT EDIT - managed by ai-rulez)
.agents/skills/
.ai-rulez/.generated-manifest.json
.ai-rulez/.generated-manifest.local.json
.ai-rulez/local/
.opencode/agents/
.opencode/commands/
opencode.json
# END ai-rulez

# Test fixtures hold tool files (CLAUDE.md, .claude/, .mcp.json) that are ignored above; keep them tracked.
!**/testdata/**
.lycheecache
benchmark-results.txt
bench-subset.txt

.codex/

# ~keep Team governance CI is source; local hook channels are machine preferences.
!.github/workflows/ai-rulez-validation.yml
poly.local.toml
