Set up Cursor Cloud dev environment (native backend + frontend + Postgres/Redis) - #18
Merged
venkateshsakamuri-lab merged 3 commits intoAug 6, 2026
Conversation
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
Capture the verified gpt-5.4 / embedding config shape and the Hermes webui ALLOWED_ORIGINS requirement that otherwise 403s the Agent tab. Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
Co-authored-by: Venkat SF <venkatesh.sakamuri@stayflexi.com>
venkateshsakamuri-lab
marked this pull request as ready for review
August 6, 2026 07:42
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
This was referenced Aug 6, 2026
venkateshsakamuri-lab
added a commit
that referenced
this pull request
Aug 6, 2026
#19) <!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## Summary Adds the `## Cursor Cloud specific instructions` section to `AGENTS.md` on **main**. This is the same documentation that was previously merged via #18 into `kaushik-IDE`. We are relocating it onto `main` so Cloud agents / local setup docs live on the primary branch. A follow-up PR will revert #18 from `kaushik-IDE`. ## Changes - `AGENTS.md` only — native (no Docker) Cloud VM service startup notes, `.env` gotchas (`ENCRYPTION_KEYS`, dotted keys), Azure LLM config shape, and Hermes `HERMES_WEBUI_ALLOWED_ORIGINS` requirement. No application code changes. <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-8ce91e70-c67b-48c6-84b3-05bb9d06231a?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-8ce91e70-c67b-48c6-84b3-05bb9d06231a&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div> Co-authored-by: Cursor Agent <cursoragent@cursor.com>
venkateshsakamuri-lab
added a commit
that referenced
this pull request
Aug 6, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN --> ## Summary Reverts merge commit `b204386` (#18) from `kaushik-IDE`. The Cursor Cloud `AGENTS.md` documentation is being relocated onto **main** via #19. This PR removes the duplicate section from Kaushik's branch so it no longer carries Cloud-env docs that belong on `main`. ## Changes - `AGENTS.md`: remove `## Cursor Cloud specific instructions` (62 lines) — revert of #18 No application code changes. <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-8ce91e70-c67b-48c6-84b3-05bb9d06231a?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-8ce91e70-c67b-48c6-84b3-05bb9d06231a&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div> Co-authored-by: Cursor Agent <cursoragent@cursor.com>
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
Sets up a full local development environment for DeepSQL (DBA Agent) in the Cursor Cloud VM and documents the non-obvious caveats for future agents. No application code was changed — only
AGENTS.mdgained a## Cursor Cloud specific instructionssection.Environment
Runs the stack natively (no Docker):
backend/pom.xml(java.version=25); set as defaultjava/javacandJAVA_HOME.pgvector+pg_stat_statements— vault DBdba_agent(port 5432), plus a demo target DBdemo_shopwith sample data.bash scripts/start-backend.sh(./mvnw spring-boot:run), Jetty on:8080/api.npm run dev(Vite on:3000, proxies/api→ 8080).The startup update script is just
npm install(system deps live in the VM snapshot). Durable startup/run caveats are captured inAGENTS.md.Verified
bash scripts/start-backend.sh/api/actuator/health=UP(db, redis, dbScheduler all UP)npm run dev:3000(HTTP 200)npm run lint./mvnw test -Dtest=ApiSmokeTestHello-world
Registered a database connection to the local
demo_shopDB through the web UI and browsed its schema, exercising the credential vault,ConnectionService, and schema introspection end to end.Key caveats documented in AGENTS.md
.envissourced underset -e— dotted property keys abort the script; use UPPERCASE Spring env names.ENCRYPTION_KEYS(not justENCRYPTION_KEY) must be set or theEncryptionServicebean fails with a circular placeholder reference.SECURITY_AUTH_ENABLED=falseenables the dev auto-admin bypass.scheduled_taskstable + extensions come fromdocker/postgres/init/*.sql(applied by hand in the native setup).ddl-autodeadlocks.