# Binaries
/beads
/bd
*.exe
*.dll
*.so
*.dylib

# Test binaries
*.test
*.out
/bd-test

# Go workspace file
go.work

# Go build cache
pkg/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# Claude Code
.claude/settings.local.json

# OS
.DS_Store
Thumbs.db

# SQLite databases (now using JSONL as source of truth)
*.db
*.db-journal
*.db-wal
*.db-shm

# Daemon runtime files
.beads/daemon.log
.beads/daemon.pid
.beads/daemon.lock
.beads/daemon-error
.beads/bd.sock
.beads/.exclusive-lock

# .beads directory files (keep JSONL only)
.beads/.gitignore
.beads/db.sqlite
.beads/bd.db

# Keep JSONL exports (source of truth for git)
!.beads/*.jsonl

# 3-way merge snapshot files (local-only, for deletion tracking)
.beads/beads.base.jsonl
.beads/beads.left.jsonl
.beads/beads.base.meta.json
.beads/beads.left.meta.json

# Note: .beads/deletions.jsonl is intentionally NOT ignored
# It must be tracked in git for cross-clone deletion propagation (bd-imj)

# Git merge driver temp files (created during conflicts with numbered extensions)
.beads/*.json[0-9]
.beads/*.jsonl[0-9]

# Ignore nix result
result

# direnv (machine-specific environment)
.envrc

# GoReleaser build artifacts
dist/
Formula/bd.rb

# Git worktrees
.worktrees/
.beads/pollution-backup.jsonl

# npm package - exclude downloaded binaries and archives
npm-package/bin/bd
npm-package/bin/*.tar.gz
npm-package/bin/*.zip
npm-package/bin/CHANGELOG.md
npm-package/bin/LICENSE
npm-package/bin/README.md
npm-package/node_modules/
npm-package/package-lock.json
.beads/beads.db?*
bd-original
mcp_agent_mail/
bd-test
bd-fixed
.cursor/

# Python cache files
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
.envrc

# Performance profiling files (benchmarks, bd doctor --perf, and bd --profile)
*.prof
*.out
beads-perf-*.prof
bench-cpu-*.prof
bd-profile-*.prof
bd-trace-*.out
# AI planning documents (ephemeral)
history/

# Orchestrator agent state
state.json
.beads/redirect

# Claude Code runtime
.runtime/

# Augment AI configuration (user-specific)
.augment/
.agents/
output
bd_test
