# No trailing slash: a bare `node_modules/` pattern matches directories only,
# so a *symlink* named node_modules slips past it and can be committed
# (that's how the /tmp-pointing symlink in faf5cdba got in). Match any type.
node_modules
bin/
.DS_Store
*.log
# Committed test-audit evidence (mutation-probe and measured-run logs).
!docs/test-audit/**/*.log
.env
.env.*
!.env.*.example
# Bun --compile temp artifacts. Each build emits a new hash-named .bun-build
# file in cwd; glob catches all of them.
*.bun-build
.gstack/*
!.gstack/generated.json
!.gstack/pregate.json
!.gstack/ship-policy.json
!.gstack/ubicloud.json
supabase/.temp/
.claude/skills/
# admin/dist/ is the React SPA bundle. CLAUDE.md says it's committed for
# self-contained binaries (the bun --compile path embeds it via
# `import path from 'admin/dist/index.html' with { type: 'file' }`).
# Build via: cd admin && bun install && bun run build.
admin/node_modules
.idea
eval/reports/
eval/data/world-v1/world.html

# BrainBench amara-life-v1 Opus cache (regenerate via eval:generate-amara-life)
eval/data/amara-life-v1/_cache/

# claw-test E2E build cache (shim + scratch outputs)
test/.cache/

.claude/
export/

# Conductor workspace-local agent artifacts: plans, todos, run-unit-parallel
# failure logs and per-shard test output. v0.26.4 (run-unit-parallel.sh)
# writes .context/test-failures.log + .context/test-summary.txt +
# .context/test-shards/. Workspace-local by design — never committed.
.context/

# Local agent instruction overrides (CLAUDE.local.md / AGENTS.local.md) — personal,
# per-clone, loaded after the committed CLAUDE.md/AGENTS.md. Never committed.
CLAUDE.local.md
AGENTS.local.md

# Tier 3 PGLite snapshot fixture (built on demand by build:pglite-snapshot)
test/fixtures/pglite-snapshot.tar
test/fixtures/pglite-snapshot.version
test/fixtures/pglite-snapshot-default.tar
test/fixtures/pglite-snapshot-default.version
test/fixtures/.pglite-snapshot*.lock*
test/fixtures/pglite-snapshot*.tmp

# Private brain reports — never check these in (per CLAUDE.md privacy rule)
reports/network-intelligence/
graphify-out/

# Coverage lane output (COVERAGE_DIR opt-in in test-shard.sh /
# run-serial-tests.sh / run-e2e.sh; merged by scripts/merge-lcov.ts)
.coverage/

# Local eval run ledger (gbrain eval run-all / longmemeval / canary --record);
# each machine keeps its own, so it is never committed.
/.gbrain-evals/eval-results.jsonl
