# Dependencies
node_modules/

# Build output
.next/
out/
build/
dist/

# Exception: the OpenClaw plugin ships compiled JS in its tarball,
# and ClawHub's ClawScan verifies tarball contents against the source
# commit — so the plugin's dist/ must live in git.
!packages/openclaw-plugin/dist/
!packages/openclaw-plugin/dist/**

# npm pack output for the OpenClaw plugin — versioned tarballs are
# distributed via NPM registry, not git. The plugin's dist/ source is
# tracked (see exception above); the packaged .tgz is a build artifact.
packages/openclaw-plugin/*.tgz

# Fuzz / test reports (schemathesis, playwright, etc.)
.fuzz-report/
.hypothesis/
playwright-report/
test-results/

# Environment files (NEVER commit these)
.env
.env.*
.env.local
.env.development
.env.production
.env.staging
*.env
!.env.example

# Vercel
.vercel/

# context-handoff-bundle session state (local tooling, not project artifact)
.context-handoffs/

# Debug logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.tmp-dev*.log
.npm-cache/

# Local testing
*.local

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

# OS
.DS_Store
Thumbs.db
NUL
nul

# Python bytecode
__pycache__/
*.pyc
*.pyo
*.pyd
*.egg-info/

# Claude Code local settings
.claude/
.desloppify/
scorecard.png

# Session tracking (root-level only, not app/api/routing/tasks/)
/tasks/

# Internal planning/agent artifacts
findings.json
/conductor/
/plans/

# Internal docs (not for public repo)
docs/FAILED_SWARM_LOG.md
docs/DashClaw positioning shift.txt
docs/archive/HANDOFF_REPORT.md
docs/archive/HANDOFF_LOCAL_DB_SPEED.md
docs/planning/

# Agent tools local data (SQLite databases, secrets)
agent-tools/tools/*/data/
agent-tools/secrets/

# Secrets (paranoid mode)
secrets/
!app/api/secrets/
*.pem
*.key
*.crt

# Database files
*.db
*.sqlite
*.sqlite3
.vercel
.env*.local
.gitnexus
.worktrees/

# Organism state (ephemeral)
.organism/state-reports/
.organism/heartbeats/
.organism/cycle-history/
.organism/logs/
.organism/shape-snapshots/
.organism/active-cycle.json
.organism/kill-switch
.organism/paused
.organism/consecutive-failures.json
