# macOS
.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Node.js (for future website development)
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment variables
.env
.env.local
.env.production.local
.env.development.local
.env.test.local

# Local n8n data (contains credentials, database, etc.)
.n8n-local/

# Core dumps
core

# Test results (generated files)
test-results/

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

# Build outputs (for future website)
.next/
out/
build/
dist/

# Logs
logs/
*.log

# Testing
coverage/
# But allow Phase 3 QE tool directories
!src/mcp/tools/qe/coverage/
!src/mcp/tools/qe/flaky-detection/
!src/mcp/tools/qe/performance/
!src/mcp/tools/qe/visual/
.nyc_output/

# Test temporary databases (prevent leaking to project root)
.test-memory-*.db*
.test-learning*.db*
tests/.tmp/

# Misc
*.bak
*.tmp
.cache/
.roo/
.hive-mind/

# Project-specific ignores
CLAUDE.md.backup
/aqe


# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
claude-flow-core/bin/
claude-flow-core/dist-cjs/
tests/__mocks__/

!src/core/coordination/
!src/core/memory/
!src/coverage/
!src/memory/
!tests/memory/

.claude/agents/test-agent.json
.claude/agents/failing-agent.json
tests/temp/


# Ignore memory directories but allow source code
/memory/
/coordination/
memory/claude-flow-data.json
memory/sessions/*
!memory/sessions/README.md
memory/agents/*
!memory/agents/README.md
coordination/memory_bank/*
coordination/subtasks/*
coordination/orchestration/*
*.db
*.db-journal
*.db-wal
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
.agentic-qe/memory/
.agentic-qe/data/learning/state.json
.agentic-qe/data/improvement/state.json
.agentic-qe/a11y-scans/
data/
test-projects/


# Mock files - allow agentdb mock for CI
__mocks__/*
!__mocks__/agentdb.ts

# Test artifacts that should not be committed
test-learning-persistence
junit.xml
docs/qx-reports/*

# Claude Flow generated files
.claude/settings.local.json
.mcp.json
claude-flow.config.json
.swarm/
.hive-mind/
.claude-flow/
memory/
!src/memory/
!src/core/memory/
!tests/memory/
coordination/
memory/claude-flow-data.json
memory/sessions/*
!memory/sessions/README.md
memory/agents/*
!memory/agents/README.md
coordination/memory_bank/*
coordination/subtasks/*
coordination/orchestration/*
*.db
*.db-journal
*.db-wal
*.sqlite
*.sqlite-journal
*.sqlite-wal
claude-flow
# Removed Windows wrapper files per user request
hive-mind-prompt-*.txt
tests/tmp/*
