Skip to content

Add Cloud Agent development environment - #32

Open
goodeats wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-e8a5
Open

Add Cloud Agent development environment#32
goodeats wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-e8a5

Conversation

@goodeats

Copy link
Copy Markdown
Owner

Summary

Sets up a Cloud Agent development environment for patn-dev-stack (Epic Stack / React Router v7 app). New agents will boot with dependencies installed, the SQLite database migrated and seeded, and the dev server running.

Changes

  • .cursor/environment.json — declares the install step and a dev terminal running npm run dev (fully mocked, MOCKS=true).
  • .cursor/install.sh — idempotent bootstrap: creates .env from .env.example if missing, runs npm ci, resets/seeds the Prisma SQLite DB (prisma migrate reset --force), and generates the Prisma client with typed SQL (prisma generate --sql).

Validation

All run on the current VM:

  • npm run typecheck — passed
  • npm run lint — passed (0 errors; 1 pre-existing warning)
  • npx vitest run — 24/24 tests passed
  • npm run build — client + server build succeeded
  • Dev server end-to-end: homepage, /resources/healthcheck (200), DB-backed /users?search=pat returning seeded Kody/pat, and /login all verified in-browser
  • Install idempotence: install.sh ran cleanly twice

patn_dev_stack_end_to_end_walkthrough.mp4

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: patrick.h.needham <patrick.h.needham@gmail.com>
@goodeats
goodeats marked this pull request as ready for review August 19, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants