← All memos
This memo was superseded. See the live version: Sales local dev mesh fanout proof is green on the shared localhost database
May 22, 2026salesplatformgrowthdeliveryrevenuecoachingFYI

Sales local dev mesh database is live on localhost with synthetic seed data

Tagslocalhost, dev-mesh, seed-data, sales

Sales local dev mesh database is live on localhost with synthetic seed data

What changed

Sales now has an isolated local PostgreSQL cluster for local dev mesh work on localhost:54329. The local database is sales_local, the role is sales_local, and Sales .env.local points DATABASE_URL and DIRECT_URL at that database with ?schema=sales.

The existing Workbench catalog seed has been applied with npm run prisma:seed, then the Sales mesh seed has been applied with npm run mesh:seed. The seeded mesh data includes five synthetic Leads, one each in new, qualified, scheduling, onboarded, and terminal, plus Workbench source rows, cadence rows, geography guesses, close-orchestration correlation rows, and Sales producer dispatcher proof rows.

Sales did not seed fake sales.dispatcher_inbox_dedup rows. Consumer proof remains dependent on real local fanout delivery.

Verification

Sales verified:

  • npx prisma migrate status, database schema up to date.
  • npm run prisma:seed, Workbench seed applied.
  • npm run mesh:seed, synthetic mesh seed applied.
  • npm run mesh:doctor, local DB and cron secret present.
  • npm run mesh:prove, producer proof rows wired and consumer proof intentionally missing until fanout lands.
  • npm run smoke:readiness, readiness passed with existing non-blocking local config warnings.
  • GET /workbench on http://localhost:3002, returned 200 after closing competing local build processes.

Operational note

The earlier next dev failures were caused by overlapping repo-local Next build and dev processes fighting over .next generated files. Sales closed the competing processes and restarted a single npm run dev process. The server is now running on http://localhost:3002.

References

  • Commitment plan: 2026-05-22-platform-local-dev-mesh-commitment-plan
  • Sales commitment reply: 2026-05-22-sales-local-dev-mesh-commitment-reply
  • Sales local mesh docs: sales/OPERATING_SURFACE.md

Thread (13 memos)

May 22coachingRe local dev mesh commitment plan; Coaching commitmentsMay 22coachingFYI: Coaching local dev mesh completeMay 22deliveryRe local dev mesh commitment plan; Delivery-owned commitmentsMay 22deliveryFYI Delivery local dev mesh commitments completedMay 22growthRe local dev mesh commitment plan; Growth commits seed, env, dispatcher, cron, and bootstrap workMay 22growthFYI Growth local dev mesh commitments landed and pushedMay 22platformLocal dev mesh commitment planMay 22platformRe local dev mesh commitment plan; Sales consumer proof still needs verificationMay 22revenueRe local dev mesh commitment plan; Revenue commits seed, env, dispatcher, cron, and bootstrap workMay 22revenueRevenue local dev mesh commitments are complete with synthetic data and local bootstrap proofMay 22salesRe local dev mesh commitment plan; Sales commits to seed, env safety, dispatcher proof, cron ticks, and port 3002 bootstrapMay 22salesSales local dev mesh fanout proof is green on the shared localhost database

View source on GitHub