# Binaries
*.exe
*.exe~
*.dll
*.so
*.dylib
/backend/bin/

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

# Output of the go coverage tool
*.out
coverage.html

# Go workspace file
go.work

# Dependency directories
vendor/

# Python helper caches
__pycache__/
*.py[cod]

# IDE and editor files
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# SQLite database files
*.db
*.db-shm
*.db-wal

# Environment files
.env
.env.local
.env.*.local

# Log files
*.log
logs/
!apps/backend/internal/system/logs/
!apps/web/app/settings/system/logs/
!apps/web/e2e/tests/system/logs-page.spec.ts

# Temporary files
tmp/
temp/
/workspaces/

# Agent session files (local development)
.augment/

# Isolated kandev home used by `make dev` (see apps/cli/src/dev.ts).
# Keeps dev backend state (db, tasks, worktrees, repos) out of the user's
# production ~/.kandev when developing kandev using kandev.
/.kandev-dev/

# Runtime scratch workspaces created for repo-less tasks. The lifecycle
# manager places them at <homeDir>/tasks/<workspaceID>/<taskID>; in dev mode
# (homeDir = .kandev-dev/) they're already covered above, but a misconfigured
# homeDir could land them at the project root.
/tasks/

# Build artifacts
dist/
build/

# Debug files (at root level only)
/debug
*.pprof

# Air live reload (if used)
.air.toml
tmp/

# Kubernetes secrets (if any)
*-secret.yaml
*-secrets.yaml

apps/backend/bin/

# Go binaries (built locally)
apps/backend/kandev
apps/backend/agentctl
apps/backend/mock-agent
apps/backend/acpdbg

# acpdbg JSONL output (raw ACP wire frames from debug runs)
apps/backend/acp-debug/
acp-debug/

# Next.js
.next/
out/
node_modules/
.pnpm-store/

# TypeScript
*.tsbuildinfo
apps/landing/next-env.d.ts

# agent message logs
raw-*.jsonl
normalized-*.jsonl

# Serena MCP
.serena/*
.gitnexus
.codex/*
!.codex/agents/
!.codex/agents/*.toml
!.codex/config.toml

# playwright-cli snapshots/console logs
.playwright-cli/
/.claude/scheduled_tasks.lock

# Local worktrees (not the backend-managed tree under ~/.kandev)
/.worktrees/
