diff --git a/docs/superpowers/plans/2026-07-10-lyra-walking-skeleton.md b/docs/superpowers/plans/2026-07-10-lyra-walking-skeleton.md index 01c82e4..480c6f4 100644 --- a/docs/superpowers/plans/2026-07-10-lyra-walking-skeleton.md +++ b/docs/superpowers/plans/2026-07-10-lyra-walking-skeleton.md @@ -11,7 +11,7 @@ ## Global Constraints - Node.js 22 LTS; Next.js App Router (not Pages Router); TypeScript strict mode on. -- Python 3.12; database access via `psycopg` v3 (not psycopg2); raw SQL only in the worker. +- Python 3.12 in the worker container (`python:3.12-slim`); local test runs may use a newer 3.x — keep worker deps version-flexible so they install on both. Database access via `psycopg` v3 (not psycopg2); raw SQL only in the worker. - **Prisma is the single owner of the database schema.** The worker never issues DDL; it reads/writes tables Prisma migrated. Worker tests assume `prisma migrate deploy` has already been run against the target database. - PostgreSQL 17. - One `DATABASE_URL` (Postgres connection string) is shared by both services via environment. @@ -134,8 +134,8 @@ export default function Home() { `worker/requirements.txt`: ``` -psycopg[binary]==3.2.3 -pytest==8.3.4 +psycopg[binary]>=3.2,<4 +pytest>=8.3,<9 ``` `worker/lyra_worker/__init__.py`: