Add Cloud Agent development environment - #15
Open
ceedot-rock wants to merge 1 commit into
Open
Conversation
Co-authored-by: Corey Tasz <ceedot-rock@users.noreply.github.com>
ceedot-rock
marked this pull request as ready for review
September 11, 2026 19:09
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.
Summary
Adds a Cloud Agent development environment for Agent-Rider (Next.js app in
src/, Supabase + Stripe + MCP). This is a repository-managed environment: merging this PR activates it for future Cloud Agents (no dashboard Save needed)..cursor/environment.json— default base image;installruns.cursor/install.sh; awebterminal runscd src && npm run dev; port 3000 exposed..cursor/install.sh— idempotent bootstrap:npm ciinsrc/, and on first run generatessrc/.env.localwith safe placeholder values plus a throwaway ES256 rider keypair so the app builds and boots without external accounts. Real secrets injected as environment variables take precedence (Next.js does not override already-setprocess.env), so setting the matching Cursor secrets transparently upgrades the app to live Supabase/Stripe.No production credentials are committed.
src/.env.localis gitignored and generated at install time.Validation (local VM)
.cursor/install.sh(npm ci+ env gen).env.localuntouched)npm run build(mirrors CIwebpack.yml)npm run dev)GET /→ HTTP 200GET /api/health{"status":"ok", ready:{rider:true, stripe:true, db:false}}/api/spec,/api/discovery,/.well-known/agent.json,/llms.txt/docs,/board,/demo,/startPOST /api/mcptools/listPOST /api/rider/verifyvalid:true; tampered →valid:falseValidation (prebuilt environment build + fresh Cloud Agent)
bld-20260911-eaa24f55-b99e-453c-a285-58058017ff84SUCCEEDED from a clean checkout of this branch:.cursor/install.shrannpm ci(138 packages) and generated.env.local(exit 0).node_modulespresent,.env.localwith all 7 keys, dev server → HTTP 200,/api/healthok, and rider verify (valid token →valid:true, tampered →valid:false).The
db:falsehealth flag is expected: the placeholder Supabase host is intentionally unreachable until real credentials are provided.