# ── Rust workspace ─────────────────────────────────────────────
/target
/target-*/
**/target/
**/target-*/

# ── Front-end / Tauri / SDK build artefacts (NEVER ship to git or release) ──
# Use ** wildcards so any sub-package (desktop/, sdk/typescript/, future
# sub-projects, …) is covered without per-folder duplication.
**/node_modules/
**/dist/
**/dist-ssr/
**/.vite/
**/tsconfig.tsbuildinfo
**/package-lock.json
**/yarn.lock
**/pnpm-lock.yaml
**/.parcel-cache/
**/.next/
**/.nuxt/
**/.turbo/
**/coverage/
desktop/src-tauri/target/
desktop/src-tauri/gen/schemas/
desktop/src-tauri/binaries/
desktop/src-tauri/WixTools/
desktop/src-tauri/.cargo/
# Per-platform Tauri config overrides are produced by the release
# workflow at build time so they can point at the freshly-compiled
# `sen` CLI binary; they should never be committed to the repo
# because their presence would force `tauri dev` (which doesn't
# build the CLI) to fail with "resource path ... doesn't exist".
desktop/src-tauri/tauri.windows.conf.json
desktop/src-tauri/tauri.linux.conf.json
desktop/src-tauri/tauri.macos.conf.json

# ── Agent runtime data (generated by sen during local dev / smoke) ────
# Never commit transient agent state, plan docs, caches, embeddings.
.senweavercoding/
**/.senweavercoding/
**/*.plan.md
.senweavercoding-state/
**/.senweavercoding-state/
.senweavercoding-cache/
**/.senweavercoding-cache/

# Build-generated web assets directory (rust-embed placeholder, not shipped)
# IMPORTANT: must stay /web/ (repo root). Bare `web/` also ignores src/tools/web/.
/web/

# ── Databases / journals ───────────────────────────────────────
*.db
*.db-journal
*.sqlite
*.sqlite-journal

# ── OS / editor noise ──────────────────────────────────────────
.DS_Store
._*
Thumbs.db
ehthumbs.db
desktop.ini
.idea/
.vscode/*
!.vscode/extensions.json
!.vscode/settings.example.json

# ── Worktrees / playground branches ───────────────────────────
.wt-*/
.worktrees/

# ── Python ─────────────────────────────────────────────────────
__pycache__/
*.pyc
.venv/
venv/

# ── Misc ───────────────────────────────────────────────────────
docker-compose.override.yml
.embuild/
.senagent/*
.local-state-backups/
*.local-state-backup/
lcov.info
.wrangler/

# ── Environment / secrets ──────────────────────────────────────
.env
.env.local
.env.*.local
.secret_key
*.key
*.pem
credentials.json

# ── Logs / temporary ───────────────────────────────────────────
*.log
*.tmp
*.swp
*.bak
*~
temp.md
AGENTS.md
