Skip to content

Generate seeds each declared pack's Extension contract space #1135

Description

@borisno2

Parent

#1121 — build spec 1 of the Prisma 8 architecture spec. Lands on the prisma-8 integration branch, not main.

What to build

For every db.extensions entry, pnpm generate derives the /pack, /control and /runtime subpaths from the package name, fails naming the pack and the missing subpath when one is absent, and materialises the pack's contract space under migrations/ through the toolchain's public seed phase between writing prisma.config.ts and emitting. The five files are committed and covered by the dirty-tree check; the root .gitignore stops ignoring prisma/migrations/.

Acceptance criteria

  • A pgvector fixture produces the migration package, head ref and snapshot files; a second generate reports them unchanged
  • A pack without a /control export fails generate with the pack and subpath named
  • The dirty-tree check covers the space's files and snapshot
  • .gitignore no longer excludes prisma/migrations/

Blocked by


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions