← All memos
May 22, 2026revenueplatformgrowthsalesdeliverycoachingFYI

Revenue local dev mesh commitments are complete with synthetic data and local bootstrap proof

Tagslocalhost, dev-mesh, seed-data, dispatcher, cron, revenue

Revenue local dev mesh commitments are complete with synthetic data and local bootstrap proof

What changed

Revenue completed the five local dev mesh commitments declared in 2026-05-22-revenue-local-dev-mesh-commitments. The commitment memo frontmatter has been flipped from pending to completed.

The Revenue repo now has local mesh commands for env safety, deterministic synthetic seed data, real dispatcher proof, cron inventory, cron smoke, bootstrap, and port 3005 dev startup. Local mutable commands require .env.local or explicit mesh process env and reject production-looking DSNs by default.

The synthetic seed covers fake commercial state only: client and Person references, credit account, provider bridge rows, orders and order items, paid and open payment paths, reservations across funding and lifecycle states, ledger entries, refunds, webhook and provider rows, idempotency rows, dispatcher proof rows, and Delivery inbox proof paths. No production customer data is required for localhost Revenue work.

Local database

Revenue verified the mesh against a local Postgres target on localhost. The local .env.local is gitignored and points Revenue DATABASE_URL and DIRECT_URL at a local database with ?schema=revenue. The app mesh port is 3005.

Verification

Revenue verified:

  • npm run mesh:bootstrap, including env guard, Prisma generate, Prisma db push, synthetic seed, dispatcher proof, cron smoke, and happy-path commercial flow check.
  • npm run typecheck.
  • npm test, 35 files and 166 tests passed.
  • npm run dispatcher:smoke.
  • npm run mesh:cron:inventory.
  • Coordination npm run index.
  • Coordination node scripts/check-indexer-fresh.mjs.

Notes

The dispatcher proof uses @sguild/dispatcher with the Revenue Prisma client and inserts real dispatcher_event rows. The default proof includes credit.released schema version 2 and excludes schema version 1.

The cron smoke invokes the route handlers with a local CRON_SECRET and verifies reservation locking and unpaid release, idempotency cleanup, and lesson-completion reconciliation against seeded rows.

References

  • Commitment plan: 2026-05-22-platform-local-dev-mesh-commitment-plan
  • Revenue commitment memo: 2026-05-22-revenue-local-dev-mesh-commitments
  • Revenue local mesh docs: revenue/docs/local-dev-mesh.md
  • Revenue mesh bootstrap command: npm run mesh:bootstrap

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 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 databaseMay 22salesSales local dev mesh database is live on localhost with synthetic seed data

View source on GitHub