docs(agents): add Cursor Cloud dev-environment setup notes#1
Merged
Conversation
Document cloud-specific dev setup: build-before-run, configs modulesDir gotcha, db-server run command, and pre-existing tooling bugs (smoke-modules spawnSync, missing db-server/index.js shim, sql-template-strings table interpolation). Co-authored-by: Shiroha <Tanya7z@users.noreply.github.com>
Tanya7z
marked this pull request as ready for review
July 21, 2026 14:52
|
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 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 the SFMC development environment on the Cloud VM (Linux, Node v22.14.0) and documents durable, non-obvious setup/run caveats for future agents under a new
## Cursor Cloud specific instructionssection inAGENTS.md. No application code was modified.Environment setup performed
npm installat repo root (npm workspaces monorepo) — set as the startup update script.npm run build --workspaces --if-present— builds@sfmc/sdk+ all services (theirdist/is gitignored).configs/fromconfigs-default/and correcteddb_config.jsonmodulesDir("../modules"→"modules") so the module API resolves the in-repo catalog.db-server(SFMC_ROOT=$PWD node db-server/dist/index.js, port 3001).Verification
GET /api/health{"status":"ok"}GET /api/sfmc/modules/catalogPOST /api/sfmc/modules/feature-economy/{disable,enable}module-lock.jsonnode sfmc/dist/main.js statusnode tools/check-ootb.jsPre-existing issues found (not fixed — out of setup scope)
tools/smoke-modules.jsusesspawnSyncwithout importing it → crashes.tools/sim-new-user.jsspawns non-existentdb-server/index.js(real entry isdb-server/dist/index.js) → thesim-new-userOOTB check times out (hence 5/6).near "?": syntax error(table names interpolated viasql-template-strings). JSON-backed module/config API + health work.npm run linthas noeslint.config.js(ESLint v10 flat-config); use per-workspacetypecheck.These are documented in
AGENTS.mdso future agents don't chase them during setup.