Pipeline Crm M9 2 Runtime Fixes
Path:
loom-builder/prompts/pipeline-crm-m9-2-runtime-fixes.mdRelative: prompts/pipeline-crm-m9-2-runtime-fixes.mdSubproject: loom-builderCategory: dispatch-promptsLines: 19Bytes: 2,562Imports: 0Exports: 0
Content Preview
- # pipeline-crm M9.2 — Runtime Fixes: migration drift + middleware duplex
- ## INTENT
- Two runtime defects in `/home/mikes/base44CRM/pipeline-crm` found by live dev-server smoke (test suite green but runtime broken). SUCCESS METRIC: after `bun run db:reset`, leads table contains `lat`, `lng`, `geocodedAt` columns; `bunx drizzle-kit generate` reports schema in sync (no new migration produced when run a second time); `src/middleware.ts` Request re-wrap carries `duplex: 'half'` (or avoids re-wrapping