node_modules
dist
dist-*
coverage
.prisma
*.log
.DS_Store
.env
.env.local
.env.*.local
.turbo
.vitest
*.tsbuildinfo
packages/e2e-tests/.tmp-output
/wip/*
!/wip/.gitkeep
.pnpm-store
.cursor/*
!.cursor/rules-footprint.config.json
!.cursor/environment.json
.cursor/rules
.cursor/commands
.claude/settings.local.json
.claude/worktrees
CLAUDE.local.md

# Local install target for contributor agent skills.
# Canonical source of truth lives in `skills-contrib/` (tracked).
# `pnpm install` populates this directory via `setup:contrib-skills`.
.agents/skills/
.claude/skills/

# The user-facing skill tree copied into each shipping package by
# `scripts/sync-package-skills.ts` (run from their `prepack`). The
# canonical source of truth is `skills/` at the repository root.
packages/9-public/@prisma/*/skills/

# Per-machine install lockfile written by `skills add`. Local only;
# our canonical source is `skills-contrib/` (for contributors) and the
# git-pinned tag (for external consumers via `prisma init`).
skills-lock.json

# Review artifacts (transient, local-only)
**/specs/reviews/
**/reviews/system-design-review.md
**/reviews/code-review.md
**/reviews/walkthrough.md

# Local review artifacts
projects/**/reviews/

# Generated contract files in test fixtures
test/**/fixtures/generated/
!test/e2e/framework/test/fixtures/generated/
!test/e2e/framework/test/fixtures/generated/**
!test/e2e/framework/test/sqlite/fixtures/generated/
!test/e2e/framework/test/sqlite/fixtures/generated/**
!test/integration/test/mongo/fixtures/generated/
!test/integration/test/mongo/fixtures/generated/**
!test/integration/test/namespaced-accessors/fixtures/generated/
!test/integration/test/namespaced-accessors/fixtures/generated/**
!test/integration/test/sql-builder/fixtures/generated/
!test/integration/test/sql-builder/fixtures/generated/**
!test/integration/test/sql-orm-client/fixtures/generated/
!test/integration/test/sql-orm-client/fixtures/generated/**
!test/integration/test/value-objects/fixtures/generated/
!test/integration/test/value-objects/fixtures/generated/**

# Ignore everything under `.agents/` except the canonical rules home.
# The `.cursor/rules` and `.claude/rules` presentation trees are git-ignored
# symlink mirrors, regenerated by `pnpm rules:sync` (wired into `prepare`).
.agents/*
!.agents/rules/
.claude/
.devin/
.windsurf/

# Pinned extension-pack files `contract emit` writes beside emit-only test
# fixtures, which never migrate a database.
packages/3-extensions/supabase/test/fixtures/migrations/
test/e2e/framework/test/fixtures/migrations/
test/integration/test/planner-golden/fixtures/postgres/migrations/
test/integration/test/sql-builder/fixtures/migrations/
test/integration/test/sql-orm-client/fixtures/collection-methods/migrations/
test/integration/test/sql-orm-client/fixtures/migrations/

# Temp config written by scripts/regen-example-migrations.mjs during emit; it is
# unlinked after each migration, but a signal-killed run must never leave one
# committable.
**/.prisma-regen.config.ts

# Reference clones inside transient projects (browsing aids, not committed)
projects/*/reference/

# Drive loop-internal artifacts — never committed into slice PRs (the review
# scoreboard + the learnings ledger are transient working state, migrated at
# project close-out, not PR content).
projects/*/reviews/
projects/*/learnings.md

# Conformance-check sandbox (scripts/check-conformance.mjs). Deleted at the
# start of each run so a failed run leaves evidence behind; never committed.
.conformance/
