# AGENTS.md ## Scope Applies within `packages/db`. ## Responsibilities - Prisma schema - migrations - database-level helpers - shared transaction helpers ## Rules - Database schema is the canonical model for persisted state. - Keep request-level and attempt-level generation data separate. - Keep provider key status events auditable.