Files
kandev/.gitignore
T
João Salavisa fa309d0627 chore(web): delete dead tracked store.ts.backup (#2012)
`apps/web/lib/state/store.ts.backup` was a 1202-line snapshot of the
pre-slice-refactor monolithic Zustand store, accidentally committed in
b090a0157 (#1049). It never compiled and never ran — `tsconfig.json`
includes `**/*.ts`, which does not match a `.backup` suffix — so its only
effect was polluting grep/search results for anyone working on the real
store at `apps/web/lib/state/store.ts`.

No runtime code referenced it: `grep -rn "store.ts.backup" apps/` returns
nothing, and no build, lint, or tsconfig glob picks up `*.backup`.

Verified no logic was dropped. Of the 177 state keys and actions in the
backup, 172 exist in the live slice tree under `lib/state/slices/`. The
five that don't belong to two concepts that were deliberately renamed
after the snapshot was taken:

- `boardId` / `setBoards` / `setActiveBoard` — boards became workflows in
  658bd349b (#228); the live kanban slice uses `workflowId` /
  `setWorkflows` / `setActiveWorkflow`.
- `environmentsLoaded` / `setEnvironments` — environments became
  executors; the live settings slice has `ExecutorsState` /
  `setExecutors`.

Also add `*.backup`, `*.bak`, and `*.orig` to `.gitignore` so editor and
merge scratch copies cannot be committed again.

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 22:42:59 +01:00

155 lines
2.9 KiB
Plaintext

# 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
*~
# Editor/merge scratch copies. These never compile and only pollute grep
# results for whoever works on the real file next.
*.backup
*.bak
*.orig
.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/
# Verification caches belong outside Git worktrees. Ignore this legacy/local
# fallback so a misconfigured verification run cannot flood Git status.
/.verify-cache/
/.tmp/
# 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/
/.kandev/
# 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/
# `make -C apps/backend e2e-plugin-package` output (packaged fixture plugin
# tar.gz + build staging dir) — e2e tests build this on demand, not committed.
apps/backend/.build/
# Local protoc-gen-* tool binaries installed by `make -C apps/backend proto`
apps/backend/.tools/
# Go binaries (built locally)
apps/backend/kandev
apps/backend/agentctl
apps/backend/mock-agent
apps/backend/acpdbg
apps/backend/plugin-fixture
apps/backend/plugin-pack
# 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/
# PR screenshot/asset scratch dirs — never committed; drag-and-drop into the
# GitHub PR description instead (see apps/web/e2e/scripts/upload-pr-assets.ts).
/.pr-screenshots/
/apps/web/.pr-assets/
# Auth screenshot artifacts (generated by auth-screenshots.spec.ts)
apps/web/e2e/.auth-screenshots/