A full-stack demo scaffold for a Rebolt-style internal app runtime. It turns messy spreadsheet data plus a plain-English workflow prompt into a governed app spec, then runs that spec through deterministic APIs, workflow actions, audit logs, mock connectors, and trace views.
apps/
web/ Next.js product surface
engine/ Mastra-oriented AI workflow service shell
packages/
spec/ Zod schemas for AppSpec, roles, workflows, and connectors
runtime/ Deterministic workflow execution helpers
db/ Drizzle schema and Neon Postgres client
fixtures/ Loom-ready seed CSV and app specpnpm install
pnpm dev
pnpm check
pnpm db:generateLocal services:
- Web app:
http://localhost:3000 - Engine shell:
http://localhost:4111
- Keep
packages/specas the contract for generated app specs. - Put deterministic workflow and permission behavior in
packages/runtime. - Add Drizzle migrations in
packages/db. - Use
apps/enginefor Mastra agents, workflows, tools, and trace persistence. - Use
apps/webfor Builder, Generated App, Engine Room, and CopilotKit surfaces.