# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Code coverage profiles and other test artifacts
*.out
coverage.*
*.coverprofile
profile.cov

# Dependency directories (remove the comment below to include it)
# vendor/

# Go workspace sum (go.work itself is committed)
go.work.sum

# env file
.env*

# Editor/IDE
# .idea/
# .vscode/

# CRUMB - personal memory (not tracked)
.crumb/

# Claude Code CLI
.claude/

# Built binary (root level only)
/mache

# Agent communication and logs
_agent_log/
_agent_logs/
SESSION_SUMMARY.md
HANDOFF.md

# Internal project notes (anything `_`-prefixed at root is project-local
# unless deliberately allowlisted). Catches _project_files/, _internal/,
# _private/, _scratch/, etc. — same convention as _agent_log/.
_project_files/
_internal/
_private/
_scratch/

# Experiment tracking (local)
experiments/

# Taskfile artifacts
.task/
.mache-mount/
bin/
cmd/KNOWN_ISSUES.md
internal/KNOWN_ISSUES.md
tools/KNOWN_ISSUES.md

# Dolt database files (added by bd init)
.dolt/
*.db

# Test fixture databases are committed (override the *.db rule above)
!testdata/*.db

# Beads credential key (per-clone, never committed)
.beads-credential-key
.beads/.beads-credential-key

# Root-level dolt server runtime (when bd's dolt server is started here)
/dolt/
/dolt-server.lock
/dolt-server.log
/dolt-server.pid
/dolt-server.port
/dolt-server.activity

# Locally-built helper binaries (not part of the shipped binary)
/gen-lsp-fixture

# get_diagram MCP tool outputs — generated to current directory on demand
/diagram.mermaid
/diagram-*.mermaid

# Session-resume scratch notes (per-clone, ad hoc)
/resume.txt
/mache-distrib-resume.txt

# macOS Finder metadata
.DS_Store

# E2E tool-profile harness output (mache-6b6da6)
/.e2e/

# Playwright MCP scratch (used for inspecting flamegraph SVGs)
/.playwright-mcp/
/architecture-heap-rendered.png
/flamegraph-architecture-heap.png

# apko + melange build artifacts (`task image`)
/mache.tar
/packages/
/melange.rsa
/melange.rsa.pub
/sbom-*.spdx.json
