Add Cursor Cloud Agent environment config - #9
Open
RayFernando1337 wants to merge 1 commit into
Open
Conversation
Co-authored-by: Ray Fernando <RayFernando1337@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
RayFernando1337
marked this pull request as ready for review
August 13, 2026 06:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What
Adds
.cursor/environment.jsonso Cloud Agents get a fully working, versioned dev environment for this repo. It wires up the existing, purpose-built cloud-agent scripts already onmain:install:./scripts/cloud-agent-install.sh— puts Bun on PATH, runsbun install --frozen-lockfile, and (only whenCLERK_JWT_ISSUER_DOMAINis set) provisions a local Convex backend and pushes functions.terminals.dev:./scripts/cloud-agent-start.sh— runsbunx convex dev --start 'bun dev'whenCLERK_JWT_ISSUER_DOMAINis set, otherwisebun devalone so public pages still come up with zero secrets.ports: 3000 (Next.js) and 3210 (Convex local backend).The dev server is a long-running foreground process, so it lives in
terminals(visible logs, restartable) rather thaninstall/start, per the environment lifecycle guidance.Why
There was no committed
.cursor/environment.json, so Cloud Agents had no defined setup. A committed file is the highest-precedence environment source and makes setup follow the repo/branches, matching the Bun-based workflow already documented inAGENTS.md. Once merged tomain, future Cloud Agents pick it up automatically.Validation
Validated on the current VM, then re-validated on a fresh Cloud Agent booted from a tested draft build (
bld-20260813-cb57fc07-4b9f-42bb-9d6b-8389af61fea0,SUCCEEDED):./scripts/cloud-agent-install.shbun run lintbun run typecheckbun run buildcloud-agent-start.sh)/,/board,/harness/boardlive querysubmissions.boardempty-state from local Convex/harnesshost triageNo secrets are committed;
.env.localand.convex/remain gitignored. The local Convex backend and a placeholder Clerk publishable key used to drive the UI locally were kept only in the gitignored.env.local.